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: 

Sales Order modification ( currency at item level - vbap-waerk ) using "SD_SALESDOCUMENT_CHANGE"

0 Kudos
246

So, basically I have an custom app, and when I change the document currency ( vbak-waerk ), it also it's changing the transaction currency at item level ( vbap-waerk ). So I have this CALL FUNCTION 'SD_SALESDOCUMENT_CHANGE' and i tryied a lot of try's changing the tables item_in and item_inx, all currency fields etc ( but then on item_inx it doesnt exist currency, idk why ).

I also tryied on conditions_in and conditions_inx change the respective currency etc and didnt change ( on that tables the value its changing but not the currency ).

To conclude, I want to pass the value of vbap-waerk to save it on sales order item level because when I change the document currency it changes the item currency because i'm calling sd_sales_document_change with items table not correct and someway it's picking the document currency ( vbak-waerk ) to populate the item currency.

Any help would be great,

I',m a junior.

0 REPLIES 0