cancel
Showing results for 
Search instead for 
Did you mean: 

IDOC scenario Debugging

Former Member
0 Kudos

Hi,

I want to debug the IDOC senarios(Both File to Idoc and Idoc to file ).. for this.. from where can we start.. and what are the things we need to check.. how can we debug the scenarios...

i mean.. just give me the descriptive steps..

Thanks

BABU

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

1. Start with checking the status in sm58 of sender R/3

Follow the steps

2. Try deleating the IDoc from IDX2 and refiring the same.

3. Check your RFC destination definition (the one pointing to your XI server) to confirm that it is of type '3' (R/3 system) and not 'T' (TCP/IP).

In your ID, in the Sender Business System --> Adapter Specific Identifiers, give the logical name for the business System pointing to the R3 system

4. Monitor the SM58 in R/3 for IDOC status.

5. Trouble shooting file to IDOC and IDOC to file

/people/venugopalarao.immadisetty/blog/2007/01/24/troubleshooting-file-to-idoc-scenario-in-xi

https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/error%2bhandling%2bin%2bfile-idoc%2bscenario

Refer below links for indepth troubleshooting

Refer below steps

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

IDOC to File steps to be followed please verify your scenario with it

R3 system.

1. Create SM 59 RFC destination to XI,.

2. We21 - Create port to XI.

3. We 20 -- Maintain Partner Profile for the outbound Idoc.

XI SLD

1. Create technical system for R3 system

2. Create Business System for the Client of the R3 system.

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

/people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

These are the required steps for IDoc to File scenario...

In R3 (i.e., your IDES system)...

RFC dest to XI (sm59) - any name

Logical system (bd54) - any name

Port to XI (we21) - any name

Partner profile for the logical system (we20) - use Logical system name created in bd54

In XI...

RFC dest to R3 (sm59) -

Port to R3 (idx1) -

create metadata for the idoc (idx2)

In sld...

create business system for R3 with Logical system name as r3 sys.

In we19

and give in control record as

Sender : Port ; Partner

Receiver : Port = <Port created in WE21> ; Partner = <Partner created in we20>

see the below links

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

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

idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi

Also

/people/sravya.talanki2/blog/2005/10/27/idoc146s-not-reaching-xi133-not-posted-in-the-receiver-sap-systems133

IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario

Thanks

Swarup

Edited by: Swarup Sawant on Feb 9, 2008 1:32 PM

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

check IDX5 in XI and Check we05 and we19 in R/3

plz award if it useful...

thnq

Former Member
0 Kudos

hi babu,

IDOC to File scenario

1. check your rfc destination in SM59 in sender system FOR receiver system,check log-on details and technical details of receiver system in the same

2. check for port no in we21 whether it is assigned correct rfc destination.

3.partner profile in we20 of type logical system(LS). assign message type in outbound parameters.

4.Now log-on to target system ie XI Server.

5.create rfc destination in Sm59 for sender system and check that it is correctly assigned in IDX1.

6.check in IDX1 for port no. and partner profile for sender system Make sure that Port for sender system is of the format SAP<SID>. Where SID is your three digit System ID.

For the same you can refer to this blog http://www.architectsap.com/Publications/CustomIdocCreationAndIntegrationWithSAPXI.pdf

FILE to IDOC Scenario

http://www.architectsap.com/Publications/SAPtoSAPIntegrationUsingCustomIDOC.pdf

Mandeep Virk