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

outbound idoc program logic

Former Member
0 Likes
534

Hi all.

i am doing the outbound idoc coding for the first time.

i have the steps as how should i do the coding,but dont really know the actual code lines.

the scenario is like this:

as this is outbound,the data is going from sap to other system.

according to message type,the data is getting read in the idoc-data,getting selected and passed to the partner function.

append to the final idoc structure.

please suggest with the actual lines of code,or give me code that will suffice this outbound idoc process.

thanks!!

3 REPLIES 3
Read only

Former Member
0 Likes
498

This message was moderated.

Read only

Former Member
0 Likes
498

So, you have all the data that you need to pass it on to the Idoc.

So, you must be knowing partner number, port etc.,

Use the function module MASTER_IDOC_DISTRIBUTE and pass the above values and execute the program.

Outbound Idoc gets generated. Please let me know if it doesnt work

Thanks,

Babu Kilari

Read only

Former Member
0 Likes
498

Filli in IDOC structure and call MASTER_IDOC_DISTRIBUTE.

For more information refer help.sap.com

Regards

Shital