cancel
Showing results for 
Search instead for 
Did you mean: 

BBP_PD_PO_UPDATE PROBLEM

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Answers (0)