‎2011 Aug 01 1:40 PM
HI Experts,
I am using a Sumbit statement to the Standard report 'ME2L'. Also i have created a Layout for this standard report in the output.
Please let me know how to trnasfer this layout name in the Sumbit statement.
Thanks,
Kothai
‎2011 Aug 01 2:59 PM
Hi kothai,
I am not able to create a layout for standard transaction 'ME2L' in our system.
If you can do so in your system, you can set it as default layout. See ALV documentation.
Regards
Clemens
‎2011 Aug 01 3:34 PM
HI Clemens,
Thanks for the reply.
I can do that, in future if any other user change the default setting to the other ayouts then my report will fail to list the correct data.
Hence i want to pass the layout name to the sumbit statement itself so that it picks the correct layout.
Please help.
Thanks,
Kothai
‎2011 Aug 01 8:56 PM
Hi Kothai,
if you save the default layout user-specific (only layouts with / as fist character are used for all users), at least only if someone else uses your user ID will run into the trouble described.
If you want to pass it with SUBMIT, you will have to implement some enhancements: An additional parameter for the layout variant and a code line to pass the variant to the disvariant-variant field used by ALV function.
BTW: I did not know ME2L too much. I tried in our Retail system: It showed an ALV with some special buttons on top but I could not find a way to set/save/load a layout variant. You know why or howto?
Regards
Clemens