S_ALR_87012277 Tcode -- Modify Currency type to select-option

Hi,
S_ALR_87012277 Tcode has currency type field, I have a requirement to change Currency type to change selection field. user want to run 10,30,60 currency types same time rather than each currency at a time. Copied SAP program RFSSLD00 to Zprogram and SDF LDB to ZSDF but this program and LDB is looking complex to modify. Is there any simple way to get this get this?
I appreciate any comments on this.
Regards,
Venkat.

No you can t . Program for report is Rfssld00.

Similar Messages

  • Import parameter shall be same type like select option

    Hey guys,
    how can i make it possible that my importparameter of my FB has the type of the select option field of my program??
    I need something like a tabletype or a list of values.
    Thx

    Hi,
    <li>Define like below
    DATA: s_matnr TYPE RANGE OF mara-matnr.
    or
    TABLES: mara.
    RANGES: s_matnr FOR mara-matnr.
    Thanks
    Venkat.O

  • Currency type in COPA report

    I created a form to generate a COPA report.  I selected "both company code and operating concern currency types while creating the form.  Now, I need to be able to give the currency type as variable to have the user print the copa report whatever currency they want to print.  It's cost based COPA /
    How can I get the currency type as selection option?  please advise.
    Thanks,
    Sri

    From the form's general selection, select the currency type and define as local variable.

  • Selection Screen - User input to select option only through f4 help,

    Hi..
    In case of selection screen,  I need selection screen such a that user input must be through search help not manual entry is allowed/ possible

    TYPES:BEGIN OF ty,
          field1 TYPE char01,
          END OF ty.
    DATA:it TYPE TABLE OF ty,
         wa TYPE ty.
    data:v_var type c.
    select-options:so for v_var.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'SO-LOW'  .
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
        IF screen-name = 'SO-HIGH'  .
          screen-input = 0.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so-low.
      CLEAR it[].
      wa-field1 = 'A'.
      APPEND wa TO it.
      wa-field1 = 'B'.
      APPEND wa TO it.
      CLEAR wa.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'FIELD1'
          dynpprog    = sy-cprog
          dynpnr      = sy-dynnr
          dynprofield = 'SO-LOW'
          value_org   = 'S'
          display     = 'F' "F = Force
        TABLES
          value_tab   = it[].
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so-high.
      CLEAR it[].
      wa-field1 = 'A'.
      APPEND wa TO it.
      wa-field1 = 'B'.
      APPEND wa TO it.
      CLEAR wa.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'FIELD1'
          dynpprog    = sy-cprog
          dynpnr      = sy-dynnr
          dynprofield = 'SO-HIGH'
          value_org   = 'S'
          display     = 'F' "F = Force
        TABLES
          value_tab   = it[].

  • Creation of search help manually fro select-options

    hi friends i got a requirement for creating the search helps manually for select-options.
    but i am facing a progbalem.
    i am attaching a sample code for what i have written for select-opions low of which when i am pressing f4 button i am getting list of data but when i am selecting that particular it is not withstading on the screen...kindly help in this regard very urguent..plz...all answers are rewarded..
    tableS: kna1.
    datA: BEGIN OF ITAB OCCURS 1,
        KUNNR TYPE KNA1-KUNNR,
        END OF ITAB.
    data: kunnr type kunnr.
    select-options: cust for kunnr .
    at selection-screen on value-request for cust-low.
    select kunnr from kna1 into table itab .
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
    *   DDIC_STRUCTURE      = ''
        RETFIELD               = 'CUST-LOW'
    *   PVALKEY                = ' '
    *   DYNPPROG               = ' '
    *   DYNPNR                 = ' '
    *   DYNPROFIELD            = ''
    *   STEPL                  = 0
    *   WINDOW_TITLE           =
       VALUE                  = 'CUST-LOW'
       VALUE_ORG              = 'S'
    *   MULTIPLE_CHOICE        = ' '
    *   DISPLAY                = 'X'
       CALLBACK_PROGRAM       = SY-CPROG
    *   CALLBACK_FORM          = ' '
    *   MARK_TAB               =
    * IMPORTING
    *   USER_RESET             =
      TABLES
        VALUE_TAB              = ITAB
    *   FIELD_TAB              =
    *   RETURN_TAB             =
    *   DYNPFLD_MAPPING        =
    * EXCEPTIONS
    *   PARAMETER_ERROR        = 1
    *   NO_VALUES_FOUND        = 2
    *   OTHERS                 = 3
    IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

    Hai  Saslove,
    I think Problem Lies In this Area When U r Creating   Search Helps.
    Import and Export Parameters
    When an input help is called, the entries that the user already made in the input template are taken into consideration. For example, if a user calls the input help for the flight number and already specified the carrier, of course only the numbers of flights of this carrier should be offered.
    On the other hand, if the user selects one row of the hit list, more than one field of the input template might have to be filled with data from the selected row of the hit list. For example, if the flight number is obtained from the hit list, the city of departure and the destination should also be returned in the screen template.
    The interface of a search help defines the context data that can be used in the input help and the data that can be returned in the input template.
    A parameter of a search help can be classified as:
    Import parameters: Parameters with which context information from the processed input template (screen) may be copied to the help process.
    Export parameters: Parameters with which values from the hit list may be returned to the input template.
    A parameter can simultaneously be an input and an export parameter. A search help can also contain parameters that are neither import nor export parameters. Such parameters could be required for the internal input help process, for example.
    When you attach a search help, you must define where the import parameters of the search help get their values from and the fields in which the contents of the export parameters are returned. See also Value Transport for Input Helps.
    Regards.
    Eshwar.

  • Case with a select-options

    hi,
    How do I use the CASE statement when the variable is a range (so_mes).
    so_mes is defined like a select-options.
    i have the next code.
    case so_mes-low.
                 when '01'.
                    move dobli-wtp01 to oejer.
                  when '02'.
                    move dobli-wtp02 to oejer.
                  when '03'.
                    move dobli-wtp03 to oejer.
                  when '04'.
                    move dobli-wtp04 to oejer.
                  when '05'.
                    move dobli-wtp05 to oejer.
                  when '06'.
                    move dobli-wtp06 to oejer.
                  when '07'.
                    move dobli-wtp07 to oejer.
                  when '08'.
                    move dobli-wtp08 to oejer.
                  when '09'.
                    move dobli-wtp09 to oejer.
                  when '10'.
                    move dobli-wtp10 to oejer.
                  when '11'.
                    move dobli-wtp11 to oejer.
                  when '12'.
                    move dobli-wtp12 to oejer.
    in this case only take the low value. How can I asigned the the high value in the statement CASE?.

    I would suggest doing something like this.  Allow the user to enter only single values in the select-option, then you can loop at the select-option and process accordingly.
    report zrich_0001.
    * Type pools
    type-pools: slis, sscr.
    data: char2(2) type c.
    select-options: so_mes for char2.
    initialization.
      perform initilization.
    start-of-selection.
      loop at so_mes.
        case so_mes-low.
          when '01'.
    *move dobli-wtp01 to oejer.
          when '02'.
    *move dobli-wtp02 to oejer.
          when '03'.
    *move dobli-wtp03 to oejer.
          when '04'.
    *move dobli-wtp04 to oejer.
        endcase.
      endloop.
    *  INITILIZATION
    form initilization.
    * Restrict the select options for SO_MES
    * to just a date range
      data: selopt   type sscr_***,
            opt_list type sscr_opt_list,
            restrict type sscr_restrict.
      clear opt_list.
      opt_list-name          = 'EQ'.
      opt_list-options-eq    = 'X'.
      append opt_list to restrict-opt_list_tab.
      clear selopt.
      selopt-kind            = 'S'.
      selopt-name            = 'SO_MES'.
      selopt-sg_main         = 'I'.
      selopt-sg_addy         = ' '.
      selopt-op_main         = 'EQ'.
      selopt-op_addy         = 'EQ'.
      append selopt  to restrict-***_tab.
      call function 'SELECT_OPTIONS_RESTRICT'
           exporting
                restriction            = restrict
           exceptions
                too_late               = 1
                repeated               = 2
                selopt_without_options = 5
                selopt_without_signs   = 6
                invalid_sign           = 7
                empty_option_list      = 9
                invalid_kind           = 10
                repeated_kind_a        = 11
                others                 = 12.
    endform.
    Regards,
    Rich Heilman

  • Date Processing for Select-Option

    Dear forumers,
    I have a select-option element that takes in a range of PO Date.
    The SELECT statement is as follows:-
    select ebeln
           bedat
           ekorg
           ekgrp
           bukrs
    from ekko
    into corresponding fields of table gt_ekko
    where bedat in s_p_date and   " s_p_date is a select-option for bedat
          ekorg in s_p_org and
          ekgrp in s_p_grp.
    If valid low and high dates are inputted here, then there will be data correctly retrieved into the internal table gt_ekko.
    However, if the low and high dates are equal, then there will be no data retrieved into the internal table gt_ekko at all.
    How can I correct this? Please help. Thanks.
    Additionally, is there an easier way to display this PO date (results) in an ALV list as the dd.mm.yyyy format instead of the yyyymmdd format?

    Janagar,
    I need to have my select-option, s_p_date with an interval (it's part of my requirements).
    types:
    begin of gs_so_input,
      bedat type ekko-bedat,      " PO Document Date
      eindt type eket-eindt,      " Item Delivery Date
      lifnr type lfa1-lifnr,      " Vendor Number
      matnr type ekbe-matnr,      " Material Number
      ekorg type ekko-ekorg,      " Purchasing Organisation
      ekgrp type ekko-ekgrp,      " Purchasing Group
    end of gs_so_input.
    data:
    gs_input type gs_so_input.
    select-options:
    s_p_date for gs_input-bedat obligatory,
    s_d_date for gs_input-eindt,
    s_v_num for gs_input-lifnr,
    s_m_num for gs_input-matnr,
    s_p_org for gs_input-ekorg,
    s_p_grp for gs_input-ekgrp.

  • Validation of Select Options for a field

    Hi All,
    I need to write a validation logic for a select option for VTWEG (Distribution Channel).
    select-options:  s_vtweg for komg-vtweg.
    I need to check whether the user has entered the correct value based on the search help. The check table of this particular field is TVTW. 
    Following is the code i wrote under the AT SELECTION-SCREEN block:
    IF NOT S_VTWEG-LOW IS INITIAL.
    SELECT SINGLE VTWEG INTO KOMG-VTWEG FROM TVTW
                                     WHERE VTWEG IN S_VTWEG.
    IF SY-SUBRC NE 0.
    CONCATENATE ' Please enter the correct
                                    Distribution Channel '
    Z_MSG INTO Z_MSG.
    SET CURSOR FIELD 'S_VTWEG-LOW'.
    MESSAGE E000 WITH Z_MSG.
    ENDIF.
    ENDIF.
    It works fine when the user enters a wrong value in the S_VTWEG-LOW field, where as if i gives more than one wrong value in the range or giving individual values its not working. Let me know how to do the validation check for multiple values entered individually or in ranges.
    Could you please suggest how to resolve this problem.
    Thank You,
    Suresh

    You could do something like this.....here looping at the select-option table and check the values for low and high.
    report zrich_0003.
    tables: komg.
    data: z_msg(100) type c.
    select-options: s_vtweg for komg-vtweg.
    at selection-screen.
      loop at s_vtweg.
        if not s_vtweg-low is initial.
          select single vtweg into komg-vtweg from tvtw
                 where vtweg = s_vtweg-low.
          if sy-subrc ne 0.
            concatenate ' Please enter the correct
            distribution channel '
                      z_msg into z_msg.
            set cursor field 'S_VTWEG-LOW'.
            message e001(00) with z_msg.
          endif.
        endif.
        if not s_vtweg-high is initial.
          select single vtweg into komg-vtweg from tvtw
                 where vtweg = s_vtweg-high.
          if sy-subrc ne 0.
            concatenate ' Please enter the correct
            distribution channel '
                      z_msg into z_msg.
            set cursor field 'S_VTWEG-HIGH'.
            message e001(00) with z_msg.
          endif.
        endif.
      endloop.
    Regards,
    Rich Heilman

  • Passing SELECT-OPTIONS and Internal Tables to SUBROUTINES

    Hi Guys
    In the code below my colleague has created her own table types in order to pass a select option and internal tables to her subroutine. Is there an easier way of making them known to the subroutine.
    data : v_vbeln type vbeln_vf,
          it_bdoc type table of vbrp,
          it_t006 type table of t006a,
          wa_bdoc type vbrp,
          wa_t006 type t006a,
          it_bdoc2 type table of zsswathi_st_vbeln,
          wa_bdoc2 type zsswathi_st_vbeln
    select-options s_vbeln for v_vbeln matchcode object zswathi_vbeln obligatory.
    start-of-selection.
    perform bdoc using s_vbeln[]
                 changing it_bdoc
                          it_bdoc2
                          it_t006.
      loop at it_bdoc2 into wa_bdoc2.
    form bdoc using f_s_vbeln type ZSWATHI_ST_SELECT_OPTION_TA_TY       " all these are table types. for select options, a structure is created and then a table type for it is created.
            changing f_it_bdoc type zswathi_vbrp_ty_ta
                     f_it_bdoc2 type zswathi_vbeln_ty_ta
                      f_it_t006 type ZSWATHI_T006_TA_TY.
    select * from vbrp into table f_it_bdoc where vbeln in f_s_vbeln.
          if f_it_bdoc is not initial.
          select  vbeln sum( netwr ) prsdt from vbrp into table f_it_bdoc2 where vbeln in f_s_vbeln group by vbeln prsdt.
          sort f_it_bdoc2 by vbeln.
          "select * from t006a into table it_t006 for all entries in it_bdoc where msehi = it_bdoc-vrkme.
          select * from t006a into table f_it_t006 for all entries in f_it_bdoc where msehi = f_it_bdoc-vrkme.
       endif.
        endform.

    Hi Brett,
    1. you can use a select-options-range in a FORM subroutine also without passing it as a parameter because parameters and select-option range tables are global fields in their program.
    2. If you need a parameter, declare it as type table or type standard table or type any table. You do not need any special table type.
    Regards
    Clemens

  • Reg : Multiple Select Option with validation.

    Hi Abap Guru's,
            In my report iam giving the Input using the select option : Movement type in which i need to take only few mov.types like 101,105,321,344 in my report .Pls help me how to do ASAP..?

    Hi ,
    refer the below code.
    First it defaults the required values to selection screen ( at initialization event ).
    and then if user enters any other value then this value will be ignored.
    *& Report  ZRTESTTEST
    REPORT  ZRTESTTEST.
    data: mtype(3) type c.
    select-options: s_mtype for mtype.
    Types: begin of ty_range,
                 sign type bapisign,
                Option type bapioption,
                low(3) type c,
                high(3) type c,
         End of ty_range.
    Data: i_range type standard table of ty_range,
               wa_range type ty_range.
    initialization. " initialization.
    s_mtype-sign ='I'.
    s_mtype-option = 'EQ'.
    s_mtype-low    = '101'.
    append s_mtype.
    clear s_mtype.
    s_mtype-sign ='I'.
    s_mtype-option = 'EQ'.
    s_mtype-low    = '105'.
    append s_mtype.
    clear s_mtype.
    s_mtype-sign ='I'.
    s_mtype-option = 'EQ'.
    s_mtype-low    = '321'.
    append s_mtype.
    clear s_mtype.
    s_mtype-sign ='I'.
    s_mtype-option = 'EQ'.
    s_mtype-low    = '344'.
    append s_mtype.
    Clear wa_range.
    Wa_range-sign = 'I'.
    wa_range-option = 'EQ'.
    wa_range-low = '101'.
    Append wa_range to i_range.
    start-of-selection.
    Clear wa_range.
    Wa_range-sign = 'I'.
    Wa_range-option = 'EQ'.
    Wa_range-low = '105'.
    Append wa_range to i_range.
    Clear wa_range.
    Wa_range-sign = 'I'.
    Wa_range-option = 'EQ'.
    Wa_range-low = '321'.
    Append wa_range to i_range.
    Clear wa_range.
    Wa_range-sign = 'I'.
    Wa_range-option = 'EQ'.
    Wa_range-low = '344'.
    Append wa_range to i_range.
    delete s_mtype[] where low not in i_range[].
    If  s_mtype[] is initial.
    break-point.
    *“ raise the error here.
    Endif.
    Hope this helps you.
    Kind Regards,
    Ravi Sankar.Z

  • Alphanumeric values in Select-Options

    Hi ABAP gurus,
    There is a select-options for a report like
    data : opt1(4) type c.
    select-options : g_count for opt1.
    g_count would take alphanumeric values like for example
    A123 to AB46  . Now it is required to take all the values range
    from A123 to AB46 in an internal table .
    How do i solvthis .
    thanks
    ABAP Developer1

    hi  ,
    it is not possible for select-option to get values between  'A123'  AND 'AB1234' ETC ...
    you have to pass those values with  static values  while passing  in selection screen .
    OR  you can maintain one table with this values and after selecting those  values  you can pass through ranges  .
    regards
    Deepak.

  • How to Pass Select-options Single values as Parameter value to Method ?

    Hi Friends,
    I need to pass select-options values(single values) for s_arbpl to the method "process_percent_planned". Now all single values are in internal table s_arbpl-low field. I need to pass this internal table(s_arbpl-low) values to the method where i will run query based on these single values.In my below code i am passing value through variable w_arbpl. I have defined this parameter in the method.But here only one value is passed to method. I want multiple single values (in s_arbpl-low) should be passed. Please let me know how to correct code.
    Tables: crhd.
    Data: ktext type auftext,
    w_arbpl type arbpl.
    select-options: s_arbpl for crhd-arbpl.
    ktext = 'Test'
    create object obj_plan.
    call method obj_plan->process_percent_planned
    exporting
    ktext = ktext
    w_arbpl = s_arbpl-low.
    Thanks

    hi ,
    when you want to pass  S_ARBPL AS PARAMETER IN SELEC OPTION
    ARBPL SUCH AS  
       WIN002
      WIN003
      WIN004
      WIN005
      WIN006
      WIN007
    IN MULTIPLE SELECTION  S_ARBPL
    THEN
    USE  
    Tables: crhd.
    Data: ktext type auftext,
    w_arbpl type arbpl.
    select-options: s_arbpl for crhd-arbpl.
    ktext = 'Test'
    LOOP AT S_ARBPL .
    create object obj_plan.
    call method obj_plan->process_percent_planned
    exporting
    ktext = ktext
    w_arbpl = s_arbpl-low.
    ENDLOOP.
    REGARDS
    dEEPAK .
       THEN SELECT THAT
    call method obj_plan->process_percent_planned
    exporting
    ktext = ktext
    w_arbpl = s_arbpl-low.

  • Select options : period restriction

    Hi,
    I have one select option Inventory period(S_INVPRD) in my selection screen.
    I want to restrict the date range to one year period. i.e the user should not be allowed to enter the date range which is more than one year.
    Could you please help on this.
    Regards,
    Sankar

    Hi,
    Please you the code below :
    data : days type i,
           year type i.
    select-OPTIONS : so_budat for bsis-budat.
    at SELECTION-SCREEN.
    CALL FUNCTION 'HR_SGPBS_YRS_MTHS_DAYS'
       EXPORTING
         beg_da              = so_budat-low
         end_da              = so_budat-high
      IMPORTING
        NO_DAY              = days
    *    NO_MONTH            = month
        NO_YEAR             = year
    *    NO_CAL_DAY          =
    *  EXCEPTIONS
    *    DATEINT_ERROR       = 1
    *    OTHERS              = 2
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    IF YEAR > 1.
      MESSAGE 'More than One Year' type 'E'.
    endif.
    if days > 0.
      message 'More than one year' type 'E'.
    endif.
    Thanks,
    Sriram Ponna.

  • Populating select-options dynamically

    Hey Everybody,
    I've done some reports with Select-options, but all the fields directly related to some field in a transparent table. As many of you might have experienced, things changed with the latest report that I have to develop.
    I have to derive the drop-down for the select-options dynamically.
    Could anybody provide me with the details, code snippets, hints on how to do this.
    Thank You.
    Sumit.

    Here is an example program where you are generically defining the select-option and building its F4 help at runtime.
    report zrich_0001 .
    data: begin of ihelp occurs 0,
          field type char10,
          ftext type char50,
          end of ihelp.
    data: a_field(20) type c.
    select-options s_field for a_field.
    initialization.
      ihelp-field = 'A'.
      ihelp-ftext = 'Description A'.
      append ihelp.
      ihelp-field = 'B'.
      ihelp-ftext = 'Description B'.
      append ihelp.
      ihelp-field = 'C'.
      ihelp-ftext = 'Description C'.
      append ihelp.
    at selection-screen on value-request for s_field-low.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'FIELD'
                dynprofield = 'S_FIELD'
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = ihelp.
    start-of-selection.
    REgards,
    Rich Heilman

  • Grey out select-option

    Hello ppl,
    I have a requirement wherein, in the selection screen, I need a select-option for which the user should not be able to type the value.
    The user can only select a value from F4 help.
    Is this possible to achieve?
    Please help.
    Thanks,
    David.

    Hi
    Yes you can do this.I am sending the code.go through this.
    tableS: kna1.
    datA: BEGIN OF ITAB OCCURS 1,
        KUNNR TYPE KNA1-KUNNR,
        END OF ITAB.
    data: kunnr type kunnr.
    select-options: cust for kunnr .
    at selection-screen on value-request for cust-low.
    select kunnr from kna1 into table itab .
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
      EXPORTING
      DDIC_STRUCTURE      = ''
        RETFIELD               = 'KUNNR'
      PVALKEY                = ' '
      DYNPPROG               = sy-repid
      DYNPNR                 = sy-dynnr
      DYNPROFIELD            = ''
      STEPL                  = 0
      WINDOW_TITLE           =
       VALUE                  = 'CUST-LOW'
       VALUE_ORG              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = 'X'
       CALLBACK_PROGRAM       = SY-CPROG
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
      TABLES
        VALUE_TAB              = ITAB[]
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 2
      OTHERS                 = 3
    IF SY-SUBRC eq 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

Maybe you are looking for