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

hiding infotype standard fields..

Former Member
0 Likes
481

HI experts,

My requirement is to hide all the standard fields displayed in infotype 0006 for a particular subtype which is a customized subtype. i.e. The standard fields should be displayed for subtype 1, 2, 3 and 4. But for subtype 5 (customized subtype), i need to hide all the standard fields displayed in PA30. Instead, a new set of fields need to be shown.

I have enhanced the infotype. Im using the following coding in the PBO of ZP000600 pgm to hide the standard fields. But it is not getting hide. But the same coding hides my customized fields (additonal fields in CI_0006).

if p0006-subty = 5. "New subtype

loop at screen.

if screen-name = 'P0006-STRAS' "Need to hide street and house no std field

screen-active = 0.

endif.

modify screen.

endloop.

endif.

pls advice me how can i hide the infotype standard fields in SAP?

1 REPLY 1
Read only

Former Member
0 Likes
353

Hi all,

Pls tell me how to hide all standard fields of infotype 00006 through configuration for a particular subtype which we have created (subtype 5). For this subtype alone, we need to show a screen with new fields. For the rest of the subtypes, the standard fields need to be displayed as such.

If i hide all the standard fields and assign that variable key in P0006 feature against SUBTY field, all the fields are getting hide. But still the outer frame alone gets displayed which i dont want. The entire frame should be hidden.

Pls tell me how to aciehve my requirement?. Is ti possible to assign my own screen against that particular subtype alone?

or the outer frame can be removed along with all the std fields?