2006 Jun 08 1:59 PM
I am doing a EDI outbound for purchase order using
message type as ORDERS
Idoc type as ORDERS05
My scenario is as such, a flat file will be having text information and IDOC number and I need to add the outbound idoc with this text information provided in the flatfile for the corresponding IDOC number in the file.
My issue is that how to add information in the file to generated IDOC .
I am doing a EDI outbound for purchase order using
message type as ORDERS
Idoc type as ORDERS05
My scenario is as such, a flat file will be having text information and IDOC number and I need to add the outbound idoc with this text information provided in the flatfile for the corresponding IDOC number in the file.
My issue is that how to add information in the file to generated IDOC .
2006 Jun 08 2:04 PM
Hi Shreya,
It seems you need to go for an idoc extension.
Extenbd the idoc and populate the extended segments by using the user exits in the outbound function module.
Visit this link for more info:
http://help.sap.com/saphelp_erp2005/helpdata/en/dc/6b7d6243d711d1893e0000e8323c4f/frameset.htm
Regards,
Ravi
2006 Jun 08 3:59 PM
I have tried user exits , and i would like to know using the genaerated idoc can i build a new IDOC of same(already genarated) with a additional information populated in the newly added segments.
thanks
shreya.
2006 Jun 08 4:03 PM
If you add segments to an existing idoc type, you have to populate them using user exits only:
Refer the user exit FM: EXIT_SAPLEINM_002
Within this function module, users can themselves store code that
extends the internal table for the IDoc with their own data or changes
already existing data.
Regards,
Ravi
2006 Jun 08 4:18 PM
Thanks for reply ravi, I have tried it ,its working fine but my issue is that ,i have a outbound IDOC number ex;0000000000811801 (in the file)
i have to take this idoc number from the flatfile and add some more segments with the information that is provided in the file for the corredponding idoc number.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |