Hello, sadly this did not help, using MSGFN 005 (and 009 both) just ignored the idoc entirely without changing the quantities. 004 adds new entries to STPO instead of updating. Do you have some more information on this, should only specific segments ...
Solid explanation and examples, thank you!
Instead of
CAST cl_abap_elemdescr( .. )->get_ddic_fixed_values(
RECEIVING
p_fixed_values = DATA(fixed_values) ).
this would also be possible:
DATA(fixed_values) = CAST cl_abap_elemdescr( .. )->get_dd...