Report based on Object Types

Hi All,
I am using Oracle 9i & Developer 6i on Windows platform in client/server environment. I created a report based on an Object Type defined in the Database. I am facing two problems in that:
1. Its not picking up Date columns properly. When I run the report, I receive error: "REP-0612: Invalid Date Mask.
ORA-01801: date format is too long for internal buffer.".
When I checked, I noticed that all the date columns in my Data Model, which are coming from Object Type are of Width 9 only. I want to ask how is it so, & how can I sort it out. I have not specified any format model for dates neither in Object Type nor in Report anywhere.
2. Another thing is, after reopening the report, in the report builder, i mean closing & then opening the .rdf file, when I try to run the report, I receive following error: "REP-0499: Column 'Column_Name' selected by the query is incompatible with report defination". This column is one of the columns/attributes of the object type on which my report is based. Though, nothing has been changed in the object type or any other database object, it gives this error, everytime, I try to run the report, after closing it(after proper saving) & opening it again. Can anyone help me by telling, why is it happening like this.
Thanks in Advance,
Inderjeet Singh

Thanks for the quick reply InoL,
I'm not familiar with breakOrder, however when I review the code behind the report, I see nothing but:
breakOrder="none" in several lines. There is no other value other than "none" for this setting. Here's an excerpt:
"Group Name" breakOrder="none".
What exactly does breakOrder control and what other values are possible?
As far as pageProtect goes, there are two entries that show:
<generalLayout pageProtect="yes" verticalElasticity="variable"/>
Is it worth a shot to change both to "no" to see what happens?
Thanks,
Dave

