Please solve the question on select options

i have added 5 select options Each of these new selection options (when selected) will then display on the report .
•     If A the 1st select option is selected then the new column in the report will display to the right of the existing select-option column.
Message was edited by:
        nchandra sekhar

Hi,
U mean what are the seelct-options that are selected should be display on the report output??if that is the case then refer the beloe code.
Internal table for Selection screen parameters
       i_seltable   TYPE STANDARD TABLE OF rsparams.
*&      Form  get_selection_screen
  Subroutine to get the user selection on selection screen
FORM get_selection_screen .
  CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
    EXPORTING
      curr_report     = sy-repid
    TABLES
      selection_table = i_seltable
    EXCEPTIONS
      not_found       = 01
      no_report       = 02.
  IF sy-subrc NE 0.
    REFRESH i_seltable.
  ENDIF.
ENDFORM.                    " get_selection_screen
*&      Form  display_selection_criteria
Subroutine to display the selction criteria in the output
FORM display_selection_criteria .
  CALL FUNCTION 'RS_LIST_SELECTION_TABLE'
    EXPORTING
      report        = sy-repid
      seltext       = c_x
      newpage       = space
    TABLES
      sel_tab       = i_seltable
    EXCEPTIONS
      sel_tab_empty = 1
      OTHERS        = 2.
  IF sy-subrc <> 0.
    REFRESH i_seltable.
  ENDIF.
ENDFORM.                    " display_selection_criteria
Reward if helpful.
Regards,
Nagaraj

