About SecondaryLists Interactive Reports
Hi,
if am having more than 20 secondarylists what happens & if at all it goes to Dump analysis how can i avoid it going to dumpanalysis?
After 20 u set the sy-lsind to 0 and try.
But Ur previous lists will be overwritten with the content u get now.
awrd points if useful
Bhupal
Similar Messages
-
Hi All,
Yesterday i submitted a query regarding Interactive reports.and i recieved lots of reply .But the replies are all about ALV interactive report.I want to know just about the interactive reports where ew use AT LINE OF SELECTION, HIDE e.c.
PLZ send methe documents related that.
Thanks and Regards
RASHMIHi
Interactive Reports
As the name suggests, the user can Interact with the report. We can have a drill down into the report data. For example, Column one of the report displays the material numbers, and the user feels that he needs some more specific data about the vendor for that material, he can HIDE that data under those material numbers. And when the user clicks the material number, another report (actually sub report/secondary list) which displays the vendor details will be displayed.
We can have a basic list (number starts from 0) and 20 secondary lists (1 to 21). Events associated with Interactive Reports are: 1. AT LINE-SELECTION 2. AT USER-COMMAND 3. AT PF<key> 4. TOP-OF-PAGE DURING LINE-SELECTION. HIDE statement holds the data to be displayed in the secondary list. sy-lisel : contains data of the selected line. sy-lsind : contains the level of report (from 0 to 21)
Interactive Report Events:
AT LINE-SELECTION : This Event triggers when we double click a line on the list, when the event is triggered a new sublist is going to be generated. Under this event what ever the statements that are been return will be displayed on newly generated sublist.
AT PFn: For predefined function keys...
AT USER-COMMAND : It provides user functions keys.
REPORT ZTEJ_INTAB1 LINE-SIZE 103 LINE-COUNT 35(5) NO STANDARD PAGE
HEADING.
*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 < 1 OR CUST_NO-HIGH > 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.
When you run the program, the system displays the following basic list with a the page header defined in the program:
You can trigger the AT LINE-SELECTION event by double-clicking a line. The system sets the status TEST and deactivates the function code PICK. The status TEST contains function codes FC1 to FC5. These are assigned to pushbuttons in the application toolbar. The page header of the detail list depends on the status.
Here, double-clicking a line no longer triggers an event. However, there is now an application toolbar containing five user-defined pushbuttons. You can use these to trigger the AT USER-COMMAND event. The CASE statement contains a different reaction for each pushbutton.
For each interactive event, the system decreases the SY-LSIND system field by one, thus canceling out the automatic increase. All detail lists now have the same level as the basic list and thus overwrite it. While the detail list is being created, SY-LSIND still has the value 1.
Regards
Anji -
Interactive Report based on a function returning SQL query?
Hi guys!
I'm wondering if the IR based on a function returning SQL query will be available on the final release of APEX 4.0..I can't see this functionality in EA1 and EA2 and I think it should be there..dont you think?
With regards,
PsmakRHi!
You're absolutely sure you're talking about the Interactive Report region and not about the default SQL Report region ?
With regards,
PsmakR -
Retrieve SQL with filters applied from an Interactive Report
I want to use an Interactive report as interface for providing parameters to a base report query.
I would like to capture the full SQL code from the filtered interactive report and then run the sql to create a collection.
I have found this tread
Re: Using Data from filtered Interactive Report
which says that you can use APEX_APPLICATION_PAGE_IR to access the reports SQL. This holds the information about the interactive report when the user saves it. The sql code from the interactive report (after the user has added filters) is stored in the field sql_query.I can only retrieve the base query and not the filtered version even after saving.
Any ideas how this can be done would be appreciated.
regards
PPOK Darren I think I've got it working. My solution is an adaption that follows the steps of a blog I found here: http://stewstools.wordpress.com/2009/02/19/get-ir-where-clause/
My solution allows you to click on a button and the records that are currently displayed in the IR report are saved to an APEX collection. You can then use the collection to save records to a table or run a report on another page. (I haven't included code for this last step but it's easy to find on the forum)
First a bit of background knowledge. The following APEX views hold all the information on IRs that you access via PLSQL code in the package you need to download. Run an IR report, save a version of the report, then in SQL Workshop have a look at:
select * from APEX_APPLICATION_PAGE_IR
select * from APEX_APPLICATION_PAGE_IR_COND
select * from APEX_APPLICATION_PAGE_IR_COL
select * from APEX_APPLICATION_PAGE_IR_RPT
When you run an IR report it has an internal ID that you can access and also a Base Id for each Saved report that is currently in context.
Here are the steps:
1) Download the following package and install it in the workspace schema
http://www.mediafire.com/?nj118x9vmc9
click on the link "click here to download"
2)In the HTML header Attribute of the page where your IR runs, put the following Javascript:
<!--===================================================================-->
<!--FUNCTION TO RETRIEVE IR REPORTS SQL WITH WHERE CLAUSE
<!--===================================================================-->
<script language="JavaScript" type="text/javascript">
function SaveAndRunReport() {
document.location='f?p=&APP_ID.:3:&SESSION.:CONSTRUCT_IR_QUERY:NO::'+
'P3_BASE_REPORT_ID:'+$v('apexir_REPORT_ID');
</script>
<!--===================================================================-->
Notes: You will need to obviously change the URL above to reflect your Page No. (3) and the name of a HIDDEN Item (P3_BASE_REPORT_ID) that you will populate with the base ID of the report.
Setting :P3_BASE_REPORT_ID to +$v('apexir_REPORT_ID') is an internal thing and works out of the box. It returns the Id of the Base report.
3) Create a button called SELECT_SPECIMENS (in region position - top of region) in the IR region that will initiate the execution of the IR background SQL to create a collection with the current selected records.
TARGET= URL
URL Target = javascript:SaveAndRunReport();
You might also want to create a condition that only shows the button when there are records selected
CONDITION TYPE=Exists(SQL returns at least one row)
EXPRESSION 1 - put the SQL of the IR report here.
4)Create a branch back to the same page (3) and with the REQUEST attribute set to the value in the Javascript URL above e.g. CONSTRUCT_IR_QUERY. Create a condition on the branch that uses this branch WHEN BUTTON PRESSED= SELECT_SPECIMENS
5) Create an AFTER HEADER PROCESS with the following code:
declare
v_base_query clob;
v_where clob;
v_query clob;
v_base_where varchar2(12):=' where 1=1 '; -- incase there is no where clause in the base query
begin
if apex_collection.collection_exists('IR_COLLECTION') THEN
htmldb_collection.delete_collection( p_collection_name => 'IR_COLLECTION');
end if;
--GET THE BASE QUERY OF THE IR REPORT
select sql_query
into v_base_query
from APEX_APPLICATION_PAGE_IR
where application_id=:APP_ID
and page_id=:APP_PAGE_ID; -- you can only have one IR report per page
--UNCOMMENT TO VIEW THE PARAMETERS TO THE PACKAGED FUNCTION
--raise_application_error(-20001, :APP_ID||'-'||:APP_PAGE_ID||'-'||:SESSION||'-'||:P3_BASE_REPORT_ID);
--GET THE SQL FILTER CODE
select apex_ir_query.ir_query_where(:APP_ID,:APP_PAGE_ID,:SESSION,:P3_BASE_REPORT_ID)
into v_where
from dual;
--CHECK TO SEE THAT THERE IS A "WHERE" CLAUSE IN THE BASE QUERY
if instr(upper(v_base_query),'WHERE ') > 0 then
v_query:=v_base_query||' '||v_where;
else
v_query:=v_base_query||' '||v_base_where||' '||v_where;
end if;
--UNCOMMENT TO SEE THE FULL QUERY SYNTAX
--raise_application_error(-20001,v_query);
--CREATE COLLECTION FROM IR RECORDS
apex_collection.create_collection_from_query(P_collection_name=>'IR_COLLECTION',p_query=>v_query);
exception
when others then
raise_application_error(-20001, 'Interactive report not found. Contact Administrator. Could not create collection of records.');
end;
remember to update P3_BASE_REPORT_ID above to your HIDDEN ITEM name.
Set the following attributes for the process above
CONDITIONAL PROCESSING
CONDITION TYPE = Request=Expression 1
EXPRESSION 1 --> CONSTRUCT_IR_QUERY (Note: this was set on the branch in step 4 above)
6) Run the IR report, click on the "SELECT SPECIMENS" button then click on the Session link on the Developer's Toolbar and select VIEW COLLECTIONS from the popup list then click GO. You should now see the IR records.
By the way I've been testing in IE not Firefox.
...and that's it!
enjoy
Paul P -
Interactive Reports - Question about Downloading PDF, CSV, Email, etc
I recently installed the latest version of APEX. I deployed it as an EAR on Oracle WebLogic. I then created a simple
interactive report that has the search bar above the report. The downloads (emailing, pdf, etc) do not work after I
run the report.
What setup\configuration is required to get the emailing and downloading of the other files to work?
fyi: right now I have Oracle WebLogic, Oracle 10g, and APEX running locally on a XP based laptop.
Thank you in advance,
WesHello Wes,
Sending a report as an email requires an SMTP server. You need to configure your instance settings to point to the SMTP server.
http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/adm_mg_service_set.htm#BEJBCEEH
To download a report as a pdf, excel or RTF... you need to have a reporting engine installed. Check this link for details...
http://www.oracle.com/technetwork/developer-tools/apex/application-express/configure-printing-093060.html
Thanks,
Machaan -
Problem with DATE in Interactive Report
Hello,
In Interactive Report when I click on the header of any column with DATE datatype, nothing happens due to Javascript error:
Line: 2
Char: 14838
Error: Expected identifier, string or number
Code: 0
Click on any other column works perfectly as well as sorting by DATE column from Action Menu.
I tried to set different format masks for my DATE column and for Application Date Format, but it didn't help.
Finally I found out that this error disappeared when in properties of my DATE column in "List of Values" section I set "Report Filter Date Ranges" = 'Past' instead of 'All'. In this case I get the list with values "Last 5 Years", "Last 2 Years", etc, but not with "Next Hour", "Next 2 Hours", etc...
Can someone help me on this issue, because this functionality might be usefull and also it's not very convinient to change this property for all date columns in all Interactive Report.
By the way, my database version is 9.2.0.5 - maybe it can cause such problem?
Best regards,
VladimirHi Marco,
1) French Canada (fr-ca)
2) This filter works
More informations about the error when I call the function gReport.controls.widget():
<h;div id="apexir_DT" style="text-align: center;" onclick="gReport.controls.widget(this.id)">h;Date de naissance<h;/div>h;
*************POST*************
flowid 48579
p_flow_step_id 5
p_instance 1412541985987586
p_request APXWGT
p_widget_action SORT_WIDGET
p_widget_mod CONTROL
p_widget_name worksheet
x01 5775894815382747091
x02 5775899227924757464
x03 apexir_DT
*************RESPONSE*************
{"dialog":{"id":"1966481623126322611","hide":["apexir_info","apexir_computation"],"coltype":"DATE","filter"
:false,"uv":true,{"dialog":{"uv":true,"row":[{"V":"Failure<br />ORA-20001: get_dbms_sql_cursor error
ORA-00923: FROM keyword not found where expected"}]}}
Louis-Guillaume
Homepage: http://www.insum.ca
Blog: http://insum-apex.blogspot.com -
Dynamically Colour Cells in an Interactive Report
My application requires an interactive report where cells are colour coded and the cell may, or may not have a value, but the value doesn't relate to the colour.
The report is based on a view which returns a result set as follows:
rn col1_value col1_colour col2_value col2_colour col3_value col3_colour col4_value col4_colour
1 null grey 3 null null null null red
2 null null 3 grey null null 4 red
3 null grey null null 3 null null redIn the results, each cell to be displayed has two columns per row, one with the colour and one with the value to display where null is the default colour (white)/no value.
In Apex 4.1 I can set the colour based on the values using the dynamic actions on the report display, but I can't work out how to set the colour of col1_value based on the results of col1_colour. I am hoping there is a way to set the colour of the cell col1_value and hide col1_colour from the report.
If you know of any posts providing an example of how this may work, or if you are able to explain it to me I would really appreciate your time.
I appreciate it may not be simple to see what I am aiming for given the text restriction and no images/tables available on the forum, hopefully you get the idea, but if not, ask and I will try and explain further.
I have seen Blog posts about 3-4 years old on how you do this in Apex 3.0 or older, but can't work out how to get this to work in Apex 4.0 or Apex 4.1.I have solved this using Javascript in a Dynamic Action, javascript something like:
$("td[headers='COL1_COLOUR']").each(function(){
switch($(this).text())
case "grey":
$(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"#999"});
break;
case "green":
$(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"green"});
break;
case "blue":
$(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"blue"});
break;
case "orange":
$(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"orange"});
break;
case "yellow":
$(this).parent().children("td[headers='COL1_VALUE']").css({"background-color":"yellow"});
break;
default:
break;
$(this).css({"visibility":"hidden"});
$("th[id='COL1_COLOUR']").css({"visibility":"hidden"});
}); -
Filter on field in Interactive report to small/narrow
In a interactive report I have the problem that the first (about) 30 positions of the values of one of the fields is not unique. So if you want to use the filter function it is impossible to know which value is selected. Is there a way to make these drop down select list wider for some fields?
Any one?Found the ANSWER!!
If I click on the little 'wheel' and click filter, I can choose other expressions. whooa!
Marco -
Hi
I'm using Apex 3.1.2, and am fairly new to using Interactive reports. I've found the URL syntax to apply a filter on an IR, and was just wondering if it is possible to apply a sort, or even open a saved report from a URL link? I am well aware that I can work around it (using different pages with a sort pre-applied etc) but was hoping that I could do everything on one page.
Thanks!
-MarcHi Marc,
I just read over the document and it doesn't appear that we can do it via the URL, however you may be able to do this using JS.
Try this (I did this as a test on the emp table)
//Send filter request
var get = new htmldb_Get(null,$v('pFlowId'),'APXWGT',$v('pFlowStepId'));
get.addParam('f01','EMPNO');
get.addParam('f01','=');
get.addParam('f01','7369');
get.addParam('f01','');
get.addParam('f01','minutes');
get.addParam('p_widget_action','FILTER');
get.addParam('p_widget_action_mod','ADD');
get.addParam('p_widget_mod','ACTION');
get.addParam('p_widget_name','worksheet');
get.addParam('x01',$v('apexir_WORKSHEET_ID'));
get.addParam('x02',$v('apexir_REPORT_ID'));
get.addParam('x03','EMPNO');
var gReturn = get.get();
//Refresh report request
var get = new htmldb_Get(null,$v('pFlowId'),'APXWGT',$v('pFlowStepId'));
get.addParam('p_widget_mod','PULL');
get.addParam('p_widget_name','worksheet');
get.addParam('x01',$v('apexir_WORKSHEET_ID'));
get.addParam('x02',$v('apexir_REPORT_ID'));
get.addParam('x03','EMPNO');
var gReturn = get.get();
//Refresh HTML report
$s('apexir_WORKSHEET',gReturn);
I'll try to put a post on my blog about the full solution to this shortly ([http://apex-smb.blogspot.com/])
Martin -
Blank csv from interactive report
I have an interactive report that shows the data just fine. but when I choose download and csv, I get a blank file, zero lenght. there is data in the report, but the download shows nothing. has anyone see this before? its just a standard report, nothing real fancy. it should be able to download data right?
it is apex is 4.0
I'm not sure of the database, I believe it is 11g
I have no clue as to the web server, I'd have to say whatever comes with 11g or apex. I don't have access rights to see that.
browser is IE 7 and firefox 3. both have the same issue.
I can't export it to a different instance at this time.. however, I created a new page, created a report in it and used a simple query, it allows me to download it. so something is odd about the actual report I have now. its a simple query, so I'm not sure what it wrong yet.
something must be interfering with the process. -
Issue with Date showing Null in interactive report
I created an interactive report for a customer and was confused to see blanks or more specifically dashes where there should be dates in one of the fields. I knew this field should have data so I did some testing and this is what I have found:
The sql I am running is:
select
assigned_to_company,
last_resolved_date,
incident_id
from
rhpd0009_im_adherence_rpt2_vw
When I run the command in SQL workshop I get the following results with data in the last_resolved_date field:
[http://i83.photobucket.com/albums/j299/yogibayer/apexdateissuesqlcommand.jpg]
I copied and pasted the SQL from SQL workshop and created a new interactive report and got the following results with no last_resolved_dates showing up:
[http://i83.photobucket.com/albums/j299/yogibayer/apexdateissueinteractivereport.jpg]
For some reason the order is different, but the first one INC1117629 shows up in both of them and has a last_resolved_date in SQL workshop, but not in the interactive report. Any help would be appreciated.
Thank You
ScottVarad,
It seems to be related to the function we use to convert Remedy dates to Viewable dates. Remedy dates are stored as an integer that represents the absolute number of seconds from Jan 1, 1970 at 12:00 AM. We use a function that converts this number into a human readable date. I have tried encapsulating the result of the function in a TO_DATE and a TO_CHAR with the same results as before. There is something about the resulting data from the date convert function that Apex doesn't like. It would be interesting to isolate what exactly the issue is, but right now I'm just trying to find a work around.
Thank You
SCott -
Print page items on Interactive Report
Hello,
I have an interactive report showing employees detail for the department number passed in as parameter.
On interactive report, I have page items showing department name and location on the top under report title.
When I print or export the report, it just exports the data rows, not the report title and department name and location.
Is it possible to include the report title, department name and location as well in the export file?
Thanks.For printing in specific layouts I use Anton Sheffer As_PDF package. Maybe it can help you out.
I tell about it in dutch: http://mraoul.com/?p=86
or you can go to antons page: http://technology.amis.nl/blog/8650/as_pdf-generating-a-pdf-document-with-some-plsql -
Edit Link on Interactive Report
I have an Interactive report with the edit link on each record to call a form. Is it possible for the edit link to show on specific records (instead of all)? I have a security requirement where the users shouldn't be allowed to edit (go the maintenance form) certain records.
I'm not sure if u're talking about default link?
If yes u can ignore that one and try to insert Your own image or link as ' a href=... text /a ' as Link
in a href U can use javascript, or write page url - it should work
and now answer about Your question - "text" can be inside decode or nvl (nvl2) function where u can combinate with all kind of sql functionality (as query) to specify when it should show text or when it should show null (when it's null U can't clisk on this.
edit: or as Roel wrote ;) - more easier way -
Page break on Interactive Report
Hi All,
I have an interactive report on EMP table with Controlbreak on Deptno column. I want to add page break after every break. In other words, I want to print each department's employees on a separate page. Any help would be highly appreciated.
Thanks,
ZahidFor printing in specific layouts I use Anton Sheffer As_PDF package. Maybe it can help you out.
I tell about it in dutch: http://mraoul.com/?p=86
or you can go to antons page: http://technology.amis.nl/blog/8650/as_pdf-generating-a-pdf-document-with-some-plsql -
Pagination on interactive report - how to move it on my layout
okay, I am working with the basic interactive report, no tweaks. My end user doesn't seem to worry about much horizontal scrolling, although it goes against my personal web dev standards to do that without significant necessity. But with the templates as they are, the pagination for the next/prev set of records is WAAAY over to the right. I find this bothersome, and for the benefit of my user, I would like to left-align this. I've looked on Google, done a search in this forum, and checked the APEX docs, not much leaping out at me. I suspect I can tweak a div class on some template, not having an easy time finding that.
helpful thoughts on this? TYIA, and points for a working idea.Hi,
Have you try change "Pagination Display Position" from Interactive Report Attributes?
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai
Maybe you are looking for
-
Please can anyone help me.
Hi I have had my ipod just over a year and it has been working fine up till tonight. First of all, when i plug it into the pc itunes does not come up on the screen(like it used to). Then i have tried to erase songs but it wont let me do it or update
-
I want a delete operator in Java. Why not?
The idea is simple: when I tell "delete some_object;" the system checks if the object can be deleted. a) Object is not referenced by any other objects out of the reference cycle *=>* some_object object calls its destructor and then it is deleted, and
-
ALV Grid Display Editable Field Disables Zebra Style
Hi all, First of all, I want to say: "I did my research." I found a post with a very similar question but not identically my case, or at least I can't solve it the same way. [Here is the reference post.|Re: Check box impact on ALV grid (Using OOPS)]
-
HT1222 This will not download on my iPad, I've tried several times and keep getting an error
http://support.apple.com/kb/HT1222 This update will not download on my iPad I've tried it several times and keep getting an error message
-
Freezing during start up - only on admin account
I have two accounts enabled on my Macbook Pro: One main account which is the admin, and one for my boyfriend to use. A few nights ago I downloaded a pdf file from an email and the computer froze. (the file download could just be a huge coincidence) I