Skip to Content
0

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

May 31, 2017 at 05:11 AM

40

avatar image
Former Member

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

mb51.png (181.6 kB)
zmb51.png (198.3 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jürgen L May 31, 2017 at 05:27 AM
0

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).

Share
10 |10000 characters needed characters left characters exceeded