Problem displaying datatable colum value

hi ,
Below is my JSPcode
<h:dataTable value ="#{DatabaseBean.table}" var= "row">
<h:column><h:outputText value ="#{row.Description}"/></h:column>
Here is bean code
I am using ArrayList. I put objects of another Bean User in ArrayList name d 'Questions'
returning Questions form getTable function in DatabaseBean.
public ArrayList getTable()
     FacesContext facesContext = FacesContext.getCurrentInstance();
String Category = (String)facesContext.getExternalContext().getRequestParameterMap().get("Login:Category");
GetSelectedQuestions(Category);
     System.out.println("After GetSelectes function");
return(Questions);
public void GetSelectedQuestions(String Category)
Questions = new ArrayList();
String Query = "select Id,Description,Answers,Answer from Questions where Category like '" + Category +"'";
     System.out.println("...."+Query);
     try{
     open();
     resultset = statement.executeQuery(Query);
     while(resultset.next())
          String Id = resultset.getString(1);
          String Question = resultset.getString(2);
          String Answers = resultset.getString(3);
          String Answer = resultset.getString(4);
          System.out.println(".."+Id+"..."+Question);
          User QuesAnswer = new User(Id,Question,Answers,Answer);
          Questions.add(QuesAnswer);
     close();
     }catch(Exception e){System.out.println("Exception "+e);}
I am getting error as below
javax.servlet.ServletException: Error getting property 'ID' from bean of type EX1.User
pleas help me out
shil

Hello
In your User bean you have an attribute called as ID, which will have get & set method like getId() and setId().
I will suggest rename this attribute such that it will have first minimum 3 letters in small case like intId or strId, then change the get/set method respectively like getStrId() or getIntId().
This is a problem with java reflection that when you have attribute which will have 1 or 2 chars in the start of varialbe name, then some time reflection fails to call that methods get-set method.
You change the varaible name and hopefully everything will work fine.
-Dhanya