Similar Messages

  • I have a problem in the answers to the questions on my account I can not buy anything, please solve the problem, I have a problem in the answers to the questions on my account I can not buy anything, please solve the problem

    I have a problem in the answers to the questions on my account I can not buy anything, please solve the problem

    You are not addressing Apple here. And your post is a bit confusing. See Klaus's answer in this thread:
    https://discussions.apple.com/thread/5228474?tstart=0

  • How to get the values of Select-options from the screen.

    The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.

    Hi,
    Refer this following code..this will solve your problem...
    "Following code reads value entered in s_po select options and willprovide search
    "help for s_item depending upon s_po value.
    REPORT TEST.
    TABLES : ekpo.
    DATA: BEGIN OF itab OCCURS 0,
    ebelp LIKE ekpo-ebelp,
    END OF itab.
    SELECT-OPTIONS   s_po FOR ekpo-ebeln.
    SELECT-OPTIONS s_item FOR ekpo-ebelp.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
      DATA:
      dyn_field TYPE dynpread,
      temp_fields TYPE TABLE OF dynpread,
      zlv_dynpro TYPE syst-repid.
      zlv_dynpro = syst-repid.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = zlv_dynpro
          dynumb     = syst-dynnr
          request    = 'A'
        TABLES
          dynpfields = temp_fields
        EXCEPTIONS
          OTHERS     = 0.
      LOOP AT temp_fields INTO dyn_field.
        IF dyn_field-fieldname EQ 'S_PO-LOW'.
            SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
            WHERE ebeln EQ dyn_field-fieldvalue.
            EXIT.
        ENDIF.
      ENDLOOP.

  • Change the Parameter as Select option

    Hi Guy's,
    Please help me friends, present requirement is like this : change the Parameter into Select-Option.
    Here they are using one function module, this function module import parameter taking single value, how  loop this function module with in this select-option.
    PARAMETERS p_fictr LIKE fmfctr-fictr.
    START-OF-SELECTION.
    Move the select options to internal tables (import parameter for fn)
      move_sel_option  : sel_buk   s_bukrs ,
                         sel_pern  s_pernr ,
                         sreinr    s_reinr ,
                         spdatv    s_pdatv ,
                         sberei    s_berei .
    Call the function to get all trips corresponding to sel criteria
      CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
        EXPORTING
          p_fictr = p_fictr
          p_sub   = p_sub
        TABLES
          s_bukrs = s_bukrs
          s_pernr = s_pernr
          s_reinr = s_reinr
          s_pdatv = s_pdatv
          s_berei = s_berei
          i_trip  = i_trip
        EXCEPTIONS
          OTHERS  = 1.
    Thanks and Regards,
    Sai

    hi,
      You can first the field values using the select statement and then loop that internal table and pass the values to the function module.
    try this
    *PARAMETERS p_fictr LIKE fmfctr-fictr.
    select-options: s_fictr for fmfctr-fictr.
    START-OF-SELECTION.
    Move the select options to internal tables (import parameter for fn)
    move_sel_option : sel_buk s_bukrs ,
    sel_pern s_pernr ,
    sreinr s_reinr ,
    spdatv s_pdatv ,
    sberei s_berei .
    select fictr
       from fmfctr
       into tabel itab
    where fictr in s_fictr.
    loop at itab.
    Call the function to get all trips corresponding to sel criteria
    CALL FUNCTION 'ZHR_GET_FUND_TRIPS'
    EXPORTING
    *p_fictr = p_fictr
    p_fictr = itab-fictr
    p_sub = p_sub
    TABLES
    s_bukrs = s_bukrs
    s_pernr = s_pernr
    s_reinr = s_reinr
    s_pdatv = s_pdatv
    s_berei = s_berei
    i_trip = i_trip
    EXCEPTIONS
    OTHERS = 1.
    endloop.
    regards,
    Veeresh

  • Question regarding SELECT-OPTIONS

    All,
    When I create a select-option in my program like:
    SELECT-OPTIONS: s_role FOR AGR_DEFINE-AGR_NAME.
    It does not work. To make it work I need to define AGR_DEFINE with the tables statement.
    My question is why? In my opinion I just make a reference to a dictionary object. The tables statement is more or less used to create a headerline for a used database table. I don't see any relation in that. Still it is needed to make it work. Any ideas?

    This has been the syntax for select-options since the begining. You need the definition of 'FOR' defined before you use it in the select-option.
    I guess the interpreter/compiler was designed to understand and inherit the properties of the referred field if you use 'LIKE' or 'TYPE' but not when you are using 'FOR'. Since the LOW and HIGH fields of the select-option inherits the properties of the 'FOR' field, the properties of it are needed to be defined before. Why, I still don't know, but that is the design.
    For some strange reason, SYST(or SY) fields reference will work even if you don't define them before. Is there a clue here? System structure/fields seem to be available for referencing but not static database table fields.
    Regards,
    Srinivas

  • My AppStore can not download app. He said need to fill in credit card. But I got no credit card. And how I fill in? Please solve the problem. Thank you.

    My AppStore can not download app. He said need to fill in credit card. But I got no credit card. And how I fill in? Please solve the problem. Thank you.
    <Email Edited by Host>

    Hi Steve,
    If you don't have a credit card for the billing information you may be able to use a gift card or another form of payment.
    Please check out this article for details.
    Why can’t I select None when I edit my Apple ID payment information? - Apple Support
    Best,
    Nubz

  • How to get all values in the range of select option into internal table?

    Hi,
    I need to capture all entries coming in the range of select option into one internal table.
    How to do get that?
    For E.g
    select-options: matnr for mara-matnr.(select option)
    IF I enter G0100013507892 as lower value of matnr and G0100014873947 as higher value
    and if there are 10,000 materials in the above range, then I want to capture all theses 10000 materails in one internal table. How to do that?
    Regards,
    Mrunal

    Hello Mrunal Mhaskar  ,
    What i understand you can do one thing  go in debug mode
    Try this code : -
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-low IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-low.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    LOOP AT s_matnr_ex.
      IF s_matnr_ex-high IS NOT INITIAL.
        i_matnr-matnr = s_matnr_ex-high.
        i_matnr-option = s_matnr_ex-option.
        APPEND i_matnr.
        CLEAR : i_matnr.
      ENDIF.
    ENDLOOP.
    In the i_matnr table high and low values are there.
    Regards,
    Vandana.

  • Hi Question On Select-options

    Hi Experts,
                          I am having  a following code where i kept  no intervals but there is
    extension part inside it u have ranges is it possible to deactivate that ranges option  in the extension part so that u can have only single values .
                            select-option:s_bukrs for t001-bukrs no intervals.
    Thanks&Regards
    Bhaskar Rao.M

    Hi Bhaskar,
    Use the following definition:
    SELECT-OPTIONS s_bukrs for t001-bukrs NO INTERVALS NO-EXTENSION.
    Alternately u can define S_BUKRS as a parameter since the above clause will permit only 1 value.
    Regards
    Chetan
    PS:Reward points if this helps.

  • I bought iphone 4 in US and i and other person not able to listen properly because on the time of conversation voice cracking and difficult to understand each others.so i would like to request you that please solve the above problem.i love my iphone.

    Sir,
    I bought iphone 4 in US.last 6 month me and other person not able to listen properly the voice because the voice is cracking.i have called earlier about the above problem and they said to upload the new verson 6.1.3 and it will be done but after loading this version still i am facing the same problem.so ,i would like to request you that please solve the above problem as soon as you can.I will be thankful to you.i love my apple Iphone.
    waiting for your earliest reply.
    thanks
    Rajeev Gupta

    Hello sir
    As you know about my iPhone 4 which has a problem of voice cracking so I would like to replace to other phone like IPhone 5s.I will pay the replacement charges immediately.i am reaching miami on 19th of janvary 2014 so I would like to request you please arrange my appointment on the Apple store,dadeland mall ,miami at 15.00pm as I will reach miami at 13.00pm and my flight to India at 19.00pm.
    Last time you told to replace at miami on 26th of September but without oppoimtment they have not entertained me.so I would like to request you that please arrange my appointment this time
    I will be thankful to you
    Rajeev Gupta

  • Filling the Bucket of Select-option as DEFAULT??

    Hi Experts,
    Pls. clarify my doubt reg. Selection screen,
    When I, <i><b>F8</b></i> the my_z_report, the selection screen is coming with default values (say,  A; B; C; D) in the bucket of <i><b>multiple selection</b></i> of the <b><i>select option s_doctype</i></b>.
    I know, its possible, by coding in prog. it self, by filling the <i><b>SELTAB</b></i> explicitly as A; B; C; D after populating <b><i>SIGN; OPTION; LOW; HIGH</i></b> values!
    but, when I see the code of my_z_prog., I did not find any such code, all over??
    1) So, How the prevoius programmer filled it? bcoz, now I need add E;F;G etc. to the same!
    2) Wht r the other altrnatives (other than I mentioned above) to get it done?
    thanq.

    Hi,
    Check the following..
    1) Put a where-used list of the select-options variable..and check if it getting appended.
    2) If you execute the program with a transaction code..Then in the transaction code setup in SE93..You can start the report with a variant..If so..modify the report variant to add more values..
    Thanks
    Naren

  • Quick question re select-options

    Hi
    I am relatively new to ABAP but have a quick question:
    I need to create a select-options which does the following:
    1. Allows ONLY "equals" signs
    2. Disallows intervals
    3. Disallows the use of ranges in the multiple selection box.
    4. Allows multiple individual selections.
    I can achieve most using the following:
    select-options s_knvh for knvh-kunnr no intervals.
    However, this still allows ranges using the multiple selection box, and also allows the "not equal to" option.
    Adding the "no-extension" syntax simply removes my ability to use multiple individual entries.
    Any ideas?
    Thanks
    Jon

    Use this FM.
    SELECT_OPTIONS_RESTRICT

  • Question on Select-Options

    HI,
    I have one field on Selection screen It's name is ZTEXT. My requirement is it should take input upto 90 characters but the system is allowing max 45 characters only.
    I have tried like below.
    Select-options : Ztext for adr6-SMTP_ADDR.
    Here SMTP_ADDR lenght is 241 characters but eventhough it is accepting upto 45 characters input only in the selection screen.
    could you please guide me how it will accept upto 90 characters input in the selection screen.
    Thank you very much advacne.
    -Kumar

    You can not do that in a selection screen.  You will need to use a custom dynpro.  The max for even a parameter in a selection screen is 79 I believe and the max screen size is 80.
    REgards,
    Rich Heilman

  • Please Solve The SQL Query

    Please Slove the Query as below:
              T1
    |     A1     |     A2     |
    |     TRUE     |     FALSE     |
    |     FALSE     |     TRUE     |
    |     TRUE     |     TRUE     |
    |     FALSE     |     TRUE     |
    Table Name is: T1 and it is having 2 columns A1 and A2.
    Question is:
    Using a simple SQL query try to get the total number of "TRUE" in the Table T1. Don't use any PL/SQL command,
    just use simple SQL command.
    Please write the full query.
    Manojit.

    select (Nvl(a.cnt_a1,0) + Nvl(b.cnt_a2,0)
    from (select count(1) CNT_A1 from t1 where a1 = 'TRUE') A
    (select count(1) CNT_A2 from t1 where as = 'TRUE') B
    Please Slove the Query as below:
              T1
    |     A1     |     A2     |
    |     TRUE     |     FALSE     |
    |     FALSE     |     TRUE     |
    |     TRUE     |     TRUE     |
    |     FALSE     |     TRUE     |
    Table Name is: T1 and it is having 2 columns A1 and A2.
    Question is:
    Using a simple SQL query try to get the total number of "TRUE" in the Table T1. Don't use any PL/SQL command,
    just use simple SQL command.
    Please write the full query.
    Manojit.

  • Move the data in  select options to internal table

    I have  the code as in the fillowing
    SELECT-OPTION:S_MATNR FOR MARA-MATNR.
    DATA:BEGIN OF IT_MATNTR OCCURS 0,
    MATNR LIKE MARA-MATNR,
    END OF IT-MATNR.
    NOW HOW CAN I ADD THE MATNER VALUES IN THE SELECT-OPTIONS IN  INTERNAL TABLE

    Hi Vamsikrishna,
    Yes. You can move the values from S_MATNR to IT_MATNR.
    you can try either it_matnr[] = s_matnr[].
    if not then you can loop in to the select-options as follows.
    Define LS_MATNR as a structure type of s_matnr.
    Define LS_IT_MATNR as a structure type of it_matnr.
    LOOP S_MATNR INTO LS_MATNR.
      MOVE LS_MATNR to LS_IT_MATNR.
      APPEND LS_IT_MATNR to IT_MATNR.
      CLEAR: LS_MATNR, LS_IT_MATNR.
    ENDLOOP.
    <b>Reward points for helpful answers.</b>
    Best Regards,
    Ram.

  • Hai, please solve these questions

    Hai Experts,
        i have some problems please solve me
    1)   What is the equvalation group.
    2)   What i doc's
    3)   what is consolidation how it will take place.
    4)   What is meant by screen layout what it controls.
    5)   What is write up & write down.
    6)   Can we change rec account in miro.
    7)   How to pay securities Through APP.
    8)   Explain me how to pay through Electronil pata transfer.
          Please send me these answers to my mail id. my mail.id is     [email protected]   &  [email protected]

    Hello
    - Evaluation Groups: This is used in Asset accounting as an user field. The user can define upto 5 groups to classify assets. One is 8 digit and the others are 4 digits and can be alphanumeric. They have limited useage.
    - IDoc: It is a document with data header / data segments and status records
    Header
    Defines the content, structure, sender, receiver and status of the IDoc
    Data segment
    Consists of a "leader" (consecutive segment number and a description of the type of segment) and a field string 1000 characters long (containing segment data)
    Status records
    Describe processing steps of the IDoc up to the present
    - Consolidation: When the client more than one company codes, his requirement would be to consolidate all transactions of all company codes for group reporting. SAP offers consolidation module to deal with. Also, data from SAP from different company codes can be sent to an external interface, where consolidation is performed.
    - Screen Layout: Every transaction or every thing you see in SAP is based on some design and this design is controlled by a screen layout. We can manipulate the layout by modifying the rules in the screen layout. Every field in the screen can be either made suppressed or open for data entry.
    - Paying securities through APP is possible if securities are created as liabilities and its master data is a vendor or a customer. Otherwise, it is not possible
    - Electronic data transfer, for this you need to make special configuration so that a data medium file is created and sent to reciever through electronic means.
    Reg
    assign points if useful

