Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

EDI outbound

Former Member
0 Likes
647

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 .

4 REPLIES 4
Read only

Former Member
0 Likes
598

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

Read only

Former Member
0 Likes
598

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.

Read only

0 Likes
598

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

Read only

Former Member
0 Likes
598

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.