09-28-2017 7:48 PM
Hi guys,
My requirement is to copy the msc2n transaction to zmsc2n and need to hide few subscreens in it. I'm new to module pool. Can you please help me how to acheive this requirement.
09-28-2017 9:04 PM
This can be achieved by creating transaction and screen variants, throught the transaction code SHD0.
09-28-2017 9:04 PM
This can be achieved by creating transaction and screen variants, throught the transaction code SHD0.
09-28-2017 10:16 PM
09-28-2017 10:57 PM
Hi Rossi,
I tried that everything is working fine but i don't see any option to grey out fields in the classification tab of MSC2N but i'm able to greyout fields in Basic data 1 subscreen.
09-29-2017 7:06 AM
Not hiding a tab but greying out fields, is another question. I guess the fields in the classification tab are the ones in an ALV Grid control. Screen variants may only act on dynpro elements, not on GUI controls.
09-29-2017 10:37 AM
09-29-2017 11:08 AM
Hey Rossi..
I had an other problem. Save button is disabled in my screen whereas in MSC2N it is enabled. Is there any way to enable it.
Thanks in advance.
09-29-2017 12:36 PM
If you didn't disable the save button via the screen variant, then the cause is maybe the standard which works differently based on the transaction code. For instance, there could be several transaction codes calling the same program, one for displaying, one for creating, etc., and the standard checks the transaction code to enable different buttons.
In that case, it's best to ask a new question (+ add a link to this thread for reference).
09-29-2017 12:58 PM
09-29-2017 12:57 PM
Please note, your requirement is to find a way to have the functionality of MSC2N but with a few subscreens hidden. Your requirement is not "to copy the msc2n transaction...". That is merely your proposed solution to the requirement. You need to be aware that copying SAP standard programs for your own purposes is very bad practice. There's always another way that's less risky - even changing the original SAP program is better than copying it.
Also - be new to a technology won't give you any special treatment here. There's really no point in mentioning it.
09-29-2017 1:02 PM
Hi Matthew
Yes, of course, copying is bad practice. But business didn't want to change the transaction for all users. We need to acheive the above requirement to only certain users. Is there any other solution for this.