Skip to Content
avatar image
Former Member

Idoc outbound process for sap system to non sap system

Hi experts,

I am sending idoc from sap system to non sap system.i have created

Logical system

RFC Connections (Connection type is T)

RFC port

Partner profile and assign my z message type inside that have given new Receiver port and Z Basic type idoc my segment also Z.

*My Q:- is there process code/posting program required?

If posting program is require what to do in posting

program?

If process code is required then what to do in process

code?

Or 2 are required?*

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Oct 17, 2008 at 07:32 AM

    Hello,

    First of all, when dealing with the Outbound Interface, we do not term it as "Posting Program" but we call it a "Selection Program".

    Now, answering your questions, Yes. A Selection Program is required to fetch data from the Application Document and generate an IDoc.

    However, whenther or not a Process Code is required really depends on the Type of the Selection Program & the Type of Data that you are willing to send.

    For example, for the Standard Transactions such as Sales Order / Delivery / Shipment etc, we do have Selection Programs implemented as Function Modules in SE37 like IDOC_OUTPUT_ORDRSP, IDOC_OUTPUT_DELVRY, IDOC_OUTPUT_SHPMNT for which the Process Codes exist in WE41 Transaction. So, we do not have to create any explicit FMs or Process Code. If we have an Idoc Extension, then all we have to do is to find an Appropriate Customer Exit and write code in those exits to populate the Custom Segments /Fields. In this Case, if you are going for a Custom Selection Program (FM), then a Process Code is required to be created in WE41 Transaction and in that, we need to assign the Function Module to it.

    But if we have an entirely different Requirement in which the Data does not come from any Particular Standard SAP Transaction, but we need to issue an explicit Query on SAP Tables and populate the IDOC_DATA, then we can also go for a Standalone Report Program in which we'll be Querying the SAP Tables, Populate the IDoc Data, Populate the Control Record Information & Issue the Function Module Call for "MASTER_IDOC_DISTRIBUTE" by which we can send IDocs. In this Case, a Process Code is not required.

    Hope it was informative.

    Thanks and Regards,

    Venkat Phani Prasad Konduri

    Add comment
    10|10000 characters needed characters exceeded