This blog explain about a tool developed for knowing the status of Inbound IDocs in an integration environment. From this we can view IDocs posted to SAP without using the SAP front end. I have developed this tool in Business Server Pages (BSP) to help middleware team to know about the IDocs status which came from different system. So middleware team can see IDocs status in any web browser which they have posted from different system.
The tool has a user friendly selection screen page where the criteria for searching the IDocs can be given. The user need not have to remember the Basic Message Type or Idoc Type. He can select the values from a list which pops up when he clicks on the button next to the input field. It is similar to the F4 help which we use in SAP.
The initial screen will have the following selection criteria which will help filter down the needs of the user Time created Date created IDoc Status IDoc number Basic type Logical Message type
Figure: Selection Screen
Above selection fields have the same functionality which is available in standard SAP like F4 helps values for date, IDoc status and etc. Implementing the F4 help values in selection field is done with Java Script (JS).
Figure: F4 Help
The above F4 help is for IDoc status. The user can select the status from the list and the selected value will be used for retrieving all the IDocs with status ’53’, based on which the result will be displayed.
Code for F4 help
When user clicks the execute button in the selection page the application will get into the next or result page. Result page will have the list of all the IDocs based on the Message type. This list will consider all the selection parameters which are available on the selection screen.
Figure: Result Page
This page will provide the complete information about the IDocs posted to the SAP system. This page has two parts for displaying the Message type tree on the left side and IDocs details (like IDoc number, Segment, Status, Status Group, Partner, Basic Type, Created date and time, Direction, Port, etc.) on the right side.
The result can spill to multiple pages. To navigate to the next page the user has to press the next page button and to navigate to the last page the last page button.
Message tree will help user to find exact IDoc details which the user needs. Once user selects particular Message type from message tree, the right side IDoc list will display only the IDocs which are of the message type.
Figure: Selection based on Message Type
This tool can be improved by providing a further drill down level where the details regarding the selected IDoc is displayed. The Segment details for the particular IDoc number and the data in the segments.