cancel
Showing results for 
Search instead for 
Did you mean: 

testing the idoc

Former Member
0 Kudos

hi....

how we will test the idoc after getting the requirement , before developing the scenario..

thanks and regagrds,

Vishnu..

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Hello Vishnu....

For Testing the idoc..

Log in to sender system, go to transaction WE19 (test tool to generate IDoc), generate Idoc of the required message type.

Log in to Xi system and execute transaction SXMB_MONI and check for the XML messages.

Thanks,

Satya Kumar

Former Member
0 Kudos

Log in to Adaptor Monitor and check for the file adaptor. The status of the adaptor should be green and working.

Check the ftp connection, it should connect to destination folder without any error.

Log in to sender system, go to transaction WE19 (test tool to generate IDoc), generate Idoc of the required message type.

Log in to Xi system and execute transaction SXMB_MONI and check for the XML messages. Use your source and destination system to filter messages, it should have chequered flag.

Check the destination directory, it should have file with the name specified along with the time stamp. Check the file, it should have data for all segments.

Former Member
0 Kudos

Hi Vishnu,

If you want to test the Idoc,On R/3 side: then use these transactions

1) Create RFC Destination type:3 (transaction code: sm59)

2) create port (transaction We21)

3) create Partner Profile (transaction WE20)

If you want to check on XI Then use these transactions

1) Create RFC Destination of type:3 (transaction code sm59)

2) Create Sap port (IDX1)

3) Check metadata (IDX2)

4) monitoring IDOC (IDX5)

For testing:

1) go to Transactioncode we19 on r/3 side,

2) choose your idoc or message type here

3) then double click on the main node of the Idoc

4) provide the required information and click on OUTBOUND Processing.

The idoc will send to the XI.now in SAP XI you can monitor through transaction IDX5

in which by date or by IDOC number you can monitor your IDOC

hope it mayhelpful

Thanks

sandeep

PS: if helpful plz reward points

Former Member
0 Kudos

Hi

Just for testing purpose..you can use WE19..

First goto transaction WE02 and put Basic type : eg DEBMAS as filter criteria, change your creation date to select little old Idocs and run...on next screen your will see number of Idocs "DEBMAS" with green status(if there is any in that period..otherwise change period again).

Then goto WE19 and put existing Idoc number in the field existing Idoc and and press F8...On next screen press "Standard outbound processing".

Can also use we19 and change control record ( Double click in EDIDC segment) to your sender / receiver partner profile.. and run

Thanks

vikas_agarwal
Contributor
0 Kudos

Hi Vishnu,

If you want to test the Idoc, before completing the whole scenario, then you have perform these steps:

On R/3 side:

1) Create RFC Destination type:3 (tcode: sm59)

2) create port ( We21)

3) create Partner Profile (WE20)

On XI side

1) Create RFC Destination of type:3 (tcode sm59)

2) Create Sap port (IDX1)

3) Check metadata (IDX2)

For testing:

1) go to Tcode we19 on r/3 side,

2) choose your idoc or message type here

3) then double click on the main node of the Idoc

4) provide the required information and click on OUTBOUND Processing.

The idoc will send to the XI.

Thanks

Former Member
0 Kudos

Hi Vishnu,

Please go through this :

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd...

You will get a PDF having the step to step procedure(A complete guide for IDOC to file).On page 14or so you will find written about the transaction we19.

Mostly for IDOC to File Scenarios we tend to get confused about what is to be done at the SAP System end.I hope the PDF will help you.You will get lots of information if you check out in the Search.

EDIDC is a segment of the IDOC which has the control record.

Let us know if you want to know more.Will try to help.....

Former Member
0 Kudos

using transaction WE19

specify basic type

fill some test data

fill EDIDC properly

use 'standard outbound processing' for sending IDoc to XI

Former Member
0 Kudos

hi...Mugdha,

i am nt understand pls explain clearly..

Former Member
0 Kudos

you want to send IDoc to XI.. and u want to test it before developing a scenario in XI.. am I right?? correct me if not

if so then WE19 is the test tool for processing Idoc