Dynamic Selection in SAP ABAP

Hi Guys,
I am working on 1 program in which I need the information of dynamic selection value.So can anybody tell me the any FM or Table name in which dynamic selection value saved.
like FM "RS_VARIANT_CONTENTS" stores the value of normal selection data but not the dynamic selection data (Free Selection). but in my case I need the FM which stores the value of dynamic selection also.
thanks for your help.
Lalit Soni

Hi Suhas,
Actually in my report user will enter program name & variant name, based on this I need to find out the value for that variant & print that report. so for normal selection I can get the detail using FM: "RS_VARIANT_CONTENTS" but for dynamic selection (Free selection), I am not getting the detail using this FM.
So I need any FM or Table Name which gives me the value for dynamic selection based on the report & variant.
Thanks & Regards,
Lalit Soni

Similar Messages

  • Dynamic selection screen with ABAP web dynpro

    Hi all.
        How can I create dynamic selection screen with ABAP web dynpro? Thank you in advance.

    hi yinglak.....
             this is possible........ all the ui elelments has the property called visible and enabled.... just assign an attribute of type wdui_visibility to the visible property....
    in the wddomodify method..... check for the radio button value and pass the value true or false to this attribute and it gets changed automatically.
    ---regards,
       alex b justin

  • Issue with dynamic selection in SAP Query

    Hi,
    I have a doubt in SAP QUERY
    i used that for creating Customer Master Report
    2 fields i have added in dynamic selection from knvv table. if i try to excute based on the value in that 2 fields
    i'm not getting  output records based on that
    pls help me with the logic from where i can get the variables for that dynamic fileds.
    thanks in advancde.

    Hi Suhas,
    Actually in my report user will enter program name & variant name, based on this I need to find out the value for that variant & print that report. so for normal selection I can get the detail using FM: "RS_VARIANT_CONTENTS" but for dynamic selection (Free selection), I am not getting the detail using this FM.
    So I need any FM or Table Name which gives me the value for dynamic selection based on the report & variant.
    Thanks & Regards,
    Lalit Soni

  • Error: dynamic SELECT command in abap Opensql

    Hi!
    When I try to run this program, the session terminates, the work process restarts:
    DATA:
      string1 TYPE STRING,
      string2 TYPE STRING,
      string3 TYPE STRING,
      lt_trkorr TYPE TABLE OF E070-TRKORR.
    string1 = 'TRKORR'.
    string2 = 'E070'.
    string3 = 'TRKORR IN ( SELECT TRKORR FROM e071 )'.
    SELECT (string1)
    INTO TABLE lt_trkorr
    FROM (string2)
    WHERE (string3).
    However, if I use the static command, it runs fine:
    select trkorr
    from e070
    into table lt_trkorr
    where TRKORR IN ( SELECT TRKORR FROM e071 ).
    I'm using WAS 6.10.
    Thanks and Best Regards,
    Tamas

    Hi, I'm having the same problem with a dynamic subquery. My query is this:
    select PEBELN PEBELP into table i_resultado
    from EKPO as P
    where (v_wher).
    v_wher has the value: EXISTS ( SELECT * FROM EKPO AS P2 WHERE PEBELN = P2EBELN AND P2~EBELP = 30 )
    The same query works fine if it is static.
    The dump I receive says the following:
    "An exception occurred. This exception will be dealt with in more detail       
    below. The exception, assigned to the class 'CX_SY_DYNAMIC_OSQL_SEMANTICS', was
    not caught, which                                                            
    led to a runtime error. The reason for this exception is:                    
    <b>The SELECT clause was specified in an internal table at runtime.              
    It contains the field name "EXISTS", but this does not occur in any of        
    the database tables listed in the FROM clause</b>."
    It seems not to recognize the subquery.
    Any idea?

  • Dynamic selections in ABAP HR

    Hi,
    What is meant by dynamic selections in ABAP HR report using a LDB?

    hi,
    use this.
    SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE|TABLE <node>.
    Also check this.
    [https://forums.sdn.sap.com/click.jspa?searchID=20295165&messageID=5678733]

  • Using dynamic select (xsl:value-of) in XSLT (ABAP)

    Hi folks,
    I did a quite extensive search in the archive but couldn't find an answer on my question. If it has been answered before please just provide me with the link :).
    I need to make a dynamic select in a xsl-value-of in an ABAP XSLT. I do not know the structure of the input message (can be of any kind) and I want to perform a xpath query on the input message. The result of the transformation should be the value (if any) of the xpath query. As the query is not known in before I want to pass the query at runtime using a parameter in XSLT. If I pass my query as a string parameter the value-of just returns the string and not the value of the xpath query. Creating the parameter as a node-set doesn't work either for me.
    So is there any way to use a parameter as input to an xpath query?
    Or is my last resort using a JAVA XSLT processor. This is running inside a ABAP proxy, so a call to JAVA would be a greater hassle.
    Kind regards
    Joscha

    What DB version?
    The following SQL
    select xmltransform(XMLTYPE('<song>
      <title>Isn''t she lovely?</title>
    </song>'), XMLTYPE('<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
      <xsl:output method="xml" encoding="UTF-8"></xsl:output>
      <xsl:template match="//song">
        <out>
          <xsl:value-of select="title" disable-output-escaping="yes"></xsl:value-of>
        </out>
      </xsl:template>
    </xsl:stylesheet>'))
      from dual;produces this on 11.1.0.6
    <?xml version="1.0" encoding="UTF-8"?>
    <out>Isn't she lovely?</out>and this on 10.2.0.4
    <out>Isn&apos;t she lovely?</out>I found a couple of previous discussions regarding this at
    {thread:id=679397}
    {thread:id=879301}
    The last discussion provides a workaround if you need it.

  • Dynamic selection screen for custom ABAP report

    Hi,
    His it possible to create a custom ABAP report with a dynamic selection screen. The report doesnot use a logical database. If possible sample code will be appreciated.
    Regards,
    Chandra Kumar

    hi
    use this link
    Dynamic selection screen
    Cheers
    Snehi

  • Dynamic Selections in Standard SAP program

    There is an Icon which enables dynamic selection in the Standard SAP Transaction 'FBL3N'. How can I add or fields from this dynamic selection?
    Any help would be appeciated.
    Thanks,
    ALAM.

    Hi ,
    it all need upon requrement..
    if any extra paramaters need to add to input or output ---check for Badi or User-exits and add functionality.
    if no enhacements found try to create a copy of standard program and create z Program and add own code..
    Always better to create custom program for rather manually doing code changes to standard program..
    Prabhudas

  • How to Debug  ABAP/4 routine in Dynamic Selection?

    Problem:
            I am not able to debug the ABAP/4 routine in data dynamic selection.
    Analysis:
            I typed /H on  transaction command prompt. I entered to ABAP/4 debug mode.
    Then I am not  able to debug my routine. Give me solution for this problem?

    Hi Surya,
    If you want to debug the routines in transformation
    GOTO Transformation you need to debug -- seelct the tranformation id
    To debug these routines we need to go to the generated program of the Transformations in two ways:
    We can get the Program ID for the Transformation ID (6HkDSDsHJNQO0VTU3HK01MH7) from table RSTRAN.
    You can get the program id from the table... append GP to the program id you will get the report program for transformations.
    Now goto Tcode : se38 enter the program name and set the break points.
    On going with display we will be to the ABAP editor of the Report Program.
    The other way of getting to this program is from the Transformations itself.
    Go to Extras -->Display Generated Program. It directly takes us to the ABAP editor of the Report Program.
    Set a break point at the code you want to debug, i.e. at your selections at start routine and at your update
    routine.
    Now after setting the Break points run the DTP in the debug mode.(Select the Processing Mode Serially in the Dialog process (for Debugging)).
    If you are on BW 3.x
    /people/pavan.bayyapu/blog/2006/09/06/debugging-data-upload-in-bw
    Regards
    KP
    Edited by: prashanthk on Jul 25, 2010 10:05 AM

  • ABAP Help: Dynamic Selection Screen

    Hi,
    I have a requirement to be able to pick the list of fields in a selection screen. (List processing)
    Similar to SE16 choosing "fields for selection".
    I've debugged SE16 and realized it deletes the report and regenerates a new report with the updated selection screen.
    I could not do the same as it will also delete all the variants users have created in the report.
    Has anyone done something similar before?
    What is the best approach for this scenario?
    Regards,
    Michael Pang

    Hi Michael
    Hoping you have solved your problems with ALVs, I think it may be helpful to inspect FMs <b>"FREE_SELECTIONS_INIT"</b> and <b>"FREE_SELECTIONS_DIALOG"</b> for this issue. They have some <i>Function Module Documentation</i>.
    If you are dealing with logical databases, then only in the INCLUDE program DB<i>ldb</i>SEL of logical database <i>ldb</i>, you can use some selection-screen definition variants as:
    1.SELECTION-SCREEN BEGIN OF VERSION vers TEXT-xxx.
    2.SELECTION-SCREEN END OF VERSION vers.
    3.SELECTION-SCREEN EXCLUDE ... .
    4.SELECTION-SCREEN DYNAMIC SELECTIONS FOR TABLE dbtab.
    5.SELECTION-SCREEN FIELD SELECTION FOR TABLE dbtab.
    6.SELECTION-SCREEN DYNAMIC SELECTIONS FOR NODE node.
    7.SELECTION-SCREEN FIELD SELECTION FOR NODE node.
    You can get more info from SAPHelp for these...
    *--Serdar

  • Is it possible to display only dynamically selected fields in the out put?

    Is it possible to display only dynamically selected fields in the out put? i need to display set of columns in the selection criteria, but in the output i have display only input given fields. because i need to convert it into .csv file. So i have to display selected fields from internal table. In oracle they are using"execute immediate". is there any equivalent in SAP?
    thanks in advance.

    Hi Remya,
    Are you talking about dynamic programming in ABAP ?
    If yes, there are concepts like RTTS which facilitates it.
    Yes, the select query also supports dynamic selection of fields. ( Please care about ( ) in dynamic sql ).
    Do more research on Field Symbols and statements like ASSIGN COMPONENT OF.
    Regards,
    Philip.

  • Adding of new field in dynamic selection for financial statements

    Hi ALL,
    I want to add Trading partner in dynamic selection fields of financial statement report at document level not yet GL master level: S_ALR_87012284 - Balance Sheet / Profit and Loss Statement .
    Can any one tell how to proceed?
    I have referred notes: Note 188663 - Enhancing selection views and dynamic selection.
    But exactly I am unable to find which logical database has to be given?
    regs,
    ramesh b

    Hi,
    If you want to add extra field in your report you can do the setting in Layout selection. If it is not available kinldy check any SAP notes available or not. Otherwise do Zreport with your ABAPer.
    Regards,
    Mohan.

  • How to get dynamic select options from logical database?

    Hi,
    in one of my extended reports (means - overwritten standard SAP functionality in Z-namespace) I'm using LDB 'DDF'. I've been requested to validate some of the dynamic selection options (for example - field HKONT at Document level) and to split the logic depending on the particular value(s).
    Tracking what is happened in the LDB program I found that this select option is added as dynamic WHERE clause to the SELECT statement - in a way:
    WHERE bukrs = p_burks AND ... AND
    (where_tab)
    Is there a way to get values of these LDB dynamic select options into my report and if yes - how?
    Thanks in advance.
    Regards,
    Ivaylo Mutafchiev
    Senior SAP Abap Consultant

    Hi,
    Try to use the following fm in your report and check
      call function 'RS_REFRESH_FROM_DYNAMICAL_SEL'
        exporting
          curr_report        = sy-cprog
          mode_write_or_move = 'M'
        importing
          p_trange           = gt_dyn_trange
        exceptions
          not_found          = 1
          wrong_type         = 2
          others             = 3.
    PS please make a whereused of this fm , how it has been used in LDB's to get dynmic selection values

  • Passing dynamic selection parameters for fagll03 transaction

    hi experts,
    im trying to call  a transaction ( fagll03) in my report with the input parameters via selection screen (using SUBMIT ) , but iwant to pass the profit center  values to the transaction fagll03 , but the profit center is in dynamic selection , i just tried with some code , but it is not working, can any one just tell me briefly how to pass the profit center variable to the dynamic selection screen in fagll03. if u have any code please update me , it will be more useful.
    Regards,
    Venkat.

    Look at FM FREE_SELECTIONS_RANGE_2_EX which will build the correct parameter to use in the WITH FREE SELECTION option.
    First read Abap documentation at SAP online help [WITH FREE SELECTIONS texpr |http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm#!ABAP_ADDITION_5@5@] in [SUBMIT - selscreen_parameters|http://help.sap.com/abapdocu/en/ABAPSUBMIT_SELSCREEN_PARAMETERS.htm] of [SUBMIT|http://help.sap.com/abapdocu/en/ABAPSUBMIT.htm] (or press F1 on SUBMIT)
    Also look if those notes are relevant for your system
    - [Note 965988 - FAGLL03: 'Dynamic selections' are ignored|https://service.sap.com/sap/support/notes/965988]
    - [Note 1105201 - FAGLL03: 'Custom selections' are ignored|https://service.sap.com/sap/support/notes/1105201]
    Regards,
    Raymond

  • Adding material field in dynamic selection of FBL3N

    Hi,
    We need to add material field in the dynamic selection of FBL3N report.
    I have gone through SCN forums but not found any related info and searched in service marketplace for related SAP notes and found 310886 as per this note.
    G/L accounts: logical database: SDF
    Permitted tables:
    SKA1: all fields
    SKB1: all fields
    BSIS: all fields
    But material field is not available in BSIS table, is there any way to add material in the dynamic selection of FBL3N report.
    Regards,
    RK.

    Hi bhi,
    Please check BTE 1650. You need to enhance the table. Please give the functional module to your ABAPer. He will do the rest.
    Regards,
    Kishore

Maybe you are looking for

  • Messages going in "To Be Delivered" Mode in RWB

    Hello Experts, Your urgent help needed... Right now i m suffering from a big problem.... I m sending messages from SAP to Oracle via XI. for all the messages I am getting acknowledgement back... but if sometimes i will get acknowledgement as "Acknowl

  • #ref error when opening two linked worksheets at the same time

    Dear all, I've two workbooks (A and B) wich some cells are linked between them. The problem is that if I open A workbook, links works great taking the values from B, but if I open B (i mean, both workbooks opened at the same time), at the A workbook

  • Unlock by att of a replacement iPhone 4

    I bought an iPhone 4 off ebay (US - locked by AT&T) in June 2010. It broke in August 2010 and the Apple store gave me a replacement iPhone 4 unit from behind the counter. In other words the unit could not have anything tying it to any AT&T contract.

  • Execution time of reports takes time

    Problem is:- 1. Report executes within five minutes. 2. now it takes more than ten minutes. Please tell me how can i get back to five minutes

  • Number of email to transfer

    Hi, In BB 9900 its possible to choose how much days of email we can see. But in my new BB Z10 it's not possible. My inbox have a lot of emails (10.000). The server transfers all? Or just transfer part of them? Thks, Artur