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.
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.