Selection Screen - Wage Type Ranges

Dear Experts,
I am in the process to prepare functional specifications for the custom reports on payroll.  we need to maintain fields to select  wage type ranges from and to with F4 option.
Iam preparing the FS for this selecton screen, now i need to specify from where (which table) the system should fetch (show) all the wage types if the user click on the F4 button to choose the wage type ranges in the selection screen
Based on this wage type ranges only the custom program should show the results from RT.
Please advice me asap
Regards,
Siri

Hi Anil ,
Type M are module pool programs.
For these you have to create you screen and then determine their flow in your program.
These are executed by transactions.
Search tutorials on module pool program .
Hope its help you

Similar Messages

  • Selection screen in type m program

    How can we define Selection screen in type m program?
    Moderator message - please search the forum before asking. Thread locked.
    Edited by: Rob Burbank on Sep 20, 2009 2:19 PM

    Hi Anil ,
    Type M are module pool programs.
    For these you have to create you screen and then determine their flow in your program.
    These are executed by transactions.
    Search tutorials on module pool program .
    Hope its help you

  • Currency field on a selection screen of type 'DMBTR'.

    Hello ABAPers,
          Could you please tell me how to do it?
           I have a currency field on a selection screen of type 'DMBTR'.
           When i input and press the enter key ,i want the value to be displayed in the following style.
              1. CURRENCY     EQ    'JPY'
                    EX:
                          Value before pressing EnterKey =   123456 
                          Value after pressing   EnterKey =    123,456
                      i.c  the value should be displayed without decimal point
            2. CURRENCY      NE    'JPY'
                    EX:
                          Value before pressing EnterKey =   123456 
                          Value after pressing   EnterKey =    123,456.00
                      i.c  the value should be displayed with decimal point
          Note:The above trick has already been done on a standard dynpro screen of Tr.Code FB60 and Field 'Amount'.
    <removed_by_moderator>
    Thanks and Regards,
    Mohan
    Edited by: Govindasamy Mohan on Oct 8, 2009 6:22 PM
    Edited by: Julius Bussche on Oct 9, 2009 1:36 PM

    Hi ABAP Lover,
       Thanks a lot for your reply.
       I had the same idea as yours like using data type 'P'.
      But, the problem is  that there is only one currency field on the screen .There is also a field of 'Company Code'.
    Both fields are mandatory .
    Hence,the requirement is  to convert the  currency value to the currency of the company code which is input .
    The conversion  should yield the following output on the screen after pressing the enter button.
    1. When currency EQ  'JPY' ,  the value should be displayed without decimal point
      2.When currency NE  'JPY' ,  the value should be displayed with decimal point
    I am very sorry for not explaining you clearly in my first posting.
    Thanks and Regards,
    Mohan

  • RERAPL (Posting Log) - Selection screen Contract Type field

    Hi Forum
    Is there a way to see the landscape specific contract types defined under 'Contract Type' entries(F4) list of RERAPL selection screen rather the generic list ?
    i.e. in RERAPL selection screen, for 'Contract Type' field under 'More Fields' section of 'FI Document for Selection' area, only the generic list of contract types viz., Loans, Securities, Foreign Echange etc is seen. Why not the list what has been created in RE Contract Types is shown here ?
    Please advice.
    Regards, Sekhar

    Hi Sekhar,
    reason is that the field 'contract type' in the selection for FI document is not the contract type known in RE.
    contract type field in FI document is 1 CHAR (technical field name VERTT) and contains the information to which application the contract number refers in the FI document line.
    The 4 CHAR contract type in application RE-FX (technical field name RECNTYPE) is used in RE-FX only and not stored in the FI document. Therefore it is not possible to select FI documents by this contract type.
    Hope this information is helpful for you.
    Regards, Franz

  • Value selected in Listbox of Selection screen

    Hi,
    I'm facing a problem where i'm not able to get the value selected in a listbox on selection screen.
    TYPE-POOLS : vrm.
    DATA : var_itab TYPE vrm_values.
    DATA : var_wa LIKE LINE OF var_itab.
    DATA:  count TYPE i.
    Parameters: variant(14) TYPE c AS LISTBOX VISIBLE LENGTH 14.
    INITIALIZATION.
      count = 1.
      name = 'variant'.
      SELECT variant FROM varid INTO var_wa-text
                     WHERE report = 'ZP_XXXXXX'.
        var_wa-key = count.
        APPEND var_wa TO var_itab.
        count = count + 1.
      ENDSELECT.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id     = name
          values = var_itab.
    START-OF-SELECTION.
    WRITE: VARIANT.
    Here in Start of selection, the value selected in listbox is not getting written. In fact variable VARIANT does not contain any values.
    Please help,
    Thanks in advance,

    Hi Srinivas,
    Thanks for ur reply,
    I tried it, it doesnt work.
    In Selection screen, it is showing values in listbox.
    But i'm not able to catch the value selected there.
    If i do:
    WRITE: VARIANT.
    in start-of-selection.
    VARIANT is blank.
    Thanks,

  • How to display list in Agent Selection Screen?

    Hi,
    I am using DISPATCH method in Agent Selection screen ( obj. type WF_TASK ).
    In description it says that this method could display a list of users but
    in reality it displays only one item.
    If anyone was able to display a list would you share how to do it?
    Thank you.

    I think you will need to give more information. What does your binding look like, what are the possible agents for the task you give in the binding? This last one if you get a list or search functionality.
    Regards,
    Martin

  • Bootcamp selection screen fuzzy

    I've noticed in the last few days when I'm at the Bootcamp drive selection screen the type is very fuzzy. You can barely read the drive names below the icons. Once the computer finishes booting everything seems fine regardless if you choose the Window bootcamp drive or the Mac OS X Drive. Any ideas on what's going on and how to fix this?

    I ran the test and it came back with no problems found. On the restart I held the option key to invoke the drive selection screen and the type was crystal again. Last night when I was working on this I went thru 4 or 5 restarts and the issue was there every time. There where no devices plugged into any of the ports last night as well. Any ideas?

  • Wage type related

    if m calculating DA a 16% n den after some years i change the percentage from 16% to 18 % and i want the history record as well as present record den how'll i do it
    thks

    in same place select the wage type or row ,then click expand-->collapse that expand previous records also.
    eg:01.01.2006 31.12.2006 DA 16 %
         01.01.2007 31.12.9999 DA 17%
    When your are mapping the percentage you will enter start and endate ,so different percentage can be maintained with differnt start date and end date.

  • Urgent-change the end date for a existing wage type.

    Hi,
    Can u pls let us know how to change the end date for a existing wage type.
    The current end date is 30.8.2008  and we would like to change to 31.12.9999.
    Rgds,

    Use This report RPCLGV00
    The Wage Type Distribution report enables you to display wage types for several payroll periods. It does not take into consideration differences resulting from retroactive payroll. The report shows the current values (number and amount) for each wage type. The report evaluates the payroll records that are marked with update indicator ‘A’ when the report is run. Subsequent reporting runs may not give the same result if - in the intervening period - retroactive payroll has taken place for the evaluation period. The wage type distribution uses the data from the results table RT for the relevant payroll result. The employee’s organizational assignment is also evaluated from the payroll result. This data is taken from the Work Center Basic Pay table (WPBP).
    The wage type distribution offers you the following options for evaluation:
    Individual reporting for a specific personnel number or name.
    Totals evaluation without specifying a personnel number or name.
    You cannot use wage type distribution to run a report for several countries. You can only select payroll areas from one country for reporting.
    Scope of Function
    You use the following parameters to determine how the appearance of the wage type statement:
    Wage type for evaluation
    Enter all wage types that are to be evaluated. If you do not make an entry here, the system selects all wage types. Note that you can only select wage types that occur in the RT table.
    Evaluation start date
    Evaluation start date and evaluation end date define the evaluation period. Enter the year and payroll period for the start of the evaluation.
    Evaluation end date
    This parameter delimits the evaluation period. If you do not make an entry here, only the period from the period from the parameter Evaluation start date is evaluated.

  • PT_BAL00 : Wage Type

    Hi All,
    I am using T-code PT_BAL00 ( in R/3) to check the Wage Type , I noticed that there are multiple wages type for Overtime/Normal working hours etc.
    I am specifically looking for the table where wagetype stored,
    for example : (checking in R/3)
    W110 - Over time x 1.00
    W014 - Over time x 1.50
    W021 - Normal working hours
    in the table W110 may be represent as 1000004 , I want actually value that stored in the table.
    Can any body help me to let me know the table name from PT_BAL00 t-code get values , Or where wages type stored.
    thanks,
    Sukhi

    hi,
    try these links
    Balancing BW Employee payroll to R3
    Basic data and work schedule
    Table
    WPBP
    Table WPBP contains data on the employeeu2019s work center and basic pay.
    PSP
    Table PSP contains data on the employeeu2019s personal work schedule for each day.
    Balances, wage types and quota transactions
    Table
    ZES
    Table ZES contains daily balances.
    SALDO
    Table SALDO stores all cumulated balances. The balances are added from table TES to SALDO in month-end processing.
    ZKO
    All quota transactions of the period are stored in table ZKO.
    ZL
    Table ZL represents the interface between time evaluation and payroll. The existing time wage types have been derived via time wage type selection using the Time Wage Type Selection Rule table (T510S).
    The entries in table ZL contain pointers to the following tables:
    ALP - alternative payment
    C1 - cost distribution
    AB - absences
    An IFTYP is specified for the selected time wage types. The IFTYP is an indicator for payroll. It describes the origin of the wage type:
    S - planned work
    M - overtime
    A - absence
    ALP
    Table ALP contains the specifications on a different rate of payment
    C1
    Table C1 contains cost distribution specifications (account assignment).
    VS
    Table VS contains variable balances which can be defined by the user. These balances can be entered in the table during time evaluation using operation ADDVS, where they are available for customer-specific evaluations.
    CVS
    Table CVS contains the cumulated balances from table VS. Table CVS is filled automatically.
    FEHLER
    All messages generated during time evaluation are stored in table FEHLER.
    Note
    For information on the various types of message, see Grouping Messages.
    KNTAG
    The string KNTAG shows whether or not the employee performs core night work. (Germany only)
    Automatic accrual of absence quotas
    Table
    QTACC
    Table QTACC contains the accrual entitlements that were generated by time evaluation on the relevant date of the accrual.
    You can view detailed information on the generation by double-clicking the appropriate line.
    QTBASE
    Table QTBASE contains the information on the base entitlement that was used as a basis for calculating the accrual entitlements.
    Any changes to the base entitlement within an accrual period are flagged accordingly.
    QTTRANS
    Table QTTRANS indicates the status of the transfer pool for each day. The cumulated entitlements are indicated until they have been transferred to the Absence Quotas infotype (2006) or until the entitlement has expired.
    You can view detailed information on the transfer pool and on the transfer by double-clicking the appropriate line.
    URLAN
    Table URLAN contains information on the updating of the Leave Entitlement infotype (0005).
    Time pairs and time tickets
    Table
    PT
    Table PT contains the time pairs generated in pair formation. This table is only required if you use time recording systems.
    WST
    Table WST contains the generated time tickets
    CWST
    Table CWST contains the cumulated time tickets
    AT
    Table AT is an assignment table which links time pairs and time tickets.
    Time data
    Table
    AB
    Table AB contains all absences
    ANWES
    Table ANWES contains all attendances which have been entered using the Attendances infotype (2002).
    VERT
    Table VERT contains all substitutions entered in the Substitutions infotype (2003)
    RUFB
    Table RUFB contains all availability records entered in the Availability infotype (2004)
    MEHR
    Table MEHR contains all overtime data entered in the Overtime infotype (2005)
    ABWKONTI
    Table ABWKONTI contains all absence quotas from the Absence Quotas infotype (2006) that fulfill one of the following conditions:
    Absence quotas that are valid on at least one day of the time evaluation period
    Absence quotas that are deductible on at least one day of the time evaluation period and whose validity period is in the past
    Absence quotas that are deductible on at least one day of the time evaluation period and whose validity period starts on a day in the current time evaluation period
    ANWKONTI
    Table ANKONTI contains all attendance approvals from the Attendance Quotas infotype (2007).
    SKO
    Table SKO contains all time transfer specifications recorded in the Time Transfer Specifications infotype (2012)
    Status information
    Table
    BEZUG
    This table shows the recalculation dates for time evaluation, the time statement and a third-party payroll system.

  • How to restrict more than one 1 range in select option on selection screen.

    Hi all,
    I have a requirement where I need to restrict user from giving more than 1 range for a date selct option ..other all features of multiple selection will be as usual...
    for eg we can do this if we disable / hide other cells if the user clicks on multiple ranges tab.. If only 1 cell is available to give the range user will not be able to give more than 1 range....
    I was thinking if I could use select_options_restrict but how do i fill its parameters...
    Can anyone send me the sample code or the same to achieve this functionality...I have used select_options_restrict to hide multiple ranges itself  ... But here user will be able to give range but only 1....
    Thanks and Regards
    Sweta

    HI,
    Please try the below logic.
    SELECT-OPTIONS: so_addr   FOR    ADR6-SMTP_ADDR NO INTERVALS.
    ***********remove_range_for_select_option******************* .
      DATA: ls_restrict  TYPE  SSCR_RESTRICT,    "The type for SELECT_OPTIONS_RESTRICT
            ls_opt_list  TYPE  SSCR_OPT_LIST,    "One list of options
            ls_asn       TYPE  SSCR_***.         "One line of table associating selection screen
                                                                      "object with opt. list
      CLEAR: ls_restrict,
             ls_opt_list,
             ls_asn.
    *Only EQ valid, discrete values, Include & Exclude
      ls_opt_list-name       = 'EQ'.
      ls_opt_list-options-eq = 'X'.
      APPEND ls_opt_list TO ls_RESTRICT-OPT_LIST_TAB.
      LS_ASN-KIND            = 'S'.
      LS_ASN-NAME            = 'SO_ADDR'.            "Select Option
      LS_ASN-SG_MAIN         = 'I'.
      LS_ASN-SG_ADDY         = '*'.
      LS_ASN-OP_MAIN         = 'EQ'.
      LS_ASN-OP_ADDY         = ' '.
      APPEND LS_ASN TO LS_RESTRICT-***_TAB.
    *Make use of SELECT-OPTIONS easier on the selection screen
      CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
        EXPORTING
          RESTRICTION            = LS_RESTRICT
        EXCEPTIONS
          TOO_LATE               = 1
          REPEATED               = 2
          SELOPT_WITHOUT_OPTIONS = 3
          SELOPT_WITHOUT_SIGNS   = 4
          INVALID_SIGN           = 5
          EMPTY_OPTION_LIST      = 6
          INVALID_KIND           = 7
          REPEATED_KIND_A        = 8
          OTHERS                 = 9.
      IF SY-SUBRC <> 0.
        MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Edited by: Rajasekhar Reddy P on Mar 16, 2009 2:03 PM

  • 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.

  • Hide the high value in selection screen range

    In the selection screen of an ABAP Program, I need to use a field where I have to restrict the users from entering a range of values, but still need to enter a list of values.  I tried using 'no intervals' in the select-options, but still it lets me enter range.  How can I accomplish this?
    Thanks

    You need to use the function module SELECT_OPTIONS_RESTRICT additionally to the simpler NO INTERVALS addition for this.
    That way, besides of restricting the "TO" input field from appearing, you also restrict the tabs in the extension screen (yellow arrow button).
    Check this code and adapt to yours:
    DATA:
      wa_restrict TYPE sscr_restrict,
      wa_opt_list TYPE sscr_opt_list,
      wa_***      TYPE sscr_***.
        wa_opt_list-name = 'OBJECTKEY1'.
        wa_opt_list-options-eq = 'X'. "Enabling only single inclusion lists
        APPEND wa_opt_list TO wa_restrict-opt_list_tab.
        wa_***-kind = 'S'.
        wa_***-name = 'S_CONOCI'. "Replace with your select option name
        wa_***-sg_main = 'I'.
        wa_***-sg_addy = space.
        wa_***-op_main = 'OBJECTKEY1'.
        APPEND wa_*** TO wa_restrict-***_tab.
        CALL FUNCTION 'SELECT_OPTIONS_RESTRICT'
             EXPORTING
                  restriction            = wa_restrict
             EXCEPTIONS
                  too_late               = 1
                  repeated               = 2
                  selopt_without_options = 3
                  selopt_without_signs   = 4
                  invalid_sign           = 5
                  empty_option_list      = 6
                  invalid_kind           = 7
                  repeated_kind_a        = 8
                  OTHERS                 = 9.
        IF sy-subrc <> 0.
          MESSAGE e013.
        ENDIF.
    Hope this helps.
    Regards
    Edited by: Alejandro Bindi on Sep 4, 2008 12:57 PM

  • Setting default date range in selection screen when executing as batch job.

    Hi Guys,
    I have one report to be scheduled as weekly batch job and one of the selection screen field is date range. If i set this report to run today then the date range will be from one week back date(Lower value) to today date(Higher value). When it runs for next week(Already scheduled as weekly batch job) the date range should be like this
    Lower value = today date
    higher value= next week run date.
    How can i achieve this functionality. Is it possible through Dynamic variant concept?. Rest of the selection screen fields have some default values and should not change.
    <REMOVED BY MODERATOR>
    Thanks in advance,
    Vinod.
    Edited by: Alvaro Tejada Galindo on Feb 22, 2008 3:52 PM

    Hi Vinod,
    Would suggest you to this.
    Create two parameters : p_start_date and p_end_date of type sy-datum on your selection screen , instead of a range.
    Now goto create a variant from SE38 for the report.
    While creating the variant, mark the "Selection Variable" checkbox for the two parameters and click on "Selection Variables".
    Select the option "D: Dynamic date calculation" for both the date fields.
    For p_start_date - select the option "Current Date"
    For p_end_date  - select the option "Current date +/- ??? days" and put 7 in the pop up.
    Hence what you have done now is, set up a dynamic variant, where p_start_date will have sy-datum and p_end_date will have sy-datum + 7, everytime the job runs.
    Now, in the program, first step after START-OF-SELECTION code the following:
    RANGES: r_date FOR sy-datum.
    start-of-selection.
    refresh r_date.
    r_date-sign = 'I'. r_date-option = 'BT'.
    r_date-low = p_start_date. r_date-high = p_end_date.
    append r_date.
    Hence this way, you would have built your range and use it as needed.
    Cheers,
    Aditya

  • Doubt in Selection-Screen for Program type "Function Group"

    Hi Gurus,
    I created a Function group in that i created one screen and writtem the Screen flow logic. In that screen I called a Function module "COMPLEX_SELECTIONS_DIALOG" For Creating a selection-Screen.
    The code snippet is like below.
    CASE ok_code .
        WHEN c_clk1.
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
         EXPORTING
           title                   = text-002
           text                    = 'Material Number'
           signed                  = 'X'
            lower_case              = ' '
            no_interval_check       = ' '
             just_display            = ' '          " Un commented by Srihari
             just_incl               = 'X'          " Un commented by Srihari
            excluded_options        =
            description             =
            help_field              =
            search_help             =
           tab_and_field           = st_tab
          TABLES
            range                   = r_matnr
         EXCEPTIONS
           no_range_tab            = 1
           cancelled               = 2
           internal_error          = 3
           invalid_fieldname       = 4
           OTHERS                  = 5.
    it works fine. But the problem is if i click the multiple selection button for the select-option in selection screen and enter the values and copy those value. In the multiple selection button green button is not coming like noram report selection-screen. Please remember I used the program type as "Function Group" not "Module Pool".
    Please send your suggestions.
    Thanks,
    Srihari.

    Ok, I am not 100% sure, if I understand you correctly, you said, you created one screen to 'simulate' a standard selection screen behavior without using select-options statement?
    If that's not correct, could you please post a few more details on what exactly you are doing.
    I had to 'simulate' a select-option behavior which I did as follows:
    - I created a range variable to store the values (s_ctby)
    - on the screen I defined the LOW (s_ctby-low), HIGH (s_ctby-high) and the multiple selection field pushbutton
    - In the PBO I set the icons for the multiple selection pushbutton
      READ TABLE s_ctby INDEX 2 TRANSPORTING NO FIELDS.
      IF sy-subrc NE 0.
        gv_createby = gc_icon_enter_data.
      ELSE.
        gv_createby = gc_icon_disp_data.
      ENDIF.
    - In the PBO make sure that any values entered on the screen are transferred to the range
    * transfer any changed values into the correct range for user transaction
    * (screen 0110) because that screen just 'simulates' a selection screen
    * so we have to make sure that any data the user enters in the selection
    * fields is passed into the appropriate ranges
      IF sy-tcode EQ gc_trans_user.
    *   created by
        IF NOT s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_bt.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF NOT s_ctby-low  IS INITIAL AND
                   s_ctby-high IS INITIAL.
          s_ctby-sign   = c_i.
          s_ctby-option = c_eq.
          IF s_ctby[] IS INITIAL.
            INSERT s_ctby INDEX 1.
          ELSE.
            MODIFY s_ctby INDEX 1.
          ENDIF.
        ELSEIF s_ctby-low  IS INITIAL AND
               s_ctby-high IS INITIAL.
          DELETE s_ctby INDEX 1.
        ENDIF.
    - If the user hits the multiple selection pushbutton
        WHEN gc_fc_create_by.
    *     if the user hits the multiple selection button on the screen
    *     we call the standard SAP functionality to show the multiple
    *     selection popup SAP uses on a standard selection screen
          CALL FUNCTION 'COMPLEX_SELECTIONS_DIALOG'
            EXPORTING
              title             = text-t02
            TABLES
              range             = s_ctby
            EXCEPTIONS
              no_range_tab      = 1
              cancelled         = 2
              internal_error    = 3
              invalid_fieldname = 4
              OTHERS            = 5.
          IF sy-subrc NE 0 AND NOT sy-msgty IS INITIAL.
            MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
          ENDIF.
    *     now update the header line so the screen fields display the correct values
          CLEAR s_ctby.
          READ TABLE s_ctby INDEX 1.
    Hope that helps,
    Michael

