Skip to Content
Jul 19, 2019 at 04:11 PM

IW37N /IW49N copying Standard program RI_ORDER_OPERATION_LIST and creating a custom program


Hello Experts,

I have a requirement to copy the standard program RI_ORDER_OPERATION_LIST to create a custom program. I have copied this using the copy option and have recreated the z program. Now the requirement is to add the confirmation details to this report(entries from afru table).

I have tried a sample by adding few fields for confirmation into the new fieldcatalog and table fetch towards end of program before calling the subroutine display_list_f14. This one works fine with the smaller set. But while trying to change the layout alv output is refreshed and it pulls the standard output result and the he newly added columns are cleared becoming blank.

Identied that, this is from the standard code; specifically the routine change_list_fields_f30 where the final table to output is filled again with the values from standard code fetch. What could be a possible solution to avoid the refresh.?

Also is there a better option to include the structure afru in this custom report, rather than explicitly creating the field catalog and the fields.

Please drop in your suggestions.