‎2008 Nov 02 8:03 AM
Moderator message: better to start a new thread.
Hi i have similar requirement to this.
suppose i am displying
BUKRS 0001
Sales org 0001
KUNNR 1000
i dont want todisplay if the field is blank.
suppose if sales org is blank
expected result is liek this
BUKRS 0001
KUNNR 1000
i tried through loop at screen by uisng that
i am getting output like below.
BUKRS 0001
KUNNR 1000
hello subbarao, could you tell if your problem solved.
‎2008 Nov 02 5:20 PM
If you use SCREEN-ACTIVE = 0 to hide screen elements, the result should be
BUKRS 0001
KUNNR 1000
I suppose you forget hide some elements between BUKRS and KUUNR, like field label or something else.
‎2008 Nov 02 5:20 PM
Hi Naidu,
In PBO put
DATA: FLAG TYPE I VALUE 0.
IF SALESORG = SPACE.
FLAG = 1.
ENDIF.
LOOP AT SCREEN.
IF FLAG = 1.
IF SCREEN-NAME = 'SALESORG'.
SCREEN-INVISIBLE = 'X'.
MODIFY SCREEN.
ENDIF.
ENDIF.
ENDLOOP.
Thanks,
Chidanand
‎2008 Nov 02 5:27 PM
Yes, you can use SCREEN-INVISIBLE, but you need to set INPUT and OUTPUT with INVISIBLE.
Like
SCREEN-INVISIBLE = 1.
SCREEN-INPUT = 0.
SCREEN-OUTPUT = 0.
These three lines is same as SCREEN-ACTIVE = 0.