Selection-Screen  - F4  (Select-options)

my requirement is
In Ztable Company code(s) and related Portfolio(s) are maintained.
<b>In my program i have 2 select-options
1.Company code (s_bukrs)
2.Portfolios         (s_pfolio)</b>
( as told above these two are maintained in a Ztable, ok )
now,
<b>a)</b>if we press F4 on Company code it has to show all company codes from Ztable-company code, <b> i have done this (a)...</b> by using  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'.
<b>b)</b>if we press F4 on Portfolios by entering company code in the select-option,it has to show d portfolios from Ztable-portfolios related to that company code(s) only, if no company code(s) entered in the selcet-option and if we press F4 in portfolio it has to show d all portfolios from Ztable-portfolios
i am not able to achive (b), pls help me,
<b>pls donot post the code for PARAMETERS, post code only for SELECT-OPTIONS</b>
say user will enter 10 company codes comp1,comp2,..comp10 in s_bukrs.
now if we press F4 on s_pfolio, it has to show the portfolio(s) related to that 10 company codes only...
Regards,
Ramesh.

HI Ramesh,
             Use your piece of code in the following way in your event, I hope this will solve your remaining 5% of the problem.
DATA : it_fieldvalues TYPE dynpread OCCURS 0 WITH HEADER LINE.
Constant :  c_1000(4) TYPE c VALUE '1000'.
REFRESH it_fieldvalues.
      it_fieldvalues-fieldname = 'S_BURKS-LOW'.
      APPEND it_fieldvalues.
      CLEAR it_fieldvalues.
      it_fieldvalues-fieldname = 'S_BURKS-HIGH'.
      APPEND it_fieldvalues.
CALL FUNCTION 'DYNP_VALUES_READ'
    EXPORTING
      dyname                   = sy-cprog
      dynumb                   = c_1000
      perform_conversion_exits = 'X'
    TABLES
      dynpfields               = it_fieldvalues
    EXCEPTIONS
      invalid_abapworkarea     = 1
      invalid_dynprofield      = 2
      invalid_dynproname       = 3
      invalid_dynpronummer     = 4
      invalid_request          = 5
      no_fielddescription      = 6
      invalid_parameter        = 7
      undefind_error           = 8
      double_conversion        = 9
      stepl_not_found          = 10
      OTHERS                   = 11.
  IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
            WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
  ENDIF.
Now this internal table <b> it_fieldvalues</b> will automatically contain low and high value for s_burks.You need to read this table and put your logic accordingly.
Please award points if helpful.
regards
Sourabh

