on 12-04-2017 8:01 AM
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.
Hi Bhaskaran,
Did you find a solution? I'm working on the same scenarion, any input is really appreciated.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.