Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

MB52

Former Member
0 Likes
3,040

I created a copy of the program RM07MLBS which executes when you run tc MB52 to create report of available warehouse stock. When creating copy of program I copy everything, includes, documentation, variants ... But in my new program it does not recognize the layout field. If you execute MB52 you will see the last field is layout and if you select Non Hierarchical display, the layout value gets filled. The copied program does not accept any layouts. Any ideas!!!

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,144

If you haven't done so already, your layouts will need to be re-create, they will not be copied when copying the from standard program to "Z" program. The reason is that the variants are stored in such a way that it uses the program name, so there are no layouts for your ZRM07MLBS program. Re-create them in the output screen and then they should start showing up on the selection-screen.

REgards,

Rich Heilman

6 REPLIES 6
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
2,145

If you haven't done so already, your layouts will need to be re-create, they will not be copied when copying the from standard program to "Z" program. The reason is that the variants are stored in such a way that it uses the program name, so there are no layouts for your ZRM07MLBS program. Re-create them in the output screen and then they should start showing up on the selection-screen.

REgards,

Rich Heilman

Read only

Former Member
0 Likes
2,144

Hi Rich

Could you direct me on how to re create the layout in the output screen. I havent done this before. Also I need to create a custom TC and attach this program to it. In the Create Transaction screen what should the Start Object be set as. Should it be Program and Selection Screen or Transaction with variant

Read only

Former Member
0 Likes
2,144

I have been able to re create the layouts now. Does any one know the answer to the create transaction question?

Read only

0 Likes
2,144

Yes, go to SE93, enter the tcode name, click create, enter a description, select radiobutton for report transaction. On the next screen enter the name of the program, save it. That's it.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
2,144

Hi Rich

When I re create the layout, what I did was in the change Layout, I selected the columns needed and then saved the layout. However, when i run the report with the new layouts, they are giving out a different result as compared to the original one.

Read only

Former Member
0 Likes
2,144

In the original report, the minimized view is displayed by default. In my report the expanded view is displayed so the individual records are shown along with the sub totals. I only want to see the sub totals

Message was edited by:

Megan Flores