Creation of reports using JasperReports

Hi all!
I have a problem with developing Java code for printing reports, by using JasperReports tool.
I'm trying to create report by using next peace of code (you can found it also on http://ensode.net/jasperreports_intro.html)
package myReport;
import java.util.HashMap;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
public class Sample
public static void main(String[] args)
JasperReport jasperReport;
JasperPrint jasperPrint;
try
jasperReport = JasperCompileManager.compileReport("c:\\report_1.jrxml");
jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
//JasperExportManager.exportReportToPdfFile(jasperPrint, "c:\\simple_report.pdf");
catch (JRException e)
e.printStackTrace();
I'm getting the following error:
Exception in thread main
java.lang.NoClassDefFoundError: org.apache.commons.digester.SetNestedPropertiesRule
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
at myReport.Sample.main(Sample.java:20)
BTW, file report_1.jrxml I created using iReport.
Can somebody help me how to solve this, and to create my report? Always, all the time with different examples I got same errors, I guess that I done somethiong wrong on in setup, or classpath, or something like that...
Thank you in advance!

dvohra09, first of all, thank you on your reply.
But I still running round in circles...
With following code (from JasperReports and Jdeveloper
package myReport;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;
import java.util.HashMap;
import java.util.Map;
import net.sf.jasperreports.engine.JREmptyDataSource;
import net.sf.jasperreports.engine.JRException;
import net.sf.jasperreports.engine.JasperCompileManager;
import net.sf.jasperreports.engine.JasperExportManager;
import net.sf.jasperreports.engine.JasperFillManager;
import net.sf.jasperreports.engine.JasperPrint;
import net.sf.jasperreports.engine.JasperReport;
import net.sf.jasperreports.engine.design.JasperDesign;
import net.sf.jasperreports.engine.xml.JRXmlLoader;
public class Sample
public static void main(String[] args)
try
InputStream input=new FileInputStream(new File("c:/jasperreports_demo.xml"));
JasperDesign design = JRXmlLoader.load(input);
catch (JRException e)
... I'm gettnig following error:
C:\jdeveloper\jdk\bin\javaw.exe -ojvm -classpath C:\jdeveloper\jdev\mywork\Workspace3\Project1\classes;C:\jdeveloper\jlib\jasperreports-1.2.7.jar;C:\jdeveloper\jakarta-struts\lib\commons-beanutils.jar;C:\jdeveloper\jakarta-struts\lib\commons-collections.jar;C:\jdeveloper\jakarta-struts\lib\commons-digester.jar;C:\jdeveloper\jakarta-struts\lib\commons-logging.jar myReport.Sample
Exception in thread main
java.lang.NoClassDefFoundError: org.apache.commons.digester.SetNestedPropertiesRule
     at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
     at myReport.Sample.main(Sample.java:27)
Process exited with exit code 1.
Also, as you can see, my path is defined as:
C:\jdeveloper\jlib\jasperreports-1.2.7.jar;C:\jdeveloper\jakarta-struts\lib\commons-beanutils.jar;C:\jdeveloper\jakarta-struts\lib\commons-collections.jar;C:\jdeveloper\jakarta-struts\lib\commons-digester.jar;C:\jdeveloper\jakarta-struts\lib\commons-logging.jar
I'm developnig using JDeveloper 10g.
Can you help more with this, please?
10000x thanx in advance!

Similar Messages

  • JasperReports and creation of reports using JasperReports

    Hi all!
    I have a problem with developing Java code for printing reports, by using JasperReports tool.
    I'm trying to create report by using next peace of code (you can found it also on http://ensode.net/jasperreports_intro.html)
    package myReport;
    import java.util.HashMap;
    import net.sf.jasperreports.engine.JREmptyDataSource;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperExportManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    public class Sample
      public static void main(String[] args)
        JasperReport jasperReport;
        JasperPrint jasperPrint;
        try
        jasperReport = JasperCompileManager.compileReport("c:\\report_1.jrxml");
        jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
        //JasperExportManager.exportReportToPdfFile(jasperPrint, "c:\\simple_report.pdf");
        catch (JRException e)
          e.printStackTrace();
    }I'm getting the following error:
    Exception in thread main
    java.lang.NoClassDefFoundError: org.apache.commons.digester.SetNestedPropertiesRule
        at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:202)
        at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:167)
        at net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:151)
        at net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:142)
        at myReport.Sample.main(Sample.java:20)BTW, file report_1.jrxml I created using iReport.
    Can somebody help me how to solve this, and to create my report?
    Thank you in advance!
    Message was edited by:
    proNick

    hey
    my problem is same as yours...
    could you please guide me on how u solved it and please also tell me about your jsxml file.. Could u tell me how did u run ur jasper reports as i am a beginner...
    **My java file which i am running in eclipse is**
    package first;
    import java.util.HashMap;
    import net.sf.jasperreports.engine.JREmptyDataSource;
    import net.sf.jasperreports.engine.JRException;
    import net.sf.jasperreports.engine.JasperCompileManager;
    import net.sf.jasperreports.engine.JasperFillManager;
    import net.sf.jasperreports.engine.JasperPrint;
    import net.sf.jasperreports.engine.JasperReport;
    public class JasperReportsIntro
         public static void main(String[] args)
              System.out.print("hello");
              JasperReport jasperReport;
              JasperPrint jasperPrint;
              try
                   jasperReport = JasperCompileManager.compileReport("c:\\Simple_Report.jrxml");
                   //jasperPrint = JasperFillManager.fillReport(jasperReport, new HashMap(), new JREmptyDataSource());
              catch (JRException e1)
                   e1.printStackTrace();
    and my jrxml file is+
    <?xml version="1.0"?>
    <!DOCTYPE jasperReport
    PUBLIC "-//JasperReports//DTD Report Design//EN"
    "http://jasperreports.sourceforge.net/dtds/jasperreport.dtd">
    <jasperReport name="Simple_Report">
    <detail>
    <band height="20">
    <staticText>
    <reportElement x="180" y="0" width="200" height="20"/>
    <text><![CDATA[Hello World!]]></text>
    </staticText>
    </band>
    </detail>
    </jasperReport>
    thank you for ur help

  • Create report using JasperReport

    I use JasperReport to create report. The jrxml file is created by using iReport. But when I run the program, it shows error:
    net.sf.jasperreports.engine.JRException: Error loading expression class
    Is there any can help me?
    Please help me, I need to do it in urgent.
    Can you suggest me other tools that I can use to create report in JSF portlet? Because I try many way with JasperReport but no success.
    Thank you very much.

    After going through sevaral forums looking for a solution to this problem here is what I figured
    - This problems is there for some time now.
    - No one seems to have identified the root cause for it or fail-safe solution
    - For some it went away by changing JVM for others it disappeared by changing JasperReports version
    For me, here is what I noticed. I compile the reports in each environment for same Java and JasperReports version
    - It appeared only on UNIX environment.
    - It is intermittent. out of 12 reports I have, one or the other fail in different environments (all on UNIX). There is no consistency and its not repeatable
    - For a moment, I thought the problem is resolved after I migrated JasperReports from 1.2.2 to 1.2.5. I wasn't so fortunate. There is still one report which fails to load.
    I know this information is not very useful, but I just wanted to share my frustration. I also wonder why this problem has not been addressed so far.

  • Creation of report using Report Painter

    Dear All,
    I have a requirement to create a report using Report Painter. I don't have any idea about this.
    Could you pls provide me some study materials or Links to study Materials, it could of great help.
    Regards
    Ranjan

    report painter
    http://help.sap.com/saphelp_47x200/helpdata/en/da/6ada3889432f48e10000000a114084/frameset.htm
    <b>reward points if helpful</b>
    Message was edited by: Rahul Kavuri
    Message was edited by: Rahul Kavuri

  • Creation of report using more than 1 table

    Hi,
    We need to create a report pulling profit center data from GLPCT as well as cost center data from COSS & COSP. Is it possible to do this using report painter?
    Thanks & Regards,
    Sangeeta

    Hi,
    That's possible only if you define a special table, which will be extracted from these three. Report tables are defined via GRCT transaction. You will require the help of your BASIS team to do so.
    Regards,
    Eli

  • Errors generating reoprs using jasperReports in dwr

    I am generating reports using jasperReports in dwr .i am getting these errors
    Errors were encountered when compiling report expressions class file:
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:4: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:5: package net.sf.jasperreports.engine.fill does not exist
    import net.sf.jasperreports.engine.fill.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:13: package net.sf.jasperreports.engine does not exist
    import net.sf.jasperreports.engine.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:15: package net.sf.jasperreports.engine.data does not exist
    import net.sf.jasperreports.engine.data.*;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:21: cannot find symbol
    symbol: class JREvaluator
    public class item_1195287830437_658743 extends JREvaluator
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:28: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_LOCALE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:29: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_VIRTUALIZER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:30: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_TIME_ZONE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:31: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_MAX_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:32: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_SCRIPTLET = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:33: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_PARAMETERS_MAP = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:34: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_CONNECTION = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:35: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_CLASS_LOADER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:36: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_URL_HANDLER_FACTORY = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:37: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_RESOURCE_BUNDLE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:38: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_REPORT_DATA_SOURCE = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:39: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    private JRFillParameter parameter_IS_IGNORE_PAGINATION = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:40: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_rate = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:41: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_item_id = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:42: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_name = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:43: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    private JRFillField field_manf_company = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:44: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_PAGE_NUMBER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:45: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_COLUMN_NUMBER = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:46: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_REPORT_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:47: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_PAGE_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:48: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    private JRFillVariable variable_COLUMN_COUNT = null;
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:71: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_LOCALE = (JRFillParameter)pm.get("REPORT_LOCALE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:72: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_VIRTUALIZER = (JRFillParameter)pm.get("REPORT_VIRTUALIZER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:73: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_TIME_ZONE = (JRFillParameter)pm.get("REPORT_TIME_ZONE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:74: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_MAX_COUNT = (JRFillParameter)pm.get("REPORT_MAX_COUNT");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:75: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_SCRIPTLET = (JRFillParameter)pm.get("REPORT_SCRIPTLET");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:76: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_PARAMETERS_MAP = (JRFillParameter)pm.get("REPORT_PARAMETERS_MAP");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:77: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_CONNECTION = (JRFillParameter)pm.get("REPORT_CONNECTION");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:78: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_CLASS_LOADER = (JRFillParameter)pm.get("REPORT_CLASS_LOADER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:79: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_URL_HANDLER_FACTORY = (JRFillParameter)pm.get("REPORT_URL_HANDLER_FACTORY");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:80: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_RESOURCE_BUNDLE = (JRFillParameter)pm.get("REPORT_RESOURCE_BUNDLE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:81: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_REPORT_DATA_SOURCE = (JRFillParameter)pm.get("REPORT_DATA_SOURCE");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:82: cannot find symbol
    symbol : class JRFillParameter
    location: class item_1195287830437_658743
    parameter_IS_IGNORE_PAGINATION = (JRFillParameter)pm.get("IS_IGNORE_PAGINATION");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:91: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_rate = (JRFillField)fm.get("rate");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:92: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_item_id = (JRFillField)fm.get("item_id");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:93: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_name = (JRFillField)fm.get("name");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:94: cannot find symbol
    symbol : class JRFillField
    location: class item_1195287830437_658743
    field_manf_company = (JRFillField)fm.get("manf_company");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:103: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_PAGE_NUMBER = (JRFillVariable)vm.get("PAGE_NUMBER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:104: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_COLUMN_NUMBER = (JRFillVariable)vm.get("COLUMN_NUMBER");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:105: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_REPORT_COUNT = (JRFillVariable)vm.get("REPORT_COUNT");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:106: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_PAGE_COUNT = (JRFillVariable)vm.get("PAGE_COUNT");
    ^
    D:\Program Files\Apache Software Foundation\Tomcat 5.0\item_1195287830437_658743.java:107: cannot find symbol
    symbol : class JRFillVariable
    location: class item_1195287830437_658743
    variable_COLUMN_COUNT = (JRFillVariable)vm.get("COLUMN_COUNT");
    please help me this regard

    Hi Steven,
    The results of trying this generated the same DCOM error again at the early hours of this morning as it's always done.
    The exact error generated from the server is listed below:
    Event Type: Error
    Event Source: DCOM
    Event Category: None
    Event ID: 10016
    Date:  3/12/2014
    Time:  4:31:30 AM
    User:  NT AUTHORITY\NETWORK SERVICE
    Computer: HAL-SPS
    Description:
    The application-specific permission settings do not grant Local Activation permission for the COM Server application with CLSID
    {61738644-F196-11D0-9953-00C04FD919C1}
     to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20).  This security permission can be modified using the Component Services administrative tool.
    For more information, see Help and Support Center at
    http://go.microsoft.com/fwlink/events.asp.
    Given this machine isn't on the domain and we have to log into it as local administrator, the local administrator account has been granted local launch and local activation permissions under IIS WAMREG admin on the server.
    Was this the correct account, or should I have granted permissions to another account?
    SB.

  • Error in creating Report by using JasperReport

    Anybody already use JasperReport to create report please help me! I need your help in urgent.
    I follow the guide from http://ensode.net/jasperreports_intro.html. However when I run, it show error as follow:
    Couldn't complete xls export:java.security.AccessControlException: access denied (java.io.FilePermission C:\Program Files\Sun\Creator2ea\SunAppServer8\domains\creator\config\jasperexample.java delete)
    (jasperexample is the name of report I want to create)
    Any help or advice is high appreciate.
    Thanks so much.
    Carol

    Hi,
    Please go through the below thread:
    http://swforum.sun.com/jive/thread.jspa?threadID=50166
    Hope this helps.
    Thanks,
    RK.

  • ALV report using the field catalog

    which is the quickest way to generate an ALV report using the field catalog merge.  without needing to build the field catalog manually .
    is it easier to create a structure and passe it in the field catalog merge .  if yes can i have an example plzzzz

    hI
    Supports the creation of the field catalog for the ALV function modules
    based either on a structure or table defined in the ABAP Data
    Dictionary, or a program-internal table.
    The program-internal table must either be in a TOP Include or its
    Include must be specified explicitly in the interface.
    The variant based on a program-internal table should only be used for
    rapid prototyping since the following restrictions apply:
    o Performance is affected since the code of the table definition must
    always be read and interpreted at runtime.
    o Dictionary references are only considered if the keywords LIKE or
    INCLUDE STRUCTURE (not TYPE) are used.
    If the field catalog contains more than 90 fields, the first 90 fields
    are output in the list by default whereas the remaining fields are only
    available in the field selection.
    If the field catalog is passed with values, they are merged with the
    'automatically' found information.
    Below is an example ABAP program which will populate a simple internal table(it_ekpo) with data and
    display it using the basic ALV grid functionality(including column total). The example details the main
    sections of coding required to implement the ALV grid functionality:
                             Data declaration
                             Data retrieval
                             Build fieldcatalog
                             Build layout setup
    *& Report  ZDEMO_ALVGRID                                               *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic requirement for this demo is to display a number of       *
    *& fields from the EKKO table.                                         *
    REPORT  zdemo_alvgrid                 .
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
    *       Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    * There are a number of ways to create a fieldcat.
    * For the purpose of this example i will build the fieldcatalog manualy
    * by populating the internal table fields individually and then
    * appending the rows. This method can be the most time consuming but can
    * also allow you  more control of the final product.
    * Beware though, you need to ensure that all fields required are
    * populated. When using some of functionality available via ALV, such as
    * total. You may need to provide more information than if you were
    * simply displaying the result
    *               I.e. Field type may be required in-order for
    *                    the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    *  fieldcatalog-do_sum      = 'X'.
    *  fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-do_sum      = 'X'.        "Display column total
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    *       Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    *  gd_layout-totals_only        = 'X'.
    *  gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
    *                                         "click(press f2)
    *  gd_layout-zebra             = 'X'.
    *  gd_layout-group_change_edit = 'X'.
    *  gd_layout-header_text       = 'helllllo'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
    *       Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
    *            i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
    *            i_callback_user_command = 'USER_COMMAND'
    *            i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
    *            it_special_groups       = gd_tabgroup
    *            IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
    *            is_variant              = z_template
           tables
                t_outtab                = it_ekko
           exceptions
                program_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.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
    *       Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
      from ekpo
      into table it_ekko.
    endform.                    " DATA_RETRIEVAL

  • Diff b/w creation of Report in Shared folder and in My folder

    Dear All,
    May i know what's the diff b/w creation of Report in Shared folder and in My folder.
    Is there any features changes.
    Regards..

    Hi,
    you can add shared folders to roles and so give users assigned to this role the permission to use the reports in that folder. Reports and folders in My Folders are not sharable.
    Regards
    Rainer

  • To find which reports uses the tables MKFP & MSEG

    Hi Experts,
    I have a list predeof reports. I just want to know if these reports uses the table MKFP & MSEG. Is there any predefined function or report available in order to find this one?
    Valuable answers will be rewarded.
    Thanks,
    Satish.

    user for
    MKFP  header masater document
    mseg  docu segment material
    Billing Document not released to accounting / Accounts determination:
    To resolve the error, you can analyze account determination in the billing document. Process:
    Goto T.Code: VF02 & Enter Invoice number
    Next (On the top most strip) goto Environment
    Next (Select Environment) go to Account determination
    Next (In Account Determination) select Revenue Account Determination (first option)
    This will list all the condition types in the Billing document & analyze each condition & check for which G/L accounts is not determined.
    Possible errors:
    1. VKOA not maintained for required combination
    Solution: Maintain the combination in VKOA.
    2. Account Assignment of Customer / material not maintained in Customer / Material Master (If maintained in combination in VKOA).
    Solution:
    Option 1 (Standard solution):
    step 1: Cancel Billing Document --> Reverse PGI --> cancel Delivery --> Cancel Sales Order
    step 2: Maintain Customer master / Material Master correctly.
    step 3: Recreate sales Order --> Delivery --> PGI --> Invoicing.
    Option 2:
    Force the Account Assignment Group of Customer / Material through Debug in change mode of Billing document, which will release Billing Document to Accounting.
    3. Account Key not maintained in Pricing Procedure:
    Impact: This may create accounting document, but if condition type, which are to be posted to account, but do not have account key maintained in pricing procedure, it will not be post the relevant condition type to G/L account.
    4. Billing Document not being released to accounting --
    In Material Master, there is some link between Profit Centre & MRP Type. If one of it is not maintained, erratically few documents get stuck while releasing Billing Document to accounting. Few of course get posted.
    Solution1: Cancel Billing Document --> Reverse PGI --> Cancel Delivery --> Block the sales Order & Create new sales Cycle all over again after rectifying Material master.
    Solution 2: (Temporary Solution) In Debug mode in Billing, force the Profit Center in Billing Document with the help of Abaper. But ensure Material master is rectified.
    From FI Side, you require to check that all the G/L account has been maintained through T.Code: FS00. G/L account being Master data has to be created in each client to upload through LSMW / SCATT / BDC.
    In Billing Document in change mode (in the first screen where we enter Billing Document number), on the top most left hand corner, take a dropdown on Billing Document & select Release to accounting. Here you can get the under mentioned possible message:
    1. G/L account not found
    2. Cost Element not maintained for G/L account.
    In both the above cases, FI consultant requires to take corrective action.
    Pricing:
    This is very specific & differs from client to client & may also differ based on scenario.
    Write-up on Pricing -
    In SD, Pricing Procedure is determined based on Sales Area (Sales Organization + Distribution Centre + Division) + Customer Pricing Procedure + Document Pricing Procedure. Sales Area is determined in Sales Order Header Level. Customer Pricing Procedure is determined from Customer Master. Document Pricing Procedure is determined from Sales Document Type / Billing Type (if configured). Once the pricing procedure is determined, Condition records are fetched. If appropriate condition records are found, the price is determined. If Mandatory pricing condition is missing, system will through an error message.
    In SD, the steps to configure Pricing procedure are as under:
    Step 1:
    Condition table: If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Table (select the required fields combination, which will store condition record).
    Step 2:
    Access Sequence: If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
    Step 3:
    Condition Type: If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Type. It is always recommended to copy an existing similar condition type & make the necessary changes. Here we assign Access sequence to Condition type.
    Step 4:
    a. Pricing Procedure: It is recommended to copy a similar pricing procedure & make the necessary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Maintain Pricing Procedure.
    b. Pricing Procedure: After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Determine Pricing Procedure.
    5. Condition record: Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc.
    It is assumed that document pricing procedure, customer pricing procedure , ... are in place.
    Sales Document not assigned to Sales Area:
    SPRO --> Sales & Distribution --> Sales --> Sales Documents --> Sales Document Header --> Assign Sales Area To Sales Document Types --> Assign sales order types permitted for sales areas (do ensure to maintain combined Sales organization, combined Distribution channel & combined division. for eg: Sales org 1000 & sales org 1000, Sales org 2000 & sales org 2000, & so on ....
    similarly for distribution channel & Division, so that the Sales area combination is available for assignment to Sales Document Type.)
    Issues related to Customer Master data:
    1. what is the impact of leaving customer pricing procedure & customer statistic group blank in customer master --> sales area data --> sales tab:
    If Customer Pricing Procedure is left blank, Pricing will not be determined.
    If customer statistic group is left blank, then data will not flow to standard reports.
    2. Who maintains reconciliation account in customer master?
    Ideally, reconciliation account is maintained by FI person, but if SD person is authorized & has the knowledge of which reconciliation account to be maintained, then even SD person can maintain the same.
    3. Terms of payment appear in Company Code Data & sales Area Data. What is the impact of each? why is it not populated automatically, once it is maintained at either field?
    Terms of payment from company code data is for reporting purpose & it is from sales area data that it flows to sales order.
    It is a standard feature of SAP that it is not populated automatically if maintained at either of the field, but it is a must in sales area data & can be skipped in company code data.
    4. Unable to select Sales Area for Customer Master Creation?
    Most Probably either sales area is not defined or customization not done for common Sales Org & Common Distribution Channel. To maintain this configuration: SPRO --> Sales & Distribution --> Master Data --> Define Common Distribution Channels / Define Common Divisions

  • Printing reports using fop

    Hi: My java application creates reports using fop and xml. Currently, I am printing the reports to pdf files. Is it possible to send the report straight to the printer instead of first creating the pdf file and then printing the report? If it is, can anyone please give me some help on how to do it?

    JasperReports is a powerful report-generating tool that has the ability to deliver rich content onto the screen, to the printer or into PDF, HTML, XLS, CSV and XML files.
    http://jasperreports.sourceforge.net
    There is a convenient visual designer to create reports for jasperreports library called iReport.
    Take a look at http://ireport.sourceforge.net
    Giulio

  • How do i display Jasper Report Using Jsp

    Hi,
    Can anyone give me the code snippet of how to display a jasper report using jsp
    Thanx in advance
    --H                                                                                                                                                                                                                                           

    JasperReport jasperReport =
    JasperCompileManager.compileReport(file);
    JasperPrint jasperPrint = JasperFillManager.fillReport(
    jasperReport, null, conn);
    JasperExportManager.exportReportToHtmlFile(
    jasperPrint, tDest);
    JasperViewer.viewReport(jasperPrint);
    //replace file -> .jrxml file source path
    conn -> database connection name
    tDest -> .html file destination

  • Would you plz tell me where i am wrong using JasperReports?

    Hi everybody!
    I use JasperReports to create a simple report
    here is the code:
    public class TestReport {
         private class TestObject{
              String text = "";
             public TestObject(String text){
                  this.text = text;
             public String getText(){
                  return this.text;
             public void setText(String text){
                  this.text = text;
         public TestReport() {
         public static void main(String[] args) {
              TestReport t = new TestReport();
              HashMap<String, TestObject> myParams = new HashMap<String, TestObject>();
              myParams.put("id", t.new TestObject("id"));
              try{
                   JasperReport jasperReport =
                        JasperCompileManager.compileReport("reports/test.xml");
                   JasperPrint jasperPrint = JasperFillManager.fillReport(
                             jasperReport,
                             myParams,
                             //new HashMap(),
                             new JREmptyDataSource());
                   JasperExportManager.exportReportToPdfFile(jasperPrint,
                             "reports/test.pdf");
              catch (JRException e){
                   e.printStackTrace();
              /*String dirname = "d:/temp/";
            String filename = "simple.pdf";
            try {
                Runtime rt=Runtime.getRuntime();
                Process pr=rt.exec("c:/Program Files/Adobe/Acrobat 7.0/Reader/AcroRd32.exe " + "\"" + dirname + filename + "\"" );
            catch (Exception e) {
    }

    No, it's your job to identify the problem. Are you getting compiler errors? If so, what are they? Or are you getting run-time exceptions? If so, what are they and what does the stack trace say? Or does the code not do what you wanted it to do? If so, what did you want it to do and what does it do instead?
    And I believe you will find JasperReports has its own forum where you can ask questions, once you have formulated a question.

  • Agewise Stock Report using FIFO out of 0IC_C03

    Hello,
    I have a requirement where I need to create agewise stock report using FIFO.  I have the stock availability from 0ic_c03.
    Can any one plese tell me how to achieve the FIFO based agewise stock.  I have various age buckets like 0-30 , 30-60, 60-90 etc.
    If the total stock is made up of multiple receipts and I also have few issues, how can I get the balance stock based on FIFO using the GR date.
    I would appreciate your help.
    Regards
    Vasun

    Hi,
    This InfoCube allows you to evaluate stocks from ERP.
    A new feature in this InfoCube is the pre-existing stock key figure Valuated Stock Quantity (0VALSTKQTY) and the associated movement key figures Receipt Quantity Valuated Stock (0RECVALSTCK) and Issue Quantity Valuated Stock (0ISSVALSTCK).
    This is made possible by including the InfoObject indicator Evaluation Special Stock (0INDSPECSTK) in the InfoSource Material Stocks (as of SAP BW 3.1 Content) (2LIS_03_BX). The InfoSource used up until now, Transfer BW: Stock (2LIS_40_S278), did not recognize this InfoObject.
    Note the Remarks on Filling Non-Cumulative InfoCubes.
    The following Basis key figures can be restricted in the query definitions to stock categories (0STOCKCAT), such as project stock, and to stock types (0STOCKTYPE), such as quality inspection:
    ·        Quantity of Valuated Stock (0VALSTCKQTY)
    ·        Receipt Quantity Valuated Stock (0RECVALSTCK)
    ·        Issue Quantity Valuated Stock (0ISSVALSTCK)
    In this way, for example, you can evaluate the quantity of valuated project stock (Q).
    The newly-included Basis key figures are only updated through the InfoSources 2LIS_03_BX and 2LIS_03_BF.
    In this way, none of these Basis key figures can be used in queries that are built up on InfoCubes which were inventory-initialized through InfoSource 2LIS_40_S278. Moreover, the queries 0IC_C03_Q0013 to 0IC_C03_Q0016 cannot be used in the combination of InfoSources 2LIS_40_S278 and 2LIS_03_BF.
    Note the following procedures when filling the InfoCube 0IC_C03 for the first time with non-cumulative data from ERP:
           1.      Create non-cumulatives with the program BW: Initialization of Opening Non-Cumulatives in Transfer Structure (RMCBINIT_BW).
           2.      Initialize the movements/revaluations with the program RMCBNEUB/RMCBNERP.
           3.      Post in the InfoCube using the update method Creation of Non-Cumulatives from the InfoSource 2LIS_03_BX.
           4.      Post in the InfoCube using the update method Initialization of the Delta Process from the InfoSources 2LIS_03_BF and 2LIS_03_UM.
    Refer to SAP Note 0643687 (Compression of Non-Cumulative InfoCubes) regarding the subsequent steps for compression.
           5.      Compression of the request from 2LIS_03_BX with update of the marker.
           6.      Because in this case you are posting movements and revaluations in the InfoCube that occurred before the non-cumulative creation and which lead to this non-cumulative creation, you must execute a compression without updating the marker. For more information, see InfoCubes.
           7.      Thereafter, you can transfer new movements and revaluations to the BW system as usual (for performance reasons, we recommend that you regularly compress with updates of the marker, see also InfoCube Compression).
    Update Logic
    When updating the DataSources 2LIS_03_BX, 2LIS_03_UM and 2LIS_03_BX, the System applies the following logic:
    Characteristic Value Calculation
    In principle, values are updated with Plant, Material, and Stock Category only. Quantities are updated with these characteristics, as well as with Storage Location, Batch Number, and Stock Characteristic (see also SAP Note 589024: Evaluations in BW with the Characteristics Storage Location and Stck Char.).
    Key Figure Value Calculation
    The source field for quantities is the field CPQUABU, and for values it is the field CPPVLC.
    In the update, the InfoSource fields Stock Characteristic and Stock Category control whether "special stock" key figures are updated, such as Quality Stock or Stock in Transit (only relevant for 2LIS_03_BF and 2LIS_03_UM).
    The general key figures (for example, Total Stock), however, can also be restricted in queries to Stock Characteristic and Stock Category, and then deliver the same result (key word: account model versus key figure model).
    The values for Stock Characteristic and Stock Category are dealt with on the extractor side in the LMCB1F20 include (routine STA_VERAENDERUNG).
    The InfoObject 0INDSPECSTK (field KZBWS) also controls whether the sales order stock / project stock is valuated or non-valuated.
    The system valuates the transaction key to decide whether the issue movement key figure or receipt movement key figure is updated. For more information, see SAP Note 492828: Determining the transaction key for 2LIS_03_BF + 2LIS_03_UM.
    InfoSources
    This InfoCube is based on the following InfoSources:
    ·        2LIS_03_BX
    ·        2LIS_03_BF
    ·        2LIS_03_UM
    Characteristics
    InfoObject
    Description
    0MATERIAL
    Material
    0PLANT
    Plant
    0STOR_LOC
    Storage Location
    0BATCH
    Batch Number
    0STOCKTYPE
    Stock Type
    0STOCKCAT
    Stock Categories
    0GN_VENDOR
    Vendor
    Time Characteristics
    InfoObject
    Description
    0CALDAY
    Calendar Day
    0CALMONTH
    Calendar Year/Month
    0CALWEEK
    Calendar Year/Week
    0CALYEAR
    Calendar Year
    Key Figures
    InfoObject
    Description
    0RECVS_VAL
    Value Received - Valuated Stock
    0VALSTCKVAL
    Value - Valuated Stock
    0ISSVS_VAL
    Value Issued - Valuated Stock
    0ISSBLOSTCK
    Issue Quantity - Blocked Stock
    0ISSCNSSTCK
    Issue Quantity - Consignment Stock
    0ISSQMSTCK
    Issue Quantity - Inspection Stock
    0ISSTRANSST
    Issue Quantity - Stock in Transit
    0RECBLOSTCK
    Receipt Quantity - Blocked Stock
    0RECCNSSTCK
    Receipt Quantity - Consignment Stock
    0RECQMSTCK
    Receipt Quantity - Inspection Stock
    0RECTRANSST
    Receipt Quantity - Stock in Transit
    0QMSTOCK
    Inspection Stock
    0BLOCKEDSTK
    Blocked Stock
    0CNSSTCKQTY
    Quantity - Consignment Stock
    0TRANSSTOCK
    Stock in Transit
    0ISSSCRP
    Issue Quantity - Scrap
    0ISSVALSCRP
    Issue Value - Scrap
    0RECTOTSTCK
    Receipt Quantity - Total Stock
    0ISSTOTSTCK
    Issue Quantity - Total Stock
    0TOTALSTCK
    Quantity - Total Stock
    0ISSVALSTCK
    Issue Quantity - Valuated Stock
    0RECVALSTCK
    Receipt Quantity - Valuated Stock
    0VALSTCKQTY
    Quantity - Valuated Stock
    0VENCONCON
    Consumption Value - Vendor Consignment Stock
    Units
    InfoObject
    Description
    0LOC_CURRCY
    Local Currency
    0BASE_UOM
    Base Un
    Regards,
    Hareesh

  • ALV Grid Report using OOPS

    Hi Friends,
    I have to develop the ALV Grid report using the Classes ie OOPS, as i am new to OOPS and know little bit of ALV,  so it will be little bit tough to develop the object so plz try to solve my query. I'm sending the Functional specs:
    The program should display the list of Purchase orders and Purchase requisitions created for specified materials. The output should be displayed in form of ALV grid. There should be separate ALV Grid for Purchase order and Purchase requisition list. The user should also have an option to save various ALV layouts and should be able to choose the ALV layout on the selection screen.The user should be able to navigate to the relevant document form the ALV grid. (Use hyperlink).
    The output must appear in the same screen.     
    Selection screen fields–
         Material Number
         Creation date (For both, PR and PO)
         Output fields –
              List one –
                  Po Number
                                        Po Item number
                                        Vendor
                                        Date
                                        Material Number
                                        Material Quantity
              List two –
                             PR Number
                                        Material Number
                                        Material Quantity
                                        Release status
                                        Date
                                        Reference
         Tables:  EKPO, EKKO, EBAN
         Transactions: ME23N
    HINT –      Use class - CL_GUI_ALV_GRID
    thnks in advance.....

    Hi,
    Check out these standard reports, they are enough to help you out .
    BCALV_GRID_01
    BCALV_GRID_02
    BCALV_GRID_03
    BCALV_GRID_04
    BCALV_GRID_05
    BCALV_GRID_06
    BCALV_GRID_07
    BCALV_GRID_08
    BCALV_GRID_09
    BCALV_GRID_10
    BCALV_GRID_11
    BCALV_GRID_AND_POPUP
    BCALV_GRID_DEMO
    Regards,
    Amit

Maybe you are looking for

  • [SOLVED, PARTIALLY] Xorg 1.5 leaves me with freezed and colored screen

    I was using xorg-server 1.4 with xf86-video-i810 and xf86-input-keyboard 1.3.1 and it was fine. Today, I upgrade my system and xf86-input-keyboard was upgrade to 1.3.2. With this upgrade, I was able to log into X but my keyboard was unusable. And sin

  • View Link with destination VO in expert mode

    I have view link with the destination View Object in expert mode for applying a custom query. The view link doesn't run nicely because it seems to never find the right table. Does anyone manage to create this kind of view link based on a custom query

  • C3-00 stuck call in call log

    Hi, I have the following issue with my c3-00  since yesturday afternoon all of a sudden the call log did not record my calls anymore , none of them missed, received dialed. it showed me all the calls up until yesturday afternoon. I went and deleted t

  • Outlook Express 6 is missing calendar app..where do I get it ???????

    I have Windows XP sp2, and my calendar seems to be missing from the Outlook Express 6 app. Where can I download the calendar app from? I checked on the Microsoft website, but did not see what I was looking for. Thanks!

  • Problem with instalation - Nokia Software Updater ...

    Hi, I've been trying to update firmware on my 5800 for 3 hours. The main problem is that I can't install NSU: I start instalation (I tried from CD and I downloaded from nokia.com), the progres of instalation is 0% and it does not change during second