Application Development 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: 

How to update zz field of table VBEP?

0 Kudos

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.

2 REPLIES 2

nabheetscn
Active Contributor
0 Kudos

Please search for FM and BAPI you will find many

venkat_aileni
Contributor
0 Kudos

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