Hi experts,
I have a problem with programming a report for purchase order confirmation in SRM 7.13 classic scenario.
I use the following method calls described here:
/sapsrm/cl_pdo_bo_conf_adv=>create_conf_adv_instance
CALL METHOD lo_bo_conf->get_header_detail
CALL METHOD lo_bo_conf->update_header
CALL METHOD lo_bo_conf->get_item_details
CALL METHOD lo_bo_conf->update_item
CALL METHOD lo_bo_conf->/sapsrm/if_pdo_base~submit_update
CALL METHOD lo_bo_conf->set_save_or_park_flag
CALL METHOD lo_bo_conf->confirm
All works fine without errors but the last method lo_bo_conf->confirm drops a relevant class attribute MV_HEADER_GUID.
Because of the missing GUID I get an exception /sapsrm/cx_pdo_abort_gen with message „Interface data contains errors“.
With setting the right GUID in the debugger again, I get the error BBP_PD001 "Buffer table not up to date".
What’s going wrong?
Regards,
Jürgen