09-01-2014 8:23 AM
Dear Abap Experts,
How can I make copy of MB51 report. Actually I want to hide the value figures.
Its source program name is RM07DOCS . I have make its copy as a new program.
Its works fine but when I want to close the result, message appears that "Use a valid function"
and I am unable to close the output.
I also observed that copied program does not show GUI status and toolbar as it appears in MB51 standard report.
I also copied all includes, GUI Status and Titles but toolbars is not visible in the copied program.
I need your help.
Thanks
Aneel
09-01-2014 10:04 AM
09-01-2014 10:23 AM
09-01-2014 10:36 AM
Aneel,
Which version you are in ? If it is ECC there are Enhancement Spots available at various places of MB51 report which you can make use of.If it is only about hiding a field in the layout,kindly explore the option of changing the LAYOUT and saving it as default.Before copying a Standard report into Z,kindly expore these two options.
Also do a search,you will get tons of threads on Customising MB51 report.
K.Kiran.
09-01-2014 10:46 AM
Kiran,
Thanks for your help. But I dont want to modify any existing standard report.
I want to make a copy. By creating new layouts any user can change layout. Actually I want to restrict the values for only some users but not for all.
Thanks
Aneel
09-01-2014 10:47 AM
09-01-2014 10:51 AM
Aneel,
Copying MB51 into Z is not the right approach when you can get this done through Enhancement or Layout Variants.Moreover you are in ECC so this should be the approach.If you ask me you should shelve the option of copying MB51 to Z and start exploring the other options as discussed above.
K.Kiran.
09-01-2014 11:16 AM
Kiran,
I have copied MB51 to Z. Its giving correct output as I need. But only the issue is that , after viewing the report, I can not close it. I have to logged it off.
Regards
Aneel
09-01-2014 10:53 AM
HI Aneel,
Are you using the standard Tcode or you created a new ztcode?
regards,
Ashvin
09-01-2014 11:13 AM
I have copied MB51 source code to a new program and execute it.
MB51 source program is RM07DOCS .
Regards,
Aneel
09-01-2014 11:34 AM
Dear All,
If any one know the option that some users can view value columns and some users should not be able to view value columns. Any other idea?
Please share to avoid making copies of MB51 report.
Regards,
Aneel
09-01-2014 11:47 AM
09-01-2014 11:57 AM
You can do one thing based on SY-UNAME you can set the Field Catalogue for the Column which you don't want to be displayed based on certain Usernames.
This option is for "Flat List" Display Options of MB51 for the other option that is "Hierarchy List" you need to find out the corresponding Write statements for that column and set the same above condition there as well.
09-01-2014 12:01 PM
Hi Aneel
Making a Z copy is not correct approach. You should us enhancement points/enhancement to hide the same.
Thanks
Nabheet
09-01-2014 12:11 PM
Aneel.
MB51 selection screen has LAYOUT field which can be used.In the Development you define a layout make it as PROTECT field,create a User Specific Layout and transport the variant from Dev to Q and then to P.Explore this as first option.
K.Kiran.
09-01-2014 12:24 PM
Ok ,
Thanks for help and guidanceKiran. Let me search about this option.
Regards,
Aneel