Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member
https://weblogs.sdn.sap.com/cs/blank/edit/wlg/https://weblogs.sdn.sap.com/cs/blank/edit/wlg/

Using the transaction IDX5 you can see the Idoc messages which are sent or received by the IDOC Adapter in XI , the advanced functions in IDX5 enables us to track the IDOCs and displays them in the Remote system. 

Where Do You See the IDOC's in SAP XI?

Using the IDX5-Transaction you can track the both inbound and outbound idocs based on the given selection in the selection screen such as message id, transaction id, port name, system id, Idoc number, idoc object and the direction(inbound or outbound).

Incoming/processing messages in R/3 can be viewed using the monitoring tools. For our purpose we first use IDX5 to check whether any inbound IDocs in XI for a message type. To do this, log into XI, type IDX5 then check the dates, feed the logical message type then hit F8.

Pre-requisites

For tracking the IDOC in SAP XI you need some authorizations to execute IDX5 Transaction are as follows.

To start the XI message monitor in the remote system

S_XMB_MONI with ACTVT = 03

                 To start the IDoc monitor in the remote system

S_IDOCMONI with ACTVT = 03

                 Authorization for function groups:

  1. BDMON
  2. BDMT
  3. IDOC_TRACING
  4. SXMB_MONI

Trigger the IDOC in the R/3 system like do the scenario like IDOC to file or File to IDOC.

Steps/Procedure

Step1: Log on to the XI sytem and then Execute the Transaction IDX5. 

"

Step2: Give the Selection details.The following selection criteria are available on the selection screen

By Specifying the Message ID and Transaction ID to determine the Specific Message to  be selected.The transaction ID is the ID of the transaction of the IDOC Adapter.

By Specifying the Creation Date and Creation Time.

System ID - Name of the Port in IDOC Adapter.

IDOC Number - Number of the Idoc from the control record.

IDOC Object - IDOC Basic type for ex DEBMAS,MATMAS.

Direction - 1 or 2 (Direction of the IDOC Transfer like Inbound/Outbound)

Step3: Choose Execute/F8.The system sorts and lists the messages based on the Created date and time.It also uses the list of messages to summarize the number of messages displayed for each direction.

https://weblogs.sdn.sap.com/cs/blank/edit/wlg/https://weblogs.sdn.sap.com/cs/blank/edit/wlg/Performing IDOC Tracking and Options available in the Displayed List:

a. By Choosing the Advanced Functions

Choose the Extended functionality button or Shift F1.

 It shows the two more Push Buttons such as Monitor and Tracking.

 b. Monitoring the IDOC

Select the message in the list and choose the MONITOR push button, it takes you to the Remote R/3 system where the IDOC has been Generated.

IDOC number Generarted In the R/3 System and we can see the Status of the IDOC

"

c. Tracking the IDOC 

Select the Message and choose the Tracking button it gets the remote data from the R/3 system here the remote data is nothing but the IDOC number,Status details.

     In case of Outbound IDOC in XI, for example File to IDOC scenerio XI system will generate an IDOC number for refering the Original IDOC number which is generated by the R/3 System.While clicking the TRACKING Button it IDX_TRACING RFC will be triggered to get the remote data.

First screen shows the 37240 is IDOC number which is generated By the XI system

Click the TRACKING push Button It gets the original idoc number 662806 and status details which is generated by the R/3 System.

d. Summary of the IDOC 

Select the corresponding message in the list and choose ( ) Details.

e. TRFC(QUEUE)

If you want to navigate to the tRFC queue (transaction SM58), select one of the listed messages by double clicking its transaction ID.

This is only useful when the message direction is outbound.

f. Display IDoc packages

If you want to display IDoc packages, select a message and choose  Display IDoc Package.

Finally it helps us to view the Idoc Messages without loggin into the R/3 system.By clicking the Monitor button it automatically takes you to the R/3 System.

6 Comments