Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

bapi_salesorder_change

Former Member
0 Likes
897

Hi experts, help me out with this issue.

I need to update the netvalue with quantity with BAPI_SALESORDER_CHANGE . I have written a bapi program . In this program by changing the quantity fields in selection screen the netvalue is changing ,but it is not saving in vbap table and and it is not showing  in sales order Tcode  ‘va03’ program

Message was edited by: Sk Azharuddin

Hi experts, help me out with this issue.

I need to update the netvalue with quantity with BAPI_SALESORDER_CHANGE . I have written a bapi program . In this program by changing the quantity fields in selection screen the netvalue is changing ,but it is not saving in vbap table and and it is not showing  in sales order Tcode  ‘va03’ program

Message was edited by: Sk Azharuddin

7 REPLIES 7
Read only

marvelmurugan
Explorer
0 Likes
857

Hi ,

Is Quantity field updated in Vbap Table,

Please check the Retun Parameter throwing any error messages,

And plz check this link which is similar to your issue

https://scn.sap.com/message/6983842

Regards,

Vel

Read only

Former Member
0 Likes
857

Hi,

Have you used BAPI_TRANSACTION_COMMIT ?

Cheers

Ivan

Read only

0 Likes
857

yes i had used but no result

Read only

Bhushan_hs
Participant
0 Likes
857

Hi Azharuddin,

Your question is very high level, when you are using BAPI it may go wrong in many places such as below

1)Are you passing all the required details correctly ?

2)Are you filling X structure properly ?

3)Are you using Commit work properly ?

if you us more light on what exactly the error you are facing we would be in better position to solve your problem.

Kindly provide more information.

Regards,

Bhushan

Read only

hiriyappa_myageri
Participant
0 Likes
857

Hi Azaruddin,

Check what are data's you are passing in structures.

After that try save same thing in va02 and check in va03.

Regards,

Hiriyappa.

Read only

nishantbansal91
Active Contributor
0 Likes
857

Hi Sk Azharuddin,

Check your code once again because i already faced that problem.

I forgot to pass the Pass the field 'X' corresponding quantity field.

Regards.

Nishant Bansal

Read only

0 Likes
857

hi Nishant Bansal i had posted my program plz see the error that data is saving in vbap table and it is not showing in va03 tcode