Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Missing fields in segment

$
0
0

Hi Experts,

 

for an inbound interface in SAP ERP I have missing segment field in the received IDOC.

This only happens on our QAS server, on DEV server it is working correctly (all fields are present).

 

For example:

The IDOC structure is

ZIDOC

-ZFIELD1

-ZFIELD2

-ZFIELD3

 

In we02 I see the received IDOC with status 51 and the following structure/data

ZIDOC

-ZFIELD1 | DATA_VALUE1

-ZFIELD3 | DATA_VALUE2 DATA_VALUE3

 

Segment field ZFIELD2 is missing and data from this field is moved to the next field and hence misaligned!

 

The IDOCs are coming from SAP PI.

In PI I divert the output to file (instead of receiver IDOC_AAE) and I get the full IDOC structure in XML file, and there it is complete:

 

IDOC_BEGIN...

EDI_DC40 ...

ZIDOC

-ZFIELD1 | DATA_VALUE1

-ZFIELD2 | DATA_VALUE2

-ZFIELD3 | DATA_VALUE3

 

Also in ESB I do a test for the mapping and everything is mapped correctly.

I have reloaded the IDOC definition and have done cache refresh of PI after deleting and after loading the IDOC definition.

The same IDOC receiver from PI is used for other interfaces and they are correct.

In ERP I use WE19 and fill in the IDOC structure and it creates an IDOC that is correct (status 53).

 

I suspect that the problem arises when PI IDOC_AAE converts the IDOC from IDOC_XML to IDOC_flatfile and sends it across the RFC to ERP.

 

Has anyone come across a problem like this or similar and do you have any ideas on how to debug further?

 

Kind Regards,

Vladimir


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>