cancel
Showing results for 
Search instead for 
Did you mean: 

EANCOM Messgae failing in Receiver Comm. Channel with "Cannot find Segment Elements for messageVersion 01B, message subversion 000000"

Former Member
0 Kudos

Hi Experts,

I have configured an IDOC to EDI scenario, where we have used EANCOM as our target structure. When we trigger an IDOC from ECC some messages are getting failed in our PI with the below error

"MP: exception caught with cause java.lang.RuntimeException: Can not find Segment Elements for messageVersion 01B, message subversion 000000, message agency UN, segment S_UNB, newFirstlevelElement C_S001, currentIndexLevel1 0 "

PFB screenshot

We have maintained all the modules properly in the receiver communication channel.

PFB screenshot

But when we resend the same file explicitly or When the adapter retries again by itself, the file is reaching the destination automatically.

PFB screenshot

When we trigger a new IDOC, it is reaching the destination without any error.

We have properly configured the B2BIC and all the subversion's are available for EANCOM.

Need your guidance here.

Regards,

Ragulan

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

Hi Raghu,

Can you answer the below questions.

Have you imported the B2B content for both EANCOM and Edifact ?

What is the message type of the message ?

Thanks,

Appala

Former Member
0 Kudos

Hi Appala,

Yes, we have imported both the EANCOM and Edifact tables.

We have used QUOTES EANCOM messgae type of version 01B and Sub verison EAN004.

Regards,

Ragulan

Dimitri
Active Contributor
0 Kudos

Hi,

I have a similar error and opened a ticket at SAP. Keep you posted on progression.

Kind regards,

Dimitri

Former Member
0 Kudos

Hi Dmitiri,

Thanks for the reply...

Waiting for your update...

Regards,
Ragulan

Former Member
0 Kudos

Hi Dmitiri,

Any Updates from SAP.

Waiting for your update...

Regards,
Ragulan

Dimitri
Active Contributor
0 Kudos

Hi Ragulan,

We are still investigating the error. Keep you posted.

Kind regards,

Dimitri

hpanchal
Explorer
0 Kudos

Hi Dimitri,

Is there any Updates from SAP ? even i have received the same error.

Error :

MP: exception caught with cause java.lang.RuntimeException: Can not get
Segment Elements for messageVersion TEMP, message subversion 000000,
message agency UN, segment S_UNB, newFirstlevelElement C_S001,
currentIndexLevel1 0: Failed to set the parameter 1 of the statement
>>SELECT IDX,COMP FROM B2B_EDI_CTRL_SEG WHERE (MESSAGEVERSION = ?)
AND (SEGMENT = ?) AND (MESSAGESUBVERSION = ?) AND (MESSAGEAGENCY = ?)
AND (CTRL_KEY = ?)<<: Cannot assign a
>>java.lang.String<< object of length 4 to a parameter with
JDBC type >>VARCHAR(3)<<.


Regards,

Hitesh R,

Dimitri
Active Contributor
0 Kudos

Hi,

In fact, yes...

My control key associations were all built using .*

But I need to mention the sender.receiver party and/or component, namespace and interface.

I did that and it works now.

So, please make sure to add up details onto your control key associations.

Concerning your latest post, please do have a look at the data. Seems like you have another error too.

Kind regards,

Dimitri

hpanchal
Explorer
0 Kudos

Hi,

I have updated the control key and rest of sender party, sender service and etc kept it as .* and now working fine.

Thanks & Regards,

Hitesh R,