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

How to get exact output from program which copied from standard program?

satheshkumar44
Explorer
0 Likes
1,092

mb51.pngzmb51.png

Hi Experts,

I have a requirement for hiding the amount and currency field from MB51 and assign to a new T-code ZMB51.

For that I copied the program ,includes from MB51 and created the new t-code as zmb51 & I commented the amount and currency fields but im not getting exact output as got in MB51 (Ex:output is not sorted & layout option is missing).

kindly help me regarding how to get exact output to new tcode as i got in standard tcode.

pl find the attached screenshot of outut from MB51 & new tcode ZMB51

1 ACCEPTED SOLUTION
Read only

JL23
Active Contributor
0 Likes
827

Had you tried searching for OSS notes or just with Google in the Web with only 2 keywords: MB51 hide

you could have found OSS note 357187 - MB51: Fields in field catalog / selection screen

and the Q&A https://archive.sap.com/discussions/thread/3244703 among many others which could have given you some hints to not copy MB51 with all their includes.

You can actually see from your screenshots that one is an ALV view and the other just a list report (actually the initial presentation before a user can switch to the detailed view in ALV).

Had you tried searching for OSS notes or just with Google in the Web with only 2 keywords: MB51 hide

you could have found OSS note 357187 - MB51: Fields in field catalog / selection screen

and the Q&A https://archive.sap.com/discussions/thread/3244703 among many others which could have given you some hints to not copy MB51 with all their includes.

You can actually see from your screenshots that one is an ALV view and the other just a list report (actually the initial presentation before a user can switch to the detailed view in ALV).

1 REPLY 1
Read only

JL23
Active Contributor
0 Likes
828

Had you tried searching for OSS notes or just with Google in the Web with only 2 keywords: MB51 hide

you could have found OSS note 357187 - MB51: Fields in field catalog / selection screen

and the Q&A https://archive.sap.com/discussions/thread/3244703 among many others which could have given you some hints to not copy MB51 with all their includes.

You can actually see from your screenshots that one is an ALV view and the other just a list report (actually the initial presentation before a user can switch to the detailed view in ALV).