on 07-07-2009 9:02 PM
Hi experts ,
I am create PO using a BAPI, BAPI_POEC_CREATE.And I can see the return messages from this FM its saying that u201C PO has been creating with some numberu201D But I am not able to find the PO in my system . And I tried to save and commit the data base . But still I am getting error Buffer table not up to date when I calls the FM BBP_PD_PO_SAVE.
Sample coding part of my program
CALL FUNCTION 'BAPI_POEC_CREATE'
EXPORTING
I_PO_HEADER = P_PO_HEADER
IMPORTING
E_PO_HEADER = PO_RETURN_HEADER
TABLES
I_PO_ITEMS = P_PO_ITEMS
I_PO_ACCASS = P_PO_ACCASS
I_PO_PARTNER = P_PO_PARTNER
I_PO_ORGDATA = P_PO_ORGDATA
RETURN = P_PO_BASKET_ERRORS.
PO_GUID = PO_RETURN_HEADER-BUSINESSPROCESS.
.
CALL FUNCTION 'BBP_PD_PO_SAVE'
EXPORTING
IV_HEADER_GUID = PO_GUID.
CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER'.
COMMIT WORK AND WAIT.
Can anybody give me some pointers to resolve this issue .
Thank you ,
Hi,
Pls check SAP Note 846738.
Thanks
Rakesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dhareppa,
Try removing the statement CALL FUNCTION 'BBP_PROCDOC_RESET_BUFFER' and put this after the commit work if u need to refresh the buffers.
This should work.
Regards
Sumat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any pointers please
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.