Outbound IDOC concepts
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 =)