We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [sap-abap] Runtime Error Using BAPI_SALESORDER_CHANGE

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

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.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2011 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
Dave Thornburgh  
SAP JOAT
16 achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Toolbox.com for iPhone & Android: Ask Questions & Get Answers Anywhere. Download the Free App

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language