Page Items displayed in table borders
Hello,
This might be a 'newbie' question, but I need to design a form layout in a 'Grid', so I need to know how to enable borders around each page item (cell). I wish there was a way to create a layout in Dreamweaver and then have Html DB insert each page item into the cell I choose.
Any help?
Regards,
Jeff
Any ideas on this? I have tried the custom template and changed the border="1", but that does not look very good. I want it to look more like excel, where there are titles (column headings) and within each column, each cell has a border completely around it with page items in them. Is this possible?
Thanks!
Jeff
Similar Messages
-
Page Items displayed in Oracle AS Portal
I am building a page in the Oracle Application Server Portal
that has three regions. Each region contains a Discoverer Worksheet. The layout
is such that the upper region has a worksheet graph (a) spanning 100% of the
region. Beneath this region are two regions containing one worksheet table in each
region. The worksheets have a master (b)/detail (c) relationship. The "master" (b)
worksheet is the table for the graph (a) in the upper region. It is the same
Discoverer worksheet being displayed as a graph in one region (a) and as a
table (b) in another region.
The issue that I have encountered lies in the Page Items
being part of the title of the regions. For the tables, the Page Item and values
appear just below the title of the worksheet. This is not the case for the
graph. The page items do not appear by default. To get the Page Items to appear
as part of the graph, I used the &PageItems option in Discover Plus for the
worksheet, but this causes the values to be repeated for the regions containing
tables (b) and (c).
Is there any way to turn off the Page Item as being part of
the titles in the regions containing tables? Or any way to get all three
regions to show the Page Items without them being repeated in the regions
containing tables?
Edited by: user10753869 on Dec 31, 2008 7:50 AMAny ideas on this? I have tried the custom template and changed the border="1", but that does not look very good. I want it to look more like excel, where there are titles (column headings) and within each column, each cell has a border completely around it with page items in them. Is this possible?
Thanks!
Jeff -
Page item display 32767 characters (via computation)
Hello everyone,
Running APEX 3.2.1.00.11
I am trying to generate values for a page item using a PL/SQL function body. It parses and concatenates many rows of our databases. In one case I need to return some generated javascript code to pre-load a auto-suggest class. In the other case, I need to concatenate a variable number of comment postings for a given article "to create a threaded blog view" (the number of comments could get quite large).
My problem is that APEX is maxing out at 32767 characters. When I defined my function with a VARCHAR2(32767) I got a buffer too small error. When I tried to run it using a CLOB I got a "ORA-06502: PL/SQL: numeric or value error string". I'm assuming this happens when it tries to exit the PL/SQL function and return control back to APEX (some type of CLOB -> VARCHAR2 conversion - but once again i'm just guessing).
I tried to verify the code works fine by running it in sql developer. When using DBMS.OUTPUT.PUT_LINE I got the same ORA-06502 error. When I replaced the return string with a "function completed" message instead, it ran fine and printed out the success message.
To validate it wasn't the contents of the string, I changed the function to put a DBMS.OUTPUT.PUT_LINE on each iteration through the result sets that builds the large concatenated string. Every line printed without issue and no errors were generated...
So, my question is...how can I generate text > 32k in size and display it to the user through APEX?
Please don't respond and say that I shouldn't be loading that much into a webpage initially and that I should be using AJAX to search through values and load them on the fly. That could work for the select list (if I can get past APEX's very particular URL parsing system) but it is not suitable for the "blog comments" functionality.
Thanksss!!I honestly don't know enough about how APEX generates it's page items and the overall page to be able to answer your question. All that I can tell you is that its a simple "display only" page item that has a before header "Computation" on it powered by a PL/SQL function body.Sorry, I missed the "page item" and focused on the "PL/SQL". In that case you've hit a hard limit in APEX. Page items, report rows and various other things have a maximum output size of 32K.
I could do multiple page items each limited to 8k as you suggested and strategically concatenate them behind the scenes too - however this is extremely ugly. I need to consider how other people will be able to work with this code in the future.Absolutely—I really wasn't suggesting separate items as I was talking about buffering output from <tt>htp</tt> methods.
For handling large items, see the Save Large Value demo app. As you can see, this is not "out of the box".
For display-only purposes, APEX reports or dynamic PL/SQL regions are a better fit for the use cases you describe than page items. -
Javascript help - Hide/Show a page item
Environment:
APEX 3.1.00.09 running on AIX 5.3
Sample application on apex.oracle.com:
Workspace: GALWAY
UserID: gwicke
Password: gwicke
To see where my issues are:
1- Start on page 3
2- In the Agency drop down select 'J & B Marketing'
3- In the Contract drop down select the only contract that appears
4- Click on 'Edit Existing Contract'
5- Note the page item 'LY Closings' has the value 261
6- Click on the link (really a tab in my theme) at the top labeled 'Cost Detail'
7- The 'Estimate Justification' is the page item to be displayed/hidden as noted below.
8- The 'Homes Per Year' under the 'YEAR1' column is the user input page item
9- The P2_BUILDER_CLOSINGS (value 261 noted above) is the page item to be used in the comparison
I need to do a couple of things with a potentially hidden page item:
1- Every time the page loads I need to check to see if the page item (P8_ESTIMATE_JUSTIFICATION) is not null and if it is indeed not null, make it displayed.
2- When the user enters a value in another page item (P8_HOMES_PER_YEAR1), call a function to see if that value is more than 120% of another page item (P2_BUILDER_CLOSINGS) and if so make the above page item displayed (P8_ESTIMATE_JUSTIFICATION).
I have the javascript function created (showHideEstimateJustification) and in the HTML Header of the page. The function is being called currently with an onChange check on the page item entered by the user as noted above (P8_HOMES_PER_YEAR1).
Issues:
1- I need to force a SUBMIT after the user enters the value for P8_HOMES_PER_YEAR1 so it is available in session state and hence to the javascript function (other ideas welcome!)
2- I am currently using the x.style.display = 'inline' versus 'none' to hide/show the page item, where x is derived from var x = document.getElementById(P8_ESTIMATE_JUSTIFICATION) Is there a better way????
Any help is greatly appreciated.
-gary (a.k.a. Javascript newbie)Hi,
Only your messages use the session state. The code would use the entered value, but you would need to change:
var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1'));to
var homes = parseInt(document.getElementById('P8_HOMES_PER_YEAR1').value);so that "homes" becomes the numeric version of the value of the item
Normally, for the label, you would just enter an ID="xxx" into the HTML Table Cell Attributes for the label which you can then use in your javascript. For some reason this doesn't seem to want to work in this page.
What you could do is find all the labels and then check which is the right one before showing/hiding it. Something along the lines of:
var xx = document.getElementsByTagName("LABEL");
var zz;
var label;
for (zz = 0; zz < xx.length; zz++)
if (xx[zz].htmlFor == 'P8_ESTIMATE_JUSTIFICTION")
label = xx[zz];
xx[zz].style.display = 'none';
{code}
Andy -
Cheque Number in Vendor and GL Line iTem Display
Hi
How can we get to display the Cheque Number in T Codes FBL1N and FBL5N
SamirHi
Please follow the paths
GL Accounts:
IMG ==> General Leder Accounting ==> Master Data ==> GL Accounts ==> Line Items ==> Define Special Fields for Line Item Disply
Enter Table PAYR
Field Name CHECF
Vendor Accounts
IMG ==> Accounts Receivable and Accounts Payable ==> Vendor Accounts ==> Line Items ==> Display Line items ==> Define Additional Fields for Line Item Display
Enter Table PAYR
Field Name CHECF
After adding this, when you run FBL1N and FBL3N you can see the cheque number against payment documents.
Thanks & Best Regards
Sanil K Bhandari -
Page Items from parent related table (readonly - only display)
Hi,
is this possible in APEX 5.0?
DB Strucktur: Customer (Fields: Name, Address, Postal Code ...) 1:n Contacts (Firstname, Lastname, customer_id, ...)
I need a Form (Contact):
Firstname:
Lastname:
Address:
Readonly Items from Customer Table (only display):
Customer Name:
Cistomer Address Items:
Thanks for help!
AlexHere's what you could do:
- First create a Report with Form on your Contact Table
- Next create a new region called customer info
- Drag the different display only items for the columns in the Customer table into the new region
- Finally create a Process Before header which does
select cust_name, cust_address
into :P1_CUST_NAME, :P1_CUST_ADDRESS
from customer_table
where id = :P1_CUSTOMER_ID;
- Put a condition on the process to only fire when you have a :P1_CUSTOMER_ID
Note: your table, columns might be a bit different than in the above example.
Hope that helps,
Dimitri
-- https://www.apexrnd.be
-- http://dgielis.blogspot.com -
How to place the page items horizontal in pivot table in OBIEE
Hi experts
In pivot table i have two pages items. And i want to place them horizaontaly. So how can i achieve this.
for Ex: I have placed my two columns in page section of pivot table: Year,city.
then i need as ;
Year City
where year is one dropdown list and city is another drop down list.
Thanks in advance
Regards
SunilHi,
We can seperate the page items using 'Start New Page Drop Down', but the item will be displayed in the next line.
I think you would like to show them side by side i.e, horizontally..
If it is, i think it is not possible as of OBIEE 10.1.3.3.. not sure about 10.1.3.4..
Please let me know if my assumption is wrong.. I will be very happy if anyone corrects me..:)
-Vency -
HEllo ABAPERS,
KINDLY HELP .
I have developed a report which displays a html page in a custom control .But while printing it not displaying table borders . I have used method display_document ffor printing .Can anyone tell me the reason why is it not printing borders ?
Following code is the code for subroutine and PBO : -
MODULE status_0322 OUTPUT.
SET PF-STATUS 'xxxxxxxx'.
SET TITLEBAR 'xxx'.
IF first_display EQ 'X'.
SET PF-STATUS 'PMENU'.
create document
CREATE OBJECT do.
fill document
PERFORM display_data USING do t_no.
merge document
CALL METHOD do->merge_document.
display the document inside the container named 'mmscr
CALL METHOD do->display_document
EXPORTING
container = 'MMSCR'
EXCEPTIONS
html_display_error = 1.
" do some exception handling ...
CLEAR first_display.
ENDIF.
ENDMODULE. " STATUS_0322 OUTPUT
*& Form display_data
FORM display_data USING p_do TYPE REF TO cl_dd_document P_no type n.
DATA ta1 TYPE REF TO cl_dd_table_element.
DATA col11 TYPE REF TO cl_dd_area.
DATA col12 TYPE REF TO cl_dd_area.
DATA col13 TYPE REF TO cl_dd_area.
DATA col14 TYPE REF TO cl_dd_area.
DATA col15 TYPE REF TO cl_dd_area.
DATA head1 TYPE sdydo_text_element.
DATA head2 TYPE sdydo_text_element.
DATA head3 TYPE sdydo_text_element.
DATA head4 TYPE sdydo_text_element.
DATA text TYPE sdydo_text_element.
CALL METHOD p_do->new_line.
CALL METHOD p_do->add_table
EXPORTING
no_of_columns = 5
cell_background_transparent = space
with_heading = 'X'
border = '5'
width = '50%'
IMPORTING
table = ta1.
set columns
CALL METHOD ta1->add_column EXPORTING heading = head1
width = '10%'
IMPORTING column = col11.
CALL METHOD ta1->set_column_style EXPORTING col_no = 1
sap_color = cl_dd_area=>list_background_int.
CALL METHOD ta1->add_column EXPORTING heading = head2
width = '15%'
IMPORTING column = col12.
CALL METHOD ta1->add_column EXPORTING heading = head3
width = '15%'
IMPORTING column = col13.
CALL METHOD ta1->add_column EXPORTING heading = head4
width = '15%'
IMPORTING column = col14.
CALL METHOD ta1->add_column EXPORTING heading = head4
width = '15%'
IMPORTING column = col15.
fill columns
text = ' '.
CALL METHOD col11->add_text
EXPORTING
text = text.
text = 'Init'.
CALL METHOD col12->add_text
EXPORTING
text = text.
text = 'Supv No'.
CALL METHOD col13->add_text
EXPORTING
text = text.
text = 'Date'.
CALL METHOD col14->add_text
EXPORTING
text = text.
text = 'Discrepancy Report Notation'.
CALL METHOD col15->add_text
EXPORTING
text = text.
CALL METHOD ta1->new_row
EXPORTING
sap_color = cl_dd_area=>list_background.
text = 'Q/C by'.
CALL METHOD col11->add_text
EXPORTING
text = text.
text = ' '.
CALL METHOD col12->add_text
EXPORTING
text = text.
CALL METHOD col13->add_text
EXPORTING
text = text.
CALL METHOD col14->add_text
EXPORTING
text = text.
CALL METHOD col15->add_text
EXPORTING
text = text.
CALL METHOD ta1->new_row.
text = 'Received by'.
CALL METHOD col11->add_text
EXPORTING
text = text.
text = ' '.
CALL METHOD col12->add_text
EXPORTING
text = text.
CALL METHOD col13->add_text
EXPORTING
text = text.
CALL METHOD col14->add_text
EXPORTING
text = text.
CALL METHOD col15->add_text
EXPORTING
text = text.
CALL METHOD ta1->new_row.
text = 'Sign Off'.
CALL METHOD col11->add_text
EXPORTING
text = text.
text = ' '.
CALL METHOD col12->add_text
EXPORTING
text = text.
CALL METHOD col13->add_text
EXPORTING
text = text.
CALL METHOD col14->add_text
EXPORTING
text = text.
CALL METHOD col15->add_text
EXPORTING
text = text.
CALL METHOD do->new_line
EXPORTING
repeat = 1.
ENDFORM.
MSKYou can use HTTP Receiver to pass the data to the servlet that runs on the HTTP Server. The servlet has already screen design logic written in HTML or jsp to display in HTML Table or so. PI requires to just post data on the servlet of HTTP Server using HTTP Receiver. PI will not create screen look and feel logic while posting data.
If you want HTML table coding logic refer this link
http://www.w3schools.com/html/html_tables.asp -
Page Item / Source / Format Mask - Table Column Numeric
Form page to maintain a table row, the item is for a numeric column. Selected/Entered the format mask "999G999G999G999G990D00" for the Page Item / Source. I was under the impression that this would result in the page item being formatted with the mask when navigating out of the item. I can enter non-numeric values and navigate out with no error being raised/reported ... is this expected behaviour?
ThanksAPEX was touted at being a MS Access application killer and a RAD tool. If the user is presented with having to understand the complexities of session state variables, page item variables, etc. then a lot of developers/users will be switched off. APEX was supposed to appeal to the masses as the pipes and plumbing coding behind having a web application front end on an Oracle database backend was being hidden. The converse seems to apply when implementing functionality like a format mask being applied both on entry and display of several page items. So I may be able to implement the required format validation using Javascript but if I have to apply this functionality to more than one page item in now way does APEX lend itself to RAD, e.g. In Oracle Forms you could select multiple Block/Items and then change a property to apply to all the selected items.
-
Header not getting displayed in the next page in the second table
Dear Experts ,
I have a query regarding Header not getting displayed in the next page in the second table of the main window. .Let me elobrate the issue.
I have a smartform in which there are 2 tables TABLE 1 and TABLE 2 in the smartform MAIN window. TABLE 1 is for pending PO and TABLE 2 is for future delivery date P O separated by text in between.
Now the header for both the tables and the data are getting displayed properly if the total output is in only one page. But If there are more entries in the TABLE 1 the Header for the TABLE 2 is not getting displayed. Header for TABLE 1 yet gets displayed properly in the next page in case of more entries.
Only issue is that Header for TABLE 2 is not getting displayed in second page but it gets displayed if the entries are less in TABLE 1 and the total output is in one page .
Please provide a elobrate solution on this problem as the requirement is urgent.
Thanks,
Regards,
Sachin HadaHi Sachin,
you need to cteate two pages FIRST and NEXT.
in first page --> FIRST
next --> NEXT
in next page
page---> NEXT
next ---> NEXT.
you copy the first page main window is the same in next page
aslo
I think help ful for you
thanks & Regards
BHUPAL. -
Automatic Payment program -line item cleared not displaying in table
automatic Payment program -line item cleared not displaying in table
i have re run the APP program DUSR1 same earlier it has run twice but table dose not show double payment to vendors how to resolve the issue.
Can some one please guide me on this.Hi Priyanka,
First, which table are you referring to. If your fist APP run clears the line item, it will no longer be available in the open item.
Please be more specific on the problem so that we can try to help you. If possible, please provide screenshots.
Regards,
Ganesh -
How can i display all the query items to a table?
how can i display all the query items to a table in a jsp file?
i always have an out of memory error..any body??any idea?
is it possible thru configuration or i have to write a program by the abaper??
Biswa -
Line item display problem from table
Hi experts......
I am strucked up in my report with a problem ,
document no.(BELNR) for corresponding bkpf has four line item in BSEG table,
BUZEI GJAHR BUZEI KOART DMBTR HKONT
9000000078 2006 1 S 200,600.00 0000500100
9000000078 2006 2 S 24,072.00 0000301500
9000000078 2006 3 S 481.00 0000300450
9000000078 2006 4 D 225,153.00 0000209800
My requiremet is that
========================
when it goes inside the loop
i want to display the belnr where Hkont = '000500100'
and koart = 'D', that will be 001 line item (buzei) and 0004 Buzei in this case.
ie my output should be like
============================
GROSS NET
200,600.00 225,153.00
If i specify and hkont = '000500100'and koart = 'D'. its not getting inside the select itself
if i select without the where condition and hkont = '000500100'and koart = 'D' its going inside...
Can you please help me out....
My codings
elect bukrs belnr gjahr xref1 xref2 kunnr buzei dmbtr hkont koart from bseg into corresponding fields of table it_bseg
for all entries in it_bkpf
where bukrs = it_bkpf-bukrs
and belnr = it_bkpf-belnr
and gjahr = it_bkpf-gjahr
and hkont = '000500100'
and koart = 'D'.
loop at it_bseg into wa_bseg .
wa_final-kunnr = wa_bseg-kunnr.
wa_final-xref1 = wa_bseg-xref1.
wa_final-xref2 = wa_bseg-xref2.
wa_final-DMbtr = wa_bseg-dmbtr.hi ...
thanx a lot fo your reply,....
thats wat i thought and was trying to do so.....
and modified...can you please look in to the code....
but wa_final-gross = wa_amount-dmbtr.
wa_final-net = wa_amount-dmbtr.
value is not getting populated ....i dont know the reason
IF it_bseg[] is not initial.
select bukrs belnr gjahr dmbtr from bseg into corresponding fields of table it_amount
for all entries in it_bseg
where bukrs = it_bseg-bukrs
and belnr = it_bseg-belnr.
endif.
if it_amount[] is not initial.
select kunnr name1 LOCCO from kna1 into corresponding fields of table it_kna1
for all entries in it_bseg
where kunnr = it_bseg-kunnr and
locco = pr_locco.
endif.
sort it_bseg by belnr.
loop at it_bseg into wa_bseg .
wa_final-kunnr = wa_bseg-kunnr.
wa_final-xref1 = wa_bseg-xref1.
wa_final-xref2 = wa_bseg-xref2.
read table it_amount into wa_amount with key belnr = bseg-belnr.
if sy-subrc = 0.
if wa_bseg-hkont = '000500100'.
wa_final-gross = wa_amount-dmbtr.
endif.
if wa_bseg-koart = 'D'.
wa_final-net = wa_amount-dmbtr.
Endif.
at end of belnr.
Endat.
Endif. -
Pivot Table page-item as a multi select
Can this be done? When placign an item in the "page" shelf of the pivot table, the default is to allow a single valeu selection, but can we allow multiple selections.
For instance, if I place region in the Page item area, can I allow the user to select "West" and "East" as opposed to just 1 distinct value?Why not just use a prompt with a multiselect box then?
It looks the same for the end user, only now he have to wait when he chooses another combo... in stead of that he had to wait only in the beginning something longer -
Populate the URL for popupURL from a Table/Page Item?
Dear all,
Would someone please tell me if the URL to run a BIP report can be populated from a table/page item when using popupURL and if so, how?
Background:
I have a Table called TBL_LETTERS with a varchar2 column REPORT_URL
I have a Page (Pg 303) which populates a Text Page Item (P303_REPORT_URL) with an appropriate URL string from the table.
Here is my problem:
I would like to replace my working javascript function (see below):
run myLetter_40()
popupURL('&BI_URL.Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf=&_xpt=1&P_CASE_ID=&P303_CASE_ID.&P_PERSON_ID=&P303_PERSON_ID.&_xt=MM_40_xf=rtf');
with something like:
run myLetter_40()
popupURL($x("P303_REPORT_URL").value);
...but this doesn't work.
With my limited javascript knowledge I can only guess that the variables successfully assigned values in my first function example are not successful in my second, I am probably just passing the whole thing as a simple string (like this: +&BI_URL.Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf=&_xpt=1&P_CASE_ID=&P303_CASE_ID.&P_PERSON_ID=&P303_PERSON_ID.&_xt=MM_40_xf=rtf+), but would very much welcome any advice.
Do I need to
a. Create the REPORT_URL string differently in the table so that when passed to the Page Item it includes the required variable data?
b. Something completely different?
c. Forget it, it's not possible!
ps. I am using Apex 3.2.1
Thank you in advance.
Sue
Edited by: smp245 on Aug 21, 2012 2:19 PMThank you Erik-jan
when I look at the parameter in de popupURL function I notice that you use substitution variables &P303_CASE_ID. and &P303_PERSON_ID.
The value for these variables are filled in by Apex on page rendering.
If you use this same URL in your column REPORT_URL Apex will not fill in the values for these substitution variables.
Yes, this is exactly what is happening.
I would suggest you use option A to build your URL with the desired values.
If the values for &P303_CASE_ID. and &P303_PERSON_ID. are in the same table TBL_LETTERS you could use them to make a pseudo column for the URL string.
&P303_CASE_ID. and &P303_PERSON_ID. are not in the same table. How would it be possible to build the string (to store in the table) so that when it is run javascript identifies the variables?
I have tried building the string in various ways using syntax similar to below but nothing is working:
'&BI_URL.Guest/DEV/TEST/FRM_40/MM_40/MM_40.xdo?_xpf=&_xpt=1&P_CASE_ID=' + &P303_CASE_ID. + '&P_PERSON_ID=' + &P303_PERSON_ID.' &_xt=MM_40_xf=rtf'
Do you have any ideas?
Thanks
Sue
Maybe you are looking for
-
How to use 1 profile on server for multiple PCs
Is it possible to move an existing profile (at all!) to a home server and configure it as the default - if not only - profile on other installations on other PCs, thus avoiding sync-related plug-ins?
-
Z10 Unusable after upgrade attempt
Please help! My Z10 prompted me to a software upgrade this morning which I accepted. It took an unusually long time, but when it did finally return, all of my text messages were gone, my e-mail accounts and Blackberry Hub were scrambled and I could
-
MACPRO: Is there an interface that uses DIGITAL AUDIO IN?
I just got my new MacPro (woohoo!) and was getting ready to replace my 'ol tube preamp-to-soundcard configuration with a FW input box... when I realized I only have ONE of each FW port! I already have my USBs overpopulated, and my FW800 daisy-chainin
-
opps. Long title there... The past few days my Mail app has started downloading multiple copies of e-mails from all pop servers. This is only happening on my Macbook not other macs. Deleting mail from server does not help. I ran ClamXav found 2 vi
-
How to pass dynamically constructed string to where clause
select name from mytable where l_condition and sal=20; l_condition is value coming from the function. ex: l_condition is first_name='abc' and last_name='xyz' and first_name='def' and last_name='zef'