Skip to Content
0
Jul 31, 2007 at 08:50 AM

fields at dynpro (screens)

686 Views

Hi experts!.

I don't know how I can hide fields in my dynpro 0001. I try this:

PROCESS BEFORE OUTPUT.

...

loop at SCREEN.

if EXTRACT-name = 'ZUSERNAME'.

EXTRACT-visible = 0.

modify screen.

endif.

endloop.

PROCESS AFTER INPUT.

...

But don`t work. System said me:

Syntax error in screen

-


Program SAPLZHB_V

Screen 0001

Position Flow Logic Line 9

SCREEN is not a database table.

In another hand, I want set ZUSERNAME = SY-UNAME but I don't know where.

A lot of thanks in advance.

Regards.