Middleware







One of the very basic job of a middleware consultant is to monitor data queues for any errors and trace the error to the document/transaction and correct it. Here is how some basic BDoc monitoring is done.

Use transaction SMW01 and choose "errors" under Bdoc state and select execute. 

You can see now if there are any BDOCS which contain mistakes.
Here are some examples of the different BDOC types that are relevant for monitoring. 
- BUPA_MAIN: contains the master data of a business partner (and is triggered on creation and change of a business partner)
- BUPA_REL: used when you create a relationship between two business partners
- PRODUCT_MAT: is used for data exchange of products/materials
- CRM_EQ_DMBDOC: used for data exchange of Equipments
- BUS_TRANS_MSG: for data exchange of transactional data
Once you get a list of Bdocs that went in error, you can check the error itself by selecting a line and pressing the button(Show BDoc message errors/receivers) and press the ‘blue button’ errors and you will see the actual error messages.
For example, error says "messages for business partner 4525599". Now using transaction BP, open this business partner and we can see that some of the mandatory data field had not been filled by the user who created this data. Hence error reflects that this BP data has not been maintained correctly and hence it created error while generating BDoc.
So let's find out who created this document so we can have them complete this data correctly. Use the transaction SE16 and enter table name BUT000. Once you enter business partner number and execute, you would see a line with the table entry for that business partner. Now use binoculars in the top menu to see details. Under "created by" you are now able to see user Id of the person who created this BP record. Let's say created by "CA0228".
Now use T code SU01 or SU01D and enter that user id CA0228 and enter and you would be able to see the employee name who created that record. Now you can send information to that user and ask them to correct it.
After the correction is made by the user, you should verify the Bdocs again.
It might be necessary to reprocess the BDOC.
 








No comments:

Post a Comment