on 07-06-2009 4:20 PM
Hi experts
I am truiing to use BBP_PD_PO_UPDATE in badi BBP_DOC_SAVE_BAD but som errors ar4e occuring>
I am calling:
BBP_PD_PO_GETDETAIL
BBP_PD_PO_UPDATE
BBP_PD_PO_SAVE
COMMIT WORK AND WAIT.
Dump with error message 'Buffer table is not up to date', If I use BBP_PROCDOC_RESET_BUFFER the data is not update to.
Some help will be welcome.
Thanks
Nilson
You can't use this the way you try to do.
The doc_save_badi is called in the function module you use, BBP_PD_PO_SAVE.
So basically what you are doing is building an endless loop.
The doc_save_badi is normally used to do some customer programming when a document is saved.
If you want to update the order you are processing use the BBP_DOC_CHANGE_BADI.
What is it you are trying to accomplish?
Regards,
Robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robin
I really tried to use the functions in BBP_DOC_CHANGE_BADI., but for some reason It's not possible, the parameter E_CHANGED is not filled, the program is not finished , always back to the function BBP_PD_PO_UPDATE.
If someone have some sample code using this function in BBP_DOC_CHANGE_BADI., please help me.
Thanks
Nilson
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.