Skip to Content
avatar image
Former Member

realign partially confirmed/invoiced po from termed emp to successor

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Jan 31, 2008 at 11:01 AM

    not save.. i meant update.

    to save i would be using bbp_procdoc_save and then BBP_PROCDOC_RESET_BUFFER

    Add comment
    10|10000 characters needed characters exceeded