Skip to Content
0

Purchase order Item text mapping in PI, IDOC to cXML (Ariba)

Dec 04, 2017 at 08:01 AM

177

avatar image
Former Member

Hi Experts,

We are making use of segment E1EDPT1 of ORDERS-ORDERS05 idoc to send the purchase order item text from ECC to Ariba. As E1EDPT1 is already being used we are passing the value as key-value pair. ie, E1EDPT1-TDID contains the key to indicate item texts (F01, F02...FX) and E1EDPT1-TDLINE contains value (Item Text). As TDLINE is of length 70, we are splitting the item text and passing it into next TDLINE. The structure is as given below.

Purchase order Line ITEM - 1

E1EDPT1

TDID - F01

E1EDPT2

TDLINE - ABC

TDLINE - XYZ

E1EDPT1

TDID - F02

E1EDPT2

TDLINE - PQR

TDLINE - 123

Purchase order Line ITEM - 2

E1EDPT1

TDID - F01

E1EDPT2

TDLINE - MNP

TDLINE - ASD

E1EDPT1

TDID - F01

E1EDPT2

TDLINE - 234

TDLINE - QWE

Our requirement in PI is to

1. Concatenate all TDLINE under F01 for first item

2. Add a line of sepetrators

3. Concatenate all TDLINE under F02 for first item

Pass these concatenated values to Target field of first Iine item

Do the same for second line item

Output should be like below

First Line (Target is single text field)

ABC

XYZ

******

PQR

123

Second Line (Target is single text field)

MNP

ASD

******

234

QWE

Please let me know if this kind of requirement can be achieved. The main issue i am facing here is i am not able to differentiate between the Line text of Line 1 and Line text of Line 2. How can i achieve this in PI mapping.

Looking forward to your valuable inputs.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Jürgen L
Dec 04, 2017 at 03:21 PM
0

I do not really understand what you are doing where and why.

Usually the orders Idoc is created from an output message of a purchase order, so I do not really see a need to reassemble anything that the system takes care about by itself.

Just maintain an example PO with all texts that you need and output it as EDI and check in BD87, WE05 or WE02 how the segments and the text appeara in the Idoc

Share
10 |10000 characters needed characters left characters exceeded