cancel
Showing results for 
Search instead for 
Did you mean: 

Triggering Idocs/Posting Idocs

Former Member
0 Kudos

Hi ,

I am new to XI, looking to Implement a Idoc to File and File to Idoc Scenarios.

How to trigger the Idocs from sender side, it is done by abap developer or we have to schedule any programs for doing that?

When we Send Idocs to receiver SAP system, How these are posted to the corresponding application? Please provide me an example use case.

Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

0 Kudos

HI,

in order to go with IDoc you need to do some configurations which are known as ALE Configurations in both PI and R/3 Systems, steps are:

From SAP R/3:

--> Create a Logical System

--> RFC Destination (SM59) of type "3".

--> Create Port (We21) for above created RFC.

--> Create Partner Profile (WE20)

From XI/PI side:

--> RFC Destination (SM59) of thype "3"

--> Create Port (IDX1)

--> Load Meta Data for IDOC (IDX2)

then you can trigger the IDoc using tCode we19 manually or use the program rbdmidoc scheduled in the background to create the idocs and then schedule the program rseout00 to process the idocs.

for more information go through the below blog:

/people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi

And for Idoc to file Scenarion you can follow the below blog:

/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters

Regards

Venkat.

Answers (4)

Answers (4)

jyothi_anagani
Active Contributor
0 Kudos

Hi Koti,

Refer This Link

[A Step-by-Step Guide on IDoc-to-File|https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539&overridelayout=true]

and also refer this

https://wiki.sdn.sap.com/wiki/display/XI/File%20To%20IDOC

It will really Help you...

Here the explanation about..

File To IDOC - Part1 (SLD and Design)

File To IDOC - Part2 (Configuration)

File To IDOC - Part3 (Steps required in XI and R3)

Thanks.

former_member183908
Active Contributor
0 Kudos

Hi Koti,

-->While doing IDOC To FIle scenario if you follow the above configurations perfectly it will work fine.

-->But coming to FILE TO IDOC scenario we need to perform some additional configurations compare to the IDOC To FILE Scenario.

-->Folow the below steps so that you can understand the difference between them.

For FILE TO IDOC Scenario:

In R/3 system:

-->Create Logical system using BD54.

-->Assign the LS name to Clinet using SCC4 t-code.

-->Create RFC destination pointing to PI System.

-->Create Port using WE21 and maintain the RFC destination in it.

-->Create Partner Profiles using WE20 and maintain the inbound parameters and message type.

In PI/XI System:

-->Create RFC destinatio pointing to R/3 System.

-->Create port Using IDX1 and maintain the RFC destination pointing to R/3 system which was created earlier using SM59.

-->Port name should be SAP+System ID Of R/3 system.

-->Import the IDOC Metadata using IDX2.

In the receiver IDOC Communication channel maintain the correct port and RFC destination.

-->Coming to the Business Service/System. For Sender Bsiness service/system maintain the Logical system name.

-->Create the Logical system name which you maintained for the sender business service/system in your R/3 system with same name.

-->create the partner profiles using this logical system name and maintain the inbound parameters.

Thanks

prasannakrishna_mynam
Contributor
0 Kudos

Hello,

- In order to trigger the IDOC use we19 in sender R/3 system.

- To implemen the scenario you need to import the IDOC in PI's IR/ESR, use import Objects to import IDOCS and give the client and authorization details of R/3 system by enabling the option in SWCV.

You can go through these examples

https://wiki.sdn.sap.com/wiki/display/XI/FileToIDOC

https://wiki.sdn.sap.com/wiki/display/XI/FiletoMultipleIDOCSplittingwithoutBPM

Regards,

Prasanna

former_member750652
Contributor
0 Kudos

Hi koti,

There are seperate programs written orpredefined programs to trigger IDOCS eg: tCode BD10 for sending material master details as IDOC. Else we need to create copy of the IDOC that you want and trigger it via WE19 tcode to test the IDOCS.

Please refer the follwing thread discussing the similar point.

For use case:

Thanks,

Ram.