Skip to Content
0

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

Oct 13, 2017 at 06:02 AM

61

avatar image
Former Member

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 :)

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

4 Answers

Veselina Peykova
Oct 13, 2017 at 08:09 AM
0

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.

Share
10 |10000 characters needed characters left characters exceeded
G Lakshmipathi
Oct 13, 2017 at 07:23 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
Raymond Giuseppi
Oct 13, 2017 at 07:30 AM
0

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

Share
10 |10000 characters needed characters left characters exceeded
avatar image
Former Member Oct 19, 2017 at 06:15 AM
0

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 :)

Share
10 |10000 characters needed characters left characters exceeded