Similar Messages

  • How to disable the SELECT-OPTINS multiple selection screen's Ranges options

    Hi this is sekhar,
                      I have used the Select-options: statement with 'No-Interval' option. Now I need to restrict the user not to enter the values in the Ranges column of multiple selection screen. How can I do it....

    You can also refer this code as below : CHECK OUT SELECT OPTION sel_1_0.
    *& Report  ZTESTREP
    REPORT  ztestrep.
    Include type pool SSCR
    TYPE-POOLS sscr.
    Define the object to be passed to the RESTRICTION parameter
    DATA restrict TYPE sscr_restrict.
    Auxiliary objects for filling RESTRICT
    DATA opt_list TYPE sscr_opt_list.
    DATA ***      TYPE sscr_***.
    Define the selection screen objects
    First block: 3 SELECT-OPTIONS
    SELECTION-SCREEN BEGIN OF BLOCK block_0 WITH FRAME TITLE text-bl0.
    SELECT-OPTIONS sel_0_0 FOR sy-tvar0.
    SELECT-OPTIONS sel_0_1 FOR sy-tvar1.
    SELECT-OPTIONS sel_0_2 FOR sy-tvar2.
    SELECT-OPTIONS sel_0_3 FOR sy-tvar3.
    SELECTION-SCREEN END   OF BLOCK block_0.
    Second block: 2 SELECT-OPTIONS
    SELECTION-SCREEN BEGIN OF BLOCK block_1 WITH FRAME TITLE text-bl1.
    SELECT-OPTIONS sel_1_0 FOR sy-subrc.
    SELECT-OPTIONS sel_1_1 FOR sy-repid.
    SELECTION-SCREEN END   OF BLOCK block_1.
    INITIALIZATION.
    Define the option list
    ALL: All options allowed
      MOVE 'ALL'        TO opt_list-name.
      MOVE 'X' TO: opt_list-options-bt,
                   opt_list-options-cp,
                   opt_list-options-eq,
                   opt_list-options-ge,
                   opt_list-options-gt,
                   opt_list-options-le,
                   opt_list-options-lt,
                   opt_list-options-nb,
                   opt_list-options-ne,
                   opt_list-options-np.
      APPEND opt_list TO restrict-opt_list_tab.
    NOPATTERN: CP and NP not allowed
      CLEAR opt_list.
      MOVE 'NOPATTERN'  TO opt_list-name.
      MOVE 'X' TO: opt_list-options-bt,
                   opt_list-options-eq,
                   opt_list-options-ge,
                   opt_list-options-gt,
                   opt_list-options-le,
                   opt_list-options-lt,
                   opt_list-options-nb,
                   opt_list-options-ne.
      APPEND opt_list TO restrict-opt_list_tab.
    NOINTERVLS: BT and NB not allowed
      CLEAR opt_list.
      MOVE 'NOINTERVLS' TO opt_list-name.
      MOVE 'X' TO: opt_list-options-cp,
                   opt_list-options-eq,
                   opt_list-options-ge,
                   opt_list-options-gt,
                   opt_list-options-le,
                   opt_list-options-lt,
                   opt_list-options-ne,
                   opt_list-options-np.
      APPEND opt_list TO restrict-opt_list_tab.
    EQ_AND_CP: only EQ and CP allowed
      CLEAR opt_list.
      MOVE 'EQ_AND_CP'  TO opt_list-name.
      MOVE 'X' TO: opt_list-options-cp,
                   opt_list-options-eq.
      APPEND opt_list TO restrict-opt_list_tab.
    JUST_EQ: Only EQ allowed
      CLEAR opt_list.
      MOVE 'JUST_EQ' TO opt_list-name.
      MOVE 'X' TO opt_list-options-eq.
      APPEND opt_list TO restrict-opt_list_tab.
    Assign selection screen objects to option list and sign
    KIND = 'A': applies to all SELECT-OPTIONS
      MOVE: 'A'          TO ***-kind,
            '*'          TO ***-sg_main,
            'NOPATTERN'  TO ***-op_main,
            'NOINTERVLS' TO ***-op_addy.
      APPEND *** TO restrict-***_tab.
    KIND = 'B': applies to all SELECT-OPTIONS in block BLOCK_0,
                that is, SEL_0_0, SEL_0_1, SEL_0_2
      CLEAR ***.
      MOVE: 'B'          TO ***-kind,
            'BLOCK_0'    TO ***-name,
            'I'          TO ***-sg_main,
            '*'          TO ***-sg_addy,
            'NOINTERVLS' TO ***-op_main.
      APPEND *** TO restrict-***_tab.
    KIND = 'S': applies to SELECT-OPTION SEL-0-2
      CLEAR ***.
      MOVE: 'S'          TO ***-kind,
            'SEL_0_2'    TO ***-name,
            'I'          TO ***-sg_main,
            '*'          TO ***-sg_addy,
            'EQ_AND_CP'  TO ***-op_main,
            'ALL'        TO ***-op_addy.
      APPEND *** TO restrict-***_tab.
    KIND = 'S': Applies to SELECT-OPTION SEL_0_3
      CLEAR ***.
      MOVE: 'S'        TO ***-kind,
            'SEL_0_3'  TO ***-name,
            'I'        TO ***-sg_main,
            'N'        TO ***-sg_addy,
            'JUST_EQ'  TO ***-op_main.
      APPEND *** TO restrict-***_tab.
    Call function module
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
           EXPORTING
                 restriction                = restrict
              DB                          = ' '
           EXCEPTIONS
                 too_late                   = 1
                 repeated                   = 2
                 not_during_submit          = 3
                db_call_after_report_call  = 4
                selopt_without_options     = 5
                 selopt_without_signs       = 6
                 invalid_sign               = 7
                report_call_after_db_error = 8
                  empty_option_list          = 9
                 invalid_kind               = 10
                 repeated_kind_a            = 11
                 OTHERS                     = 12.

  • Want to use ldb selection screen with select queries

    I want to use ldb selection screen with select queries since ldb having performance issue .How can I use the fields of the dynamic selection of LDB in the select queries

    Hi,
    Check the code snippet below: Here 'XXXX' is the table for your select query.
      DATA L_DS_CLAUSES TYPE RSDS_WHERE.
      MOVE 'XXXX' TO L_DS_CLAUSES-TABLENAME.
      READ TABLE DYN_SEL-CLAUSES WITH KEY L_DS_CLAUSES-TABLENAME
                                 INTO L_DS_CLAUSES.
      SELECT * FROM XXXX
              WHERE field1 IN ...
               AND   field2 ....
               AND (L_DS_CLAUSES-WHERE_TAB).
          PUT XXXX.
      ENDSELECT.
    You can also try using the FM 'RS_REFRESH_FROM_DYNAMICAL_SEL' passing SY-CPROG in curr_report and 'M'  for mode to get the dynamic selection screen values.
    Regards,
    Munesh.

  • Selection-screen dynamic selections for dtab

    Hey experts,
    when I add this to my code
    selection-screen dynamic selections for zbr_t_autori
    and I want activate it, it writes out an error
    The addition "DYNAMIC_SELECTIONS" is only allowed in INCLUDE DB__SSEL.
    and I don't know how to solve it, what is that include db__ssel?
    Can anybody help me.
    Regards,
    Robert

    Check this:
    Structure of Logical Databases - ABAP Programming (BC-ABA) - SAP Library
    Where are you using this code?
    selection-screen dynamic selections for zbr_t_autori
    It should be in the include reserved for your LDB selection:

  • Selection screen Parameters  - Select -options  values  populated from ITAB

    PARAMETERS  : PLANT
    SELECT-OPTIONS : MATERIAL
    My Selection Screen contents of  should  change   as  the PLANT changes ..
    and i want  to populate the  contents of  SELECT-OPTIONS  from an ITAB  how can i do that .
    wen  plant changes  its  corresponding  materials should  reflect  inthe Select -options.   this is my need .
    please solve..
    thanks, .
    Aslam.

    Srry Raj u misundersttod me ...
    I was not saying ur solution is not gud ...my question was different .....may be this is not the right forum to ask what i want to know ....
    just bear with me moderators plz ...
    i just wanted to understand the interview process...since I have not appreared for any interview ( I started my carreer with a company and I am still with it ..wuld luv to continue [:d])
    I believe , if you would have asked me the same question probably i would not have given u the best possible solution...as u r also admitting for ur particular scenario ur solution is better than max's .....
    as an inteviewer will u expect the best solution from me .....( which might not come to my mind ( nd I am sure will not ..I luv abap debugger ) or u just wanna check if I know how to use difference selection screen events .
    If u wanted to hear only the better solution ...( I am rejected ............now I will have to continue sticking to my current job [:d], not bcoz i prefer but bcoz I cant switch )
    if u want to test if i know how to use selection screen events then ( I am selected ...but now I would like to stick to my current job ...bcoz I want to )
    Now I realize I cannot do ABAP without Debugger.

  • Validate plant and material on selection screen with select-options

    Hi all,
    I want to validate plant and material on selection screen. More over I need to validate the combination of that also (i.e plant based materials). Individually I made the validations, but combination I didn’t get it.
    For your information both are select-options, please reply me if you have an idea. The table to get the relationship is KEKO. <b>I have the below code for parameters, but I require code for select options.</b>
    SELECT MATNR WERKS FROM KEKO UP TO 1 ROWS
    INTO (KEKO-MATNR, KEKO-WERKS)
    WHERE MATNR = P_MATNR AND
    WERKS = P_WERKS.
    IF SY-SUBRC <> 0.
    MESSAGE E023 WITH 'COST ESTIMATE NOT FOUND FOR '
    P_MATNR P_WERKS 'COMBINATION'.
    ENDIF.
    ENDSELECT.
    Surely I will reward you.
    Thanks in Advance,
    Raghu.

    Raghu,
    You can't validate on select-options, MARC will have N to 1 relation between Material and plant.
    You can do one thing, keep material as select-option and plant as parameter, now you can validate the materials on plant level.
    Reward if this helps,
    Satish

  • Selection screen - two values optional mandatory

    Hello,
    is there a way to make two data fields obligatory in a selection-screen that the user only has to enter either one OR the other value, meaning at least one of these two data fields have to be entered?
    Thanks
    Anne

    Hi anne,
    As you want the message as a pop-up,use type 'I' message
    Try this code;-
    PARAMETERS:
    p_1(20) TYPE c,
    p_2(20) TYPE c.
    AT SELECTION-SCREEN.
    IF p_1 IS INITIAL AND p_2 IS INITIAL.
    CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
      EXPORTING
    *   TITEL              = ' '
        textline1          = 'Enter data'.
    *   TEXTLINE2          = ' '
    *   START_COLUMN       = 25
    *   START_ROW          = 6ENDIF.
    endif.
    -Bhumika

  • Selection Screen, + different selections for different t.code

    Hello Friends,
    I have following requirement, that I have a program which is called via a tcode. Now I have to create another tcode for the same program. I have created the new tran and it works fine. But now the requirement is, this new tran. should not show all selectoption ( inside a block ) and two another select - option block ?
    As far as I remember, one can use initilization, and can loop over selection screen ? any idea how to eleiminate the selection screen ? or any docu would be really appreiciated.
    Thanks..

    Thanks ,
    As I said, there is one main selection - screen with main block, ...and then are the further blocks inside, so how I can access the inside block:
    SELECTION-SCREEN BEGIN OF BLOCK mainframe .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF BLOCK firstblock WITH FRAME TITLE text-001.
    SELECT-OPTIONS:
      lest say 4 select options.....
    SELECTION-SCREEN END OF BLOCK firstblock.
    SELECTION-SCREEN BEGIN OF BLOCK secondblock WITH FRAME TITLE text-002.
    SELECT-OPTIONS:
           lest say 4 select options.....
    SELECTION-SCREEN END OF BLOCK secondblock
    Prozessdaten
    SELECTION-SCREEN BEGIN OF BLOCK thirdblock WITH FRAME TITLE text-003.
    SELECT-OPTIONS:
         lest say 4 select options.....
    PARAMETERS: so_stat  TYPE flag AS CHECKBOX DEFAULT 'X'.
    SELECTION-SCREEN END OF BLOCK thirdblock.
    PARAMETERS: 
    SELECTION-SCREEN END OF BLOCK mainframe.
    Now my req is, when tcode is 2nd, then secondblock, and thirdblock should not appear, and from first block only 2 fields should apper....
    is it at all possible, by looping over screen, because when I loop over screen, I could not even see the block name... ( the field block1 field is empty.. )

  • Using Selection screen and selection screen output

    Hi All,
    I am trying to execute AT SELECTION-SCREEN and AT SELECTION-SCREEN output. Both the para's working fine seperately. But when I execute them together AT SELECTION-SCREEN output is not working. Please let me know how to solve this problem. Please see below for the code.
    PARAMETERS:  p_werks LIKE marc-werks OBLIGATORY MEMORY ID WRK,
                 p_lgort LIKE mard-lgort OBLIGATORY,
                 p_rlgort LIKE mard-lgort OBLIGATORY.
        PARAMETERS: p_boml TYPE c RADIOBUTTON GROUP mode user-command flag.
            SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
                PARAMETERS: p_aufnr LIKE aufk-aufnr MODIF ID cp2.
            SELECTION-SCREEN: END OF BLOCK b1.
    *SELECTION-SCREEN COMMENT 1(44) text-004 FOR FIELD p_cmpl.
        PARAMETERS: p_cmpl TYPE c RADIOBUTTON GROUP mode.
           SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
                PARAMETERS: p_matnr type marc-matnr MODIF ID cp1,
                            p_verid type afpo-verid MODIF ID cp1,
                            p_labst type mard-labst MODIF ID cp1.
           SELECTION-SCREEN: END OF BLOCK b2.
       PARAMETERS: p_mstr TYPE c RADIOBUTTON GROUP mode.
    AT SELECTION-SCREEN output.
      LOOP AT SCREEN.
        IF p_boml <> 'X' AND
           screen-group1 = 'CP1'.
           screen-active = '1'.
           MODIFY SCREEN.
        ENDIF.
        IF p_cmpl <> 'X' AND
           screen-group1 = 'CP2'.
           screen-active = '1'.
           MODIFY SCREEN.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    AT SELECTION-SCREEN.
      IF p_boml EQ 'X'.
        IF p_AUFNR EQ space.
            MESSAGE e000(z1) WITH 'Please fill Production Order.'.
        ENDIF.
      endif.
      IF p_cmpl EQ 'X'.
        IF p_MATNR EQ space  OR p_verid EQ space OR p_labst EQ space.
            MESSAGE e000(z1) WITH text-003 'Production Version & Quantity. '.
        ENDIF.
      endif.
    Thanks,
    Senthil

    Hi Senthil,
    As far as my knowledge is concerned AT Selection-Screen output and AT Selection-Screen wont work together.In this code you are trying to do the validation in AT Selection-Screen. Instead of that try doin your validations in Start-of-selection Event.
    i,e., modify your code as follows:
    PARAMETERS: p_werks LIKE marc-werks OBLIGATORY MEMORY ID WRK,
    p_lgort LIKE mard-lgort OBLIGATORY,
    p_rlgort LIKE mard-lgort OBLIGATORY.
    PARAMETERS: p_boml TYPE c RADIOBUTTON GROUP mode user-command flag.
    SELECTION-SCREEN: BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_aufnr LIKE aufk-aufnr MODIF ID cp2.
    SELECTION-SCREEN: END OF BLOCK b1.
    *SELECTION-SCREEN COMMENT 1(44) text-004 FOR FIELD p_cmpl.
    PARAMETERS: p_cmpl TYPE c RADIOBUTTON GROUP mode.
    SELECTION-SCREEN: BEGIN OF BLOCK b2 WITH FRAME TITLE text-002.
    PARAMETERS: p_matnr type marc-matnr MODIF ID cp1,
    p_verid type afpo-verid MODIF ID cp1,
    p_labst type mard-labst MODIF ID cp1.
    SELECTION-SCREEN: END OF BLOCK b2.
    PARAMETERS: p_mstr TYPE c RADIOBUTTON GROUP mode.
    AT SELECTION-SCREEN output.
    LOOP AT SCREEN.
    IF p_boml <> 'X' AND
    screen-group1 = 'CP1'.
    screen-active = '1'.
    MODIFY SCREEN.
    ENDIF.
    IF p_cmpl <> 'X' AND
    screen-group1 = 'CP2'.
    screen-active = '1'.
    MODIFY SCREEN.
    ENDIF.
    MODIFY SCREEN.
    ENDLOOP.
    START-OF-Selection.
    Perform validation.
    form validation.
    IF p_boml EQ 'X'.
    IF p_AUFNR EQ space.
    MESSAGE e000(z1) WITH 'Please fill Production Order.'.
    ENDIF.
    endif.
    IF p_cmpl EQ 'X'.
    IF p_MATNR EQ space OR p_verid EQ space OR p_labst EQ space.
    MESSAGE e000(z1) WITH text-003 'Production Version & Quantity. '.
    ENDIF.
    endif.
    endform.
    Kindly reward if useful.
    Thanks,
    pavithra

  • Selection Screen and Selection Button

    Hi,
    I have put in a screen this
    SELECTION-SCREEN PUSHBUTTON /01(20) p_0031 USER-COMMAND _0031.
    But It never enters 'at user-command' event !
    What should i do ?

    Hi Stephan
    If you specify the USER-COMMAND addition, the pushbutton must be assigned a function code fcode. The function code fcode must be specified directly and can only contain a maximum of 20 characters.
    Before you can work with the pushbutton, you must specify a TABLES statement to declare an interface work area for the structure SSCRFIELDS from the ABAP Dictionary.
    If the user selects the pushbutton on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and the function code fcode is transferred to the ucomm component in the interface work area sscrfields.
    Regards
    Santosh

  • Difference between standard selection screen and selection screen

    hi guyz,
    im asking this because in the table D010SINF there are two fields  sdate and idate which has different dates in it for some programs and same dates for some..bit confused:(
    thanks

    hi BrightSide 
    standard Selection means
    suppose if you are using parameters means system defaultly generate one screen under the Screen Number 1000
    Selection Screen means you are creating a screen using
    stament SElection-Screen begin of screen 100..
    this is the difference whatever the screen other than '1000' is selection Screen, where as 1000 is Standard Selection Screen
    Regards
    Deva

  • Supressing Tab selection screen on selection screen ....

    Hello Gurus,
    I have following program. I want to make the Tab screen on selection screen inivisible when ceratin condition is set in configuration table. I know that I have to do it in AT SELECTION-SCREEN OUTPUT using loop - endloop. But how can I do it , lets say when variable v_block = 'X'.
    REPORT  ZTOPTEST .
    data: v_block type char1.
    SELECTION-SCREEN BEGIN OF SCREEN 100 AS SUBSCREEN.
    parameters:
            max_res(8) default '20'.
    SELECTION-SCREEN END OF SCREEN 100.
    SELECTION-SCREEN: BEGIN OF TABBED BLOCK tab_block FOR 5 LINES,
      TAB (20) tab1 USER-COMMAND tabpush1
      DEFAULT SCREEN 100,
    END OF BLOCK tab_block.
    AT SELECTION-SCREN OUTPUT.
    LOOP AT SCREEN.
    MODIFY SCREEN.
    ENDLOOP.

    Hi, Jainam
    Use the following Sample Code hope will solve out your problem,
    AT SELECTION-SCREEN OUTPUT.
      IF v_block = 'X'.
        LOOP AT SCREEN.
          IF screen-name = 'MAX_RES' or screen-name = '%_MAX_RES_%_APP_%-TEXT'.
    *        screen-active = 0. " Active this and Hide the Bellow if Compliantly Hide Fields and Lable
            screen-input = 0.   " You can see the Fields but not able to Input
            MODIFY SCREEN.
          ENDIF.
      ENDLOOP.
    ENDIF.
    Best Regards,
    Faisal

  • Selection Screen - multiple selection screens!!

    Hi All,
      There is one requirement where in I want my first selection screen to have 7 radio buttons and on selection of each one , there should be specific selection screens displayed. I know that one way to solve this is create multiple programs and call the program on each selection. But is there a way to do it in the same program. Kindly advice.
    Thanks & Regards,
    Sowmya

    Hi,
    Instead of different screens you can display the fields on the same screen based on the radio button selection...
    Check this example..
    PARAMETERS: P_RAD1 TYPE XFELD RADIOBUTTON GROUP G1 USER-COMMAND USR
                                  DEFAULT 'X',
                P_RAD2 TYPE XFELD RADIOBUTTON GROUP G1.
    <b>* SCREEN 1.</b>
    PARAMETERS: P_MATNR TYPE MATNR MODIF ID M1,
                P_KUNNR TYPE KUNNR MODIF ID M1.
    <b>* SCREEN 2.</b>
    PARAMETERS: P_LIFNR TYPE LIFNR MODIF ID M2,
                P_EBELN TYPE EBELN MODIF ID M2.
    AT SELECTION-SCREEN OUTPUT.
    IF P_RAD1 = 'X'.
    <b>* INVISIBLE THE OTHER SCREEN FIELDS.</b>
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'M2'.
          SCREEN-INVISIBLE = '1'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDIF.
    IF P_RAD2 = 'X'.
    <b>* INVISIBLE THE OTHER SCREEN FIELDS.</b>
      LOOP AT SCREEN.
        IF SCREEN-GROUP1 = 'M1'.
          SCREEN-INVISIBLE = '1'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    ENDIF.
    Please let me know if you have any questions..
    Thanks,
    Naren

  • Input Negative values in selection screen  for select-options field

    I am not able enter negative values for
    SELECT-OPTIONS V_ERFMG FOR MSEG-ERFMG.
    It says negative values are not allowed but I need to check for negative values. Kindly provide me solution.

    You can't put the negative values here...because the Domain which is attached to MSEG-ERFMG has not the "Sign" checkbox on.
    Try with this code:
    tables:wbrp.
    SELECT-OPTIONS V_ERFMG FOR WBRP-menge.
    Regards,
    Naimesh Patel

  • Selection Screen field selection in logical db PCH

    Is any one have any idea how to code the select option part such as..
    report should run if PCHOBJID is selected
    or any other (custom define field in parameter) field which is not PCH field.
    I will really appreciate.

    What exactly is ur requirement? You want to use LDB PCH & u have a custom field parameter & u want to validate it?
    Then after GET OBJID, you can check for ur custom field for the data & then only you can proceed further by using an 'IF' statement.
    If this is not your query, then explain in brief clearly your requirement, so that we can help you.
    Thanks,
    Sarika.

Maybe you are looking for

  • Is there any way to disable the "converting" process in QT Player?

    Every time I open a movie file in Quicktime Player, it goes through a process of "converting" the movie I opened. WHY??? Apple seems to be on a mission to alienate their creative professional user base. By forcing a conversion to Apple Pro Res, I've

  • How to show data through table control

    Hi Experts, I have created an table control through wizard using table EKKO. I have to populate one internal table( type ekko ), and then show it in output  through table control. Please advise, how to do that and in where i have to write the codes.

  • Using read() to get byte and readLine to get textline at the same socket

    Hi: I know that readLine is used in BufferedReader and read is used in BufferedInputstream, but can I read some lines by readline, then read some byte by read. Because InputStreamReader is used to change from Inputstream to Reader ,how can I change f

  • DataModel, SelectItem(s) Reading data twice - selection consistency

    Hello, I have some concerns regarding the way how selected item in selectone_menu or command_link/command_button inside of data_table get resolved on submit. I am very new to JSF so I might misunderstood how it works and will be grateful for your com

  • MDM Resultset Iview (MDM 5.5 SP4)

    Hi All, I created MDM Resultset iview,in which I selected keymapping.but,when i see the preview,I am always getting No result found. but,I am having some records with key mappings. Thanks for your help.