2008 Jan 11 1:10 PM
Hi experts,
It's my first time with Badi, and I'm facing a issue I can't understand.
I've activated badi ME_PROCESS_PO_CUST , and everything work's fine .
From the method "Close" I call a Z... function which writes data on a custom table.
I've tested it and the system correctly update the table , but when I deactivate the debug in the badi's method , it looks like the badi is not implemented and the system doesn't pass trough the function.
Can somebody adress me to solve it ?
Thank you in advance for any help.
Ciao.
Hi experts,
It's my first time with Badi, and I'm facing a issue I can't understand.
I've activated badi ME_PROCESS_PO_CUST , and everything work's fine .
From the method "Close" I call a Z... function which writes data on a custom table.
I've tested it and the system correctly update the table , but when I deactivate the debug in the badi's method , it looks like the badi is not implemented and the system doesn't pass trough the function.
Can somebody adress me to solve it ?
Thank you in advance for any help.
Ciao.
2008 Jan 12 10:48 AM
Whenever you are updating database tables make sure you write 'COMMIT WORK' statement after update(DELETE/UPDATE/INSERT/MODIFY) statement.When in debug mode system gets enough time to commit values to the database table otherwise in some instances it will not update the database table.
2008 Jan 14 7:24 AM
Thank you for your help Sudhir , but the table update it's done by the custom function which should be called by the BAdI. My issue is that the BAdI's method works only if I set a break-point on it. If I do not put a break-point on the BAdI , the function is not called at all !!.
Thanks again for your suggestion.
2008 Jan 14 8:44 AM
Hi , I've solved my issue.
Before calling the ZFunction, the system reads a std table wich was not updated yet. Simply adding a "WAIT" instruction the broblem is solved.
Thank's for the help..
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |