09-04-2008 4:56 AM
Whenever I run u2018ML81nu2019 t-code and create a new service entry sheet, data gets updated in ESSR table. At this time I want my custom u2018Zu2019 table to be updated with values from ESSR table. I used MB_DOCUMENT_BADI for this purpose. But the problem is ESSR is not updated when this BADI is run. It is updated into the database at a later point. Hence even if I write coding in the methods of this BADI, values of ESSR cannot be used. I even tried MB_DOCUMENT_UPDATE, but this BADI is not triggered when a new posting is done.
Pls help me out with this.
09-04-2008 5:47 AM
Saud,
i recon MB_DOCUMENT_BADI is not responsible for ML81N.
Use need to use Exit:
SRVREL Changes to comm. structure for release of entry sheet
Fm EXIT_SAPLEBND_003
parameter name I_CESSR
09-04-2008 6:04 AM
09-04-2008 6:06 AM
It should trigger.
Did you activate SRVREL exit after doing modification in Cmod?
just activate this
09-04-2008 6:09 AM
Yes i activated it and placed a debugger point also to see whether it is getting triggered. In fact i checked using exit handler class also to see whether it gets triggered.
09-04-2008 6:35 AM
Saud,
FM EXIT_SAPLEBND_003 include ZXMLUU10.moreover read documentation of Fm
Where you put the break-point is should be in ZXMLUU10