cancel
Showing results for 
Search instead for 
Did you mean: 

PO_CREATE error Buffer table not up to date

former_member655569
Participant
0 Kudos

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 ,

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Pls check SAP Note 846738.

Thanks

Rakesh.

Former Member
0 Kudos

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

former_member655569
Participant
0 Kudos

Hi Sumat

Thanks for reply .

But , I am facing the error on the saving the PO itself . Its dumping wit the error Buffer table not up to date

CALL FUNCTION 'BBP_PD_PO_SAVE'

EXPORTING

IV_HEADER_GUID = PO_GUID.

Thank you ,

Edited by: Dhareppa Havalagi on Jul 10, 2009 4:00 AM

former_member206968
Active Contributor
0 Kudos

Hi,

Are you getting an short dump in ST22. Analyze the call stack and you will get some vital clues about the error origin. Else put a breakpoint in fm -bbp_pd_abort and debug.

Regards,

Sanjeev

former_member655569
Participant
0 Kudos

Any pointers please

former_member655569
Participant
0 Kudos

Any pointers please

Thank you.

Edited by: Dhareppa Havalagi on Jul 8, 2009 5:37 AM