Bapi BAPI_PRODORDCONF_CREATE_HDR updation problem
Hi All,
I am trying to use the bapi BAPI_PRODORDCONF_CREATE_HDR to confirm the production order.i tested it with orderid and quantity yield in se37.i am getting the message order id confirmation saved.but when i checked the table afru which is confirmation table,it has not updated the orderid.has any one faced this problem.any solution to this.
Thanks,
Guest
Hi,
I think that any BAPI call needs a commit afterwards. If you do it with SE37 you can't do your commit.
Try to make a small program that calls your BAPI and then call the function BAPI_TRANSACTION_COMMIT. See if this works.
I hope this helps.
Hi Poirier,
Thanks for you help.i have to use the bapi itself as we are in the integration Process with external system.i am trying it in other way,i will call the this bapi from user defined function,but i don't no what to give for export parameter.i.e i have to get the result from the system defined bapi BAPI_PRODORDCONF_CREATE_HDR out of my function.any idea,please help me out this.
Thanks
Guest
Hi Poirier,
Thanks for you help.i have to use the bapi itself as we are in the integration Process with external system.i am trying it in other way,i will call the this bapi from user defined function,but i don't no what to give for export parameter.i.e i have to get the result from the system defined bapi BAPI_PRODORDCONF_CREATE_HDR out of my function.any idea,please help me out this.
Thanks
Guest
Hi,
I don't understand if you're asking a new question or if you're not understanding my recommandation.
To your first question, as I stated, calling a BAPI in SE37 will not enable you to make the actual update since you need to make a commit afterwards. If this is not clear, let me know.
You now seem to be asking a different question that I'm not able to answer since I never used this particular BAPI. Maybe someone else can help you. You might take a look at transaction BAPI though.
I hope this helps.
P.