cancel
Showing results for 
Search instead for 
Did you mean: 

[IDOC] WE19 send successfully ...but where it is?

Former Member
0 Kudos

Hi,

creating scenario IDOC -> XI -> File with own IDOC.

After sending it with we19 he said "IDoc sent to SAP system or external program".

In we02 and we05 the IDOC it says "Data passed to port OK".

Business Systems:

Sender : SAPBS Client 200

Receiver: SAPXI Client 001

(Both on same SAP server)

But it never appears in sxmb_moni nor a file is created on receiver system.

How to debug where the error could be?

-RWE doesn't show an error in adapter monitoring.

-Destination is tested successfully

What else?

thanks

chris

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

HI though it may sound silly but sometmes we make a mistake....pls check sxmb_moni with correct date n time

regards

Former Member
0 Kudos

No, checked it twice. Date is ok, but no message has been send.

Former Member
0 Kudos

hi

check these points

1.control data is ok. sender receiver port etc.

2.meta data is loaded. txn :idx2 also check idx5

3.as mentioned above check for the date n time. try with yesterdays date

4.have maintened adapter specific properties in configuration

regards

prat

GabrielSagaya
Active Contributor
0 Kudos

1.Execute transaction SM58 to determine if IDoc is stuck in the ALE/RFC layer. If entries exist in SM58, look for Message Type

2.If message type exist and Run the Program "RSARFCEX". If after the RSARFCEX program has ran and IDocs are not in SM58, issue should be solved. Validate in receiving system via WE05 that the IDoc was received or not.

3.If IDoc is still stuck in SM58, check RFC connection. Go to SE37, enter function module RFC_PING. You need to have access to SM59 to test the RFC Connection

4.After an issue has been resolved and/or you need to process an IDoc, besides processing IDocs via programs, you can also process IDocs via Transaction BD87.

Former Member
0 Kudos

Ok, my fault. Looking in XI client for sm58. In Busines system I found IDOCs with following error:

"Transaction IDX1: Port SAPERP_200, client 200, RFC destination contain e"

I think this shoul mean error. But why?

I checked [this guideline|https://wiki.sdn.sap.com/wiki/pages/viewpage.action?spaceKey=XI&title=SAPR3%28Idocs%29ToXI--Steps+Summarized&decorator=printable]

It seems he tries to use a port for ERP_200 (R/3 System), but I think he shouldn't or?

My configuration again:

R/3 system

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

sm59: ERP_00_001

we21: P_XI_OB (using destination ERP_00_001)

BD54: ERP_00_001 (XI System)

WE20: ERP_00_001 using my Message Type ZPersonal_Test with Receiver port P_XI_OB)

XI system

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

sm59 : ERP_00_200 (is this for sending back acks or to get meta data?)

idx1: Port: SAPERP Client: 200 Destination ERP_00_200)

IDX2: SAPERP - IDOC Type: ZPersonal_Test - Client 200

While collecting these information I found following:

- My BS for SAP XI (client 001) have no logical system name. The technical system

got ERP_00_100, but the BS didn't take it. How to insert it?

But if this is the error, why he said error in SAPERP_200 ?

- Why I have to use two different transaction (we21 in R/3 and IDX1 in XI)

for creating ports. What's the different?

thx

chris

former_member181962
Active Contributor
0 Kudos

Hi,

Yes your understanding is right.

In your ERP backend system, you should define a RFC Destination for your XI system and a PORT for the same in WE21.

Regards,

Ravi Kanth Talagana

Former Member
0 Kudos

Hi,

check this ..

http://www.saptechnical.com/Tutorials/XI/IDocToFile/IDocToFile1.htm

"Why I have to use two different transaction (we21 in R/3 and IDX1 in XI) "

->Port to XI (we21) - any name---in your scenario message will pass through this port to XI system.

-


>Port to R3 (idx1) - you have to import metadata for the idoc by using T-code IDX2 into SAP XI system from your application server (R/3) through this port.

Cheers,

Sunil.

Former Member
0 Kudos

@sunil

so the ports are used for different things. Can I compare this with TCP ports in www?

21 is for ftp, 80 for http and so on. And for every port we have an own transaction in SAP

(of course our ports are for other things of course)?!?

Now I created my Business system new so that the logical name is inserted, but still got this error. What can I do next for debug this error in sm58?

thanks

Former Member
0 Kudos

check the RFC connection in R/3 pointing towards XI is working fine or not.

if not check the user crendentials or check the user is in locked condition in SAP-XI under T-code SU01.

Former Member
0 Kudos

Hey,

In your XI check inSU53 after sendig the data from WE19(R3 side)

Su53 is a transaction that will give you the informaiton about the authorization of the User that was used recently.

So in your case if the user that you have mentioned in SM59(R3 side) does not have particular authorization in XI then those objects that need to be assigned to the user in XI will be displayed in SU53.

rewards points if useful

regards,

Milan

Former Member
0 Kudos

Transaction IDX1: Port SAPERP_200, client 200, RFC destination contain e

-->

This is your error in SM58 of R/3 system

you need to import metadata in XI system

Go to idx2 in XI system,

delete metadata for your IDoc, if it exists and import it again...

then try to trigger IDoc from we19...

Former Member
0 Kudos

Now I've checked everything you said and found following:

- in xi system user slddsuser was locked. I have unlocked it

- in r/3 system my own created idoc segment was not released

so i released it in we31 and go to xi system to import it in idx2

- send test idoc in we19 and check su53 -> everything ok

but I have still the error in sm58?!?

so what next? after releasing the segment. do I have to do anything

else then reimport it in idx2? The IDOC segment is saved as local

object. Does it matter?

thanks

chris

former_member240483
Contributor
0 Kudos

Check SXMB_MONI in u r R3 system...there it will show the message..

Former Member
0 Kudos

Check the SM58 transaction for the error.

Regards,

Kiran Bobbala

Former Member
0 Kudos

In sm58 it says "Nothing is selected".

Search for the whole day with * as user.

SXMB_MONI in sending system got no messages

Edited by: Christian Riekenberg on Jun 11, 2008 5:10 PM

Former Member
0 Kudos

go to SM58 on R/3 system...

there you will get errot