Create page based on Seeded Table
I have got a question...Assume i have to create a custom page which inserts data into a seeded table
eg per_all_people_f.If i simply create a custom EO,VO,AM my question is oracle might have written all
row level validations in EO, some business validations in AM and all. My question is if i created custom
EO,AM then i will be bypassng all the standard validations by oracle.Then how should i proceed? Do i need
to extend the EO,AM while creating my custom page?? If that is the case then assume the AM is Root AM, then
i should not be extend it.So what should be the correct way of doing it.
Also if anyone has got any idea how date tracking is implemented in OAF for HRMS that would be really
great.
Thanks
Raj
Hi Raj ,
If you are creating new BC4J components( EO , VO, AM) using standard table and deploy it independently
it will not have any impact to existing functionality .
If you want to enhance / change business logic then you can for an CO or VO extension .
Date tracking in HRMS is to retrieve the most recent record from database .
Keerthi
Similar Messages
-
Create Fieldcatalog based on internal table (dynamic)
Hi ,
Is there a way to create Create Fieldcatalog based on internal table (dynamic).
while creating fieldcat we usually many give the fields "fieldname" and "tabname".
is there a way to get the fieldname from the main table ?
Eg ..
I have i_tab as the output table. It has 3 fields "a", "b" and "c"
Now when i created fieldcat manually ( in case i cannot use fieldcat_merge FM) , i have to append 3 throws in fieldcat table.
These rows would have "a", "b" and "c".
Now i want to know if there is a way in which i can find "a" "b" and "c" fieldnames from the createdd internal tables.
i can then append the same to fieldcat.Hi Anuj,
I created a FORM routine for this 4 or 5 years ago and made a couple of refinements. Meanwhile it has prooved as very useful.
The disadvantag is that it creates the oldfashioned field catalog for the function calls. But I already used it for OO fieldcatalog of LVC type - there is a function module for this but I do not have the name here.
You need the two forms (second called in first) to build the field catalog from any internal table that can be used for ALV display.
*& Form ALV_FIELDCAT_FOR_ITAB
* Feldkatalog from (arbitrary) internal Table (c) Clemens Li
* * build field catalog from type description
form alv_fieldcat_for_itab "#EC *
tables pt_outtab type table "#EC *
changing pt_alv_fieldcat type slis_t_fieldcat_alv."#EC *
data:
lv_desc type sydes_desc,
ls_alv_fieldcat type slis_fieldcat_alv,
lv_longfield type text80."CRM<=R/3 fname.
field-symbols:
<typeinfo> type sydes_typeinfo,
<nameinfo> type sydes_nameinfo.
describe field pt_outtab into lv_desc. "#EC *
loop at lv_desc-types
assigning <typeinfo>
where not idx_name is initial
and table_kind is initial "no entries for deep table like color
and back = 1. "top-level-entries only.
read table lv_desc-names index <typeinfo>-idx_name
assigning <nameinfo>.
check <nameinfo>-name <> 'INCLUDE'.
ls_alv_fieldcat-fieldname = <nameinfo>-name.
while not <nameinfo>-continue is initial.
add 1 to <typeinfo>-idx_name.
read table lv_desc-names index <typeinfo>-idx_name
assigning <nameinfo>.
concatenate
ls_alv_fieldcat-fieldname
<nameinfo>-name
into ls_alv_fieldcat-fieldname.
endwhile." not <nameinfo>-continue IS INITIAL.
read table lv_desc-names index <typeinfo>-idx_help_id
assigning <nameinfo>.
if sy-subrc = 0.
* Caution: Help-ID may be Tablename-Fieldname and thus longer
* than 30 Chars; ls_alv_fieldcat-rollname is 30 Chars only
ls_alv_fieldcat-rollname = <nameinfo>-name.
lv_longfield = <nameinfo>-name.
while not <nameinfo>-continue is initial.
add 1 to <typeinfo>-idx_help_id.
read table lv_desc-names index <typeinfo>-idx_help_id
assigning <nameinfo>.
concatenate
lv_longfield
<nameinfo>-name
into lv_longfield.
endwhile." not lv_desc-continue is initial.
* help id may be data element or <table>-<field>
if lv_longfield ca '-'.
* get data type for table field
perform get_rollname_4_tabfield
using lv_longfield changing ls_alv_fieldcat.
endif." lv_longfield ca '-'.
else.
* No Help-ID: Use Fieldname as text
ls_alv_fieldcat-seltext_s =
ls_alv_fieldcat-seltext_m =
ls_alv_fieldcat-seltext_l =
ls_alv_fieldcat-reptext_ddic =
<nameinfo>-name.
endif." sy-subrc = 0.
* Starting 4.7: get edit mask
if not <typeinfo>-idx_edit_mask is initial.
read table lv_desc-names index <typeinfo>-idx_edit_mask
assigning <nameinfo>.
ls_alv_fieldcat-edit_mask = <nameinfo>-name.
if not <nameinfo>-continue is initial.
add 1 to <typeinfo>-idx_edit_mask.
read table lv_desc-names index <typeinfo>-idx_edit_mask
assigning <nameinfo>.
concatenate
ls_alv_fieldcat-edit_mask
<nameinfo>-name
into ls_alv_fieldcat-edit_mask.
endif." not <nameinfo>-continue IS INITIAL.
endif." not <typeinfo>-IDX_EDIT_MASK is initial.
* assign length, output length and decimals
ls_alv_fieldcat-intlen = <typeinfo>-length.
ls_alv_fieldcat-outputlen = <typeinfo>-output_length.
ls_alv_fieldcat-decimals_out = <typeinfo>-decimals.
ls_alv_fieldcat-inttype = <typeinfo>-type.
append ls_alv_fieldcat to pt_alv_fieldcat.
clear: "prevent anything 2 B taken for subsequent fields
ls_alv_fieldcat.
endloop." at lv_desc-types where not IDX_NAME is in initial.
endform. " ALV_FIELDCAT_FOR_ITAB
*& Form get_rollname_4_tabfield
* Get Data type for Table field
form get_rollname_4_tabfield
using p_fname type text80 ""CRM<=R/3 fname
changing p_alv_fieldcat type slis_fieldcat_alv.
field-symbols:
<dfies> type dfies.
data:
lv_tabname type tabname,
lt_dfies type table of dfies,
lv_fieldname type fieldname.
split p_fname at '-'
into lv_tabname lv_fieldname.
clear p_alv_fieldcat-rollname.
call function 'DDIF_FIELDINFO_GET'
exporting
tabname = lv_tabname
fieldname = lv_fieldname
* LANGU = SY-LANGU
* LFIELDNAME = ' '
* ALL_TYPES = ' '
* IMPORTING
* X030L_WA =
* DDOBJTYPE =
* DFIES_WA =
* LINES_DESCR =
tables
dfies_tab = lt_dfies
* FIXED_VALUES =
exceptions
not_found = 1
internal_error = 2
others = 3
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
else.
read table lt_dfies assigning <dfies> index 1.
p_alv_fieldcat-rollname = <dfies>-rollname.
* Und wenn keinerlei Twexte gepflegt sind?
if <dfies>-reptext is initial and
<dfies>-scrtext_s is initial and
<dfies>-scrtext_m is initial and
<dfies>-scrtext_l is initial.
* No Text: Use Fieldname as text
p_alv_fieldcat-seltext_s =
p_alv_fieldcat-seltext_m =
p_alv_fieldcat-seltext_l =
p_alv_fieldcat-reptext_ddic =
p_alv_fieldcat-fieldname.
endif." <dfies>-reptext IS INITIAL AND
endif.
endform. " get_rollname_4_tabfield
Regards,
Clemens -
Create graph based on dynamic table data
Hi experts ;
i have JDeve Version 11.1.2.2.0 , i'm create dynamic table based on dynamic SQL query this query return by function in database by based on passing parameter .
My question :-
1- How create graph based on dynamic table and contral it at run time ?
Thanks & Best RegardsHi Mostafa,
You can retrieve the data from your sql query in a backing bean and pass it on to Graph using the setTabularData method.
Here is the javadoc for the setTabulardata method:
http://docs.oracle.com/cd/E16162_01/apirefs.1112/e17492/oracle/dss/dataView/CommonDataview.html#setTabularData%28java.util.List%29
Hope this helps
Katia -
Can't create MDFORM based on detail table with upload field
Has anyone suceeded in creating a Master Detail Form based on a detail form which has an upload field (blob column)?
I created a table (workingorders) and I want to attach documents to these orders so I created a table (attachments) which holds the attached documents and created a FK between workingorders and attachments. When I create a MD-form based on these tables I get the error:
Exception from wwv_generate_component.build_procedure (WWV-01821)
Error creating module: ORA-01403: no data found (WWV-16042)
When I use a detail table without the BLOB column I don't get this error and everything works just fine.
any ideas?
EdwardYes, there was a problem when there was a blob field only in the detail table. This has been addressed in patch 3.0.9.8.4 (to be released shortly).
Till then you will have to put corresponding dummy blob columns in the master table to create the form. -
Error creating form based on a table
This is wierd. I am running WebDB2.2
and up until now it has been no problem
creating forms from tables. But now in
this schema called SUMI I am unable to
create a form based on a table. I get
the error below. I have assigned SUMI
almost every possible permission
(DBA, WebDeveloper) so I
don't think it is a permissions issue.
Any ideas? Thanks in advance. Marvin.
---Error Message--
14/Aug/2001:13:12:28
ORA-06550: line 5, column 7:
PLS-00302: component 'FORM_NOTWORK' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored
ORA-06550: line 5, column 7:
PLS-00302: component 'FORM_NOTWORK' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored
VARIABLES IN FORM NOT IN PROCEDURE:
NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
nullI am bumping this up. Can anybody help or
at least point me in the right direction?
Thanks! -
Need help with create page based on template
I created a template on my class computer and i created few
pages based on it.
Today i moved all the file&folders to my private
computer, and when i tried to create a new page based on the
template I got a messege:
Error accessing file: "c:\sigal\....\template_site.dwt"
sharing violation (error code 32)
What is wrong? What do I have to do?
Can anybody help me please???
10xPlease respond to your reply on the DW forum.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"michal2401" <[email protected]> wrote in
message
news:eds23r$nhp$[email protected]..
>I created a template on my class computer and i created
few pages based on
>it.
>
> Today i moved all the file&folders to my private
computer, and when i
> tried to
> create a new page based on the template I got a messege:
> Error accessing file: "c:\sigal\....\template_site.dwt"
sharing violation
> (error code 32)
>
> What is wrong? What do I have to do?
>
> Can anybody help me please???
>
> 10x
>
>
> -
Creating Chart based on a Table in same Pages Document
Hi
1. how can create a chart in a pages document based on an existing table in same document without the need to create a chart then paste the data of table into it ?
2. if i have a column vales and i copied it how to paste it in the column headers of the editing data window of a chart, i tried and all copied values will be pasted in the cell of one header and i cant select all column headers to paste the values in them ?You can't. Charts in Pages rely on their own data table, or can pick up data from a Numbers table.
You can include column headers and data cells in a single paste, as I did here:
Select all six cells of the table
Copy
insert the chart (or Select the existing chart and click Edit Data in the Chart inspector).
In the chart's data table (below), click on the first header cell ('B1')
(Both the header cell and the data cell(s) in that column will be highlighted.
Paste.
(Results should be as shown below.)
Labels (in the left column) can't be included in this paste as the top left cell ('A1') apparently can't be selected. Haven't checked this fully as yet, and no time to do so at the moment.
Regards,
Barry -
How to create Form based on a table to display multiple record
Hello All,
Would somebody please tell me how to create a Form based on a single table ,
to view and insert multi record based on a single table.In other words I would like
to have a form as shown below ,where the users can Insert,update,delete,query and so on
Item Id PArt Number List Price
100 Item-1 $120.oo
200 Item-2 $150.00
300 Item-3 $50.00
I know I can do it as Single Record block using Tabular Format,but multiple record ?????
Thanks in Anticipation
BabuTry this method,
1. Creat a Master Detail Form (Custom Layout and not tabular)
and in the master block select one field.
2. In the HTML layout for master remove the reference for
that field(so that nothing will appear in the master block
of the form).
3. Before the update (in the Pl/SQL event handler select the 'Save' event and write the following code to avoid updating master block).
p_session.set_value(p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'MASTER_ACTION',
p_value => 'None');
doSave;
For eg, let's say
Master is from 'Dept' table and Detail is from 'Emp' table(with join condition Dept.dept_id = Emp.dept_id). In the master remove everything except dept_id field and in the HTML layout for master remove the reference of the dept_id field(you cannot remove this field physically from the master layout). Now the form will look like multirow form rather than master detail form but only problem with this workaround is 'Detail Action' will be present in the detail block.
I hope this will help you.
Thanks
-Krishnamurthy -
How to create ODS based on a table (e.g. TCURR)
Hello!
I need to have access to V_TCURR in my BEx reports, cause I want to show relevant rates.
Could you give me some links (if they exists) where I can find information about this?
And I'd be really pleased if someone write a step-by-step instruction, because I tried to do it (I found some instructions in different topics) and failed.
Thanks for responses.Hi,
why dont you go for generic extraction to extract the data from the table TCURR to ODS.
create the objects according to the fields in the table and design the ODS. map the fields with the objects and extract the data. The you can report on the ODS.
Sunil -
Is there an Excel-style template for the UI of a page based on a table?
Hi Guys,
My app could use an Excel spreadsheet style look-and-feel for maintaining the data in a certain table. Is there a simple way of accomplishing that in Apex? I'm currently using 4.1.
Thank you!
KimGood question. We're basically looking for a grid look-and-feel so that the user can use the four arrow keys to navigate around. Basic dynamic column filtering and sorting features would be nice, but not required. In essence, each row in the grid represents a row in a table. Each column in the grid represents a column in a table. Each cell of the grid represents a column value in a particular row. Certainly, however, I'm not looking for all of the numeric calculation/equation capabilities of a spreadsheet. Mainly looking for that grid look-and-feel of representing tabular data.
Thanks,
Kim -
Can we create roles/permission list based on custom table
I wanted to create Roles and Permission list based on custom table (which holds Business Logic),like if column value is 3 then certain roles and 2 then certain............ is it possible in PS?
ThanksAre you looking at restricting the data that is shown or access to pages? Please elaborate your requirements so that a solution can be provided.
-
How to create a multi-page collapsible & CSS styleable table of contents box?
How to create a multi-page collapsible & CSS styleabe table of contents box?
Is there a tool available for Dreamweaver or for standalone operation that can create for multi-page articles a collapsible & CSS styleabe table of contents box based on the page titles?You could do this with jQuery.
Table of Contents -
http://www.downloadjavascripts.com/list/javasiteccc68/Details.aspx
Collapsible Panels, Tables & Accordions -
http://www.downloadjavascripts.com/Collapsible_And_Free_Accordion_Panels.aspx
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
Creating a adf page based on webservice data control
hello
i am using latest version of jdev 11g from otn.
i created a VO based on EO and define a view criteria as well. i added that to a AM and exposed it as web service and deployed to a wls server.
now i wish to created a adf page based on it so i created a ws data control based on the wsdl.
in the data control section now i see service as findSearchOrder. When i try to drop it on the page it created a adf form with two input boxes findControl and findCriteria.
So, I am not able to understand how exactly these are going to map to the actual search parameters?
Please adviseIf you want to retrieve all records, you can set them to null.
But of course, it depends on what you want to archive (I suppose you want a search form?).
Please give us your complete JDev version. (Help > About > About tab) -
Creating View based on Current and previous data from same table
I am trying to create a view based on a table called “my_companies”. The table has following columns: “company_id”, “start_date”, “product_type_code”, “partner_id”
The main purpose of this view is to obtain previous company_id’s associated with a particular “partner_id“and “product_type_code”. So basically, I’m looking to create an extra column, say “prev_company_id” in the view along with all the other columns. The “previous” data can be obtained depending on the “start_date”. I’m not able to write a query successfully to do this.
Can anyone help? Thanks in advance.Hi,
Whenver you have a question, it helps to post:
(1) The version of Oracle (and any other relevant software) you're using
(2) A little sample data (just enough to show what the problem is) from all the relevant tables
(3) The results you want from that data
(4) Your best attempt so far
Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
Formatted tabular output is okay for (3). Type before and after the tabular text, to preserve spacing. The sample results should include any special cases that you foresee, such as one company having many previous companies, or vice-versa.
It sounds like might need a +self-join+, where you have two copies of the same table, as if the current companies were in one table and the previous companies were in another, even though they are all actually in the same table. -
Create new table based on old table
Hello All,
I have a JTable. The user can re-arrange columns in this table. Then the user can select a couple rows and create a new selection set table based on these rows. The problem is as follows: When the user re-arranges the columns, I cannot seem to retrieve the new order.
Ex)
A table is created with fields: A B C
User rearranges to: B A C
I call code and fields are returned as: A B C
for(int i=0; i<((DefaultTableModel)super.getModel()).getColumnCount(); i++) {
String name = ((DefaultTableModel)super.getModel()).getColumnName(i);
System.out.println("Name: " + name);
}Thanks for any/all help!Nevermind, got it to work by the below code. Still don't understand why the above code didn't work though.
Enumeration e = super.getTableHeader().getColumnModel().getColumns();
while(e.hasMoreElements()) {
String name = (String)((TableColumn)e.nextElement()).getHeaderValue();
System.out.println("Name: " + name);
}
Maybe you are looking for
-
Why do the new playlists not sync?
My Nano syncs are not updating the 2 new playlists I created. The playlists are visible, and full of content in iTunes, but after syncing, they don't show up on the Nano. What am I doing wrong?
-
Hi, Just purchased iWork 08 and trying to send my Keynote presentation to iWeb but the function is greyed out - it is not allowing me to do this. Any idea why?
-
Runtime error while running the queries on Portal
Hello While running the BI7 query the error has occured . Description of the error is Portal runtime error An exception has occured while processing your request . Send the exception Id to your adminstrator But when the query is being run in the dir
-
Dual SG 300-10 mounting and cascading
SG 300-10 user manual states to not mount the switch on either side (I'm assuming this means the right or left ends as you face the front) and that they can be mounted either face-up or face down or flat). The specs further say that a 5" space must b
-
Terrible iChat video quality. What gives?
My brother and I are trying to use iChat video. We both have an iMac, his is newer than mine, but we both have the same OS. On both ends the video quality is very poor and the audio is bad (hearing every other word). We both have high speed internet,