cancel
Showing results for 
Search instead for 
Did you mean: 

Error in Module IDOCFlatToXmlConvertor PI 7.31

Former Member
0 Kudos

Hello,

We have a FILE to IDOC scenario.

We are facing a problem with the IDOCFlatToXmlConvertor in a sender File Channel.

The module has been configured following this blog

http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/04/12/converting-idoc-xml-to-flat-file-...

We have a plain IDOC SHP_IBDLV_CONFIRM_DECENTRAL03 and it has to be read by a SENDER FILE channel but it is not working.

The error we see in the adapter is

Error: com.sap.conn.idoc.IDocRuntimeException: Unable to get metadata for SHP_IBDLV_CONFIRM_DECENTRAL03: SEGMENT_UNKNOWN

without any additional information.

We have the same scenario but with the IDOC SHP_OBDLV_CONFIRM_DECENTRAL03 and it is working fine and both Sender CC have the same configuration.

Any input will be appreciated.

Thanks.

Luis

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Luis

Please check whether the segment is released in ECC or not. Most of the time the metadata error occurs becuase the structure is not released in ECC.

Answers (3)

Answers (3)

gagandeep_batra
Active Contributor
0 Kudos

Hi Alberto

Test Your RFC connection at both side

And also check authorization

Regards

gAgan

Former Member
0 Kudos

Hi,

we increased the log to debug level and we get the following error:

Caused by: com.sap.conn.jco.AbapException: (126) SEGMENT_UNKNOWN: SEGMENT_UNKNOWN Message 257 of class EA type E, Par[1]: /SPE/E1BPIBDLVHDRCTRLCONF, Par[2]: 620

If we check the IDOC metadata we see this segment is present:


We have tried to configure the parameter "SAPRelease" in the IDOCFlatToXmlConvertor wtih different values: 700, 600, 4.6C... without success.

Any clue about what is the difference in the segments between Releas and Appl. Release?

ambrish_mishra
Active Contributor
0 Kudos

Hi Luis,

Did you try importing the metadata into PI from ECC system (IDX2) ?


Ambrish

Former Member
0 Kudos

Yes, we did imported the metadata in PI from the IDX2 but the module is getting the metadata directly from the ECC through a RFC destination and a JRA defined in the Java Stack

Former Member
0 Kudos

Hi,

thanks for the help. Finally the problem happened to be in the IDOC. The /SPE segments were not correctly released.

We regenerated it again an then the module worked.

ambrish_mishra
Active Contributor
0 Kudos

Hi Luis,

Please check the thread http://scn.sap.com/thread/1818747

Ambrish