on 01-31-2008 10:59 AM
Currently i am implementing the BADI bbp_list_open_bo and in that the method update_po_requestor.
In the method first i m using BBP_PROCDOC_GETDETAIL to retrieve header and item info
CALL FUNCTION 'BBP_PROCDOC_GETDETAIL'
EXPORTING
I_GUID = WA_TRANS_PO-GUID
I_OBJECT_ID = WA_TRANS_PO-OBJECT_ID
I_OBJECT_TYPE = BUS2121
IMPORTING
E_HEADER = ST_HEADER
TABLES
E_ITEM = IT_ITEMS
E_MESSAGES = IT_MESSAGES.
E_PARTNER = IT_PARTNER
after making a few modifications in it_items on the basis of it_partner (assigning partner id new values) i m calling
CALL FUNCTION 'BBP_PROCDOC_UPDATE'
EXPORTING
I_SAVE = X
I_HEADER = ST_HEADER
IMPORTING
ES_HEADER = ST_HEADER_I
TABLES
I_ITEM = IT_ITEM
I_PARTNER = IT_PARTNER
E_MESSAGES = IT_MESSAGES
CHANGING
E_CHANGED = flag.
to save the changes made to selected PO s .
When i run the report bbp_list_open_bo and click on "update"
the program runs into dump and gives the message (buffer table not upto date) . Am i doing something wrong or is there a problem with the standard SAP program.
not save.. i meant update.
to save i would be using bbp_procdoc_save and then BBP_PROCDOC_RESET_BUFFER
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.