Maybe you are looking for

  • I can not open adobe reader

    i keep getting the messages error 1606 could not access network location %APPDATA%\ and also unable to load a GUI it also wont let me delete the program or update or install a new one. Can anyone help me out????  I really need this program for school

  • Active Directory login problem

    I have my MacBook Pro bound to the domain. It has a computer account viewable in the Active Directory. However, after this I then expected to be able to enter my domain credentials at the OS LoginWindow instead of logging on using a local account but

  • Migrate from Lion mac to new maverocs mac

    Hi. I tried to migrate the entire content of my Lion macbookpro my new mavericks mbpro. Sadly the migration assistant on the mavericks mbpro says that i need to update my software on the source which is my old Lion mbpro. It is not possible to update

  • Problem with chart line

    Hello, I want to add a series to my chart of type line. My first series is select 'f?p=26010:101:'||:app_session||'::NO::P101_DATE:'|| decode(:P7_PERIOD_SW,'DD',to_char(stk.move_dt,'dd/mm/yyyy'), 'WW',to_char(stk.move_dt,'iw/yyyy'), 'MM',to_char(stk.

  • SAP Cloud For Customer : How to change the Logo or Image into the Standard Form Template

    Hi Experts, I have requirement to change the standard template format. I have copy standard template and edit using Adobe Life Cycle Designer to change the logo / image. After changed and upload modified template and change the output setting for pri