SAP will manage all information master data as customer, vendor, material master. Create one method RUNBD21 and two events CREATE and CHANGE as shown in the following figure. Select the application area Sales (V1) and select Procedure from the top menu. Middleware framework class will be called: These above three function modules will be executed one by one. We need the Logical System for both Output Determination, Outbound iDoc configuration, and Partner Profile configuration. At this point, lets see how releationship looks in material document: Material Document with no relationship to IDoc. So you should check if your event (creation of outbound delivery) is triggered in this process to be sure it will work. To test the scenario we built, go to sales order creation transaction va01 and create a new sales order of Document Type XSTA for Customer BP0001 under Sales Organization X401. wa_edidc-sndprt = 'LS'. This is the complete process of creating an Outbound Idoc through ALE. Maintain the Message Control configuration as shown in Step 4 of the Outbound iDoc Configuration section. Use the existing logical system attached to the client in which you intend to work. We can do the same for other IDOC types.In the Z FM ,input parameter HEADER we get the Site ID details , based on that we can control the changing parameter RECEPIENTS. Finally, go to transaction se37 and set a break-point in iDoc creation Function Module IDOC_OUPUT_ORDRSP. Site is the destination where the data needs to be sent. *This segment contains only 1 field i.e. You can decide your own name while defining the logical system. BD50 - Activate Change Pointer for Msg Type Select "Add BAPI" and enter Object name "Internal Order" and Method is "Save Replica" and Save it. Go ahead by clicking on 'Continue'. Next, assign the partner name and Partner Type. - 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. Please do not create logical systems unnecessarily. 4. Here the step by step to follow to create / configure an Output Types : Go back to transaction NACE. Hello! This document assumes that you have two different clients available on SAP server (You can also follow the steps mentioned in this document to setup the ALE scenario between two different SAP systems) . You can request your BASIS team to troubleshoot this error. Affordable solution to train a team and make them project ready. Could please you let me know how send an IDOC to FTP folder, what FM or program used in RFC destination ? The next step involved is assigning these logical systems to client. If you have multiple accounts, use the Consolidation Tool to merge your content. In the scenario for processing IDocs shown in the graphic above, the first IDoc is send to the AIF port function and is processed via the SAP Application Interface Framework. With this configuration in place, the system will automatically pass each iDoc generated from the application layer to Outbound Port immediately. The breakpoint in iDoc creation FM will be triggered.iDoc generation FM in Debug Mode. 7. This can be achieved by creating the OMS external system as a Logical System in SAP. After selecting the correct Procedure, click Control from the left-hand-side menu. Basic config for Distributed data: Also the assumption is that you have all the necessary authorizations to execute the transactions mentioned in this document. Standard Task is created using t-code PFTC, a. Trigger the IDOC sending using tcode R3AS. Click f8 to execute the sending. 1.Get the process code from WE20 by message Type; 2.Get the Function module by Process code; 3.Set the breakpoint at FM get from the above step and run the program RSNAST0D. iDoc Collection and Package Size S4 HANA and PI/PO Configuration, Dynamic File Name UDF Example SAP PI/PO, Generate iDocs Using Change Pointers in SAP, Electronic Bank Statement Integration (SAP S4 HANA), Bar Code Printing with Smatforms SAP ABAP, Introduction to SAP CPI and Integration Suite, Attach Files to SAP Business Documents Using GOS ABAP, Processing despite syntax error (outbound), Error during syntax check of IDoc (outbound), IDoc sent to ALE distribution unit retroactively, IDoc is in the target system (ALE service), Application document not created in target system, Application document created in target system, Identify the Output Procedure of Sales Order Type, Define a new Output Type (NACE > Output Types), Configure General Data and Access Sequence of Output Type, Maintain the Default Values of the Output type, Transmission Medium, Dispatch Time and Partner Function, Configure Processing Routine (ABAP program and form), Configure Output Procedure (NACE > Procedures), Maintain Conditions for Output Control (NACE > Condition Records), Additional steps for a custom Message Type and ustom iDoc Basic Type, Assign iDoc processing FM to message type and iDoc type we57, Define Outbound options receiver port, package size, iDoc type, Assign custom Message type and iDoc Basic type we82, Define the iDoc processing Function Module (FM) se37, Assign iDoc processing FM to Message Type and iDoc Basic type we57, Set the Output Type Dispatch Time to Option 1 (Send with a periodically scheduled job), Set a break-point in iDoc processing FM (process code), Issue the output from SAP application document. BD79 - Maintain rules Trigger the IDOC sending using tcode R3AS. There are multiple transmission mediums you can use in SAP to send output documents to partners. Could you please clarify why process code has been provided in the outbound parameters of partner profile. *Message type Search for additional results. In our example, the new Output Type is ZOOC.if(typeof ez_ad_units!='undefined'){ez_ad_units.push([[300,250],'sapintegrationhub_com-large-mobile-banner-2','ezslot_14',143,'0','0'])};__ez_fad_position('div-gpt-ad-sapintegrationhub_com-large-mobile-banner-2-0'); To create a new Output Type under sales, go to transaction NACE and select the application area as Sales (V1), then click Output Type in the top menu. reason not to focus solely on death and destruction today. I might need to perform some other configuration in txn. To continue this discussion, please ask a new question. For Inbound IDOCs, mention the process code as APL1 and choose option Trigger Immediately under Processing by Function Module. This is the final step of outbound iDoc configuration. Reason has been BADI method call is an update module. *This IDOC type contains only one segment. Comment * document.getElementById("comment").setAttribute("id","a02507ab7b068eef96fe13b1c6d5c5ba");document.getElementById("fd3376fb90").setAttribute("id","comment"); We use cookies to optimize our website and our service.