CRM Middle Ware Debugging
CRM Middle Ware Debugging
The following document below, describe the technique to set the break-points so that you can
stop the BDoc so that we can debug the BADI.
The following pages will be very helpful to debug the process after the code as been added.
1) First set the user profile. If you do not have the CRM_USER_LEVEL parameter, add it to
your profile with a value of 9..
To summarize the note here are the print screens showing the steps:
1)
2)
After this screen displays, change the Service employee field and employee responsible
fields: See next screen shot.
On this screen change the start of work date and the end of work date. The times must differ.
See next screen.
After hitting enter. Click on the in process tab and choose complete:
Now before we hit save, to debug the BADI type in /h and hit enter.
After hitting enter and clicking on save and get the following screen:
After setting the value to 'X', hit execute takes you back to the service order.
Now choose the doc flow icon get you the next screen:
Here you should see the outbound BDOC. It is from here were the real debugging starts for
the BADI. To start the debugging double click on the outbound BDOC get you the next
screen:
Now select the line and after selecting the line do a /h.
Next after the /h and hitting enter click on the BDOCMESSAGE and choose reprocess:
Choosing 'Yes'.
This is the place from where the BADI is called: