Skip to Content
Former Member
May 26, 2009 at 06:13 AM

BAPI - refresh problem



I have created a module poool program which displays list of sales orders.User can select any of the Sales Order & click on a button 'PO Create'.This triggers " BAPI_PO_CREATE1" and creates PO for sales order based on Purchase Requisition number provided.

There is no problem when i am creating PO for one sales order ,now be on the same screen (screen where list of sales orders are displayed) select one more Sales Order after PO gets created for first sales order again click on "PO create" button.Now PO gets created for second sales order but the Pricing Conditions in the Sales Order will get cleared.And in VA02 or VA03 there will not be any pricing conditinons.

But if i completely come out of the screen,again execute transaction Po gets created with out any problem.

Please suggest how & where the problem lies?

Do we need to refresh ABAP or SAP memory?How to do this?

Thank you