cancel
Showing results for 
Search instead for 
Did you mean: 

Error on outbound processing (->to IDoc), nodetailed error message

Former Member
0 Kudos

Hi guys!

I'm facing a problem with sending IDocs to R/3. My messages have red flag in outbound status, but there is no detailed error message. Everything seems to be ok, but my IDoc doesn't arrive to R/3 and there is that red flag in XI.

What could cause this? It seems like there is some communication problem. Any ideas?

Thank you,

Olian

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

Troubleshooting IDOC scenario

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

nisarkhan_n
Active Contributor
0 Kudos

Check the following.

1. open the message detail in the SXMB_MONI and on the left hand side you will have the Pipleine steps, check on which step it is falling, if the problem is with the receiver side only it should fail on the call adapter step, there you will get some meaning full desciption.

2. Make sure the proper Partner profile is set and configured on the receiver side,

3. check weither the IDOC has come in R/3 using we02 or we05.

4.you can also use IDX5 to check for any log there

on the configuraiot side

1. Make sure the LS name of the receiver R/3 system is same in the SLD and in R/3 also if the sender is the 3rs party then its LS name should be same as tthe R/3 Name.

make sure this entries are reflecting properly in the Adapter specific attributes in the BS of the R/3 in ID

Edited by: Nisar Khan on Feb 18, 2008 7:31 PM

Former Member
0 Kudos

Hi,

IT will give the status number,what is the status number in IDOC check it and update the thread.

if u find its a data problem u can debugg the FM,go to WE19 and give ur IDOC number and there u will find the option start out bound processing form this opion u can debugg the code and know wat is the error.

Check ur ALE settings.

STEP 1:ALE SETTINGS TO POST IDOC OUT OF SAP R/3

We need to do the following settings in XI

1) Create an RFC Destination to the Sending System in transaction code (SM59)

a) Choose create

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#

e) Enter the Gateway host as same details above SID/URL

f) Gateway service is 3300+system number#

g) In the Logon /Security tab, enter the client user & Password details of Destination system

h) Test the connection and remote logon.Both should be succesful

****************************************************************

2) Create Port Using Transaction Code IDX1

**************************************************************

a) Select create new button

b) Enter the port name as SAP+SID (The starting char should be SAP)

c) Enter the destination client

d) Enter the RFC Destination created in SAP R/3 towards other system

e) Save

*********************************************************************

3) Load Meta Data for IDOC Using transaction Using Transaction (IDX2)

**********************************************************************

a) Create new

b) IDOC Message Type

c) Enter port created in IDX1

**********************************************************************************************************************

SETTINGS IN SAP R/3

***********************************************************************************************************************

We need to do the following settings in R/3

Logon to Sap R/3 System

**********************************************************************

1) Create an RFC Destination to XI in transaction code (SM59)

***********************************************************************

a) Choose create

b) Specify the name of the RFC destination

c) Select connection type as 3 and save

d) In the technical settings tab enter the details SAP SID/URL and system number#

e) Enter the Gateway host as same details above SID/URL

f) Gateway service is 3300+system number#

g) In the Logon /Security tab, enter the client user & Password details of Destination system

h) Test the connection and remote logon.Both must be succesful

***********************************************************************

2) Create communication Port for Idoc processing Using Transaction(We21)

***********************************************************************

a) First Select Transactional RFC and then click create button

b) Enter the destination port name as SAP+SID (The starting char should be SAP)

d) Enter the RFC Destination created in SAP R/3 towards other system.

e) Save

***********************************************************************

3) Create Partner Profile with Outbound Parameters (WE20)

***********************************************************************

a) Create New

b) Create the Partner no. name as same the logical system name of the destination system

c) Select Partner type LS

d) Enter details for Type: US/USER, Agent, and Lang

Then Save

e) Select Partner no. and LS which were create above

f) Now we have to give some Outbound Parameters.So click on ADD TO Create Outbound Parameter

g) Select Message type

h) Double click on Message Type and Then Enter the details for Receiving port, Pack size=1 and Basic type

I) save

*****************************************

4) In Transaction SALE, Create Logical System

*******************************************

a). Go to Basic Settings-> First Define logical systems

and then assign logical systems

b) Double click on Define the logical systems

c) Give data for your Logicaal System and Name

d) Now click on Save.Here one window may appear just click on Continue.Now the Logical System name is ready

e) Assign the logical system name to the client

*******************************************************************

5) Create Customer Distribution model in the transaction code BD64

******************************************************************

1) Click on the Create modal View button and enter the short text, Technical name etc as shown below

2) Now select the created model view and click on Add message type button .A pop up box appears, enter Sending system, receiving system and message type

3) Save the Distribution model

Generate Partner Profiles

Click on Menu Item ‘Generate Partner Profiles’

It leads to the next transaction where in the selection screen you have to provide Model view name, Partner System logical system and execute

Then, you will be intimated about the partners, port creation, and outbound parameters creation

4) Distribute Customer Distribution Model

In the menu item GO to Edit->Modal View-> ‘Distribute’ to the destination client

Popup window appears ,press Enter

You will be intimated about the the Modal View Distributed

Regards,

Phani

Reward points if Helpful