Maybe you are looking for

  • Why isn't the popup blocker exception working for sites I have added? It still asks me to "allow" them.

    Even though I have added sites to the Exceptions in the Popup Blocker preferences, I constantly have to press the Allow button to actually go to the next window. The sites are staying in the Exceptions list and I can get there, but something clearly

  • CRMXIF_ORDER_SAVE Data structure information

    The BAPI CRMXIF_ORDER_SAVE has one input Parameter of type CRMXIF_BUSTRANS. This paramter is quite a complex data structure made upof many data structures; which themselves are complex and contain more data structures. I am a first time user of this

  • DOWNLOADED FILES for Oracle DB 10g Rel. 2 for HP-UX PA-RISC NOT VALID

    I have repeatedly downloaded several files offered for download from: http://www.oracle.com/technology/software/products/database/oracle10g/htdocs/10201hpsoft.html These files include: the main Oracle Database 10g CD 10201_database_zip, the Oracle Da

  • CALL FUNCTION IN BACKGROUND UNIToref.

    Hi All, Please tell me the method how to use FM IN Backgorund job(only  IN BACKGROUND UNIToref) CALL FUNCTION IN BACKGROUND UNIToref. it would be better if give practical example. Regards, Anuj jain

  • How to fix jdbc connection when  SQLstate 08S01

    I have an application that connects to and insert into a remote database which runs on a server I connect to over the internet. I tested it on local server (localhost) and it works fine, but when I put my server IP (72.52.155.111) or web domain I can