Similar Messages

  • Problem displaying c:out values in c:foreach loop

    Hi,
    I am having difficulty displaying the VO values within the c:out portion of my JSP page. I am using a DAO, ProcessAction (portal) and JSP to display the data. The JSP is displaying the hard coded 'A', so the loop is working, however, the actual values are not being displayed.
    Any feedback much appreciated :)
    I have been stuck on this for over a day...and anybody?! Thanks!!
    PharmacyDAO
        if (rs!=null) {
          while (rs.next()) {
          if (listHeader==null)
            listHeader = new ArrayList();
            wpcTxt = rs.getString("WPCTXT");
            PharmacyHeaderVO pharmacyHeaderVO = new PharmacyHeaderVO();
            pharmacyHeaderVO.setWpcTxt(wpcTxt);
            listHeader.add(pharmacyHeaderVO);
          return listHeader;     
        }ProcessAction
        public void processAction(ActionRequest request, ActionResponse response) throws PortletException, java.io.IOException {
        if (request.getParameter("actionId").equals("selectedTransaction")) {
        storeNo = request.getParameter("selectedStoreNo");
        transactionNo = request.getParameter("selectedTransactionNo");
        ArrayList listPharmacyHeader = (ArrayList)PharmacyDAO.getPharmacyHeader(storeNo, transactionNo, "T");
        session.setAttribute("headerList", listPharmacyHeader, PortletSession.APPLICATION_SCOPE);
        }PharmacyHeaderVO
        public class PharmacyHeaderVO {
             public PharmacyHeaderVO() {}
             private String wpcTxt = "";
             public String getWpcTxt() {
                  return wpcTxt;
             public void setWpcTxt(String wpcTxt) {
                  this.wpcTxt = wpcTxt;
        }ViewJSP
        <c:forEach var="header" items="${headerList}">
             <c:out value="${header.wpcTxt}" />
                A<br/>
        </c:forEach>Edited by: kissiffer on Feb 26, 2008 12:00 PM

    You seem to be mixing up the various versions of JSTL.
    Functions are only supported in JSTL1.1.
    What server are you using?
    If it is a JSP2.0 container you should be using JSTL1.1
    If it is not, then you can't use the fn libraries.
    Check out this post: reply #6
    http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0

  • Display Distinct Item Value

    Hello All,
    I am having an problem displaying a distinct value for Item 'PK_EMPL_ID'. I need all the Items below because I am passing these values to another page in APEX. But I need help with this select statement syntax.
    SELECT hs.pk_session_id,
           hsp.pk_session_process_id,
           hs.fk_class_id,
           hsm.pk_empl_id,
           hsm.last_name || ', ' || hsm.first_name studentname,
           dg.department_group_descr,
           pd.department_descr,
           hsm.fk_dept_group,
           hsm.fk_dept_code,
           hsp.fk_empl_id,
           hs.session_meridiem,
           hsn.session_name,
           hs.session_date,
           hsp.session_process_status
        FROM   hrt_session hs,
               hrt_session_name hsn,
               hrt_session_process hsp,
               hrt_student_master hsm,
               cobr.department_group dg,
               cobr.pps_department pd
        WHERE  hsn.pk_session_name_id = hs.fk_session_name_id
           AND hsp.fk_session_id = hs.pk_session_id
           AND hsp.fk_empl_id = hsm.pk_empl_id
           AND hsm.fk_dept_group = dg.pk_department_group_id
           AND hsm.fk_dept_code = pd.pk_department_idMy output is like:
    -PK_EMPL_ID-
    JOHN
    JOHN
    JOHN
    BOBBY
    JAMES
    I only want to display each 'PK_EMPL_ID' value once when the select statement is executed, not duplicate values. I have tried distinct, group by etc... but I am having trouble since I am using multiple tables using these foreign keys. I have viewed a few threads but they are only handling one or two item values from one table. Can anyone assist me with please? Thanks ahead of time.

    Hi,
    Whenever you have a question, post a little sample data (CREATE TABLE and INSERT statements) for all tables, and the results uyou want from that data.
    You may have a clear idea of where you're coming from, and where you want to go, but the description alone doesn't convey that clear idea to us.
    You can also rephrase your question in terms of some commonly available table, like scott.emp.
    For example: "I'm doing this query on scott.emp:
    {code}
    SELECT      job
    ,     deptno
    FROM     scott.emp
    {code}
    How can I get only 1 row per distinct job?"
    Without sample output, the question is still vague.
    There are 14 rows in scott.emp.
    You can reduce the output to 9 rows by changing "SELECT" to "SELECT *DISTINCT* ":
    SELECT DISTINCT
         job
    ,     deptno
    FROM     scott.emp
    ;which produces:
    OB           DEPTNO
    MANAGER           20
    PRESIDENT         10
    CLERK             10
    SALESMAN          30
    ANALYST           20
    MANAGER           30
    MANAGER           10
    CLERK             30
    CLERK             20But that's as far as you can go without changing the results.
    For example, all three departments have MANAGERs. If you want only 5 rows of outptu (one for each of the 5 distinct jobs), then which deptno do you want?
    If you want the lowest one, here's one way to do that:
    WITH     got_rnum     AS
         SELECT     job
         ,     deptno
         ,     ROW_NUMBER () OVER ( PARTITION BY  job
                                   ORDER BY          deptno
                           ) AS rnum
         FROM    scott.emp
    SELECT     job
    ,     deptno
    FROM     got_rnum
    WHERE     rnum     = 1
    ;Output:
    JOB           DEPTNO
    ANALYST           20
    CLERK             10
    MANAGER           10
    PRESIDENT         10
    SALESMAN          30There are other apprioaches to this problem, too. The advantage of this one is that it works well with any number of columns in the output.

  • Problem displaying the value zero in dashboard

    Hello,
    I have a problem displaying the value zero.
    When I am Treat Numbers As number, the value that appears
    When Treat Numbers As Percentage box is empty.
    Can you tell me how to display this value when the criterion
    is in percentage format.
    thanks for answers
    Best regards

    cast the number as float or multiply by 1.00 e.g. 1.00 * table.column

  • Not to display the null values from data base

    Hiiii.
    In a jsp file i have ten check boxes.The jsp file is mapped to a servlet file for parameter requesting and to
    store it in DB.
    The unchecked box values has null values.All the values are store in a Mysql DB table.
    Again i have to display it in a jsp page from table.
    The problem am facing was,how can i display only the values in a row.it must not display the null values and the crresponding column name.
    Or any other way is their like below
    How i can retrieve only the selected check boxes from tht jsp file.and store in backend.
    Thanks in Advance
    regards,
    satheesh kannan

    Here is a rough example that may give you some ideas:
    On the JSP page:
    <%if(myData.getFirstName()!=null){%>
    Your First Name'
    <input type="text" name="firstName" value="<%=myData.getFirstName()%>">
    <%}%>
    In the servlet:
    String firstName= request.getParameter("firstName");
    if(firstName!=null){
    //write it to the database
    }

  • Need to display the Stock Values at storage location level - 0IC_C03

    Hi All,
    I am developing Stock Movent Report on 0IC_C03 - Material Stocks/Movements.
    I have more than one storage location for plant. Stock quantities are calculating at storage location level and Stock Values are calculating at plant level.
    I have no issues with quantities. Only problem with Values.
    2LIS_03_UM is not picking the starage location, so that the revaualtion values are falling under unassigned nodes. When i set filter on storage location these values were not showing as they are under un assigned nodes (#).
    I want to get the Stock Quantity and Stock Values at Storage location level in my report.
    I found that soulution for that is Applying SAP Note : How to Realize summarized display of stock values on storage
    I have done development as per the document. But when i run the Query it is going to debug mode first and then it saying This program cannot display the webpage
    Can any one faced the same situation, Please help me if so.
    Thanks in Advance.
    Gopal N

    Hi Sachein,
    I am getting this An exception(CX_RSR_PROPAGATE_X) occured when debugging, and then it leads to next screen saying that:
    This program cannot display the webpage
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected. 
         Retype the address. 
         Go back to the previous page.
         More information
    Please let me know you need any more information.
    Thanks in Advance
    Gopal N

  • Unable to display a variable value in xml through xsl using coldfusion

    Hi ColdFusion Heroes ,
    Is their any one to help me in this issue . I am new to cold
    fusion , XML and XSL .
    Detail Explaination :
    develoment_files.cfm is a .cfm page , which includes an xml
    page .
    development_files_dropdown.xsl is a xsl page .
    develoment_files.cfm : Code is as follows .
    <CFDIRECTORY ACTION="LIST" DIRECTORY="#somepath#"
    NAME="DirContents" FILTER="p*">
    <CFQUERY DBTYPE="query" NAME="Files">
    SELECT *
    FROM DirContents
    WHERE Type = 'File'
    </CFQUERY>
    <CFOUTPUT><?xml version='1.0' encoding='UTF-8'?>
    <?xml-stylesheet type="text/xsl"
    href="../XSL/development_files_dropdown.xsl"?>
    <Test xmlns:xsi='
    http://www.w3.org/2001/XMLSchema-instance'>
    <CFLOOP QUERY="Files">
    <Directory>
    <DisplayName>#Name#</DisplayName>
    <FullPath>#Name#</FullPath>
    </Directory>
    </cfloop>
    </Test></CFOUTPUT>
    This file generates a query resulting files starting with p*
    and then it should be a file and manipulates in xml.
    development_files_dropdown.xsl pages is as follows.
    <?xml version='1.0'?>
    <xsl:stylesheet version="1.0" xmlns:xsl="
    http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="html" indent="yes"/>
    <xsl:preserve-space elements="*"/>
    <xsl:template match="/">
    <xsl:apply-templates/>
    </xsl:template>
    <xsl:template match="Test">
    <B>Script Name: </B>
    <select name="T1_Dev_Script" CLASS="DevInput">
    <xsl:for-each select="Directory">
    <option>
    <xsl:attribute name="value">
    <xsl:value-of select="FullPath/text()"/>
    </xsl:attribute>
    <xsl:value-of select="DisplayName/text()"/>
    </option>
    </xsl:for-each>
    </select>
    </xsl:template>
    </xsl:stylesheet>
    This is only for the purpose of display .
    Now i want to get one particular file named "pfile" { Code is
    written in development_files.cfm page and kept it in a variable } I
    want to display it in #Name# filed. how can i do that ? I am
    getting XML Parsing error from javascript .
    Could any one look into this .
    Thanks & Regards,
    Nataraj G

    The first part is right -
    1) drag a text element onto the page, at a location in which you want the variable value to be displayed
    2) On the left hand bottom page - go to the web item properties for the text element
    3) scroll down to the specific properties for the item - in that uncheck the first two check boxes - display general text elements & display static filter values
    4) in the next item in the properties (List of text elements) click once on the box where List is written and then clcik on the small browse button that appears.
    5) in the window that opens, in the element type field, select variable/variable value as key (as per your requirement) and then under the element ID field type in the technical name of your variable that you want to display.
    click ok and save your template and try executing it.
    See if this solves your problem.
    regards,
    Nikhil

  • How to  Get input from  User and Display it's Value

    Hi ,
    I need to get 2 inputs from user and to display it's Mutilple Value.
    The Below Code is working fine to get 2 Input's from user,but it display a Junk value as a Result .How to
    overcome this Problem. I need to display it's Mutilple(a*b) value of "a " and " b".
    import java.io.*;
    class Mul{
    static int a=0;
    static int b=0;
    static int Count=0;
    public static void main(String args[])throws IOException{
    BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
    do{
    a=(char)br.read();
    Count++;
    b=(char)br.read();
    if(Count==2)
    System.out.println("The Multiplied Value is "+a*b);
    }while(Count<2);
    }

    Changed to Integer but still the problem persists.
    import java.io.*;
    class Mul{
    static int a=0;
    static int b=0;
    static int Count=0;
    public static void main(String args[])throws IOException{
    BufferedReader br =new BufferedReader(new InputStreamReader(System.in));
    do{
    a=(int)br.read();
    Count++;
    b=(int)br.read();
    if(Count==2)
    System.out.println("The Multiplied Value is "+a*b);
    }while(Count<2);
    }

  • Problem displaying picture stored in mySQL

    Hi, i just have got problem displaying picture stored in database as BLOB and presented on JSP over servlet. Below is my code i am using to upload file into database, than download it and display again. The result is the picture can not draw inself and there is always only empty picture space on the web page i am displaying. Please help me to find why it is not working, thanx.
    servlet uploading picture to database
                   boolean isMultipart = FileUpload.isMultipartContent(req);
                   DiskFileUpload upload = new DiskFileUpload();
                   List items = upload.parseRequest(req);
                   Hashtable textFields = new Hashtable();
                   byte[] data = new byte[4096];
                   if(isMultipart)
                        Iterator iter = items.iterator();
                        while(iter.hasNext())
                             FileItem item = (FileItem)iter.next();
                             if(item.isFormField())
                                  textFields.put(item.getFieldName(), item.getString());
                             }else{
                                  data = item.get();
                   String sqlStatement = "INSERT INTO cds VALUES('" textFields.get("id")"'," +
                                            "'" textFields.get("album") "','" textFields.get("interpreter") "'," +
                                                      "'" textFields.get("gr1") "','" textFields.get("gr2") "','" textFields.get("price") "')";
                   String sqlStatement2 = "INSERT INTO pics VALUES('" textFields.get("id") "','" data "')";
    servlet to download picture
    String SQL =
         "SELECT Picture " +
         "FROM pics " +
         "WHERE id = '" + request.getParameter("id") + "'";
         ResultSet rs = stmt.executeQuery(SQL);
         rs.next();
         Blob blob = null;
         blob = rs.getBlob(1);
         response.setContentType("image/jpg");
         request.setAttribute("blob", blob);
         System.out.println("just above OutputStream");
         InputStream in = blob.getBinaryStream();
         ServletOutputStream sout = response.getOutputStream();
         int b;
         while ((b = in.read()) != -1) {
         sout.write(b);
         in.close();
         sout.flush();
         sout.close();
    img tag in JSP
    <img src="LoadImageServlet?id=some id>
    plus i am using
    Tomcat 5.0
    mySQL 4.0
    debuging in eclipse
    thanx for help once more, Libor.

    1:
    are there any exceptions throws by the jdbc code
    2:
    is the code in a doGet
    3:
    you should do a if(result.next())
    4:
    Is your mapping code working

  • Display interval variables value in BeX

    Hello Gurus,
    I am using Bex BI 7.0 to build my reports. I can't see how to display the value of variable values I have selected in the beginning of the query.
    To clarify with an example I want to choose the period from January to March and to display this selection in the report I have built.
    The only way I was thinking about was to create a Text variable to display in the title of the query but I noticed it displays only single value and don't manage interval like these.
    Is there any other tricks?
    Thanks in advance
    Massimo

    Very good Jaya. I have solved my problem and I rewarded it. The only problem that still remains with this feature is that in a query I use a filtered key figure to obtain cumulated value for period. The "from period" is fixed (january) and the "to period" is given by my period variable.
    I noticed that in this case the text variable return me no value. Is there any another trick to manage text variable in filtered key figure like that?
    Regars
    Massimo

  • BUG: Info panel displays incorrect Hue values

    Recently, I've been doing a lot of work with color in Fireworks and came across the following bug, which appears to be a longstanding issue within the application. Rather than keeping it to myself, I figured I'd post it here in addition to submitting a bug report with Adobe. So here it is...
    Hue values displayed within the Info panel (in HSB mode) do not consistently match the values displayed in the Color Mixer panel—including basic colors such as pure Yellow, Cyan, and Magenta. The values are 1 degree off—most often below the Color Mixer value, but sometimes above (as with Magenta). This holds true whether using with the Eyedropper tool or the Color Picker swatches eyedropper, and whether sampling from the canvas or from swatches.
    For example, the following inconsistencies were observed when sampling the centermost horizontal strip within CS6's default Color Cubes swatches picker. Note that over 50% of these colors are affected by the issue.
    The Color Mixer seems to display the correct values, while the Info panel's values appear to be incorrect. Note that this issue affects the HSB mode only; the RGB and Hex values are consistent between both panels.
    This bug has been observed in Fireworks CS6, Fireworks CS5.1 and Fireworks 8 on Mac OS 10.6.8 (Snow Leopard).
    Here's the bug report submitted for this issue:
    Product name: Fireworks
    Product Version: 12.0.0.236
    Product Language: English
    Your operating system: Mac OS 10.6.8 (Intel-based)
    ******BUG******
    Concise problem statement: The Info panel displays incorrect Hue values for many colors—including pure Yellow, Cyan, and Magenta. The Hue values are usually 1 degree below the value displayed in the Color Mixer panel (e.g., 59 instead of 60 for Yellow) but sometimes 1 degree above (e.g., 301 instead of 300 for Magenta). This is true whether using the Eyedropper tool or the Color Picker swatches eyedropper, and whether sampling from the canvas or from swatches.
    Steps to reproduce bug:
    In an open Fireworks document, open the Info, Color Mixer, and Swatches panels. Within the Color Mixer and Info panels, set the color mode to HSB.
    Draw a Rectangle and set its fill to Yellow (#FFFF00) using the Color Picker.
    Observe the Hue values displayed in the Color Mixer and Info panels.
    Select the Eyedropper (I) tool, and sample the rectangle's fill color. Again, observe the Hue values displayed in both the Color Mixer and Info panels.
    Results: In both steps 3 and 4, the Hue value for pure Yellow (#ffff00) appears as 60 degrees in the Color Mixer panel but 59 degrees in the Info panel.
    Expected results: The Hue for pure Yellow (#ffff00) should appear as 60 degrees in both panels.
    Note that this issue affects the Info panel's HSB mode only; the RGB and Hex values are consistent between panels. Also note that this bug affects over 50% of the "pure" hues within CS6's Color Cubes swatches palette. For more info, see the following forum post:
    http://forums.adobe.com/thread/1083391
    This bug has been observed in Fireworks CS6, CS5.1 and FW8 on Mac OS 10.6.8 (Snow Leopard).

    I haven't done anything other than add my footage to the timeline. I have 2 layers (1 targa seq and 1 png seq). As I move my mouse from the Timeline to the Comp Panel, the color values flash for a split second and go away. If I press Opt+1 (2, 3, and 4) the Info Panel displays the color for that one pixel but the values go blank as soon as I move my mouse. This happens in the Comp Panel mostly. If I open a Footage or Layer Panel, sometimes the values show, sometimes not. Never had this issue in previous versions.

  • How to display a variable value in WAD?

    I am using a replacement path variable to filter a report by project number. While this works fine, the project number is not easily visible (only via Filter -> Display All Filter Values and this only displays the description, not the key).
    How can I display the key and the description of the project number variable at the top of the report?
    Thank you,
    Dennis

    The first part is right -
    1) drag a text element onto the page, at a location in which you want the variable value to be displayed
    2) On the left hand bottom page - go to the web item properties for the text element
    3) scroll down to the specific properties for the item - in that uncheck the first two check boxes - display general text elements & display static filter values
    4) in the next item in the properties (List of text elements) click once on the box where List is written and then clcik on the small browse button that appears.
    5) in the window that opens, in the element type field, select variable/variable value as key (as per your requirement) and then under the element ID field type in the technical name of your variable that you want to display.
    click ok and save your template and try executing it.
    See if this solves your problem.
    regards,
    Nikhil

  • Problem with dispalying Colum name in ALV grid - Urgent

    My requirement is to print the column name as "Sales order item number".
    I declared the field for "Sales order item number" in the output table as
      aupos   LIKE vbrp-aupos
    And in field catalog
    pt_hlp_fieldcat-reptext_ddic = 'Sales order Item number'.
    pt_hlp_fieldcat-seltext_l    = 'Sales order Item number'.
    pt_help_fieldcat-seltext_m    = 'Sales order Item number'.
    pt_hlp_fieldcat-seltext_s   = 'Sales order Item number.'.
    Append pt_hlp_fieldcat.
    My layout is as follows
    PS_LAYOUT-ZEBRA = 'X'.
        PS_LAYOUT-window_titlebar = 'Invoice Buildup'.
        PS_LAYOUT-DETAIL_POPUP = ' '.
        PS_LAYOUT-TOTALS_BEFORE_ITEMS = ' '.
        PS_LAYOUT-GET_SELINFOS = 'X'.
        PS_LAYOUT-GROUP_CHANGE_EDIT = 'X'.
        PS_LAYOUT-confirmation_prompt = 'X'.
        PS_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
        PS_LAYOUT-NO_KEYFIX         = 'X'.
        PS_LAYOUT-KEY_HOTSPOT       = 'X'.
    The problem is still it is displaying the field name form the table-field label.
    How can i forcefuly display the colum name irrespect of table field label.
    Thanks in advance....

    See the sample code
    fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    Similarly u can
      fieldcatalog-fieldname   = 'AUPOS'.
      <b>fieldcatalog-seltext_m   = 'Sales order item number'.</b>
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    hope this helps.
    reward points if this helps.

  • Displaying a CLOB value on a report page in an application from a DB-link

    Hello, i am having trouble displaying a CLOB value from a DB-Link, i have tried using temporary local tables, but they didnt work.
    I am now trying to use a collection (page process) to display the CLOB column's data from the link but to no avail :(
    This is my collection source:
    declare
      col1   number;
      col2   date;
      col3   clob;
    begin
      apex_collection.create_or_truncate_collection('LOBCOLLECTIONPLAN');
      for r in ( select * from TABLENAME@DB-Link ) loop
        APEX_COLLECTION.ADD_MEMBER('LOBCOLLECTIONPLAN',
        p_c001          => r.col1,
        p_c002          => r.col2,
        p_clob001       => r.col3);
    end loop;
    end;when i run the page it displays 'no data found', yet there is data in the linked DB table.
    Is there anything i am doing wrong?
    Or is there another way around this?
    Thanks in advance

    There used to be a problem with pulling CLOB's through dblinks. I don't know if that is still an issue, but I think it probably is, as that is a 'problem' with the database itself.
    If you run the same SQL query on your local database, getting the CLOB's from a remote database, do you get any errors or do you get all of the data?
    No idea if I'm right or not, but it's something you should be able to test fairly easily.
    Bill Ferguson

  • How to realize summarized display of stock values on storage location level

    Hi all,
    we have implemented in Release 3.5 a report to analyze Stock values on storage location level according to the "How to...realize summarized display of stock values on storage location level"- paper. The report is running witout problems.
    Now we are going to upgrade our BW-system to release 7.01 in technical environment, we have not upgraded our reports.
    Executing the report in release 7.01 we get an error message "Object field I_S_DATA-0TOTALSTCK not found"
    The error is coming from line 14 Inc GET_FIELD_POSITION_D in Prog CL_EXM_IM_RSR_OLAP_BADI.
    Unfortunately the document "How to... realize summarized display of stock values on storage location level" can no longer be found in SDN.
    Is there any new How to - document for this kind of reporting?
    Does anybody can give me advice for chances in coding?
    Thank you for answers.
    Best regards,
    Andreas
    Edited by: Andreas Förner on Dec 9, 2009 1:52 PM
    I have got a solution from support.
    The solution is described in note 924320.
    Andreas

    Hi,
    I assume you have also created class "ZCL_IM_Z_MATERIAL_PRICE".
    In the implementation of virtual InfoObjects
    ZCL_IM_Z_MATERIAL_PRICE we have changed the method INITIALIZE:
    OLD:
    * fill the global variable
         UNASSIGN <l_global>.
         ASSIGN (l_global_name) TO <l_global>.
         CHECK <l_global> IS ASSIGNED.
         <l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
                                            i_fieldnm = <l_s_sfk>-kyfnm <--
                                            i_s_data  = i_s_data ).
       ENDLOOP.
    NEW:
    * fill the global variable
         UNASSIGN <l_global>.
         ASSIGN (l_global_name) TO <l_global>.
         CHECK <l_global> IS ASSIGNED.
         <l_global> = cl_exm_im_rsr_olap_badi=>get_field_position_d(
                                        i_fieldnm =
    <l_s_sfk>-VALUE_RETURNNM                                   
    i_s_data  = i_s_data ).
       ENDLOOP.
    This solved our issue.  Please regenerate the query after
    implementing the correction.
    Hope it solves you issue too.
    Best regards,

