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

How to update VBKD-TRATY dynamically in a custom program?

Former Member
0 Likes
2,699

Hi Experts,

I have a requirement to update VBKD-TRATY field from a custom editable ALV GRID.

I already used FM 'SD_SALESDOCUMENT_CHANGE' but when i check the SO document in VBKD table or in tcode VA03 the field TRATY:"Means of Transport Type" has not been updated

Please Help can't find any answers on other blogs. Thank you in advance 🙂

Just so that there are no misunderstandings, did you commit after call of BAPI_SALESORDER_CHANGE or SD_SALESDOCUMENT_CHANGE?

4 REPLIES 4
Read only

Lakshmipathi
Active Contributor
0 Likes
1,802

Not sure which version you are into but you can have a look at OSS note 537742

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,802

Just so that there are no misunderstandings, did you commit after call of BAPI_SALESORDER_CHANGE or SD_SALESDOCUMENT_CHANGE?

Read only

VeselinaPeykova
Active Contributor
0 Likes
1,802

When you run a test sequence with this FM and BAPI_TRANSACTION_COMMIT and the same data that you use for testing this custom program - does it work?

Did you try entering exactly the same data in VA02 and observe the outcome?

I do not know if you are also populating valid values for VBKD-TRMTYP - these depend on each other.

I am not a developer myself and I might not be able to understand entirely your code, but without posting some code samples I doubt that even experienced ABAPers will be able to go beyond guessing what could be the exact problem.

Read only

Former Member
0 Likes
1,802

Hello experts thank you for your suggestions and comments! 🙂 i already finished my program but sad to say FM "SD_SALESDOCUMENT_CHANGE" and 'BAPI_SALESORDER_CHANGE'' cant update SD Documents on item level so i used BDC process which i want to avoid in the first place but thank you for your fast response 🙂