Dynamic selection field display

Hi
Can we display field values for a field from Dynamic selection ?

Hi,
Yes, you can display field values in dynamic selection field.
If I understood your question correctly, you are talking about the dynamic selection used in reports ( For eg. ME2N). The field which are appearing in dynamic selection shows the field values. ( you can press F4 and check the field values).
Rajesh.

Similar Messages

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

  • HR - dynamic selections field name and field value in the program

    HI all,
       I am using dynamic selections for a HR report.
    I have created a view with 20 fields and added it to HR report category ___00003(All fields suppressed).
    I need to check these fields in the program. But i am not able to get the field name and value in the program for dynamic selections fields.
    Please let me know how to get the field names and values in the program for dynamic selections .
    Thanks,
    Kranthi.

    You have to read the itab <i>pnpdynse</i> in your Program to obtain the Dynamic Selection values. This itab has a deep structure.. you can set a break point in one of the events before <b>get pernr</b> & in the debug mode, you will able to display the itab <i>pnpdynse</i>.. you can then identify how to get the values into your code..
    ~Suresh

  • How to hide dynamic selection fields in variants

    hi,
    When a selection variant is saved, we have the option to 'hide' a selection field. That field may contain a value, but it is not shown on the selection screen. There is, however, a button that will display these hidden field when required.
    Is it possible to do this also with dynamic selection fields ?
    The column 'Hide field' is shown in the variant atttributes screen, but it is not active.
    Please suggest
    MS

    Explore SHD0 T code

  • HR-How to use dynamic selection fields in prog ..?

    Hii
         I have written a prog to select data pertaining to details of all employees who belong to a particular country . For this i have provided a dynamic selection field for selecting country (through Selection View).But when i am getting all the records for all countries.
                    How to use the dynamic selection fields in program or they behave in the same way as the standard selection given by the LDB .As if we enter a value in the std screen then the GET event acts accordingly .
    Ajitabh Pradhan

    Hi Ajitabh,
    First off, is the Dynamic Selection working? If so, try the following code.. I am assuming, you only want to look at Permanent Address.
    tables: pernr.
    infotypes: 0001,0006.
    start-of-selection.
    get pernr.
      rp-provide-from-last p0001 space pn-begda pn-endda.
      check pnp-sw-found eq 1.
      rp-provide-from-last p0006 1 pn-begda pn-endda.
      check pnp-sw-found eq 1.
      write:/ pernr-pernr,p0001-ename,p0006-land1.
    end-of-selection.
    Regards,
    Suresh Datti

  • Addition of dynamic selection fields on FBL3N

    Hi all,
    I want to add LIFNR(vendor accnt) and NAME1(vendor name) on the 'dynamic selections' screen of transaction FBL3N.
    I need to get these fields from LFA1 but LFA1 is not present in the Logical database of this program.
    Please help me and tell me if it is possible.If yes...how??

    Use
    transaction: SE36
    from menu: Extras -> selection views
    choose: origin => SAP , Name of view => Standard
    In right table under "Tables" choose "BSEG" and find LIFNR, enter 03 in the first column. For the name , I didn't have time to check it....
    If this helped you, don't forget to tip some points

  • Dynamic Selection not displayed from tcode ZME5A but from se93 yes

    I have made a copy of standard program RM06BA00 and transaction ZME5A.
    Everything works except Dynamic selection which is not displayed.
    When I run transaction from SE93 Dynamic selections show up.
    Do you know why this happens and how to fix it?

    Hi,
    You problem probably is related with the "container" of this screen. Check if it still in the screen 1000, because this program is a report and if you change some screen parameter, the screen is recreated and elements inserted by user may be lost.
    Also, check the program names link, like:
    CALL SUBSCREEN %_SUBSCREEN_%_SUB%_CONTAINER  INCLUDING 'SAPLSSEL' '2001' .
    Best regards,
    Mengue
    Do not consider this above if the button is not displayed ****
    Edited by: Leandro Mengue on Oct 15, 2010 7:56 PM

  • Dynamic select field

    Hello,
    I have to perform a dynamic select statement with im_field variable.
    select single max(im_field)....
    I know that I have to use brackets in order to use variables inside the select statements, but what about in this case? I have a short dump with wrong fieldname.
    I also tried select single max((im_field))...., but same result.

    check this example to get an idea...
    MAX( [DISTINCT] fdescriptor )
    Addition:
    ... AS alias
    Effect
    Returns the largest value for the selected lines in the column identified by the Field descriptor fdescriptor.The DISTINCT specification does not alter the result. NULL values are ignored in the calculation, except when all of the values in a column are NULL. In this case, the result is NULL.
    Example
    Output a list of all customers on Lufthansa flight 0400 in 1995, along with the highest price paid, sorted by customer name:
    TABLES: SCUSTOM, SBOOK.
    SELECT SCUSTOMNAME SCUSTOMPOSTCODE SCUSTOM~CITY
             MAX( SBOOK~LOCCURAM )
           INTO (SCUSTOM-NAME, SCUSTOM-POSTCODE, SCUSTOM-CITY,
                 SBOOK-LOCCURAM)
           FROM SCUSTOM INNER JOIN SBOOK
             ON SCUSTOMID = SBOOKCUSTOMID
           WHERE SBOOK~FLDATE BETWEEN '19950101' AND '19951231' AND
                 SBOOK~CARRID   = 'LH '                         AND
                 SBOOK~CONNID   = '0400'
           GROUP BY SCUSTOMNAME SCUSTOMPOSTCODE SCUSTOM~CITY
           ORDER BY SCUSTOM~NAME.
      WRITE: / SCUSTOM-NAME, SCUSTOM-POSTCODE, SCUSTOM-CITY,
               SBOOK-LOCCURAM.
    ENDSELECT.
    Addition
    ... AS alias
    Effect
    As in variant 1. You can also use an alternative column name in variants 2 - 6 to sort the result by an aggregate expression. Unlike aggregate expressions, you can use alternative column names in the ORDER-BY clause.
    Example
    Output a list of all customers on Lufthansa flight 0400 in 1995, along with the highest price paid, sorted by price and customer name:
    TABLES: SCUSTOM, SBOOK.
    SELECT SCUSTOMNAME SCUSTOMPOSTCODE SCUSTOM~CITY
             MAX( SBOOK~LOCCURAM ) AS MAX
           INTO (SCUSTOM-NAME, SCUSTOM-POSTCODE, SCUSTOM-CITY,
                 SBOOK-LOCCURAM)
           FROM SCUSTOM INNER JOIN SBOOK
             ON SCUSTOMID = SBOOKCUSTOMID
           WHERE SBOOK~FLDATE BETWEEN '19950101' AND '19951231' AND
                 SBOOK~CARRID   = 'LH '                         AND
                 SBOOK~CONNID   = '0400'
          GROUP BY SCUSTOMNAME SCUSTOMPOSTCODE SCUSTOM~CITY
          ORDER BY MAX DESCENDING SCUSTOM~NAME.
      WRITE: / SCUSTOM-NAME, SCUSTOM-POSTCODE, SCUSTOM-CITY,
               SBOOK-LOCCURAM.
    ENDSELECT.
    Ramesh.

  • Dynamic select list display details on same page

    i have a select dropdown list that is showing products from a php msql database. When one of the products is selected from the list in need the details of that product displayed underneath the select list.
    here is what i have so far
    mysql_select_db($database_beau, $beau);
    $query_Recordset1 = "SELECT * FROM beaProdSizes, beauCat WHERE beaProdSizes.CatID = beauCat.catID";
    $Recordset1 = mysql_query($query_Recordset1, $beau) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <select id="selectName" name="name">
                          <option value="Select Design">Select Design</option>
                          <?php
    do {
    ?>
                          <option value="<?php echo $row_Recordset1['name']; ?>"><?php echo $row_Recordset1['name']; ?></option>
                          <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
                          </select>
    thanks in advance

    ok i want to make it using the php that you gave me, i have tried it but it doesnt seem to be working
    this is what i have:
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $var1_Recordset1 = "-1";
    if (isset($_GET['CatID'])) {
      $var1_Recordset1 = $_GET['CatID'];
    mysql_select_db($database_beau, $beau);
    $query_Recordset1 = "SELECT * FROM beaProdSizes, beauCat WHERE beaProdSizes.CatID = beauCat.catID";
    if (isset($_GET['catID']) && is_numeric($_GET['catID'])) {
        $query_Recordset1 .= ' AND beauCat.catID = ' . $_GET['catID'];
    $Recordset1 = mysql_query($query_Recordset1, $beau) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    ?>
    <div class="header" id="beauTitleBOX"><?php echo $row_Recordset1['catname']; ?></div>
            <div id="beauSelectBOX">
              <form id="FormName" action="" method="get" name="FormName">
                <select id="selectName" name="name">
                  <option value="Select Design">Select Design</option>
                  <?php
    do {
    ?>
                  <option value="<?php echo $row_Recordset1['catID']; ?>"><?php echo $row_Recordset1['name']; ?></option>
                  <?php
    } while ($row_Recordset1 = mysql_fetch_assoc($Recordset1));
      $rows = mysql_num_rows($Recordset1);
      if($rows > 0) {
          mysql_data_seek($Recordset1, 0);
                $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    ?>
                </select>
                <input type="submit" name="button" id="button" value="select" />
              </form>
            </div>
            <div class="header" id="beauPrice"><?php echo $row_Recordset1['price']; ?></div>
            <div class="text" id="beauOtherContent"><?php echo $row_Recordset1['desc']; ?></div>

  • Hierarchical dynamic select list display

    SELECT LPAD(' ',5*(LEVEL-1))||TO_CHAR(entry_text) display_val,
    entry_target return_val
    FROM apex_application_list_entries
    WHERE application_id = :APP_ID
    AND list_name = :LIST_NAME
    START WITH list_entry_parent_id IS NULL
    CONNECT BY PRIOR list_entry_id = list_entry_parent_id
    On the above query can i make parents as read only and children as items which can be selected in select list..i am taking values dynamically....

    SELECT LPAD(' ',5*(LEVEL-1))||TO_CHAR(entry_text) display_val,
    entry_target return_val
    FROM apex_application_list_entries
    WHERE application_id = :APP_ID
    AND list_name = :LIST_NAME
    START WITH list_entry_parent_id IS NULL
    CONNECT BY PRIOR list_entry_id = list_entry_parent_id
    On the above query can i make parents as read only and children as items which can be selected in select list..i am taking values dynamically....

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

  • Populating text fields from dynamic select

    I have been searching the net for a javascript/ajax solution
    that will populate a number of text fields based on the selection
    from a dynamic select field. Specifically, when the person selects
    a company name, the companies address and phone number gets pulled
    from a second recordset that gets filtered by the choice from the
    dropdown. This needs to be done without postback.
    The page is built using php/mysql and the select is populated
    by one of the recordsets.
    Any direct help or steering to a solution would be
    appreciated.

    Thanks for the reply.
    Right now I'm starting with a blank form and once I get my head wrapped around this then I was going to modify what is already in use.
    I'm attaching my scheme and xml file.
    Thanks!
    Derrick
    I get an error when trying to upload my schema. I am pasting the content of the file here. I call it proofout.xsd
    <?xml version="1.0" encoding="utf-8"?>
    <xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
    <xs:element name="userList" type="UserList" />
    <xs:complexType name="User">
      <xs:sequence>
       <xs:element name="csrName" type="xs:string" />
       <xs:element name="csrExt" type="xs:int" />
       <xs:element name="csrFax" type="xs:string" />
       </xs:sequence>
       </xs:complexType>
       <xs:complexType name="UserList">
       <xs:sequence maxOccurs="unbounded">
        <xs:element name="user" type="User" />
        </xs:sequence>
        </xs:complexType>
        </xs:schema>

  • Selection variable for dynamic selection in QE51n

    Hi All,
    I have a scenario were we have a repetitive Manufacturing and we create one insp. lot of origin 13 and keep creating insp. points for days, so my user wants the insp. points to be displayed only for the past 3 days based of the Date Insp. point identifier which is one of dynamic selection criteria under insp. points, I see with other transaction I can do selection variable on dates for dynamic selection fields but I cannot do that in QE51n, I can do the same in QE51 but not in QE51n, can some tell me if there is a OSS or other way to get this working.
    I appreciate your help.
    Thanks,

    Hi Srikant,
    I think you can meet the requirement in QE51N also.
    In the screen for QE51N :Result Recording Work list", Follow this Path,,,,,,,,,
    Edit--->Dynamic Selection.
    The system will pop-up new small window for "Dynamic selection for insp. lot and operation" here I there is one folder is available named "Inspection point " which is having the selection criteria "Inspection point",  double click on it and enter the desired values.
    Regards,
    Shyamal

  • Modify MB25 and add a new selection field

    Hello All,
    I need to copy MB25 to ZMB25 and add field to the selection  screen and modify the select statement further. MB25 uses a LDB and I am never used LDB. Please help me how to do this and post some notes on LDB as I have lot of questions.
    <b>FYI:</b> I made a Z copy of the program and in the program attributes, I see a LDB. I made a Z copy of the LDB and added a selection field. I donno if that is the right way or not. I am also not sure where to modify the selection based on the newly added selection field.
    Thanks in advance
    Chandni Reddy

    from SAP help :
    If you define the selection criterion for a column of a database table that supports dynamic selections, the values entered on the selection screen are transferred to the logical database. There, they are treated as dynamic selections. The logical database does not read records from the database table that do not meet these selection criteria. This kind of selection is much more efficient than for database tables that are not designated for dynamic selections.
    Besides, the input fields for the corresponding dynamic selection are displayed on the selection screen from the start. This spares the user from having to choose Dynamic Selections to display the corresponding screen.

  • Dynamic Selection on report not working

    Dear all,
    I have several reports on which the dynamic selection is not working. For instance, the report CN43N. The report is outputting all data in a year i.e it is disregarding the condition I specified in the dynamic selection fields.
    Is there some configuration to make to this report so that the dynamic selection works?
    Thanks for ur help.
    Nas

    Also Nelmaz,
    I have just checked OSS notes and found below note helpful to you:
    Note 1059465 - CN43N: Dynamic selections for scheduling data of WBS elemnts
    Symptom
    You cannot use transaction CN43N to create dynamic selections for scheduling data of WBS elements (table PRTE). You can use transaction CNS43 to do so.
    Hope this helps.
    Please assign points as way to say thanks

Maybe you are looking for