Skip to Content
0
Former Member
Jun 19, 2007 at 07:36 PM

custom infotype with subtypes

11 Views

Hi ,

i have created a custom infotype with 2 subtypes. i should hide certain fields depending on the subtype selected.

i know that the following logic needs to be implemented in the PBO.

IF p9234-subty = 'park1'.

loop at screen.

IF screen-name = 'P9234-Z_PARK' "z_park is the screen field name

screen-active = 0.

MODIFY SCREEN.

ENDIF.

endloop.

ENDIF.

i used this code in the flow logic after the PROCESS BEFORE OUTPUT. statement. i am getting an error saying IF statement is not defined. should i use this logic anywhere else .can anyone help me with this. Thank you.