Skip to Content
0
Former Member
Dec 18, 2007 at 12:57 PM

BAPI: Document is not getting saved

119 Views

Hi friends,

I am using 'BAPI_MATPHYSINV_POSTDIFF' function module to post differences for certain items in a physical inv.document(equal to MI07). When I am trying to post the document using MI07 transaction document is getting saved and posted and the status of document is initial which we can see using MI22 but the same thing I am doing programatically thru above BAPI function module then also it is getting saved but not getting posted and the status is showing as active in MI22 which should not be shown. Again if I open the same doc.thru MI07 and saved then it is actually getting posted n status is becoming null.I am doing 'BAPI_TRANSACTION_COMMIT' also after the above step.

What changes I need to do in the programming?

Can anybody help me in resolving this issue.

Rewarded....

Regards,

Steve