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: 

Update custom Z fields in LIKP

kda_klchnkvv
Explorer
0 Kudos

Hi all,

I need to update several custom fields that I added to the LIKP table. There is BAPI that allow do this called 'BAPI_OUTB_DELIVERY_CHANGE' with the help of EXTENSION2 table parameter. But fields didn't update even if i call BAPI commit.

Thanks in advance, Daniel.

3 REPLIES 3

former_member185414
Active Contributor
0 Kudos

Hi,

Is the BAPI giving any error ? If not then are you calling BAPI_TRANSACTION_COMMIT after this BAPI. If yes, then you can check FM - SHP_IBDLV_CREATE_FROM_OBDLV as to how standard SAP code is populating the extension structure.

0 Kudos

I copy this part of standard code from SHP_IBDLV_CREATE_FROM_OBDLV and add to my program, but it doesn't work and not updating fields in LIKP, by the way there is still no errors or dumps, everything seems to work but not the update.

0 Kudos

I did not ask you to copy. What I meant is that you can check the behavior of standard code and build your logic referring the same.