2010 Jul 15 8:19 AM
HI all,
I have enhanced a standard infotype. I want to hide all the std fields when a particular subtype is selected. Instead, a new set of fields (fields added in the customer include structure) need to be shown.
I have added logic to hide the standard fields in the module pool pgm ZP000600. But the std fields are still displayed when i view the infotype in PA30.
loop at screen.
if screen-name = 'P0006-ZLOCAT1'.
screen-active = 0.
modify scren.
endif.
endloop.
But the same coding is working for custom fields..I.e. Custom fields are hidden.
Pls tell me how to hide the std fields through coding?.
2010 Jul 15 8:38 AM
Hi,
Write the logic in userexit. ( include ZXPADU01)
Regards,
Srini.
2010 Jul 21 6:58 AM
HI,
If i write the coding in user exit, then the std fields are hidden only while i click 'CREATE' button and while clicking 'Change' or 'Display' button, again the standard fields are displayed again.
So i tried writing the coding in the PBO of BADI (HRPAD00INFTY) implementation and the standard fields are hidden even in display and change more. But still i have some problem.
That is, while i click create and enter the infotype start date, its ginving me some warning messages like 'This entry delimits the record'. 'This entry deletes a record'.. When i press enter after all these warning, again the standard fields are getting displayed in the screen. At this time, none of the coding in exit and badi is called.
Pls advice me how to solve this issue?
2011 May 23 1:51 PM
Hi Shanthi,
I have a same requirement like this and I am facing the same problem as your above post. when I press enter the std fields are displayed again. Can you please tell me in what way you overcome this? It would be very helpful for me..
Thanks and Regards,
July