Skip to Content
0
Former Member
Sep 25, 2008 at 12:18 PM

select-options no editable

5251 Views

Hello All,

I want to create a SELECT-OPTION field that will have different default values, NON EDITABLE, in selection screen depending on transaction that calls the program.

Please give me some advices to complete this work.

I did something like this:

SELECT_OPTIONS: P_DEP for DBTAB-DBFIELD.

case sy-tcode.

when 'ZT1'.

P_DEP = 'VALUE1'.

when 'ZT2'.

P_DEP = 'VALUE2'.

endcase.

But it doesn't work.

Thank you,

Diana.