Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Reply from Dave Thornburgh on Dec 20 at 11:46 PM Gkgoh - You're mixing up your bapis. Function bapi_salesORDER_change uses BAPISDH1X, while function bapi_salesDOCUMENT_change uses BAPISDHEAD1X. At least, it does in my ECC6EhP0 system (and BAPI interfaces aren't supposed to change anyhow). Ben was right on the money with the correct answer. Dave
| | | ---------------Original Message--------------- From: gk goh Sent: Tuesday, December 20, 2011 10:03 PM Subject: Runtime Error Using BAPI_SALESORDER_CHANGE Thanks Ben. Yes, you are right that the type of "l_hx" structure should be "BAPISDHD1X". The structure type that i used initially was "BAPISDHEAD1X". I thought it was correct as I found it from the function module details (SE37) for "BAPI_SALESORDER_CHANGE". If you checked the import parameters of FM "BAPI_SALESORDER_CHANGE" using SE37, you will find that the associated type for "ORDER_HEADER_INX" is "BAPISDHEAD1X". | | Reply to this email to post your response. __.____._ | _.____.__ |