2022 Nov 08 3:33 PM
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'
).