Hi, I am Isuru Fernando, Senior SAP Integration Consultant with 10 years of SAP full-cycle implementation and support project experience. If the outbound iDoc is a master data iDoc, use the FM MASTER_IDOC_DISTRIBUTE in the ABAP program to create iDocs. Then click Create in the top menu. Business Transaction Events for Filtering Outbound Master IDOCs WE47 - IDoc status maintenance - Enter 'Segment Type Name' (name of your custom segment type) as the segment type (must start with Z1), check mandatory if the segment must exist (in this case check it), enter 1 in minimum number and 1 as maximum number. data: i_edidc like edidc occurs 0 with header line, i_edidd like edidd occurs 0 with header line, Now that we have completed the Output determination, lets look at Outbound iDoc configuration steps in detail. Most important Transaction Codes for Manually Trigger Outbound Idoc # TCODE Description Application; 1 : WE20: Partner Profiles Basis - ALE Integration Technology: 2 : WE19 . MB_DOCUMENT_BADI should be implemnted and method MB_DOCUMENT_UPDATE shoud be used. iDoc current status and status history - Transaction we02. Now that we have all prerequisites covered, we can move to the next step of the outbound iDoc configuration using Output Determination. Could you please clarify why process code has been provided in the outbound parameters of partner profile. There are standard BASIC TYPE available like CREMAS05,MATMAS05 which can be customized i.e. Also make sure that IDOC status icon is Green. In our example, we want to trigger the output based on Sales Org and Customer. abap - How to replicate outbound delivery in SAP? - Stack Overflow Release it as shown. Clear and detailed explanation. This document does not demonstrate any business scenario. Go to NEU. There are different types of ports in SAP: Since we use a TCP/IP RFC destination to connect to SAP PI/PO system, we need to create a tRFC port. RSNASTEDis the output processing program for different output mediums. wa_edidd-segnam = 'Z1CUSTOMSEGMENT'. The outbound iDoc will terminate with the error in status 02 (Error passing data to port). Thanks to a SAP Standard Function module there is no need to write the LOIPRO01 IDoc Segment by segment and field by field. Under the Technical Settings tab of TCP/IP destination parameters, configure the Program ID registered in the previous step. We need the Logical System for both Output Determination, Outbound iDoc configuration, and Partner Profile configuration. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you. An agent can be of different types: Work Center, Job, Organizational unit, Person, Position, User. The technical storage or access that is used exclusively for statistical purposes. I have configured the ports in WE21 and partner profiles in WE20; however no IDOC is generated when I save an entry in txn. In a few months, SAP Community will switch to SAP Universal ID as the only option to login. Write a custom code (Executable Report) to populate IDOC: *& with message type 'Z_CUSTOM_MESSAGE_TYPE'