cancel
Showing results for 
Search instead for 
Did you mean: 

inbound file EDI830 in PO7.5 and in sap i have to post ORDERS02 and DELFOR01 IDOCs

mahaboob_pathan
Contributor
0 Kudos

Hi,

I have a scenario where vendor is sending EDI830 format. i am receiving it in PO7.5 Depending on condition in FST segment i have to create ORDERS02 and DELFOR01 idocs in SAP.
Is it possible to achieve it using graphical or XSL mapping and directly post in past IDoc_AAE receiver communication channel.

peter_karg
Explorer

you can also create a graphical mapping and use this for receiver determination. So you don't have to work with XSLT and the SplitandMerge tags.
There's a good reference how to create one.

https://wiki.scn.sap.com/wiki/display/SI/Step+by+Step+guide+to+Explain++Enhanced+Receiver+Determinat...

Then you can enter this mapping in the iFlow - Recipient List - Properties - Dynamic Routing.

Accepted Solutions (1)

Accepted Solutions (1)

peter_karg
Explorer
0 Kudos

Hi,
you can create two mappings and then do a message split using XPATH or mapping based like this one.

searching for message split you should find more information.
Regards Peter

mahaboob_pathan
Contributor
0 Kudos

Hi Peter,

Thanks for the reply.

i can't use XPATH as the conditions are in FST lines of EDI810.

i have done the XSLT mapping and was able to split depending on the condition and populate ORDERS and DELFOR01 idocs. but in Target when i kept both IDOCs message mapping has created with

http://sap.com/xi/XI/SplitAndMerge">;

<ns0:Message1>

<ORDER02>

</ORDER02>

</ns0:Message1>

<ns0:Message2>

<DELFOR01>

</DELFOR01>

</ns0:Message2>

</ns0:Messages>

i have exactly created this type of mapping in xslt and was able to test in ESR in operation mapping with out issue.

but when END-to-END testing is done it is splitting correctly but sending empty tags.

<?xml version="1.0" encoding="UTF-8"?>

http://sap.com/xi/XI/SplitAndMerge">;

<ns0:Message1>

<ORDER02>

</ORDER02>

</ns0:Message1>

<ns0:Message2>

<DELFOR01>

</DELFOR01>

</ns0:Message2> </ns0:Messages>

--------

<?xml version="1.0" encoding="UTF-8"?>

<ORDER02>

</ORDER02>

<?xml version="1.0" encoding="UTF-8"?>

<DELFOR01>

</DELFOR01>

i read in some blogs that not to send http://sap.com/xi/XI/SplitAndMerge">; > tags.. but when i don't send these my operation mapping is not working and as well as my message mapping as well.it is giving mapping errors.

mahaboob_pathan
Contributor
0 Kudos

Thank for the information i tried to do it but getting some error like there is no actual interface to split.. might be i am missing some step.

i went through xsl mapping and was able to achieve the solution.

Answers (2)

Answers (2)

mahaboob_pathan
Contributor
0 Kudos

thanks for taking time and providing the solutions.

i was able to achieve the solution by doing xsl mapping and handling the header as well.

now EDI830 comes and post ORDERS and DELINS both and depending on conditions it posts only one.

Thank you.

krist0v
Explorer
0 Kudos

Isn't your source EDI8xx converted to XML first (at file sender level for instance) before being processed by PO ?

mahaboob_pathan
Contributor
0 Kudos

PO adds the header tab after it converts , was able to find the solution, i am handling it in xsl mapping ..