Displaying the description using a Named List of Values

Hi All,
Can anyone help me to display just the Description rather then Value on an updateable report using a Named List of Values.
Thanks
Arif

Hi
Create the named list of values. Go to the Report Attributes and then to the column attributes page for the column that you want to be displayed as description. In Tabular Form Element section select Display As: Select List (named LOV). Then in the List of Values section select the LOV that you created in the Named LOV. Set Display Extra Values to No.
-Priyanka

Similar Messages

  • Problem in displaying the description of item

    Hi,
    I am working on a report of production order and i want to display the description of the Item but the problem the matnr is stored in ITPO1 AND i am displaying the values of ITPO5 which contains the difference value of qty of Item . To display the quantities i am using the table AUFM and i want to display the description of the production order Item which is stored in the ITPO1 .
    I am declaring the value of item in the ITPO5 and writing this select single query but it is not displaying the data.
    LOOP AT ITPO5.
          SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
          WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
          TOT_QTY = TOT_QTY + ITPO5-I_QTY.
        ENDLOOP.
    Plzz provide me guidelines how to solve this problem.

    HI,
    Check this way..
    LOOP AT ITPO5.
    LOOP AT ITPO1 WHERE AUFNR = ITPO5-AUFNR.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
      EXPORTING
        input              = ITPO1-MATNR
    IMPORTING
       OUTPUT             = ITPO1-MATNR
    EXCEPTIONS
       LENGTH_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.
    SELECT SINGLE MAKTG FROM MAKT INTO ITPO5-ITEMDESC WHERE MATNR = ITPO1-MATNR.
    IF SY_SUBRC EQ 0.
    WRITE: / ITPO5-AUFNR,ITPO5-ITEMDESC,ITPO5-I_QTY.
    TOT_QTY = TOT_QTY + ITPO5-I_QTY.
    ENDIF.
    ENDLOOP.

  • How to display the contents of java.util.list in a frame???

    i should use awt only not applet...
    i need to display the contents of java.util.list in a frame...
    the contents contains rows queried from a oracle database.....
    the contents should be displayed similar to how a lable is displayed..
    please help me out..
    thanks
    dinesh

    Of course there is something in AWT:
    http://java.sun.com/j2se/1.5.0/docs/api/java/awt/List.
    htmlagain, if you carefully read the question, he needs a
    table to display a JDBC result set. There is no
    pre-made table component in AWT.Well, I read that he filled the data into a java.util.List and now wants to display this list. So a List-component should be sufficient. But I might be wrong...
    -Puce

  • Display the description of a parameter in the report

    Hi Guru:
    I have a parameter, for each value to be selected, there is a description.
    Now my question is, how to display the description of the value in the report?
    I tried to put the parameter into the report, but it display the value, not the description.
    For example, I have a parameter, for company code, each company code will have a description in the value list of the parameter, after the user pick 1000, I want to put the name of company code 1000 into the report.
    Thanks.
    Eric

    The only way I have found to do this without hard-coding a translation table is to return the value in your dataset.  In your case, cross join your results to
    select company_name from company where company_code = {?comp parm}
    (or something similar...)
    HTH,
    Carl

  • Custom Infotype - to display the description  in query ouput!!

    I have created a Custom Infotype  and when I run a Infoset Query against the custom infoset, the field is getting displayed but not the description.
    For Ex
    ADP Infotype Company Code A11 - America
                           Company Code A12 - Africa
                                                    A13 - Russion,
    My issue is, when i run the query, the three letter code (A111, A12) is getting displayed but not the descripton itself.
    Can some one please let me know how to display the description in the output when we nun the infoset Query.
    Thanks for your assiance!!

    Hi,
    Have u given proper Data element and Domain to the field?
    Generate the Query again.
    Manoj

  • Can I create  a multi-selection list using a dynamic list of values?

    I'm reading section 19.7.3 from the dev guide - it explains how to create a selectOneListbox using a dynamic list of values. Is it possible to create a multi-select listbox from a dynamic list of values?
    What I would like to do - I have a read-only view object with a hard-coded query - I would like to display the results of the query in a dropdown list box, or dropdown list box with boolean checkboxes, to allow the user to select multiple items from the list. How can I accomplish this?
    thanks

    Hi JavaX,
    I don't know of any JSF components (at least not any ADF Faces components) that lets you do multiple selection in a drop-down. There is an af:selectManyListbox, but it does not render as a drop-down.
    John

  • How to display the contents of an array list to a listview?

    Hi. How do I display the contents of an arraylist to a listview?
    Here is my current code:
    var c: Control= new Control();
    var simpleList: ArrayList = c.ListResult; //ListResult is an ArrayList containing strings
    var simpleListView : ListView = ListView {
            translateX: 0
            translateY: 0
            layoutX: 20
            layoutY: 80
            height: 130
            width: 200
            items: bind simpleList;
    Stage {
        title: "Trial app"
        width: 240
        height: 320
        style: StageStyle.TRANSPARENT
        scene: Scene {
            content: [ simpleListView
    } [http://img341.imageshack.us/img341/133/listview.jpg]
    My code generates the result in this screenshot above. It shows that all the contents on the arraylist is displayed in one row/item.
    It should be displayed as (see bottom image) ...
    [http://img707.imageshack.us/img707/3745/listview1.jpg]
    Do you guys have any idea on this? Thank you very much for your replies

    For your listbox data to bind the listbox requires a Sequence. This is something that you can sort out at the entrypoint of your code.
    In the example below I have used an ArrayList to simmulate the data you have entering your FX code, but then I put that list into a Sequence, in your case instead of having an ArrayList in your FX code, you simple supply the list on entry, as I have marked in the following code.
    * Main.fx
    * Created on 12-Feb-2010, 10:24:46
    package uselists;
    import javafx.stage.Stage;
    import javafx.scene.Scene;
    import javafx.scene.text.Text;
    import javafx.scene.text.Font;
    import java.util.ArrayList;
    import javafx.scene.control.ListView;
    import javafx.animation.Timeline;
    import javafx.animation.KeyFrame;
    * @author robert
    //Simmulate your data with an ArrayList
    var simpleList: ArrayList = new ArrayList;
    simpleList.add("Hello");
    simpleList.add("World");
    // *** This is what your entry point would become, just load the simpleList.toArray() into your sequence ***
    var simpleSequence = [];
    simpleSequence = simpleList.toArray();
    //after some time add some items, to show that our binding is working
    Timeline {
        repeatCount: 1
        keyFrames: [
            KeyFrame {
                time: 5s
                canSkip: true
                action: function () {
                    //you can work on the Sequence to add or remove
                    insert "Another item" into simpleSequence;
                    //if you at some point want to have your array reflect the changes
                    //then perform your changes on that too
                    simpleList.add("Another item");
                    //remember depending on your app
                    //you may keep the update of simpleList
                    //until you are finished with this view and do it in a single update
            KeyFrame {
                time: 10s
                action: function () {
                    //Alternatly, to keep your ArrayList correct at all times
                    //add items to it and then update your Sequence
                    simpleList.add("Added to array");
                    simpleSequence = simpleList.toArray();
    }.play();
    Stage {
        title: "Application title"
        scene: Scene {
            width: 250
            height: 80
            content: [
                ListView {
                    items: bind simpleSequence
    }You can bind to a function rather than the data, which I am sure would be needed some cases, for example if the listBox data was a named part of a hash value for example, all that is required is that your function returns a sequence.

  • Displaying the SQL used in a report

    I have produced a page with a number of report regions based on SQL SELECT statements.
    Is there an easy way of showing those SQL statements to the people authorised to view the page, e.g. via using an in-built API or function call ?
    I am using v2.0.
    Thanks.

    Hello, thanks for the suggestion, which was very elegant, I thought.
    However, I cannot get it to work in either v2.0 or 3.1.
    In the latter, I carried out the following steps:
    <ol><li>Define a hidden variable called P_SQL with the Static assignment of the query (I just tried 'select sysdate from dual', without the quotes shown here.)</li>
    <li>Created a new region of type SQL Query (PL/SQL function body returning SQL query), the source of which is 'return :P_SQL;'</li>
    </ol>
    The page however then displays the following error:
    failed to parse SQL query:
    The query can not be parsed, the cursor is not yet open or a function returning a SQL query returned without a value.
    If I put quotes around the statement, i.e. return ':P_SQL'; then I get a slightly different error:
    failed to parse SQL query:
    ORA-00900: invalid SQL statement
    If I instead surround the :P_SQL with q'!...!' , I get the same error.
    Thanks in advance for any more help.

  • Displaying the table using TableModel

    Hi,
    I am using TableModel to connect to a database and display the results. I am unable to display the table. It doesn't display anything. Below is the code from the TableModel I am using to connect to database. Could anyone help me find the errors please. any help would be ggreatly appreciated.
    public HolidayTableModel() throws ClassNotFoundException, SQLException
             tableData = new Vector();
             int currentRow = 0;  
            try
                 Class.forName("oracle.jdbc.driver.OracleDriver");
                 Connection con = DriverManager.getConnection("jdbc:odbc:thin:@rub:1521:1B","asd","asdf");                                   System.out.println("Connection Established...");
                sqlStatement = con.createStatement();
                ResultSet rs = sqlStatement.executeQuery("select * from hlday10t");                                      System.out.println("ResultSet Statement executed...");
                numCols = rs.getMetaData().getColumnCount();
                columnNames = new String[numCols]; //Get the column names and cache them                                      for(int column = 0; column<numCols; column++)
                     columnNames[column] = rs.getMetaData().getColumnLabel(column+1);
                  while (rs.next())
                     Vector rowVector = new Vector();
                     for (int currentCol = 1; currentCol < numCols; currentCol++)
                         rowVector.addElement(rs.getObject(currentCol));
                     tableData.addElement(rowVector);
                     con.close();
                    fireTableChanged(null);//Tell the listener a new table has arrived
            catch(ClassNotFoundException e){
                  System.out.println("*** Cannot find database driver classes: "+e.getMessage());                                                            
             catch(SQLException e) {
                 System.out.println("*** Cannot connect to this database: "+e.getMessage());                               } 

    Hi,
    My TableModel extends AbstractTabelModel. Here is the full code. Sorry for posting partial code before.
    import java.io.BufferedReader;
    import java.io.FileReader;
    import java.io.*;
    import java.util.StringTokenizer;
    import java.util.Vector;
    import javax.swing.table.AbstractTableModel;
    import java.util.*;
    import java.text.*;
    import java.sql.*;
    import java.net.*;
    import java.util.Properties;
    import java.applet.Applet;
    import oracle.jdbc.driver.*;
    public class HolidayTableModel extends AbstractTableModel {
         int rows = 0;
         Vector data = new Vector();
            String[] columnNames = {"HOLIDAY_CODE",
                             "HOLIDAY_DESCR",
                             "HOLIDAY_DATE",
                             "LAST_CHANGE_USERID",
                             "LAST_CHANGE_TMSTMP"};
            Connection con;
            Statement sqlStatement;
            int numCols = 0;
            int numRows = 0;
            Vector tableData;
            public HolidayTableModel() throws ClassNotFoundException, SQLException
               tableData = new Vector();
               int currentRow = 0;
               try
                  Class.forName("oracle.jdbc.driver.OracleDriver");
                  Connection con = DriverManager.getConnection("jdbc:odbc:thin:@d1b:1521:1B","asdf","asdf");
                  System.out.println("Connection Established...");
                  sqlStatement = con.createStatement();
                  ResultSet rs = sqlStatement.executeQuery("select * from hlday10t");
                  System.out.println("ResultSet Statement executed...");
                  numCols = rs.getMetaData().getColumnCount();
                  columnNames = new String[numCols];
                  //Get the column names and cache them
                  for(int column = 0; column<numCols; column++)
                     columnNames[column] = rs.getMetaData().getColumnLabel(column+1);
                  while (rs.next())
                     Vector rowVector = new Vector();
                     for (int currentCol = 1; currentCol < numCols; currentCol++)
                        rowVector.addElement(rs.getObject(currentCol));
                     tableData.addElement(rowVector);
                     con.close();
                     fireTableChanged(null);//Tell the listener a new table has arrived
               catch(ClassNotFoundException e){
                   System.out.println("*** Cannot find database driver classes: "+e.getMessage());
               catch(SQLException e) {
                    System.out.println("*** Cannot connect to this database: "+e.getMessage());
         public int getRowCount() {
              return tableData.size();
           public int getColumnCount() {
                return columnNames.length;
           public String getColumnName(int index) {
                return columnNames[index];
           public Object getValueAt(int row, int column)
               Vector rowVector = (Vector)tableData.elementAt(row);
               return (String)rowVector.elementAt(column);
         public void addRow(Vector rowData) {
              tableData.addElement(rowData);
              fireTableRowsInserted(tableData.size(), tableData.size() );
           public void removeRow(int row)
              data.removeElementAt(row);
              fireTableDataChanged();
           public boolean isCellEditable(int row, int column) {
              return true;
         public void setValueAt(Object o, int row, int column)
              // change a field of hi
              HolidayItem hi = (HolidayItem)data.elementAt(row);
              switch (column) {
                   case 4:
                        hi.hlday_code = (String)o;
                        break;
                   default:
                        System.out.println("Bad column when editing data: "+column);
                        break;
              fireTableCellUpdated(row, column);
    }

  • I have just re-installed itunes.  The previous use is still listed.  When I try to login with my account, Apple says to view my account. When I do that, it revers back to the other user.  How do I get the other user off of my system so that I can use mine

    I have just re-installed itunes.  The previous user is still listed.  When I try to login in with my account, Apple says to view my account.
    When I do that, it reverts back to the other user.  I want the other user totally off of my system.  How do I do this?

    Try Store > Sign Out followed by Store > Sign In...
    tt2

  • E61i doesnt have the description in To-Do list

    When synchronize my todo list from my outlook to my phone, in outlook I have description for my todo, but after sync, In the phone it self there is no description field is there, I could find that description field in my N95, but not in E61i. Any suggestion wouldbe appreciated.
    BR,
    I

    Thanks for your reply John. I didn't get the notice that you replied until I searched again now for a solution. I figured out what cases the date change. When the iCal event that is typed into the calendar has a time that is later than the current TIME (which it always is by default because it rounds up to the next hour), and that event is then dragged into the To-Do list, the date is increased by one (as displayed when you double-click the event in the To-Do list. However, the day of the week and date listed in the ACTUAL To-Do list is correct until at least a day passes.
    If I manually adjust the event from time rounding down to the nearest hour it always shows the correct date when double-clicking in the To-Do list.
    This is quite confusing to explain but it is clear something is not working as it is supposed to if I can make it work by simply subtracting an hour to the event at the time I create it. Is there a fix for this or do I just need to manually set the time back for every event I create by an hour to get it to work correctly?

  • How to display the descriptions of a "question" and "answers" in the LMS?

    Hello, evevyone,
    I am new comer in Captivate 5.
    In order to analysis the result of "Learner response", we need known the “Question” and “Answer” description of each Quiz in a SCORM player.
    Does Captivate return these information back to LMS?
    For example :
    I have created a quiz with one question.
    Do you have a dog? ------->Question description
    (A)Yes   ----->Learner response
    (B)No
    After complete the quiz on LMS, Captivate will return the "Do you have a dog?" and  "(A)Yes" back to LMS ?

    Dear RodWard,
    I am trying anohter LMS named SCORM Cloud.
    The question description does not return to LMS.
    You can see the Message Log:
    cmi.interactions.3
    cmi.interactions.3.id: 1272
    cmi.interactions.3.type: LongFillIn
    cmi.interactions.3.timestamp: 2011-09-29T21:01:43
    cmi.interactions.3.correct_responses.0.pattern: aa
    cmi.interactions.3.weighting: 10
    cmi.interactions.3.learner_response: aa
    cmi.interactions.3.result: correct
    cmi.interactions.3.latency: 0000:00:02
    cmi.interactions.3.description:                               <--------------No description
    I am sure that Captivate will not return the question description.....
    Am I right?

  • How to find and display the posistion in an array list

    hi all,
    i know this is proballly simple but i have an arraylist where every time someone connects to my system it adds them to an arraylist, how can i post back somelike like hi user "1" thanks for connecting and so on. i just dont understand how to find their unique posistion in the array list and display it as a number.
    any help would be great

    So to be clear...
    You have an arraylist of connections .... for example
    ArrayList<ConnectedPeople> connPplArr = new ArrayList();And then each time someone connects you would add a connected people object to the arraylist.
    ConnectedPeople, migh contain username etc etc.
    You could then do:
    ConnectedPeople newConnection..... ;
    int index = connPplArr.indexOf( newConnection );
    if(int == -1){
        add them to your array
        index = connPplArr.size();
    return "Hello user "+ index;That what you mean?
    I know some of it is sudo code, but have I understood your problem?
    Edited by: Azzer_Mac on Apr 29, 2008 2:20 AM
    Edited by: Azzer_Mac on Apr 29, 2008 2:20 AM

  • How to display the fields using field catelog in ALV Report

    Hi,
    I have rquiremrnt in ALV report.I would need to add the new fileld in the ALV output screen.I have added the field but its appearing in the layout set but not directly displaying in the output screen.
    I have written the below logic for field catelog.
    CLEAR wa_fieldcatalog.
      wa_fieldcatalog-fieldname   = 'LOGGR'.
      wa_fieldcatalog-ref_tabname = 'MARC'.
      wa_fieldcatalog-col_pos     = l_pos.
      wa_fieldcatalog-outputlen   = 13.
       wa_fieldcatalog-seltext_s   = 'Log. group'.
      wa_fieldcatalog-seltext_m   = 'Logistics group'.
      wa_fieldcatalog-seltext_l   = 'Log. handling group'.
       wa_fieldcatalog-reptext_ddic = 'Log. handling group'.
      APPEND wa_fieldcatalog TO it_fieldcatalog.
      l_pos = l_pos + 1.
    Please let me know why the added field was not displaying automaticaly in the output screen.
    Regards,
    Reddy

    hi,
             try this
    clear wa_fieldcatalog.
    wa_fieldcat-tabname       = 'ITAB' ( give the internal table which has the field LOGGR)
    wa_fieldcatalog-fieldname = 'LOGGR'.
    wa_fieldcatalog-ref_tabname = 'MARC'.
    wa_fieldcatalog-col_pos = l_pos.
    wa_fieldcatalog-outputlen = 13.
    wa_fieldcatalog-seltext_s = 'Log. group'.
    wa_fieldcatalog-seltext_m = 'Logistics group'.
    wa_fieldcatalog-seltext_l = 'Log. handling group'.
    wa_fieldcatalog-reptext_ddic = 'Log. handling group'.
    APPEND wa_fieldcatalog TO it_fieldcatalog.
    l_pos = l_pos + 1.

  • Urgent , not display the time using Timestamp

    Hello I need to know if the configuration of sunone 7 I can prevent that it sees the hours in a consultation Oracle.
    I am making a Select on a field type DATES, that you have date and hour.
    Use the TimesTamp class from java. It is not the Oracle nor the version of JDK.
    It is urgent!

    That is odd and I could only guess at the cause.
    If the file came from a digital camera the "code" for the timeline may be corrupt. This could happen if the capture was started and then stopped then resumed.
    I would also expect playback of the file to stop when QT Player reaches what "it thinks" is the end of the file. Hitting the play button may continue playback or it could return to the "beginning" of the file.
    You may be able to see the timeline by opening the "Movie Info" window. Leave it open as you play the file. Does the time appear in the Movie Info window?

Maybe you are looking for