Similar Messages

  • Report based on Output Type

    Dear Friends,
    If there is any functionality or Table from where i can get list of Invoices based on OUTPUT TYPE
    we have diff invoice types like sales invoice, service invoice, lease invoice and for all invoices there is dif output type is assigned. If i want to generate service invoices report based on output types assgined to it how we can do that?
    Regards
    Vishal

    hi
    Thanks Friend
    But again there is one problem when i am running this in Devlopment client its working fine but in other client not working n giving message No messages for initial processing exist
    what may be the problme?
    Regards
    Vishal

  • How to trigger a form based on object type and process type

    Hi all,
    I am new into SRM.. I have been asked to develop a form by cloning an existing standard form..
    Using bbp_output_change_sf badi you can trigger the form by passing the object type but the scenario is such that depending on the object type and process type the new form should be triggered.
    The parameter iv_object_type passes the object type but how could i pass the process type ?
    In the badi I noticed an import parameter is_event that has a field called transction_type that carries the process type but this field never got populated when i checked using debugger.
    Please help as to how i can trigger the form based on the object_type and the process_type.
    Thanx in advance.

    Thanx again Jay Yang.. Well is there any possibility that you could get the items that were confirmed..
    Let me eleborate..
    Suppose in the PO u order an item for 10 nos and 5 gets confirmed and u return 2..
    Well in my case it is that i need to fill up a field Qty returned / Qty confirmed..
    I was able to get the number of items from the PO by passing the the passing the parameter to the FM "bbp_pd_conf_getdetaill"
    but i dont know how to get the number of items been confirmed..
    The quantity field in the line item structure gives me the number of items returned..
    Can u tell me how to get the number of items been confirmed....

  • Report based upon material type against movement type for a period ?

    i need a inventory report which should be based upon materil type & movement type for a particular period.
    For example- for last monthe how much Raw material has been issued againast production order. i would like report to allow me  ROH and movement type 261/262 and period entry. MB5B does not satisfy my requirements, ist of all there si no material type/secondly it restricts itself if i use movement types
    thanks
    sam

    Hi,
    You can create a small program to get report.
    Input fields Date of posting BUDAT, Movement type BWART (Plant if required).
    Check field BUDAT (Posting Date. Should check based on input date field.) In table MKPF.
    If data falls in required date range. Pick MBLNR-MKPF (Mat doc number).
    Go to table MSEG compare MBLNR-MKPF and MBLNR-MSEG if same pick field MATNR-MSEG (Mat number).
    Go to MARA check MTART-MARA for picked MATNR-MARA (in previous step). Take the material type.
    Add the below fields to out put
    MATNR, MTART, BWART-MSEG (Movt type), ERFMG-MSEG (quantity posted), WERKS-MSEG (Plant received), LOGRT-MSEG (S. Loc received).
    Please take advise from ABAPer regarding prog logic
    Thank you,
    Anand K

  • Stock report based on stock type with a storage location

    Is there a standard SAP report that will give me the stock information based on the storage location and stock type (unrestricted, QI, blocked, etc?)...for instance if I want to find all QI stock in a certain plant/storage location?  I want it to show a list of materials and their quantities, not on an individual basis as in MMBE.
    Thanks!

    Thanks again for your response.  I've used your last mentioned method before but with MMBE you have to enter a material number.  We want a report of all materials in a particular stock type.
    I was able to achieve this by goign to MB52 and setting up a filter on a layout.  My users can now select that filter on the selection screen to get the desired result.
    Thanks again for you attempts to help!

  • Creating a Report based on different schema objects

    Hi,
    I have a situation in creating Reports for my database performance.
    Let me explain my requirment.
    There are 2 schemas in my database called X, Y
    X owns all the performance related data. But Y has read access on X objects.
    Now in APEX I have a developer DEV1 is mapped to database schema Y through WS1.
    I cannot map DEV1 to database schema X for security reasons.
    When I am trying to create a report as DEV1, it is allowing me to create based on the objects owned by schema Y.
    However it is not allowing me to create a report based on objects owned by X though Y has SELECT privileges on X's objects.
    Can any one help in this?
    Regards
    Balaji

    This is the query which I am using to build a report
    SELECT
    rollup_timestamp "Date",
    max(decode(target_guid,'199F0B201A3D71A63040BADFAA4F9E90',average,0)) host1,
    max(decode(target_guid,'3FB1329F59339C07E11304B69DC4E594',average,0)) host2
    FROM "sysman.MGMT$METRIC_DAILY"
    WHERE
    (target_guid='199F0B201A3D71A63040BADFAA4F9E90'
    or
    target_guid='3FB1329F59339C07E11304B69DC4E594')
    AND
    metric_name='Load'
    AND
    metric_column='memUsedPct'
    AND
    rollup_timestamp >= to_date('01-10-2009','dd-mm-yyyy') and rollup_timestamp <= sysdate
    GROUP BY rollup_timestamp
    ORDER BY "Date"
    And for your previous question I couldn't even create a page.
    Regards
    Balaji
    Edited by: user7290747 on 6/01/2010 16:17

  • Origin Object Type for Plant Maintenance Orders in Profit Center Accounting

    Hi,
    I want to make a selection for plant maintenance orders in transaction KE5Z, report for line items in Profit Center Accounting. When checking possible input options for the selection field <b></b>Origing Object Type<b></b> the system shows value 15 for Maintenance Orders. However I discovered in our system the maintenance orders are reported as Origing Object Type 03, which is Overhead Orders according to the selection list. So I cannot distinguish between overhead orders and maintenance orders in this report.
    What is the cause our maintenance orders are assigned to Origin Object Type 03 in stead of 15 and what is the customizing transaction to correct this ?

    Looks like, this is no longer supported. Refer to note 168004 and  102434.
    Cause and prerequisites
    These functions were not programmed to meet the above requirements.
    As of Release 4.0, the object type is transferred directly.
    Solution
    Once you have implemented the advance correction. the origin object type 'Overhead cost order' (03) is assigned irrespective of what is the SCOPE for orders.
    As a result of implementing this note or as of Release 4.6B, the order category distinguishes between overhead cost orders and production orders in the origin object type. In this case, the following origin object types result (as described above in 1.):
    Order category 04 to 10, 40 => 04 (production order)
    All other order categories => 03 (overhead cost order)
    The logic that the origin object type was set depending on the object class (as described above in 2.) is no longer supported. The object class can be evaluated separately in Reporting. -
    The corrections of this note refer in Release 4.0B to the corrections from Note 102434.

  • Has anyone used Object types in developer

    If Oracle tables are based on Object types, how does Oracle developer recognise them. Can those tables be used ? I mean if I created a type like :
    CREATE TYPE address_typ AS OBJECT (
    street VARCHAR2(15),
    city VARCHAR2(15),
    state CHAR(2),
    zip VARCHAR2(5)
    and another type :
    CREATE TYPE person_typ AS OBJECT (
    id NUMBER,
    first_name VARCHAR2(10),
    last_name VARCHAR2(10),
    dob DATE,
    phone VARCHAR2(12),
    address address_typ);
    and then create a table object_customers :
    CREATE TABLE object_customers OF person_typ;
    Can i use this table in Oracle developer forms ? If anyhow ?

    Yes I added the same 1GB Corsair back in May 2006 to the stock 512MB. Replace the 512MB with the 1GB then put the 512MB in the other slot. Slide them in untill you feel then stop, then give them a hard shove to seat them into there slots. After you have seated both modules close the ejector clips and replace the cover.
    http://docs.info.apple.com/article.html?artnum=303084
    That extra 1GB will make a big difference, you'll love it.
    Dennis
    17" iMac Intel Core Duo 1.5GB Ram   Mac OS X (10.4.8)   Maxtor 300GB FireWire 2G Nano

  • Urgent issue REPORT FOR ALL MATERIAL BASED ON STOC TYPE

    Hi
    I want report for based on stock type
    i want to check the stock for all mterial with  stock type "quality inspction"
    i want that type of material documents
    is it possible to see the report
    regards sesidhar

    I CREATE material A...with out seleting QM view
    I create one more material B.... with select QM view
    both r ROH material type..
    when i caeate GR for material A. with stoc type 'QYALITY INSPECTION.. for this material system does not creat quality LOT....
    when i create GR for material B with stock type 'QYALITY INSPECTION.... for this material system created lot..
    but are GR done by 101 movement..
    but i want report for materials which are stock type QI...but does not display Material which r lot created...?
    is it possible..
    regards
    sesidhar

  • BI Publisher report based on VO (View Objects)

    Hi,
    I would like to know, can we generate BI Publiher report based on VO (view Objects ). Actually we are creating VOs for ADF and want to know if that can be used for generting BIP report.
    Thank,s
    Niraj

    Hi Niraj
    Yes, you can, there is a method on the VO to get the data from it in an XML format. Then use our APIs >> documentation to format it with a template.
    Regards, Tim

  • Create "Object" Type based on columns of a table

    Hi Experts
    is it possible to create an Object Type based on columns of a table?
    for example the syntax for creation of type is
    CREATE OR REPLACE TYPE temp_t
    AS OBJECT (ID number, code number)
    can we create a type that is based on columns of an existing table? so that we donot have to write down all the column names in each type as i have to create types based on 100 and above tables :-s
    Please help me out here!
    Best Regards

    You cannot do that Zia, check below code:
    SQL> create or replace type temp_t as object(object_name all_objects.object_name%TYPE);
      2  /
    Warning: Type created with compilation errors.
    SQL> sho err
    Errors for TYPE TEMP_T:
    LINE/COL ERROR
    0/0      PL/SQL: Compilation unit analysis terminated
    1/35     PLS-00201: identifier 'ALL_OBJECTS.OBJECT_NAME' must be declared

  • Report to get WBS elements based on Project Type

    Dear Experts,
    Is there any report exists in Project Systems to get WBS elements based on Project Types.
    This we can check in the table PRPS-PRART.
    But i need to know the availability of T Code.
    Thanks in advance.
    Regards,
    Srinivasareddy Y

    Hi,
    If its a one time requirement using CN43N might help in meeting the requirement. However, first it has to be executed for a certain range of projects and then the layout will have to be changed accordingly. Instead of doing this if a custom report is developed with the input parameter as "Project Type" it would make it much more easier. You can even have the F4 search option for the input parameter. Doing this will help if the report is going to be used frequently in the future.
    Take your call and proceed accordingly.
    Regards,
    Gokul

  • Report based on plsql table type

    Is it possible crete a report (updatable) based on plsql table type?
    thank in advance
    Franco Galante

    Sorry for my cryptic question, i wanted to mean create a report based on a stored procedure
    function which return a plsql table type variable.
    This idea could give me the chance to work with variable (plsql table) instead of db table.
    hope i'm enough clear
    thank you again
    Franco Galante

  • Launch a Crystal Report Based on a Bus. Objects Universe with code

    Post Author: BobM
    CA Forum: .NET
    Launch a Crystal Report Based on a Bus. Objects Universe with code
    We have purchased Business Objects Enterprise XI R2 and have designed a universe.  We have hundreds of scheduled reports that have been configured through the InfoView.  The problem is that we run these reports on a very odd date schedule and it is extremely cumbersome to go into these report definitions and change the dates in InfoView.
    We would like to be able to store all the report parameters in a table (outside of the BO universe) along with the date and time we would like it to run.  All of this would need to be tagged with the report name so we know what report we are referring to.  Then we would like to sweep this table periodically (or use some other triggering mechanism) and launch the reports as specified (hopefully) using an API/SDK (like the one that used to be available with Crystal) to launch the .RPT file and pass all of the appropriate parameters, and possibly the credentials if need be.
    In short we want to roll our own report scheduler due to some limitations we have found in the InfoView scheduler.
    My main question is, does an API/SDK exist that can launch a crystal report that is based on a Business Objects Universe?  As I had stated, it needs to be able to pass parameters in the report call.  Based on my previous projects using Crystal connected directly to a SQL Server DB, I beleive this is possible, but I would like to hear from others that may be doing something similar with a Business Objects Universe back end.
    We are using Crystal Reports XI R2.  Just to be clear, all of the functionality I specified up to the point where the report needs to be called is not an issue, we know how to do all of that.
    Thanks in advance,Bob
    Code; API; Business Objects; Universe; Crystal; BO Enterprise X11; Crystal Reports XI

    With the code, you've presumably logged on to the database. To insert objects on to a new report you'd want to use code along the following lines:
    private void AddTableFromDataSet(ref CrystalDecisions.CrystalReports.Engine.ReportDocument rpt, System.Data.DataSet ds)
    ISCDReportClientDocument rasReport = rpt.ReportClientDocument;
    // Convert the DataSet to an ISCRDataset object (something the ISCDReportClientDocument can understand)
    CrystalDecisions.ReportAppServer.DataDefModel.ISCRDataSet rasDS;
    rasDS = CrystalDecisions.ReportAppServer.DataSetConversion.DataSetConverter.Convert(ds);
    // Add the dataset as a data source to the report
    rasReport.DatabaseController.AddDataSource((object)rasDS);
    // Add a field to the report canvas
    // Note: This is quick and dirty. No positioning, resizing, formatting, etc.
    CrystalDecisions.ReportAppServer.Controllers.ISCRResultFieldController rfc;
    CrystalDecisions.ReportAppServer.DataDefModel.ISCRTable crTable;
    CrystalDecisions.ReportAppServer.DataDefModel.ISCRField crField;
    rfc = rasReport.DataDefController.ResultFieldController;
    crTable = rasReport.Database.Tables[0];
    crField = crTable.DataFields[2]; // Hardcoded field "Customer Name" in the Customer table from Xtreme Sample Database
    rfc.Add(-1, crField);
    // Save the report template to disk (without data)
    //object path = @"c:\documents and settings\administrator\desktop\";
    //rasReport.SaveAs("test.rpt", ref path, 0);
    //MessageBox.Show("Done!");
    For more info, see sample apps on the following link:
    http://wiki.sdn.sap.com/wiki/x/IgBmBQ
    Also, consult your 'Report Application Server .NET SDK Developer Guide" and  "Report Application Server .NET API Guide". I'd provide the appropriate links, but you do not mention the version of CR you are using...
    Thread moved to the '.NET - SAP Crystal Reports" forum.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • Implementing History types on query based view object attributes

    Hi All,
    I have to implement the history types
    created on,
    created by,
    modified on,
    modified by
    in my application, but I have all the Query based view objects in my work space, but according to my research History types can only be implemented on the Entity Objects attributes. So how can I do this for my application ? Any Solution ? Any alternative  please ?
    (NOTE: I have all the entity objects available in my common Model work space ).

    @TimoHahn, I have the following master view object query, which i can not generate by using the Entity objects, Basically I am transforming an oracle form base ERP into Oracle ADF application, so I have available all the quries , Please let me know if i can have any alternative solution ?
    SELECT  NVL(A.STYP,0) STYP,A.DAT,C.BATNO,C.ITST, B.DEMNO,B.ITEM,LTRIM(RTRIM(D.ITEMNAME))ITEM_NAME,0 TRINQ,D.UOM ABRV,P.DAT DDAT,
        A.CSNO,PARTY,NVL(CSRAT,0)+(NVL(CSRAT,0)*NVL(B.GST,0))/100 GSTCSRAT,CSRAT,
        A.PDAYS DAYS, DECODE(C.CSTERM,1,'CASH',2,'CREDIT',3,'DD',4,'PAY ORDER',5,'ADVANCE%',6,'CHEQUE') ,B.GST,E.MASTDS PNAME,NVL(SUM(B.RQTY),0)DRQTY,DEPT.SEC_NAME DEPTDS,SUM(STOK.QTY) BAL,P.TRNO,C.EBY, C.SYSIP, C.TDAT
                  FROM ACCSTORE.STAC_CSM A, ACCSTORE.STAC_CSD B,ACCSTORE.ST_STAC_DEM_APRVD C,ACCSTORE.VITEMS D, ACC_MAST E,ACCSTORE.PRE_DEMANDM P,ACCSTORE.VSECTIONS DEPT,
                  (SELECT STYP,ITEMID,SUM(BALANCE) QTY FROM ACCSTORE.VITEMSTOCK GROUP BY STYP,ITEMID) STOK
                  WHERE A.CSNO=B.CSNO AND B.CSNO=C.CSNO AND B.DEMNO=C.DEMNO AND B.ITEM=C.ITEM AND B.STYP=C.STYP  AND C.PDEMNO=P.TRNO(+) AND P.DEPT=DIVNO AND P.SEC_NO=DEPT.SECNO(+)
                              AND C.STYP=STOK.STYP AND C.ITEM=STOK.ITEMID
                    AND C.STYP=D.STYP AND C.ITEM=D.ITEMID AND C.PARTY=E.MASTCD  AND B.APP=1 AND NVL(C.PONO,0)=0 
                    AND C.ITST=DECODE(C.STYP,0,11,14)
                    GROUP BY NVL(A.STYP,0),A.DAT,C.BATNO,C.ITST,B.DEMNO,B.ITEM,D.ITEMNAME,A.CSNO,PARTY,P.DAT,DEPT.SEC_NAME,P.TRNO,C.EBY, C.SYSIP, C.TDAT,
                    CSRAT,A.PDAYS,C.CSTERM,B.GST,E.MASTDS,D.UOM ORDER BY A.CSNO,D.ITEMNAME
    ORDER BY "DAT" DESC
    which i can not generate by using the Entity objects, Basically I am transforming an oracle form base ERP into Oracle ADF application, so I have available all the quries , Please let me know if i can have any alternative solution ?

Maybe you are looking for

  • I'm suddenly not able to drag certain photos to the desktop... Why?

    I've been using iPhoto '08 (currently v. 7.1.5) for a few years and never had any issues until recently. Some photos I can drag to the desktop with no problem (old photos, recent imports, edited, it doesn't seem to matter). But some photos won't drag

  • How to make XSLT files in ORACLE :-(

    Hi I am very new to the world of XML. I can create XML from the SQL queries but need to transform them in to a specific format. I think I need XSLT for transformation, but I could not find a way to make one using oracle. I want to ask, if there is an

  • JMenus and JMenuItems

    i have a JMenu called jMenu2, in its action performed method i would like it to add to the bottom of its list a new JMenuItem while the program is running. private void jMenu2ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling

  • Can i copy text from illustrator to indesign and retain attributes

    Hello, I received an illustrator cs3 file that I need to convert to InDesign cs3. Is there a way to copy the type that is set in illustrator to indesign, while retaining the attributes. I need to be able to make changes on the type in indesign, so co

  • Exchange 2013 OWA/ECP HTTP 500 Internal Server Error

    So I know there are a lot of these threads, so I'll list what I've done and what I've tried so far. The setup is a pair of multirole servers with a DAG.  We have a root domain and sub domain. I've created 4 databases associated with the DAG, I succes