Creating Interactive Report BQY through SDK
Is there anyway to create interactive reporting BQY file through Interactive reporting SDK via Java Coding?
Thanks
Sakthivel K
What are you fully trying to do? What version are you using?
Have you looked at the JavaDocs for IR?
I have done it via VB.
You may want to explore documentation within Dashboard Studio. specifically related to Impact Manager and BOM.
Wayne Van Sluys
TopDown Consulting
Similar Messages
-
How to create interactive report in SQ01
HAI EVERY ONE,
Can any one help me,
how to create interactive report using SQ01,SQ02,SQ03.
Plz explain me in details. I dont want simple report. I want to generate interactive report using SQ01. Is it possible how?
I will give u good points if it is useful.
Thanks and Regards,
V.VamsiHai,
When u create simple report using sq01 it display basiclist,Rankedlist,statistics,output sequence.
When u will use this options. That why i am asking. Actually basic list means simple report.
What about rankedlist,Statistics and outputsequence. Plz explain these things.
Thanks and Regards,
V.Vamsi -
Doubt in creating interactive report
hi friends,
while creating interactive report i was unable to display the output.bt in my program there is no error
let me explain my program first.
i have created three tables with three internal table name.
first name contains 4 fields with id as foreign key
second table contains 2 fields with id as foreign key
third table contains 2 fields with id as foreign key.
on seeing the output i can see only first table contents,i was unable to see the second & third table contents.
if possible anybody give the syntax for that report.
kindly solve my problem.
thanks
revathy.Hi revathy,
Find the follwing code for interactive report and award points if useful
*TABLES DECLARATION
TABLES : KNA1, VBAK, VBAP.
*SELECT OPTIONS
SELECT-OPTIONS: CUST_NO FOR KNA1-KUNNR.
*INITIALIZATION
INITIALIZATION.
CUST_NO-LOW = '01'.
CUST_NO-HIGH = '5000'.
CUST_NO-SIGN = 'I'.
CUST_NO-OPTION = 'BT'.
APPEND CUST_NO.
*SELECTION SCREEN VALIDATION
AT SELECTION-SCREEN ON CUST_NO.
LOOP AT SCREEN.
IF CUST_NO-LOW <> 5000.
MESSAGE E001(ZTJ1).
ENDIF.
ENDLOOP.
*BASIC LIST SELECTION
START-OF-SELECTION.
SELECT KUNNR NAME1 ORT01 LAND1 INTO
(KNA1-KUNNR, KNA1-NAME1,KNA1-ORT01,KNA1-LAND1)
FROM KNA1
WHERE KUNNR IN CUST_NO.
WRITE:/1 SY-VLINE,
KNA1-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
KNA1-NAME1 UNDER 'NAME',
61 SY-VLINE,
KNA1-ORT01 UNDER 'CITY',
86 SY-VLINE,
KNA1-LAND1 UNDER 'COUNTRY',
103 SY-VLINE.
HIDE: KNA1-KUNNR.
ENDSELECT.
ULINE.
*SECONDARY LIST ACCESS
AT user-command.
IF SY-UCOMM = 'IONE'.
PERFORM SALES_ORD.
ENDIF.
IF SY-UCOMM = 'ITWO'.
PERFORM ITEM_DET.
ENDIF.
*TOP OF PAGE
TOP-OF-PAGE.
FORMAT COLOR 1.
WRITE : 'CUSTOMER DETAILS'.
FORMAT COLOR 1 OFF.
ULINE.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'NAME',
61 SY-VLINE,
63 'CITY',
86 SY-VLINE,
88 'COUNTRY',
103 SY-VLINE.
ULINE.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR SECONDARY LISTS
TOP-OF-PAGE DURING LINE-SELECTION.
*TOP OF PAGE FOR 1ST SECONDARY LIST
IF SY-UCOMM = 'IONE'.
ULINE.
FORMAT COLOR 1.
WRITE : 'SALES ORDER DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'CUSTOMER NO.',
16 SY-VLINE,
18 'SALES ORDER NO.',
40 SY-VLINE,
42 'DATE',
60 SY-VLINE,
62 'CREATOR',
85 SY-VLINE,
87 'DOC DATE',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*TOP OF PAGE FOR 2ND SECONDARY LIST
IF SY-UCOMM = 'ITWO'.
ULINE.
FORMAT COLOR 1.
WRITE : 'ITEM DETAILS'.
ULINE.
FORMAT COLOR 1 OFF.
FORMAT COLOR 3.
WRITE : 1 SY-VLINE,
3 'SALES ORDER NO.',
40 SY-VLINE,
42 'SALES ITEM NO.',
60 SY-VLINE,
62 'ORDER QUANTITY',
103 SY-VLINE.
ULINE.
ENDIF.
FORMAT COLOR 3 OFF.
*END OF PAGE
END-OF-PAGE.
ULINE.
WRITE :'USER :',SY-UNAME,/,'DATE :', SY-DATUM, 85 'END OF PAGE:',
SY-PAGNO.
SKIP.
*& Form SALES_ORD
*& FIRST SECONDARY LIST FORM
FORM SALES_ORD .
SELECT KUNNR VBELN ERDAT ERNAM AUDAT INTO
(VBAK-KUNNR, VBAK-VBELN, VBAK-ERDAT, VBAK-ERNAM, VBAK-AUDAT)
FROM VBAK
WHERE KUNNR = KNA1-KUNNR.
WRITE:/1 SY-VLINE,
VBAK-KUNNR UNDER 'CUSTOMER NO.' HOTSPOT ON,
16 SY-VLINE,
VBAK-VBELN UNDER 'SALES ORDER NO.' HOTSPOT ON,
40 SY-VLINE,
VBAK-ERDAT UNDER 'DATE',
60 SY-VLINE,
VBAK-ERNAM UNDER 'CREATOR',
85 SY-VLINE,
VBAK-AUDAT UNDER 'DOC DATE',
103 SY-VLINE.
HIDE : VBAK-VBELN.
ENDSELECT.
ULINE.
ENDFORM. " SALES_ORD
*& Form ITEM_DET
*& SECOND SECONDARY LIST FORM
FORM ITEM_DET .
SELECT VBELN POSNR KWMENG INTO
(VBAP-VBELN, VBAP-POSNR, VBAP-KWMENG)
FROM VBAP
WHERE VBELN = VBAK-VBELN.
WRITE : /1 SY-VLINE,
VBAP-VBELN UNDER 'SALES ORDER NO.',
40 SY-VLINE,
VBAP-POSNR UNDER 'SALES ITEM NO.',
60 SY-VLINE,
VBAP-KWMENG UNDER 'ORDER QUANTITY',
103 SY-VLINE.
ENDSELECT.
ULINE.
ENDFORM. " ITEM_DET
REPORT demo_list_at_pf.
START-OF-SELECTION.
WRITE 'Basic List, Press PF5, PF6, PF7, or PF8'.
AT pf5.
PERFORM out.
AT pf6.
PERFORM out.
AT pf7.
PERFORM out.
AT pf8.
PERFORM out.
FORM out.
WRITE: 'Secondary List by PF-Key Selection',
/ 'SY-LSIND =', sy-lsind,
/ 'SY-UCOMM =', sy-ucomm.
ENDFORM.
After executing the program, the system displays the basic list. The user can press the function keys F5 , F6 , F7 , and F8 to create secondary lists. If, for example, the 14th key the user presses is F6 , the output on the displayed secondary list looks as follows:
Secondary List by PF-Key Selection
SY-LSIND = 14
SY-UCOMM = PF06
Example for AT USER-COMMAND.
REPORT demo_list_at_user_command NO STANDARD PAGE HEADING.
START-OF-SELECTION.
WRITE: 'Basic List',
/ 'SY-LSIND:', sy-lsind.
TOP-OF-PAGE.
WRITE 'Top-of-Page'.
ULINE.
TOP-OF-PAGE DURING LINE-SELECTION.
CASE sy-pfkey.
WHEN 'TEST'.
WRITE 'Self-defined GUI for Function Codes'.
ULINE.
ENDCASE.
AT LINE-SELECTION.
SET PF-STATUS 'TEST' EXCLUDING 'PICK'.
PERFORM out.
sy-lsind = sy-lsind - 1.
AT USER-COMMAND.
CASE sy-ucomm.
WHEN 'FC1'.
PERFORM out.
WRITE / 'Button FUN 1 was pressed'.
WHEN 'FC2'.
PERFORM out.
WRITE / 'Button FUN 2 was pressed'.
WHEN 'FC3'.
PERFORM out.
WRITE / 'Button FUN 3 was pressed'.
WHEN 'FC4'.
PERFORM out.
WRITE / 'Button FUN 4 was pressed'.
WHEN 'FC5'.
PERFORM out.
WRITE / 'Button FUN 5 was pressed'.
ENDCASE.
sy-lsind = sy-lsind - 1.
FORM out.
WRITE: 'Secondary List',
/ 'SY-LSIND:', sy-lsind,
/ 'SY-PFKEY:', sy-pfkey.
ENDFORM. -
How to Create Interactive report lists for the gross sales, credit returns, and gross weight for the customer for the current year and comparing the same with that of the previous year for the same period.....
plz tell me steps to accomplish this....plz ...give me the detail description..plz......many many thnx in advance...Hi raja,
Display a checkbox , customer number on the basic list and also set a GUI STATUS on the basic list.....
Select the customer by checking the checkbox and click on the button you create in the GUI status....
Write the desired code to be displayed in
AT USER-COMMAND even checking the sy-ucomm....
so this would make you to into interactive list...
Hope this would help you.
Regards
Narin Nandivada -
Create Print Layout Design Through SDK
Hello,
I want to ask is it possible to create Print Layout Design For Invoices through SDK .
Thanks,
AmitHi Amit,
It is not possible to get PLD through SDK. You can only use crystal reports if you want it thru SDK. More over, PLD is client specific. So if you design it in your system, then, you need to use Copy Express to push it to your client's (end user) system.
Regards,
Satish. -
Error when creating interactive report
Hi everyone,
I get the following error when creating any kind or interactive report, one might say is was a huge amount of data, however it hapens whether is is a small or big reporrt.
ORA-20001: Unable to create modules. ORA-20001: create_table error: ORA-20001: Excel load run ddl error: ORA-01658: unable to create INITIAL extent for segment in tablespace APEX_1241314296468143
I hope that I find help
best,Hi,
This might help
http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21678/aadm_request.htm#sthref51
Regards,
Jari
http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0 -
Error creating interactive report
Hi
I get the following Oracle error when I attempt to create an interactive report:
ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc. ORA-02063: preceding line fromThe select statement I am trying to base the report on is:
SELECT MAX(b.oracle_job_num) AS "Oracle Job Number"
,MAX(b.stream_id) AS "Stream ID"
,MAX(b.batch_id) AS "Batch ID"
,b.billing_pk AS "Billing Reference"
,MAX(REPLACE(b.job_type_desc2,'_',' ')) AS "Job Type"
,MAX(b.file_date) AS "Date Recieved"
,MAX(b.total_docs) AS "Volume Recieved"
,SUM(NVL(d.total_docs_dispatched,0)) AS "Volume Dispatched To Date"
,MAX(b.total_docs) - SUM(NVL(d.total_docs_dispatched,0)) AS "Volume Outstanding To Date"
,NVL(TO_CHAR(MIN(d.dispatch_timestamp),'DD-MM-RRRR HH24:MI'),'N/A') AS "First Dispatch Date"
,NVL(TO_CHAR(MAX(d.dispatch_timestamp),'DD-MM-RRRR HH24:MI'), 'N/A') AS "Last Dispatch Date"
,ROUND(SUM(NVL(d.total_docs_dispatched,0)) / MAX(b.total_docs) * 100) AS "Percentage Dispatched"
,MAX(b.total_sheets) AS "Total Sheets"
,MAX(b.impressions) AS "Total Impressions"
FROM billings b
,job_batch_dispatch_details d
WHERE b.billing_pk = d.billing_pk (+)
AND TRUNC(file_date) >= '25-APR-2008'
AND UPPER(customer) LIKE 'B%'
GROUP BY b.billing_pkPlease can anyone suggest what I need to do in order to get the report to work?
Many thanksPaul,
There should be more to that error message, that instructs you to change the "Unique Column" which is used to identify each row for the default drill-down link.
If you are creating this report using the Create Page or Create Region wizard, try choosing "No" for "Link to Single Row View" below the query.
- Marco -
How to create interactive reports in SQL Server 2008 R2?
Dear,
I want to create a interactive dashboard in that there is 4 parts and on the selection of one values in one part, detailed value of other part of the report has been changed?
I've tried through Bookmark but this loads complete data in other part of the report. but i just want to load the information of selected record.
Please help to provide the solution for the same.
Thanks in advance.Hi Anurag,
I have an idea , for your scenario you can use subreport and pass parameter to that subrreport from first part to change the value based on the selection of value from first part.
Suppose in first part you are showing aggregate values department wise and in second part you want to show details of that department which selected by user from the first part so you can create a separate part to show details of department with parameter
department which will filter your report according to department and use this report in second part as sub report and for department parameter map it to the first part so if user will select on values of any department then that department name will be passed
in the parameter of sub report and your sub report will show details of that department.
so in first part go to textbox property and go to action tab and then pass parameter.
some examples to set parameter from main report into sub report:
https://www.katieandemil.com/ssrs-create-subreport-with-parameter-example-tutorial-ssrs-2008-r2?tab=article
http://blog.aditi.com/enterprise_social/how-to-pass-multi-value-parameters-to-sub-reports-in-ssrs/
Thanks!!
Live life with joy and happiness! Avanish -
SAP CRM Interactive Reports in Interaction Center
Hi
I am trying to use SAP CRM Interactive reports. I am aware that we don't need a separate BW serve for it. Do we need a separate local BI client or can we just use them through the IC_MANAGER Role?
What are the settings to enable interactive reports?
How can I create Interactive reports through the Analytics role?
All help is greatfully appreciated.
Thanks
TarangTake a look at [SAP Help Topic 'CRM Interactive Reports'|http://help.sap.com/saphelp_crm70/helpdata/en/61/553f78fc3c48c894c082d0fb23ef0f/frameset.htm]
Also you can refer to best practice building block [C41: CRM Interactive Reporting|http://help.sap.com/bp_crm70/BBLibrary/HTML/C41_EN_DE.htm]. -
Interactive reporting using web client in Hyperion Workspace
Hi all,
I was trying to create a new interactive report using following process:
1)Logon to Workspace using browser
2)File -> New -> document
3)select the option: "Create interactive reporting document"
4)Browse for .oce file
5)Click finish, once the .oce file is selected.
After these steps:
Initially I was getting message regarding checking web client status...
this was taking lots of time so I cancelled the process and restarted from step 1.
Now, after step 5, I am getting a file save option showing source of file as server of the Workspace.I am working on a local machine and accessing the workspace product through web browser.
If I save this file in local machine I don't get an option to open this file from workspace using :
File -> open -> document.
and alternatively if try to open this locally from the machine I don't have proper application on my local machine.
I am badly trapped in this viscious circle.... Kindly help.
Also, it will be gr8 if somebody could suggest some link for understanding the process of creating a new interactive report , using web client on workspace.
Thanks in advance..
Edited by: user12973893 on May 5, 2010 3:40 AMHi all,
I got to know that import and export option is available with "user->reports" and "file in report folder" respectively, when we go for Explore option.
So storing to local machine and retrieving it back is no more a problem.
But still I have hardly any idea as to how to start with interactive reporting in Workspace using web client.
If any of you come across any such tutorial on interactive reporting using web client on workspace please tell.
I come to know that Interactive reporting studio is available for interactive reporting purpose: any of you please tell me if "reporting and analysis client.." available on oracle edelivery is sufficient for interactive reporting studio or we need to install something specific for working with Interactive reporting studio. -
Interactive Report with PL/SQL Function Source
Is it possible to create interactive report with PL/SQL function source returing a query? If not, has anyone done any work to simulate the interactive reporting feature for a normal report using API?
I haven't tried that before but you could:
1. create a collection from your result set returned by a dynamic query,
2. create a view on that collection,
3. use the view in your interactive report.
The usability of this proposal depends from a question how "dynamic" your query is - does it always have the same number of columns or not.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.opal-consulting.de/training
http://apex.oracle.com/pls/otn/f?p=31517:1
------------------------------------------------------------------- -
Changing value of input field in interactive report
Hi all,
I have created interactive report. On 3rd list, i had calculated total for netwr filed and it is displayed at bottom.
netwr field on list is editable. If value in netwr changed by user , value for total should be changed on same list.
Can anybody help me out?
Thanks and Regards,
Rakesh.Hi Rakesh
Within the third alv's usercommand, Try this code.
FORM user_command1 USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
CASE r_ucomm.
WHEN 'EDIT'.
<code>
CALL METHOD <alv_instance>->refresh_table_display
EXPORTING
is_stable = <third_alv_internal_table>
EXCEPTIONS
finished = 1
OTHERS = 2.
ENDCASE.
ENDFORM.
This will refresh the internal table each item a edit operation is done, after this write the code to find the sum.
Thanks and Regards,
Rinzy Deena Mathews -
How to load only first set of rows only in pagination of interactive report
Hi all,
Iam using 3.2 x and database 10g.
I have created interactive report and it contains 500000 records. and iam using pagination x to y but background it loads complete rows from database.
To load complete 500000 records page taking 10 minutes.So My reqiurement is I need to load first set of rows like 500 rows and Once i click next button then only it should load next set of rows like 501 to 1000.
Please tell any idea to resolve the above problem.
thanks
baluBalu,
try to trace your page to see how your statement can be tuned. To do that add &p_trace=YES to the URL.
This creates a standard Database Trace file which can be analyzed with TKPROF or SQL Developer or similiar tools.
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
BuilderPlugin: http://builderplugin.oracleapex.info
Work: http://www.click-click.at -
'unsupported data type' in interactive report
Hi,
I try to download a file from a link of an itneractive report.
In the "report attributes" section of the interactive column, I have defined in the link section of a column the 'Target' as 'URL', and the URL as this :
DOWNLOAD:CONVENTIONS:#FILE_BLOB#:#ID#::#MIME_TYPE#:#FICHIERS#:#LAST_UPDATE#::attachment:ConvWhen I run the interactive report, the link show this :
download:CONVENTIONS:[unsupported data type]:188:::C22.pdf:::attachment:Conv
The table "CONVENTIONS" is defined like this :
"ID" NUMBER NOT NULL ENABLE,
"FICHIERS" VARCHAR2(2048 BYTE),
"FILE_BLOB" BLOB,
"LAST_UPDATE" DATE,
"MIME_TYPE" VARCHAR2(255 BYTE)
Where is my error ?
Thank for your kind help !
ChristianHi Christina,
sorry the wizard you have to use is the "Form > Form on Table with Report", because the normal create interactive report wizard allows to enter a query.
After you are done with the wizard, have a look at the generated SQL statement (it has to use the dbms_lob.getlength) and the value in "Number / Date Format" for that column.
Regards
Patrick
My Blog: http://www.inside-oracle-apex.com
APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins -
Download to CSV format in Interactive report
Hi all,
We have APEX 4.2. We have created Interactive report on a table. When we download that report to csv, everything is fine except for loan number which is a varchar2(50 Byte) (e.g. 210568900000000012). It is shown as 2.10569E+15. When we try to format the cell as text, it rounds off the number (e.g 210568900000000000).
Please advice.
Regards,
AndyI encountered this issue previously, but regarding leading zeroes. It was really a battle with Excel - not APEX.
Although I'd be interested to see if anyone has found a workaround that made Excel interpret it as a character instead of a number. We tried a few leads but to no avail.
Maybe you are looking for
-
I can not open itunes on my computer. It started when an upgrade appeared. Now I get a message that states This application has failed to start because MSVCR80.dll was not found. Re-installing the application may fix this problem. I tried to reinsall
-
Upgraded my iPhone to iOS7 and now it won't work!
Can someone please tell me how to fix this - Apple support haven;t been able to so far!
-
How to create a link on billerdirect screen for downloading bill in PDF
Hi, Our requirement is to create a link on UCES Biller Direct screen, where user can click and down load his bill or invoice in PDF format. If any one can help me on this I will be highly thankful to him. Regrds, Ranadev
-
How I solved issues with Mail.app and Spotlight
Even though my upgrade from Tiger 10.4.10 to Leopard was painless, the new OS X did have a few issues that had bothered me: *Mail.app: * Every now and then, the app would behave like on its first startup, saying it needs to import my mail before I ca
-
Email addresses in thunderbird emails are not clickable.
In Thunderbird V31.6, when viewing a received email which contains an email address (in the body of the message) that email address is not shown as a mailto: link, and is not clickable, so cannot be used to create a new mail message. This happens whe