cancel
Showing results for 
Search instead for 
Did you mean: 

EANCOM : Custom message : 17.10.2014 13:45:16.754 Error MP: exception caught with cause java.lang.RuntimeException:

saurabhkumbhare
Active Participant
0 Kudos

Hello Experts,

My requirement was to enable B2B integration for 93A EAN006 message. However, since the 93A EAN006 is not delivered I copied 96A EAN006.

So,

was copied to

So now i have

My ICo looks like this :

And the control key association looks like this :

Still, can you help me with the below error

17.10.2014 13:45:16.754ErrorMP: exception caught with cause java.lang.RuntimeException: Can not find Segment Elements for messageVersion 93A, message subversion EAN006, message agency UN, segment S_UNB, newFirstlevelElement C_S001, currentIndexLevel1 0
17.10.2014 13:45:16.758ErrorException caught by adapter framework: Can not find Segment Elements for messageVersion 93A, message subversion EAN006, message agency UN, segment S_UNB, newFirstlevelElement C_S001, currentIndexLevel1 0
17.10.2014 13:45:16.759ErrorTransmitting the message to endpoint <local> using connection IDoc_AAE_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: java.lang.RuntimeException: Can not find Segment Elements for messageVersion 93A, message subversion EAN006, message agency UN, segment S_UNB, newFirstlevelElement C_S001, currentIndexLevel1 0

Thanks

Saurabh

Accepted Solutions (1)

Accepted Solutions (1)

saurabhkumbhare
Active Participant
0 Kudos

Hi All,

This has been solved by updating the backend tables by SAP, thanks to .

The table edited was the : Association key- Description table; which is not available for editing to customers

Thanks

Saurabh

Former Member
0 Kudos


HI Saurabh,

I am getting the same issue.

could you please explain details what are steps I need to solve the above issue.

Thanks

Prem
   
 
 
 
 
 
 
 
 
 
 
 


Thanks

Prem


saurabhkumbhare
Active Participant
0 Kudos

Hi Prem,

Can you please exactly tell what message was copied to what. Based on this I can guide you.

Thanks

Saurabh

Former Member
0 Kudos

Hi Surav,

while testing I am getting below error.

0}: The module-paramteter "eancom.subversion.prefix" is not set. Using default value "false"

0}: The module-paramteter "eancom..audit" is not set. Using default value "false"

MP: exception caught with cause com.sap.aii.af.lib.mp.module.ModuleException: Can not find Segment Elements for messageVersion 96A, message subversion EAN007, message agency UN, segment S_CPS, newFirstlevelElement D_7164, currentIndexLevel1 0

Exception caught by adapter framework: Can not find Segment Elements for messageVersion 96A, message subversion EAN007, message agency UN, segment S_CPS, newFirstlevelElement D_7164, currentIndexLevel1 0

Transmitting the message to endpoint <local> using connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.lib.mp.module.ModuleException: Can not find Segment Elements for messageVersion 96A, message subversion EAN007, message agency UN, segment S_CPS, newFirstlevelElement D_7164, currentIndexLevel1 0.

initially it was 2 and now SP3and Patch19.

could you please explain the stpes what to do in cockpit.How to identifyrelated tables.

Thanks

Prem

saurabhkumbhare
Active Participant
0 Kudos

Hi Prem,

From the error above, I am not able to make out which message it is : INVOIC, PRICAT???

Nevertheless, I will explain how it should look :

1. Go to EANCOM message editor

2.If you see below I have created PRICAT93AEAN006 message and this is reflected in the dropdown box in the EANCOM message editor. I am assuming you have PRICAT message.Therefore you should create a control key (Example PRICAT96AEAN007 and this you should be able to see in the dropdown box)..Make step 3 setting also to be able to see it

3.Go to Control key association

Create an entry for your PRICAT96AEAN007 message just as i have created for PRICAT93AEAN006

4. Go to Control key description. You should see the following entry automatically. Once you create a control key. If you dont see it, ask SAP to put this for you via OSS message. This is the most important table for which we customers do not have access

5. Manually edit the tables below to align the Interface index and Contorl key in all tables. ( Please be careful while doing..A small mistake may affect a lot of things)

Hope this helps.

Thanks

Saurabh

Answers (1)

Answers (1)

saurabhkumbhare
Active Participant
0 Kudos

Hello ,

Can you please help on the below one please with your expertise, if possible.

Thanks

Saurabh

JuanDK78
Participant
0 Kudos

Hi Saurabh,

First I will like to comment that since B2B Addon SP3 the delivered versions for EDI Tables are:

00A-10B and 93A-99B.

Now, from what you have written above you might want to copy the new of the PRICAT Message 93A back to the standard SAP-EANCON or EDIFACT control key, from where you copied the initial message.

JuanDK78
Participant
0 Kudos

I took at look at the message log and the message editor configuration.

A couple of item that can cause the errors you are seeing:

You need to copy the message you have created in your Control Key PRICAT93AEAN006 to the SAP-EANCOM control key, else the generic converter module you are using will not work.

As you can see from you Message Log, the EDIConverterModule detects the message as EANCON.

Then it will use the default SAP-EANCOM Control Key.

I can see you have created a Control Key Scenario Association, but I don't think its working because you are  using the incorrect Interfaces name, remember in Outbound interfaces is the sender interface that dictates the interface name.

Good luck