Maybe you are looking for

  • Problems with System Update 3.14.0019 after installation SP2

    Have you encountered problems with System Update 3.14.0019 after installation SP2 for Windows Vista?  After this upgrade I view  this error: "An error occurred while gathering user information." Thanks for the help

  • Display Port to DVI, 22inch Neovo, no signal

    So I bought a new Alu Macbook last week including the according Display Port to DVI adaptor, arrive home, plug in the adaptor, connect the screen (Neovo E-W22) > NO SIGNAL. I see my laptop screen "flash" for a sec like it always does when it detects

  • IWeb photo size

    Hello, I am trying to insert a photo gallery onto an "About Me" page. What I've done so far is to copy a photo album from an Album template, and paste it into the About Me page, then drag and drop the photos into it. The problem with this is A: the p

  • Stange Startup-shutdown

    Just set up my sister in laws new 21.5 iMac and everything is working fine. I'm just a bit concerned because of the way it starts up and shuts down. On startup the screen goes black and a bunch of lines of info go by. The same happens at shut down. I

  • Changing enabled background images based on jpeg EXIF data.

    Hello, I have a huge mess of desktop backgrounds in a folder that I have been sorting through with exif keywords. I currently have it set up to cycle through every image, but it would be nice to enable or disable images in the slideshow based on thei