Skip to Content
0
Former Member
Jun 03, 2010 at 12:13 AM

Strange field display of Select-options when MODIF ID used

297 Views

Hello all,

When I use MODIF ID in a select-options definition, the field displays on the screen in an unusual format. There is entry field to the left of the select-option low field. What is this and how can I prevent it from displaying? We are on version 4.7.

TABLES: skb1, bkpf.
*
SELECTION-SCREEN BEGIN OF BLOCK b0 WITH FRAME TITLE text-000.
PARAMETERS: p_lstrun RADIOBUTTON GROUP bydt USER-COMMAND xyz
                                            DEFAULT 'X'.
PARAMETERS: p_yr_prd RADIOBUTTON GROUP bydt .
SELECTION-SCREEN END   OF BLOCK b0.
*
PARAMETERS:     p_gjahr TYPE bkpf-gjahr              MODIF ID sel.
SELECT-OPTIONS: s_monat FOR  bkpf-monat  NO INTERVALS  MODIF ID sel.
*
SELECTION-SCREEN SKIP.
*
SELECTION-SCREEN SKIP.
SELECTION-SCREEN BEGIN OF BLOCK b5 WITH FRAME TITLE text-005.
PARAMETERS: p_updzlr AS CHECKBOX            " update ZLSTRUN table
                     DEFAULT 'X'  MODIF ID sel.
*                     USER-COMMAND ucom .
SELECTION-SCREEN END   OF BLOCK b5.
*
**********************************************************************
AT SELECTION-SCREEN OUTPUT.
**********************************************************************

  IF p_yr_prd = 'X'.            " Select by screen Year/period
*
    p_updzlr = ' '.             " uncheck "update ZLSTRUN table"
*
    LOOP AT SCREEN.
      IF screen-group1 = 'SEL'.
*
        screen-input     = 0.          " prevent input
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
*
  ELSE.  " p_yr_prd = ' '.               select by ZLSTRUN
*
    LOOP AT SCREEN.
*      IF screen-name  = 'P_UPDZLR'.
      IF screen-group1 = 'SEL'.
*
        screen-input     = 1.          " allow input
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
*
  ENDIF.  " " Select by screen Year/period

Any thoughts?

Thanks

Bruce