Application Development 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: 

Outbound IDOC concepts

Former Member
0 Kudos

Hi Experts,

I am currently trying to create an IDOC for outbound purpose to an Oracle system. What's required is a program with a selection screen where user can select what kind of data to be sent capable of sending an IDOC. There is an SAP XI middle-ware in between to send the IDOC to Oracle.

As I am new to IDOC, I am still finding my feet on the subject.

There are some questions I would like to ask to you guys on the subject:

1. Can i just simply create a program and send the IDOC from the program?

As I have gone through some reading and found out that I can send an IDOC using the Function module "MASTER_IDOC_DISTRIBUTE".

Or should I create a function module like the ones SAP delivered?

Not quite sure what is the difference.

2. What is function module "IDOC_SEND" used for? is it the same as MASTER_IDOC_DISTRIBUTE?

3. What is program RSNAST00?

4. Lastly is there anything I must do to determine the destination of the IDOC?

Any practical guide on how to create an outbound IDOC program is welcomed and highly appreciated.

Thanks a lot for the answers, it's quite a lot though 😃

Best Regards,

Fandi.

1 ACCEPTED SOLUTION

former_member223537
Active Contributor
0 Kudos

Hi,

Going through your requirements, it seems Interface would be the best way to transfer data.

Create a program to download a file(in a specific format) on application server & then trigger XI to upload the same file & do the necessary processing.

Best regards,

Prashant

6 REPLIES 6

Former Member
0 Kudos

Hi,

The first question you should consider is which data you want to send to Oracle.

Based on that we can tell you what is the best approach.

Regards,

Atish

0 Kudos

Hi Atish,

Thanks for the quick reply

I am trying to send details of several types of FI and MM documents with a custom format as defined in the design.

The documents to be sent is based on what the user selects on the selection screen.

Best Regards,

Fandi.

0 Kudos

Hi Fandi,

Sending data using IDOC by the way you are mentioning is not the recommended way. In ALE you have message type. There are lots of SAP standard message type which you can use to send the data using IDOC.

I think you should first read about ALE concepts and then about IDOC.

There are lots of link given above ALE material also you have standard SAP material on ALE IDOC.

Regards,

Atish

0 Kudos

Hi Atish,

I have gone through some of the materials previously, and have been trying to find a standard one to be used.

Since the data format for outbound is highly customized, I can't use the standard message types that SAP provided.

I was thinking of retrieving the data in the program and then inserting the data to the IDOC structure. Afterwards triggering the MASTER_IDOC_DISTRIBUTE to send the IDOC, but I then encounter one reading that suggest using the program RSNAST00 instead.

I have created the Segment, IDOC type, and configured the partner profile for the destination.

Thanks,

Fandi.

Former Member
0 Kudos

ALE/ IDOC

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.sappoint.com/abap/ale.pdf

http://www.sappoint.com/abap/ale2.pdf

http://www.sapgenie.com/sapedi/idoc_abap.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/0b/2a60bb507d11d18ee90000e8366fc2/frameset.htm

http://help.sap.com/saphelp_erp2005/helpdata/en/78/217da751ce11d189570000e829fbbd/frameset.htm

http://www.allsaplinks.com/idoc_sample.html

http://www.sappoint.com/abap.html

http://help.sap.com/saphelp_erp2004/helpdata/en/dc/6b835943d711d1893e0000e8323c4f/content.htm

http://www.sapgenie.com/sapgenie/docs/ale_scenario_development_procedure.doc

http://edocs.bea.com/elink/adapter/r3/userhtm/ale.htm#1008419

http://www.netweaverguru.com/EDI/HTML/IDocBook.htm

http://www.sapgenie.com/sapedi/index.htm

http://www.allsaplinks.com/idoc_sample.html

Refer this

http://www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_DATADICTIONARY_FAQ.html

http://www.saptechnical.com/InterviewQ/interviewQ.htm

http://help.sap.com/saphelp_46c/helpdata/en/35/2cd77bd7705394e10000009b387c12/frameset.htm

http://www.techinterviews.com/?p=198

http://www.techinterviews.com/?p=326

http://www.sap-img.com/abap/answers-to-some-abap-interview-questions.htm

http://www.sap-img.com/abap/more-than-100-abap-interview-faqs.htm

http://www.geekinterview.com/Interview-Questions/SAP-R-3/ABAP

http://sap.ittoolbox.com/documents/popular-q-and-a/abap-sample-interview-questions-3240

http://www.sap-img.com/abap/abap-interview-question.htm

http://www.allinterview.com/Interview-Questions/ABAP

Rewards if useful.........

Minal

former_member223537
Active Contributor
0 Kudos

Hi,

Going through your requirements, it seems Interface would be the best way to transfer data.

Create a program to download a file(in a specific format) on application server & then trigger XI to upload the same file & do the necessary processing.

Best regards,

Prashant