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 CBO from BADI

former_member724290
Participant
0 Kudos
299

Hi all,

Tell me what am I doing wrong.

I can create a new entry, but I can't update it. What should I specify for the "key" parameter?


* This part works and creates a new row in the table DATA(ls_total) = VALUE YY1_PUSH_TABLE_TOTAL( CAMPAING = '1' ROW_TOTAL = '2' ). DATA(total) = write->create_root( business_object_id = 'YY1_PUSH_TABLE_TOTAL' data = ls_total ). * Here, I want to update the data, but I get an error: DATA(lo_total) = write->get_root( "ERROR: The key of business object is wrongly specified business_object_id = 'YY1_PUSH_TABLE_TOTAL' key = '1' ).
0 REPLIES 0