Creating Dynamic Report - facing error REP-498
Hi guys,
Facing problem Creating Dynamic Reports.
Error : REP-498: Number of columns selected by the query is incompatible with report definition.
Could you please show me where do i have to changed my query to get rid of this error message?
Thanking you in advance.
--dynamic query
select a.yr_no
&columname_1
from authorized_utilization_s a,
tblservicecategory b, tblnetworkplanrptgroup c,tblreportgroup e
&wherecl_1
&groupby_1
union
select a.yr_no
&columname_2
from authorized_utilization_s a,
tblservicecategory b, tblnetworkplanrptgroup c,tblreportgroup e
&wherecl_2
&groupby_2
&orderby
------after parameter form function
FUNCTION afterpform
RETURN BOOLEAN
IS
BEGIN
IF :report_type = 'C' -- C represent Carrier Report
THEN
:columname_1 := ',a.qtr_no,b.rptservicecatid, sum(a.sum_svcschedulerate)/1000 planamount ';
:wherecl_1 := ' where e.reportgroupid = c.reportgroupid '
||' and e.reportgroupid NOT IN (180,188,191,203,206,227,228, '
||' 229,230,231,232,233,234,235,236,237,238,365,366,550,644,645)'
||' and e.reportgroupclassid = '|| :p_reportgroupid
||' and a.planid = c.planid '
||' and a.yr_no = '||:p_year
||' and a.qtr_no <= '|| :p_quarter
||' and rtrim(a.servicecatid) = rtrim(b.servicecatid) ' ;
:groupby_1 := ' group by a.yr_no,a.qtr_no,b.rptservicecatid ';
:columname_2 := ', a.qtr_no,b.rptservicecatid, sum(a.sum_svcschedulerate)/1000 planamount';
:wherecl_2 := ' where e.reportgroupid = c.reportgroupid '
||' and e.reportgroupid NOT IN (180,188,191,203,206,227,228, '
||' 229,230,231,232,233,234,235,236,237,238,365,366,550,644,645)'
||' and e.reportgroupclassid = '|| :p_reportgroupid
||' and a.planid = c.planid '
||' and a.yr_no = '||:p_year||' - 1 '
||' and a.qtr_no >= '||:p_quarter
||' and rtrim(a.servicecatid) = rtrim(b.servicecatid) ';
:groupby_2 :=' group by a.yr_no,a.qtr_no,b.rptservicecatid ';
:orderby :=' order by yr_no, qtr_no, rptservicecatid ' ;
ELSIF :report_type = 'Q'
THEN -- Q represent Quarter Report
-- second condition will be here for 'Q'
ELSIF :report_type = 'A'
THEN -- A represent Annual Report
--third condition will be here for 'A'
ELSE
:tablename := '';
:wherecl := '';
END IF;
RETURN (TRUE);
END;
----final query for report type 'C' should looks like this and WHICH IS WORKING FINE FROM SQL*PLUS.
select a.yr_no
,a.qtr_no,b.rptservicecatid, sum(a.sum_svcschedulerate)/1000 planamount
from authorized_utilization_s a,
tblservicecategory b, tblnetworkplanrptgroup c,tblreportgroup e
where e.reportgroupid = c.reportgroupid
and e.reportgroupid NOT IN (180,188,191,203,206,227,228,
229,230,231,232,233,234,235,236,237,238,365,366,550,644,645)
and e.reportgroupclassid = :p_reportgroupid
and a.planid = c.planid
and a.yr_no = :p_year
and a.qtr_no <= :p_quarter
and rtrim(a.servicecatid) = rtrim(b.servicecatid)
group by a.yr_no,a.qtr_no,b.rptservicecatid
union
select a.yr_no
, a.qtr_no,b.rptservicecatid, sum(a.sum_svcschedulerate)/1000 planamount
from authorized_utilization_s a,
tblservicecategory b, tblnetworkplanrptgroup c,tblreportgroup e
where e.reportgroupid = c.reportgroupid
and e.reportgroupid NOT IN (180,188,191,203,206,227,228,
229,230,231,232,233,234,235,236,237,238,365,366,550,644,645)
and e.reportgroupclassid = :p_reportgroupid
and a.planid = c.planid
and a.yr_no = :p_year - 1
and a.qtr_no >= :p_quarter
and rtrim(a.servicecatid) = rtrim(b.servicecatid)
group by a.yr_no,a.qtr_no,b.rptservicecatid
order by yr_no, qtr_no, rptservicecatid ;
The problem is with initial values of your lexical parameters. They should be so that even before obtaining their desired values in the trigger, they would create syntactically correct SQL returning as many columns and of appropriate types, as you expect the final SQL to produce. You can not manipulate the number and types of columns using lexical parameters, just the real mapping to the table columns. The number, the type, and the order of selected columns should be defined by initial values of lexical parameters.
Similar Messages
-
Is it possible to create dynamic reports using iReports in netbeans ?
Hi
I want to know that is it possible to create dynamic reports using netbeans? Dynamic reports means based on user selection(for eg. say by selecting values from combo boxes) some query will be genatated and fetch the query result from data base and displayed results in iReports only my problem is i am working on Netbeans IDE and i have installed iReports as plugins in netbeans IDE. and i am not able to find any tutorial that show me how to work with iReports under netbeans IDE. and how to create dynamic reports in iReports. If u know any such tutorial then can you send me link plz...!
ThanksWhat do you mean by "in Start Menu"? Do you mean Live tile? See https://msdn.microsoft.com/en-us/library/windows/apps/hh465403.aspx
https://msdn.microsoft.com/en-us/library/windows/apps/dn468032.aspx
Best Regards,
Please remember to mark the replies as answers if they help -
Batch PDF Reports raising error REP-3002: Error initializing printer.
We are running Reports 6.0 in Windows NT 4.0. When run manually the PDF reports are able to see the PostScript Print Driver and generates PDF output. We have a batch job on the NT that gets kicked off from the Mainframe via XPATH, which spawns multiple report processes as needed to run the PDF reports. We get the error "REP-3002: Error initializing printer." under this scenario.
Any help to resolve this will be appreciated.
Thanks,
BabuHi,
i've changed to use RUN_REPORT_OBJECT as your advice and followed the instructions in "Oracle Reports Remote Printing Utility - An Oracle Technical White Paper December 2000". i tested orarrp by created the HTML file follow the steps in page 5 of the paper, it worked.
then i modified existed form, set report object property like this :
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_EXECUTION_MODE, BATCH);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESTYPE, FILE);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_DESNAME,'test.rrpa');
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,'Rep60_NTSERVER2');
note : i'm not sure that i set the right value for REPORT_SERVER property, i got this value from TNSNAMES.ORA file.
then call the report with this statement :
:GLOBAL.ReportHandle := RUN_REPORT_OBJECT(report_id);
it showed the same error message :
"REP-3002 Error initializing printer. Please make sure a printer is installed."
i think i set something wrong, but i don't know where. could you help me ?
Hunsa -
Create dynamic report or query for piece count
Hi abaper's
This is a very straight forward requirement. so please give me code
First you have to get the corresponding plant from table T320 for the given warehouse numbers in the selection screen.
1. Get the sum of order qty of sales orders from the sales order tables for the given warehouse(Plant), distribution channel and the give date range.
2. Get the confirmed transfer orders qty from the TO master table where TO confirmation date is in the given date range and WH number.
3. Get the total PGIed qty from the delivery master table where PGI'ed date in the given date range, shipping point is in the corresponding plant of the WH and for the given distribution channel.
As you are going to use the major tables please try to write the select commands effectively to avoid further performance issues.How to improve the performance fo this code.....this very urgent.
& Issue Number : 22199 &
& Programmer : Anjaneyulu.Pabba &
& Transport Number : D01K962471 &
& Date of Creation : 19/03/2008 &
& Description : Dynamic report or query for piece count &
& Requested By : Parvati.Polisetty &
REPORT ZR_SD_PIECE_COUNT_ALV no standard page heading
line-size 255
line-count 65.
TABLES DECLARATION
*TABLES: T320, "Assignment IM Storage Location to WM Warehouse Number
VBAK, "Sales Document: Header Data
VBAP, "Sales Document: Item Data
TVKOV, "Org. Unit: Distribution Channels per Sales Organization
LTAK, "WM transfer order header
LTAP, "Transfer order item
LIKP, "SD Document: Delivery Header Data
LIPS. "SD document: Delivery: Item data
TYPE-POOLS DECLARATION
TYPE-POOLS: SLIS .
Internal Table Declaration
DATA : BEGIN OF TY_T320,
WERKS TYPE WERKS_D,
LGNUM TYPE LGNUM,
END OF TY_T320.
DATA : BEGIN OF TY_VBAK,
VBELN TYPE VBELN_VA,
VTWEG TYPE VTWEG,
WERKS TYPE WERKS_D,
KWMENG TYPE KWMENG,
VSTEL TYPE VSTEL,
END OF TY_VBAK.
DATA : BEGIN OF TY_LTAK,
LGNUM TYPE LGNUM,
TANUM TYPE TANUM,
VISTA TYPE LTAP_VISTA,
END OF TY_LTAK.
DATA : BEGIN OF TY_LIKP,
VBELN TYPE VBELN_VL,
WERKS TYPE WERKS_D,
LFIMG TYPE LFIMG,
END OF TY_LIKP.
DATA : BEGIN OF TY_ITAB ,
LGNUM TYPE LGNUM, "Warehouse Number / Warehouse Complex
WERKS TYPE WERKS_D, "Plant
VBELN TYPE VBELN_VA, "Sales Document
VTWEG TYPE VTWEG, "Distribution Channel
KWMENG TYPE KWMENG, "Cumulative order quantity in sales units
TANUM TYPE TANUM , "Transfer Order Number
VISTA TYPE LTAP_VISTA, "Source actual quantity in alternative
unit of measure
LFIMG TYPE LFIMG, "Actual quantity delivered (in sales units)
END OF TY_ITAB .
DATA: T_T320 LIKE STANDARD TABLE OF TY_T320 INITIAL SIZE 0 WITH HEADER
LINE,
T_VBAK LIKE STANDARD TABLE OF TY_VBAK INITIAL SIZE 0 .
DATA: T_LTAK LIKE STANDARD TABLE OF TY_LTAK INITIAL SIZE 0 WITH HEADER
LINE.
DATA :T_LIKP LIKE STANDARD TABLE OF TY_LIKP INITIAL SIZE 0 WITH HEADER
LINE.
DATA:T_ITAB LIKE STANDARD TABLE OF TY_ITAB INITIAL SIZE 0 WITH HEADER
LINE .
*& Fieldcatalog Declaration
DATA : T_FCAT TYPE SLIS_T_FIELDCAT_ALV,
W_FCAT TYPE SLIS_FIELDCAT_ALV.
DATA : W_LAYOUT TYPE SLIS_LAYOUT_ALV.
********Global Data Declaration***
DATA :G_REPID LIKE SY-REPID,
G_EXIT(1) TYPE C,
GX_VARIANT LIKE DISVARIANT,
X_SAVE, "for Parameter I_SAVE
GS_VARIANT TYPE DISVARIANT. "for parameter IS_VARIANT
data: g_lgnum type t320-lgnum,
g_vtweg type vbak-vtweg,
g_erdat type vbak-erdat.
*& Selection-Screen
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_LGNUM FOR g_lgnum, "Warehouse Number
S_VTWEG FOR g_vtweg, "Distribution Channel
S_ERDAT FOR g_erdat ."Date on which the record was
**********"created
SELECTION-SCREEN END OF BLOCK B1 .
SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-002.
PARAMETER: P_VARI LIKE DISVARIANT-VARIANT. "Layout
SELECTION-SCREEN END OF BLOCK B2.
*& INITIALIZATION EVENT
INITIALIZATION.
CLEAR GS_VARIANT.
'gs_variant' must at least contain the report-id to allow
saving a variant.
G_REPID = SY-REPID.
§ 2.At least field REPORT of this structure has to be filled!
GS_VARIANT-REPORT = G_REPID.
§ 3.Determine saving options.
X_SAVE = 'A'. "The user may save all types of variants
*******Validating selection-screen values**********************
getting F4 value for display variant field
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_VARI.
PERFORM F4_FOR_VARIANT.
****validation of F4 value of display variant
AT SELECTION-SCREEN.
PERFORM PAI_OF_SELECTION_SCREEN.
*& Start-Of-Selection
START-OF-SELECTION.
*****Subroutine to select Plant from T320
PERFORM FIND_PLANT .
*****Subroutine to select Order Quantity from VBAP
PERFORM ORDER_QUANTITY .
*****Subroutine to select Transfer Order Quantity from LTAK and LTAP
PERFORM TRANSFER_ORDER_QUANTITY.
*****Subroutine to select TDelivery Quantity from LIKP and LIPS
PERFORM DELIVERY_QUANTITY.
*& End-Of-Selection
END-OF-SELECTION.
*****Subroutine for Fieldcatalog
PERFORM FIELDCATALOG .
*****Subroutine for Final Output
PERFORM DISPLAY_OUTPUT .
*& Subroutine Implementaion
*& Form FIND_PLANT
text
--> p1 text
<-- p2 text
FORM FIND_PLANT .
SELECT WERKS
LGNUM
FROM T320
INTO TABLE T_T320
WHERE LGNUM IN S_LGNUM.
ENDFORM. " FIND_PLANT
*& Form order_quantity
text
--> p1 text
<-- p2 text
FORM ORDER_QUANTITY .
SELECT VK~VBELN
VK~VTWEG
VP~WERKS
VP~KWMENG
VP~VSTEL
INTO TABLE T_VBAK FROM VBAK AS VK
INNER JOIN VBAP AS VP
ON VKVBELN = VPVBELN
FOR ALL ENTRIES IN T_T320
WHERE VK~VTWEG IN S_VTWEG
AND VK~ERDAT IN S_ERDAT
AND VP~WERKS = T_T320-WERKS.
ENDFORM. " order_quantity
*& Form Transfer_order_quantity
text
--> p1 text
<-- p2 text
FORM TRANSFER_ORDER_QUANTITY .
SELECT LK~LGNUM
LK~TANUM
LP~VISTA
INTO TABLE T_LTAK FROM LTAK AS LK
INNER JOIN LTAP AS LP
ON LKLGNUM = LPLGNUM
WHERE LK~KQUIT = 'X'
AND LK~BDATU IN S_ERDAT
AND LK~LGNUM IN S_LGNUM.
ENDFORM. " Transfer_order_quantity
*& Form Delivery_QUANTITY
text
--> p1 text
<-- p2 text
FORM DELIVERY_QUANTITY .
SELECT VBELN WERKS LFIMG FROM LIPS
INTO TABLE T_LIKP
FOR ALL ENTRIES IN T_T320
WHERE WERKS = T_T320-WERKS
AND ERDAT IN S_ERDAT
AND VTWEG IN S_VTWEG.
ENDFORM. " Delivery_QUANTITY
*& Form fieldcatalog
text
--> p1 text
<-- p2 text
FORM FIELDCATALOG .
W_FCAT-COL_POS = '1' .
W_FCAT-FIELDNAME = 'LGNUM' .
W_FCAT-REF_TABNAME = 'T320'.
W_FCAT-REF_FIELDNAME = 'LGNUM' .
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '2' .
W_FCAT-FIELDNAME = 'VTWEG' .
W_FCAT-REF_TABNAME = 'VBAK'.
W_FCAT-REF_FIELDNAME = 'VTWEG' .
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '3' .
W_FCAT-FIELDNAME = 'KWMENG' .
W_FCAT-REF_TABNAME = 'VBAP'.
W_FCAT-REF_FIELDNAME = 'KWMENG' .
*w_fcat-seltext_m = '# of Orders'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '4' .
W_FCAT-FIELDNAME = 'VISTA' .
W_FCAT-REF_TABNAME = 'LTAP'.
W_FCAT-REF_FIELDNAME = 'VISTA' .
*w_fcat-seltext_m = '# of Pcs Picked'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '5' .
W_FCAT-FIELDNAME = 'LFIMG' .
W_FCAT-REF_TABNAME = 'LIPS'.
W_FCAT-REF_FIELDNAME = 'LFIMG' .
*w_fcat-seltext_m = '# of Pcs Shipped'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '6' .
W_FCAT-FIELDNAME = 'TANUM' .
W_FCAT-REF_TABNAME = 'LTAK'.
W_FCAT-REF_FIELDNAME = 'TANUM' .
**w_fcat-seltext_m = '# of Pcs Shipped'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
W_FCAT-COL_POS = '7' .
W_FCAT-FIELDNAME = 'WERKS' .
W_FCAT-REF_TABNAME = 'T320'.
W_FCAT-REF_FIELDNAME = 'WERKS' .
**w_fcat-seltext_m = '# of Pcs Shipped'.
APPEND W_FCAT TO T_FCAT.
CLEAR W_FCAT.
ENDFORM. " fieldcatalog
*& Form display_output
text
--> p1 text
<-- p2 text
FORM DISPLAY_OUTPUT .
LOOP AT T_T320 INTO TY_T320.
TY_ITAB-WERKS = TY_T320-WERKS.
TY_ITAB-LGNUM = TY_T320-LGNUM.
READ TABLE T_VBAK INTO TY_VBAK WITH KEY WERKS = TY_T320-WERKS.
IF SY-SUBRC = 0.
TY_ITAB-VBELN = TY_VBAK-VBELN.
TY_ITAB-VTWEG = TY_VBAK-VTWEG.
TY_ITAB-KWMENG = TY_VBAK-KWMENG + ty_itab-kwmeng.
ENDIF.
READ TABLE T_LTAK INTO TY_LTAK WITH KEY LGNUM = TY_T320-LGNUM.
IF SY-SUBRC = 0.
TY_ITAB-TANUM = TY_LTAK-TANUM.
TY_ITAB-VISTA = TY_LTAK-VISTA + ty_itab-vista.
ENDIF.
READ TABLE T_LIKP INTO TY_LIKP WITH KEY WERKS = TY_T320-WERKS.
IF SY-SUBRC = 0.
TY_ITAB-LFIMG = TY_LIKP-LFIMG + ty_itab-lfimg.
ENDIF.
APPEND TY_ITAB TO T_ITAB.
ENDLOOP.
Function Module for Displaying Final Output ********
W_LAYOUT-COLWIDTH_OPTIMIZE = 'X'.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = SY-CPROG
IS_LAYOUT = W_LAYOUT
IT_FIELDCAT = T_FCAT[]
TABLES
T_OUTTAB = T_ITAB.
ENDFORM. " display_output
*& Form f4_for_variant
text
--> p1 text
<-- p2 text
FORM F4_FOR_VARIANT .
CALL FUNCTION 'REUSE_ALV_VARIANT_F4'
EXPORTING
IS_VARIANT = GS_VARIANT
I_SAVE = X_SAVE
IMPORTING
E_EXIT = G_EXIT
ES_VARIANT = GX_VARIANT
EXCEPTIONS
NOT_FOUND = 2.
IF SY-SUBRC = 2.
MESSAGE ID SY-MSGID TYPE 'S' NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ELSE.
IF G_EXIT = SPACE.
P_VARI = GX_VARIANT-VARIANT.
ENDIF.
ENDIF.
ENDFORM. " f4_for_variant
*& Form pai_of_selection_screen
text
--> p1 text
<-- p2 text
FORM PAI_OF_SELECTION_SCREEN .
IF NOT P_VARI IS INITIAL.
MOVE GS_VARIANT TO GX_VARIANT.
MOVE P_VARI TO GX_VARIANT-VARIANT.
CALL FUNCTION 'REUSE_ALV_VARIANT_EXISTENCE'
EXPORTING
I_SAVE = X_SAVE
CHANGING
CS_VARIANT = GX_VARIANT.
GS_VARIANT = GX_VARIANT.
ELSE.
PERFORM VARIANT_INIT.
ENDIF.
ENDFORM. " pai_of_selection_screen
*& Form variant_init
text
--> p1 text
<-- p2 text
FORM VARIANT_INIT .
CLEAR GS_VARIANT.
GS_VARIANT-REPORT = G_REPID.
ENDFORM. " variant_init -
Report Server Error REP-1:
Hi,
I am trying to run a oracle report from an oracle form. The very first time when I try to run the report, I get a peculiar error, the report server just says: Error REP-1: . Nothing specific. From the second time onwards its working perfect. Not sure what's going on here. Any insight appreciated.
Thanks.You did not mention your OS and Forms/Reports version, anyhow, you should take a look at the following metalink notes:
112124.1 - REP-0001 'Unable to Find Reports Builder Message File' using Report Server
105048.1 - REP-0001 Running a Report on the Web
832689.1 - Distributing A Report With Attached Static File Fails With REP-0001: Unable to find the Report Builder Message File
Edited by: Rodolfo Ferrari on Jul 17, 2009 10:51 PM -
Creating Dynamic Reports at Runtime Using JRC
<p><span class="PSEDITBOX_DISPONLY">I am trying to integrate Crystal Reports into our web application. Our application currently provides the ability to create custom reports on any field(database column) in the application, including custom fields created by the user. Each customer's database will be different. Is there a way in Crystal Reports to dynamically build a report based on a custom query? I would need the ability to do this programmatically, through JSP, by adding and removing fields from a Crystal Report. My plan is to push the results of a query to a report viewer, but I need the ability to add, remove, resize, format or hide fields at runtime. I would also need the ability to modify the field headers and Group Header fields. Is this possible? Any suggestion or code samples would be greatly appreciated. </span></p><p><span class="PSEDITBOX_DISPONLY">I've read that RAS gives you some greater functionality creating and modifying reports at runtime. Does the RAS SDK include the functionality that I've described above?</span></p><p><span class="PSEDITBOX_DISPONLY">Thanks,</span></p><p><span class="PSEDITBOX_DISPONLY">Alan </span></p>
Hi bobbassen
You can take a look at the new Preferences API that is shipped along with JDK 1.4. This should help you in saving report structures in one place and help you modify it through a GUI without re-compilation.
see : http://java.sun.com/j2se/1.4/docs/guide/lang/preferences.html
Keep me posted on your progress.
Good Luck!
Eshwar R
Developer Technical Support
Sun microsystems
http://www.sun.com/developers/support -
Creating dynamic report on a join
I'd like to create a dynamic report on something like this
select a.name, b.gender
from employees a, gender b
where a.gender_id=b.gender_id;
to get this
NAME GENDER
bob male
fred male
sally female
instead of this which is not that useful to the end user...is it possible?
SQL> select name, gender_id from employees;
NAME GENDER_ID
bob 1
fred 1
sally 2Hello:
>
I'd like to create a dynamic report on something like this
select a.name, b.gender
from employees a, gender b
where a.gender_id=b.gender_id;
>
Why not simply use this query for the report ? What needs to be 'dynamic' here ?
Varad -
Create Catalog Report Internal Error.
Hi,
I am trying to create a catalog report using Catalog Manager (OBI EE 10.1.3.4.1).
There are several folders and for one, I am getting 'An internal error occurred during: "Catalog Report"' message. I am not able to understand reason behind it.
There is a difference that I have observed with this particular folder. Like others, it is under shared folder. However, below this folder (name - sample_folder), there is a sub-folder '\'. None of the other folders under the shared folder have this sub-folder.
The owner of this sub-folder '\' is 'System Account'. Its attributes are 'Hidden, System'. The value of 'My Permissions' (when logged in as Administrator) is 'Read'. The path for this folder is '/shared/sample_folder/\/'.
Also, when I click the sub-folder in the 'Table' pane (on the right hand side of the Catalog Manager), I can take some action (like see permissions, properties). But when I click the sub-folder in the 'Tree' pane (on the left hand side of the Catalog Manager), an error is thrown "Path not found ('/shared/sample_folder/\/')".
I am not sure about this sub-folder (what it is, who created it, etc.). And I doubt that it might be causing problem while creating a Catalog Report for the main folder - sample_folder.
Is anyone aware of the issue? Could you please let me know?
Thanks,
Manoj.Hi,
This has been outlined as unpublished Bug 9571790 - Error Running Catalog Report
Creating A Catalog Manager Report In OBIEE 10g Fails With "An internal error occurred during: "Catalog Report" [ID 1301872.1]
fyi:
https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=1301872.1
Cause
Catalog manager online mode operations are restricted to the logged-in user only (even the Administrator user). The Administrator user can not have permissions to manage the other users private folders like /users/xxx (username); therefore, when trying to create a catalog report for all users by selecting the "/users" folder or root "/" it will throw a Null pointer exception in the Catalog Manager tool due to the lack of access permissions. As a result, the error " An internal error occurred during: "Catalog Report" " occurs.
This has been outlined as unpublished Bug 9571790 - Error Running Catalog Report
Solution
A patch has been created to avoid the error when launching the Catalog Manager in online mode. Instead, an error is logged when the logged in user does not have access to the catalog items.
1. Please log a new SR to get the download password for Patch 9571790
Abstract ERROR RUNNING CATALOG REPORT
Release OBI EE 10.1.3.4.1
Product Oracle BI Suite EE (obiee)
Platform Generic Platform
Files p9571790_101341_Generic.zip
Size 4.8M
2. Please follow the patch read me to apply it on top of version 10.1.3.4.1 then retest the issue.
Thanks
Deva -
I'm working on designing a reporting module that will create requested reports in PDF format that can be viewed or printed. We have a tool to generate the PDF called ITEXT. The goal is to make the formatting very flexible to avoid recompiling Java code when they want to modify a header or change a column name and to keep the formatting information in 1 place where several Web Servers can access them without restarting the servers (using Corba).
We have 10 different reports to create but they can choose various paremeter when viewing each report (date range, by family member, etc...).
I have reviewed several third party freeware tools such as JasperReports and DataVision. Just wondering if there are any tools out there that can help (that are free).Hi bobbassen
You can take a look at the new Preferences API that is shipped along with JDK 1.4. This should help you in saving report structures in one place and help you modify it through a GUI without re-compilation.
see : http://java.sun.com/j2se/1.4/docs/guide/lang/preferences.html
Keep me posted on your progress.
Good Luck!
Eshwar R
Developer Technical Support
Sun microsystems
http://www.sun.com/developers/support -
Report Compilation Error REP-1430 on Linux
Good Day,
I've been trying to compile a few reports on Linux Report Builder: Release 11.1.1.7.0
All the other report can convert into .rep
but there are 1 reports gives this error in the .tex file
Conversion of CL3198.rdf canceled
Inside the cmd it says
REP-1430: A REP file for report CL3198.rdf cannot be created: compilation errors found.
When i compile the report in the Report Builder 6i (ctrl + shift + K) it compiled successfully. I'm using the same schema in both Report Builder and cmd.
How can i resolve this? Please help.
Thanks in advance.
Ikha.Similar issue here. It happens with just a few reports. I can compile them on reports builder, but not using rwconverter.sh I am using 11.1.2.
Any clues so far? -
Reports Compilation Errors: REP-25200 / REP-0004 / REP-1430
Hello,
When trying to compile 1 report on my Linux RHEL server, I get the following errors:
[oracle@Linux2005 Source_9i]$ $ORACLE_HOME/bin/rwconverter.sh userid=system/manager1@oracleln batch=yes source=$ORACLE_HOME/forms90/Source_9i/BTSTMENT.rdf stype=rdffile overwrite=yes dtype=repfile
Report Builder: Release 9.0.4.0.21 - Production on Sat Aug 6 14:19:14 2005
(c) Copyright 2001 Oracle Corporation. All rights reserved.
REP-25200: Converting '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rdf' to '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rep'...
Conversion of '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rdf' cancelled.
REP-0004: Warning: Unable to open user preference file.
REP-1430: Cannot create REP File for report '/u01/app01/oracle_iAS_10g_new3/forms90/Source_9i/BTSTMENT.rdf'. Compilation errors found.
[oracle@Linux2005 Source_9i]$ ls logo.gif
logo.gif
1) How can I resolve this issue ?
PaoloNo, not $ORACLE_HOME, but simply $HOME, the login home directory. I had that problem, and moving prefs.ora to $HOME solved it.
About the other error, assuming that Windows and Linux machines connect to the same DB, and since you say that on Windows same programs compile and run properly, then one thing I can imagine is of upper/lower case names, that is on Linux something is not found, while on Windows it is, being Windows case insensitive. Just a thought....
Could this be related to the environment variable set-up in my .bash_profile file ?I don't think so. If this was the case, then no programs should compile.
Paul -
Reports Builder Error - REP 1070 Error while opening or saving document
Hi,
I tried opening an rdf file in Reports Builder 10g and 6i. I get the REP 1070 error.
Kindly suggest a solution for this.
Thanks,
AnandHi,
Edit the system registry and assign REPORTS_PATH then your problem will be cleared. -
Aging 7 Buckets Report ARXAGMW error REP-1212 Object Body is not enclosed
Hi
I am customising standard AR Aging 7 buckets report by account(ARXAGMW).
I just need to add 2 fields,That i have added successfully.
But the report output format is not printing properly.
I mean if there are 4 columns custname,custno,endcustname,endcustno.
it is printing the output as
custname custno endcustname endcustno
abc communications inc 1234 abc communicatio 1234
xyz communications inc 5678 pqr communicatio 9657
but i want to print with full name(endcustname) as how it is printing for custname.
So itried to increase the report width to 300 and try to run the report,but i am getting the error.
I tried with standard report also by increasing the width but same error.
Could anyone please tell me when we increase report width what else i should change.
The error is
REP-1212: Object 'Body' is not fully enclosed by its enclosing object 'P_REPORTING_ENTITY_NAME'.
Thanks,
MallaHi,
"Not allowing" means? Do you get any error?
Is this the same style used by this concurrent program? I assume that the report type is text.
If the report type is bitmap, size the page size in the "Execution Options" field as "PAGESIZE= <width>x<height>" and submit the report again.
Note: 297522.1 - How to investigate printing issues and work towards its resolution ?
https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=297522.1
Regards,
Hussein -
Creating dynamic reports with overflowing columns
I'm working on designing a reporting module that will create reports in PDF format that can be viewed or printed. The reports will have overflowing columns and rows. The user will be able to specify the columns and will also be able to justify placing of logos in the header.
I am reviewing several tools like Dynamic PDF Generator for Java, and was wondering if there other tools that can help. The tools can either be free or paid.Hi John,
It's a lot of processing but using the formula on the position of the column may work for you... Right click on the field and select Size and Position and then click on the X2 button and then write a formula based on some logic that determines if and where the column is displayed.
If the second column is always there then just hide the 3rd column... but if the 3rd column needs to be moved to the second columns position then you have to determine if the value is true or false and if the second column does exist etc....
Sorry I don't have any samples but I'm sure someone out there does.... Or can provide details if you need them.
Thank you
Don -
Post Author: Thomas Gyllencreutz
CA Forum: Crystal Reports
Hi!In Crystal Reports 8.5 there is 2 functions AddTextObject and AddFieldObject that allows me to add objects on-the-fly on a blank report. I cant find these methods anywhere in Business Objects XI Release 2. Is there another way of adding objects text and field objects at runtime?The problem is that I dont know what data the dataset will contain at design-time. The dataset is filled with data based on a user created SQL string and the user is allowed to decide what outpfileds they want in the report. And the final thing is to generate a report that they can preview and maybe print/export to pdf or whatever they wanna do with it.I have scanned the forum and web and found lots of articles that describes almost everything but this problem. Any suggestions what to do?Im using: Visual Studio 2005Business Objects XI R2The solution has to be 100% VB .NET (no activex components)The application is a Client application (no serverside generated reports)RegardsThomas GyllencreutzPost Author: turz
CA Forum: Crystal Reports
Hi I am trying to do something very similar, and I have found that you can create objects in Crystal Reports XI R2 SP2 and later. I am currently using SP3 and have found a way to create report objects, but I am relativly new to Crystal Reports and I am not sure how to set the values. You create the object by using classes found in the CrystalDecisions.ReportAppServer.ReportDefModel namespace. You can then add the object to the report through the ReportClientDocument. If anyone knows how to set the values of Report objects, such as text objects, please point me in the right direction.ThanksChris
Maybe you are looking for
-
PCtr in CWIP Settlement line items
Hi all of you When I am doing CWIP settlement system is asking the PCtr as it is mandatory field in Document splitting. I have assigned one Internal order in the asset master and based on the order system is picking the PCtr in acquisitions,it is fin
-
ITunes Purchased Music/Videos Not Playing On iPod
Hi All.. Long time reader, first time 'post-er'.. I have a problem that is starting to annoy me.. All my purchased music and videos from iTunes will play in iTunes and transfer to the ipod, but when I go into play these from the iPod.. It starts to p
-
Reading values from properties file
Hi All, I am in need of a help from you all.I have a login.jsp which gets username and password as user input and checks in the servlet that if it was admin and admin it will take to index.jsp and if it was other than admin and other users it should
-
Firefox 28.0 Mac OS 10.9.2 I keep getting small pop-up notices from Firefox (Firefox emblem in the pop-up), telling me that "Joe Smith [insert name of one of my Facebook friends there] has Unfriended you." It only stays on the screen for a few second
-
Hey guys, I'm trying to make a section of my web page scroll horizontally. I have found several working examples of this but they all make the entire <body> tag scrollable. I want just the blue outlined section in the following image to scroll and fo