2013 Oct 25 1:56 PM
Hi All,
I have to update one z field in vbep table, if user change that field in ALV. Please suggest any possible solution.
Thanks.
2013 Oct 25 1:58 PM
2013 Oct 25 2:04 PM
Make use of BAPI: BAPI_SALESORDER_CHANGE
To update custom fields follow documentation given in this FM.
CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
EXPORTING
salesdocument = lv_credit_memo
order_header_in = lwa_order_header
order_header_inx = lwa_order_check_list
TABLES
return = lt_return
extensionin = lt_extension.
You need to extend few structures and have to fill tables parameter EXTENSIONIN to update.
Hope this helps!
-Venkat