‎2009 May 20 7:26 PM
Hello everyone,
I am working on hiding some fields from IT0021, to do that I went to the particular screen related to IT0021 and made the required fields invisible. Now when I was testing it.. I went to PA30 and tried to display one record for infotype 21 and expected the fields which I hide didn't show up, but when I went to PA30 and tried to go into change mode i could see the structure/frame/box of the fields which I hide.... so I am not sure why this is happening..... can anyone guide me through with this.
Thank you ...
Rajat
‎2009 May 21 1:50 AM
The alternative way of doing it is by using Transaction Variant. Check out the documentation :
http://help.sap.com/saphelp_nw70/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
Thanks & regards,
Hadiman
‎2009 May 21 1:50 AM
The alternative way of doing it is by using Transaction Variant. Check out the documentation :
http://help.sap.com/saphelp_nw70/helpdata/en/67/232037ebf1cc09e10000009b38f889/content.htm
Thanks & regards,
Hadiman
‎2009 May 21 4:40 AM
Hi,
This is because internally in code SAP makes all field visible.
To achieve your requirement you assign the group to all the fields that you want to hide.
Then in PBO in last module define under it, you write following code,
loop at screen.
if screen-<groupno> = <groupname>."there four group numbers in screen layout and it depends on the where you have placed your group name.
screen.invisible = '1'.
modify screen.
endif.
endloop.Hope it helps.