Technology Blogs by Members
Explore a vibrant mix of technical expertise, industry insights, and tech buzz in member blogs covering SAP products, technology, and events. Get in the mix!
cancel
Showing results for 
Search instead for 
Did you mean: 
JuanDK78
Participant

Problem:


We had a requirement to create a CONTRL message Directory version 2, subversion EAN002


To achive this we will have to convert the automatically generated CONTRL message to the right version.

The CONTRL message of type CONTRL:2:2:UN is not included in the standard EANCOM message shipped with SAP B2B Add-on.

Therefore we will need to add new message versions to the Message key SAP-EANCOM, for the Generic Converter Modules to process the messages.


When a  message version does not exists in the B2B message tables you will see an error message like this:

"No ruleset for CONTRL/3 available" or "No ruleset for CONTRL/2 available", where the /2 represent the message version the module is trying to convert.

Solution:


1. Go the the the Message Editor in the B2B cockpit for EANCOM Messages

  • http://<server>:<port>/b2bic
  • EDI Content Manager ->EANCOM->Editor->Message Editor

2. Create a new control Key

  • Select the control key SAP-EANCOM and version 96A
  • Press "Copy control key"

3.Copy message CONTRL to the new control key

  • Check Copy to a new Message Version
  • Write the version you want create
  • Add the message to be copied to the new key
    • You could add more messages at this stage

  • NOTE: If you wan to modify the message structure do it at this stage. In this scenario we will keep the message as-is.

4. Copy the message version back to the SAP-EANCOM message key

  • Select you new Control Key and Version and press "Copy Control Key"

  • Check copy to exiting control key
    • Select SAP-EANCOM
  • This time keep the message version

5. Copy the message version back to the SAP-EANCOM message  with a new version

  • Same as step 4, bu this time we change the message version

As Result you will have create 2 new message version in the control Key SAP-EANCOM

6. Create the schemas for the new message to import the in ESR.

  • Choose EANCOM->XSD Generator
  • Create the XSD file for the message version you need
    • Make sure you use the correct namespaces to match you SWCV in ESR where you are implementing the Interface and Mapping objects.

  • Now you will be able to convert these EANCOM message version between XML and EDI structures.
  • You will also be able to map the message to between version and make changes to the content
    • E,g Mapping the control message to version D:2:2:EAN002

8 Comments
JuanDK78
Participant
0 Kudos

The complete configuration for CONTRL/3 messages can be found don this blog:

EANCON - HANCOM CONTRL D:2:EAN002 with SAP B2B-Addon

Former Member
0 Kudos

Hi Juan,

We followed this blog but we got stuck in the Step 5. While copying to the existing Control key, it is not populating the previously present original Control Key.

And we are also not sure where to View the trace details.

We tried to re-import the B2B seed file but still the newly created Control Key is existing and we are not able to use any of the EANCOM type.

Could you please help us here....

JuanDK78
Participant
0 Kudos

Your B2B addon has not been correctly installed.

Your are probably missing all the table definitions upload, which is part of the installation guideline.

JuanDK78
Participant
0 Kudos

Regardng the log, type "log" in NWA serch field

Former Member
0 Kudos

Hi Juan,

But our B2B addon has been installed correctly. The control key has been present but it is not populating during that step 5.

Need your guidance here....

Former Member
0 Kudos

Hi Juan,

We have installed the table definitions for EDIFACT, ANSI X12 and EANCOM...

Is it necessary to install the table definitions for all the EDI types...??

But for the EANCOM, we have properly installed all the table definitions and its control key is SAP-EANCOM as mentioned in my previous reply..

Regards,

Ragulan

JuanDK78
Participant
0 Kudos

I will be just guessing, but there is a change the EDI messages which are quite large tables failed.  But the only way of finding it out is by the  output log file that are accessible only via the server OS.

uploading the tables again is also a valid option.

Again, I am just guessing at this point since the error is not more descriptive.

Have you guys checked at the logs, you need some basis support at this stage.

former_member217029
Participant
0 Kudos
Hello -

 

*****May i know the reason behind you copying the new version(version 3) to SAP standard control key? Any particular reason?

4. Copy the message version back to the SAP-EANCOM message key


****And then again copied to version 2 from version 3. Why do we need to create version 3 instead you can create version 2 directly.

 

5. Copy the message version back to the SAP-EANCOM message  with a new version


****You have generated xsd from version 2 finally. then why do you even need to create version 3 ?

 

Thanks for taking time to answer.
Labels in this area