To trouble shoot some Agentry issues, you may need to use TCode SE37 to debug the BAPI. It is recommneded that you can copy the module and debug with the created one.
But when you try to copy the module, it may show the error below:
The error is because the /SMERP is set to “Not Modifiable” and you need to use TCode SE03 to set it to “Modifiable”.
(Note: To do the operation, you need to be an administrator of the system.)
You can follow the steps shown in the screen shots below to configure it.
- Using TCode SE03 and choose “Set System Change Option” under “Administration”.
2. Choose the one you need and change it to “Modifiable” and save.
Then try again with SE37 and you can get what you want.