Need support to fetch the feild descritpion form th table catsdb
Hello All,
iam developing a customizing Hr report fro that i need one filed called takslevel from CATSDB table,
the actual data for that field is like k1,l1 in the table,but i wna tto fetch its description,fro ex : thae tasklevel is k1 then text is analyssi, can any one help me out how can i fetch that.
Dharani....you can find the description for it in the database table TCATX_LEVELST
Similar Messages
-
How can we fetch the gross price form billing (VF02)
Hi all,
Transaction: vf03--> press enter --> double click on item --> select conditions tab --> Here we find condition type, condition name, condition value..
Need is i want to display the 'Gross Price' for that item .
So please tell me the table where this gross price exist, and way to fetch this gross price.
Please give me the valuble answer as early as possible.
Thanks,
Ravi.if the access sequence is there for the conditions then u need to look at teh conditions applied .
let me put it this way ..
goto table vbrk-knmv get the field knumv
now goto table konv and give
KNUMV KPOSN STUNR ZAEHK KAPPL KSCHL
this will give u the KBETR VALUE AND THE CURRENCY.
Now goto table VBRP and fetch the field fkimg
unit price for the item is fetched and then multiplied by the total avaliable qty at ur item level table .
multiply kbetr * fkimg will give u the price .
this is for one condition type.
case 2.when more than one condition type is present ..
now repeat the process for the applied condition types ..
total will add to the gross price .
cross check with ur values in the item conditions with the multiplied total of kbetr and fkimg .
regards,
vijay
best thing is just take one invoice and do the manipulation for an item ..
like fetching the value of unit price , then multiply with the item level qty to the total price .
just work out urself on the paper, cross check it then apply the logic on the tables .
one example is ..
see sometimes the condition will be applicable as 2% like ur discount
so u need to calculate it as ( unit price * 2 / 100 ) = x1
now u need to deduct this value .
Message was edited by:
vijay k -
Need Query to fetch the users related to a particular process.
Using FDI DB, Is there a way to fetch the # of users related to a particular process.
For example,
If all the roles within a PROCESSP starts with 'ABCXXXXXXXXX',
I am using SELECT DISTINCT(FUEGO_ID) FROM FUEGO_PART_ASSIGROLE WHERE FUEGO_ASSIGROLE LIKE 'ABC%' to get the count of the participants.
Is it the correct way? -
How to fetch the data from pl/sql table dynamically
Hi All, I have the requirement of comparing two db views data in pl/sql. So, I have bulk collect the view into pl/sql table. But, the issue is, It is expecting to provide the column name for comparison. But, in my case, column name is dynamic. So, i cannot provide the column name directly for comparison.
For eg: In my view t1_VW, i have 4 columns. stid, c1,c2,c3,c4 and similar structure for t2_vw
my code
TYPE v1_type IS TABLE OF t1_vw%ROWTYPE;
l_data v1_type;
TYPE v1_type1 IS TABLE OF t2_vw%ROWTYPE;
l_data1 v1_type1;
test varchar2(1000);
test1 varchar2(1000);
temp1 number;
begin
SELECT * Bulk collect into l_data
FROM T1_VW;
SELECT * Bulk collect into l_data1
FROM T2_VW;
select l_data(1).stid into temp1 from dual; -- It is working fine and gives me the value properly
-- But, in my case, we are reading the column names from array, i am constructing the query dynamically and execute it.
test :='select l_data(1).stid into temp1 from dual';
execute immediate test into temp1;
-- I am getting error as follows:
Error report:
ORA-00904: "L_DATA": invalid identifier
ORA-06512: at "SYSTEM.BULKCOMPARISON", line 93
ORA-06512: at line 2
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action
end;
- Please help me to get rid of this issue. Is it possible to construct the query dynamically and fetch the data?. If not, is there any other better approach to compare the data between two views?.Output should display what are all columns changed and its old value and new value.
For eg., output should be
COLUMNNAME OLD_VALUE NEW_VALUE STID
C1 20 10 1
C2 50 40 2
C3 60 70 2
C2 80 90 3Why no do this only via a simple sql ?
create table a (STID number, C1 number, C2 number, C3 number);
insert into a values (1, 20, 30, 40)
insert into a values (2, 40, 50, 60);
insert into a values (3, 90, 80, 100);
create table b as select *
from a where 1 = 0;
insert into b values (1, 10, 30, 40)
insert into b values (2, 40, 40, 70);
insert into b values (3, 90, 90, 100);
commit;And now you can issue such a kind of select
SELECT stid , c1, c2, c3
FROM
( SELECT a.*,
1 src1,
to_number(null) src2
FROM a
UNION ALL
SELECT b.*,
to_number(null) src1,
2 src2
FROM b
GROUP BY stid , c1, c2, c3
HAVING count(src1) <> count(src2)
order by stid;I would then create a new table a_b_difference having the same structure as a or b and insert into it like this
create table a_b_diff as select * from a where 1 = 0;
insert into a_b_diff
SELECT stid , c1, c2, c3
FROM
( SELECT a.*,
1 src1,
to_number(null) src2
FROM a
UNION ALL
SELECT b.*,
to_number(null) src1,
2 src2
FROM b
GROUP BY stid , c1, c2, c3
HAVING count(src1) <> count(src2)
order by stid
;Then each time there is a difference between a column in a and its equivalente one in b (per unique stid ) a record will be inserted in this table.
You can do more by adding the name of the table in front of each record in this table to see exactly where the data comes from
Best Regards
Mohamed Houri -
Fetch the data from sql server table to array
In the following script i am fetching the servers details from text file. Please anyone help me to get the same information from sql server database table. with using this query
"SELECT DISTINCT [server_name]
FROM
Servers] where
Status='1'"
$ServerName =Get-Content "c:\servers\servers.txt"
foreach ($Server in $ServerName) {
if (test-Connection -ComputerName $Server -Count 4 -Delay 2 -Quiet ) {
write-output "$Server is alive and Pinging `n"
} else {
Write-output "TXUE $Server seems dead not pinging"i have tested it is not working..
=@"
SELECT DISTINCT [server_name] FROM Servers] where Status='1'
$connection
=new-objectsystem.data.sqlclient.sqlconnection(
"Data Source=xxx;Initial Catalog=xxx;Integrated Security=SSPI;”)
$adapter
=new-objectsystem.data.sqlclient.sqldataadapter($query,
$connection)
$table
=new-objectsystem.data.datatable
$adapter
.Fill($table)
| out-null
$compArray
=@($table)
##### Script Starts Here ######
foreach($Serverin$ServerName)
if(test-Connection-ComputerName$Server-Count4
-Delay2
-Quiet)
write-output"$Server
is alive and Pinging `n"
else{
$query -
Need query to compare the columns of 2 diff tables of 2 different schemas.
There are two different tables(sample1, sample2) in different schemas(s_schema1, s_schema2).
I want the query to compare the columns of two different tables of two different schemas and provide whether the data as well as the count of data in
the column are same .
if not provide the data which is not similar in the columns of two different table.
NOTE:
I need queries for both the cases.
(i) The datatypes in columns of two different tables are same.
(ii) The datatypes in columns of two different tables are diffrent.Welcome to the forum!
Whenever you post provide your 4 digit Oracle version.
>
I need queries for both the cases.
>
Great - write the queries!
The forum is not a coding service where you ask people to write code for you for free.
YOU need to write the code. Then if you have a problem with the code you have written post the code you have written (using \ tags) and explain the problem you are having.
Read the FAQ about how to ask a question on the forums. -
I want to get all the user name form LOGIN table ... how help me ?
hi all
I have table in MS Access databse called Login with two coulmn (User, Password),
I want to get all the User Name in a string[] called USER,
(LIKE USER = {"AA","BB","CC",........"zz"};)
can anybody send me the code to get the USERNAMES form Login Table, i tried lots of way but bad luck
so plz someone send me a code.
Thanx
Regards
SatinderI made something like this as He pasted the the code above and u know this works for me atleast thanx
kind regards
satinderjit
String User[] = new String[1000];
try
//Load Driver
Class.forName(driver);
// Make Connection
connection=DriverManager.getConnection(url,user,password);
// Create Statement
statement = connection.createStatement();
sql = "SELECT User FROM Login" ;
// Create Resultset
rs = statement.executeQuery(sql);
int j=0;
while(rs.next())
User[j]= rs.getString("User");
j=j+1;
for(int i=0 ;i<J;i++)
Form.C_Manager.addItem(User);
statement.close();
//rs.close();
connection.close();
catch(ClassNotFoundException cnfex) {
//show message
JOptionPane.showMessageDialog((Component) null,
"Failed to load driver..."+
"\n"+cnfex.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE);
catch(SQLException sqlex){
//show message
JOptionPane.showMessageDialog((Component) null,
"Unable to connect to Database..."+
"\n"+sqlex.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE);
catch(ArrayIndexOutOfBoundsException e){
//show message
JOptionPane.showMessageDialog((Component) null,
"Unable to Load User Name..."+
"\n"+e.getMessage(),
"Error...",
JOptionPane.ERROR_MESSAGE); -
Fetch the file name form document name....
Hello all,
I am new to development...
I have a doubt, I have a file name in one table like 011abc_XYZSupplier.pdf
from this, I need to take Invoice number and the supplier name from the above file.
ex: upto _ is invoice number (011abc), after _ is supplier name XYZSupplier.
How to achieve this by cursor.
Please help me on this issue.
Thanks and Regards,
Muthuselect substr(file_name,1,instr(file_name,'_')-1) invoice_number ,
substr(file_name,
instr(file_name,'_')+1,
instr(file_name,'.')-instr(file_name,'_')-1
) supplier
from your_table;
INVOICE_NUMBER SUPPLIER
011abc XYZSupplier Or REGEXP
select regexp_substr(file_name,'[^_]+') invoice_number ,
regexp_substr(file_name,'[^_.]+',1,2) supplier
from your_table;
INVOICE_NUMBER SUPPLIER
011abc XYZSupplier Edited by: jeneesh on Feb 28, 2013 12:40 PM -
Need for SQL to fetch the details of Business Partner table (OCRD)
Hi,
I am trying to write a sql that would help me to get all vendors and their Tax ID information. Here is what I wrote...
select CardName, LicTradNum, Address, City, State1, Country, ZipCode, Phone1, Fax, CntctPrsn, Box1099, CreateDate, UpdateDate, * from OCRD where CardType = 'S'
In the SAP B1 client I am able to see valid values for fields '1099 Form' and '1099 Box'. When I execute above SQL, I only get a reference to the actual values. I am thinking there is a cross reference to other table to pull this informaiton. Can you help me to get the details for 1099.
Thanks a lot in advance for your help.
Manoj.Hi Manoj,
Try:
select CardName, LicTradNum, Address, City, State1, Country, ZipCode, Phone1, Fax, CntctPrsn, T1.Form1099, Box1099, CreateDate, UpdateDate from OCRD T0
LEFT JOIN OTNN T1 ON T1.FormCode=T0.FormCode
where CardType = 'S'
Thanks,
Gordon -
Need support to document the object
Hi gurus
I am supposed to document the InfoCube which i have modelled. I would like to know is there any proper documentation tool which can be used to document the object. Or if anybody is using any documentation template to document the object please forward it to my mail id
[email protected]
thanks in advance for your help
regards
vijaykumarI would be very interested in obtaining these templates, as well as other documentation templates you may have available. Could you please send me a copy at [email protected]?
Thank you very much! -
Need clarification to sum the entries in a internal table
Hi Gurus ,
Below i have written the logic for have the count of number of records in the internal table along with it i need to find the Total dollar amount of all the records .
iam not sure how to have that total .
please provide me the solution .
you can see at the bottom the where i tryed to sum .
LOOP AT IT_BKPF.
*AP ENTRIES
IF ( ( IT_bkpf-yke_awsys <> ' ' ) AND
( It_bkpf-ldgrp = '0L' OR It_bkpf-ldgrp = ' ' ) AND
( IT_BKPF-BLART EQ 'N1' OR IT_BKPF-BLART EQ 'N2' OR IT_BKPF-BLART EQ 'LP' OR
IT_BKPF-BLART EQ 'TK' OR IT_BKPF-BLART EQ 'L5' OR IT_BKPF-BLART EQ 'L6' OR
IT_BKPF-BLART EQ '1A' OR IT_BKPF-BLART EQ '1B' OR IT_BKPF-BLART EQ '1C' OR
IT_BKPF-BLART EQ '1D' OR IT_BKPF-BLART EQ '1E' OR IT_BKPF-BLART EQ '1F' OR
IT_BKPF-BLART EQ '1G' OR IT_BKPF-BLART EQ '1H' OR IT_BKPF-BLART EQ '1I' OR
IT_BKPF-BLART EQ '1J' OR IT_BKPF-BLART EQ '1K' OR IT_BKPF-BLART EQ '1L' OR
IT_BKPF-BLART EQ '1M' OR IT_BKPF-BLART EQ '1N' ) ).
CLEAR : COUNT_AP_0L ,V_COUNT_AP_0L.
READ TABLE It_bseg WITH KEY BUKRS = IT_BKPF-BUKRS
BELNR = IT_BKPF-BELNR
GJAHR = IT_BKPF-GJAHR
BINARY SEARCH.
LOOP AT IT_BSEG FROM SY-TABIX.
IF IT_BSEG-BUKRS <> IT_BKPF-BUKRS.
OR IT_BSEG-BELNR <> IT_BKPF-BELNR
OR IT_BSEG-GJAHR <> IT_BKPF-GJAHR.
EXIT.
ENDIF.
IF SY-SUBRC IS INITIAL .
COUNT_AP_0L = COUNT_AP_0L + 1.
MOVE COUNT_AP_0L TO V_COUNT_AP_0L .
AT END OF DMBTR.
SUM.
ENDAT. ENDIF.
ENDLOOP.
Thanks ,
vinayHi,
Use the sum statment after AT LAST. statment.
regards,
Santosh Thorat. -
Fetch the netprice from the validity period which always matches with the
Let me describe the same.
Suppose the PO creation date is 04.07.2007
The conditions for an item in a contract for the PO are as follows;
1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
We need to always fetch the netprice from the validity period which always matches with the PO creation date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
But the program is fetching the netprice 200.000 which belongs to the second validity period. That is beacuse the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.the fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrives the netprice of current data in contract validity and h not with respect to PO creation date.
This data is then used to fetch the get the netpr data from EKPO.
what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date..
Below is the code where I'm selecting the data from ekko and ekpo for the contracts data..Can you please add the code snippet to the below attachesd subroutine to get the required data from KONV and KONP so that we can retrieve the correct Netprice.
FORM select_contracts USING p_s_cebeln LIKE s_cebeln[]
p_c_k_bstyp TYPE ebstyp
p_p_bukrs TYPE bukrs
p_p_ekorg TYPE ekorg
p_p_ekgrp TYPE bkgrp
*Begin of Mod-004
fp_p_cernam type ty_r_ernam
p_p_cernam TYPE ernam
*End of Mod-004
p_s_werks LIKE s_werks[]
p_s_matnr LIKE s_matnr[]
p_s_lifnr LIKE s_lifnr[]
p_s_val_dt LIKE s_val_dt[].
*mod-002
data : l_amount type BAPICURR_D, " Net price
l_waers TYPE waers, " Currency Key
l_eff_amount type BAPICURR_D. " Effective value
data: l_v_netpr type bprei.
*mod-002
SELECT ebeln
bukrs
bstyp
aedat
ernam
lifnr
zterm
ekorg
ekgrp
waers
wkurs
kdatb
kdate
inco1
INTO TABLE i_ekko
FROM ekko
WHERE ebeln IN p_s_cebeln
AND bstyp EQ p_c_k_bstyp
AND bukrs EQ p_p_bukrs
AND ekorg EQ p_p_ekorg
AND ekgrp EQ p_p_ekgrp
*Begin of Mod-004
AND ernam EQ p_p_cernam
AND ernam IN fp_p_cernam
*End of Mod-004
AND lifnr IN p_s_lifnr
AND ( kdatb IN p_s_val_dt OR kdate IN p_s_val_dt ).
IF sy-subrc EQ 0.
Populates internal table i_ekpo using EKPO table.
SELECT ebeln
ebelp
loekz
txz01
matnr
werks
ktmng
menge
meins
bprme
netpr
peinh
webaz
mwskz
uebto
untto
erekz
pstyp
knttp
repos
webre
konnr
ktpnr
ean11
effwr
xersy
aedat
prdat
INTO TABLE i_ekpo
FROM ekpo
FOR ALL ENTRIES IN i_ekko
WHERE ebeln = i_ekko-ebeln
and aedat = i_ekko-aedat
AND werks IN p_s_werks
AND matnr IN p_s_matnr.
LOOP AT i_ekpo INTO rec_ekpo.
MOVE rec_ekpo-ebeln TO rec_contr-ebeln.
MOVE rec_ekpo-ebelp TO rec_contr-ebelp.
MOVE rec_ekpo-loekz TO rec_contr-loekz.
MOVE rec_ekpo-txz01 TO rec_contr-txz01.
MOVE rec_ekpo-matnr TO rec_contr-matnr.
MOVE rec_ekpo-werks TO rec_contr-werks.
MOVE rec_ekpo-ktmng TO rec_contr-ktmng.
MOVE rec_ekpo-menge TO rec_contr-menge.
MOVE rec_ekpo-meins TO rec_contr-meins.
MOVE rec_ekpo-bprme TO rec_contr-bprme.
MOVE rec_ekpo-netpr TO rec_contr-netpr.
move l_v_netpr TO rec_contr-netpr.
mod-002
read table i_ekko into rec_ekko with key
ebeln = rec_ekpo-ebeln.
l_waers = rec_ekko-waers.
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-netpr
IMPORTING
AMOUNT_EXTERNAL = l_amount.
rec_contr-netpr = l_amount.
mod-002
MOVE rec_ekpo-peinh TO rec_contr-peinh.
MOVE rec_ekpo-webaz TO rec_contr-webaz.
MOVE rec_ekpo-mwskz TO rec_contr-mwskz.
MOVE rec_ekpo-uebto TO rec_contr-uebto.
MOVE rec_ekpo-untto TO rec_contr-untto.
MOVE rec_ekpo-erekz TO rec_contr-erekz.
MOVE rec_ekpo-pstyp TO rec_contr-pstyp.
MOVE rec_ekpo-knttp TO rec_contr-knttp.
MOVE rec_ekpo-repos TO rec_contr-repos.
MOVE rec_ekpo-webre TO rec_contr-webre.
MOVE rec_ekpo-konnr TO rec_contr-konnr.
MOVE rec_ekpo-ktpnr TO rec_contr-ktpnr.
MOVE rec_ekpo-ean11 TO rec_contr-ean11.
MOVE rec_ekpo-effwr TO rec_contr-effwr.
mod-002
CALL FUNCTION 'BAPI_CURRENCY_CONV_TO_EXTERNAL'
EXPORTING
currency = l_waers
amount_internal = rec_contr-effwr
IMPORTING
AMOUNT_EXTERNAL = l_eff_amount.
rec_contr-effwr = l_eff_amount.
*mod-002
MOVE rec_ekpo-xersy TO rec_contr-xersy.
APPEND rec_contr TO i_contr.
CLEAR: rec_ekpo,rec_contr.
mod-002
CLEAR : rec_ekko,l_amount, l_eff_amount,l_waers.
mod-002
ENDLOOP.
Modifying i_contr using i_ekko.
SORT i_ekko BY ebeln.
LOOP AT i_contr INTO rec_contr.
READ TABLE i_ekko INTO rec_ekko WITH KEY
ebeln = rec_contr-ebeln
BINARY SEARCH.
MOVE rec_ekko-bukrs TO rec_contr-bukrs.
MOVE rec_ekko-bstyp TO rec_contr-bstyp.
MOVE rec_ekko-aedat TO rec_contr-aedat.
MOVE rec_ekko-ernam TO rec_contr-ernam.
MOVE rec_ekko-lifnr TO rec_contr-lifnr.
MOVE rec_ekko-zterm TO rec_contr-zterm.
MOVE rec_ekko-ekorg TO rec_contr-ekorg.
MOVE rec_ekko-ekgrp TO rec_contr-ekgrp.
MOVE rec_ekko-waers TO rec_contr-waers.
MOVE rec_ekko-wkurs TO rec_contr-wkurs.
MOVE rec_ekko-kdatb TO rec_contr-kdatb.
MOVE rec_ekko-kdate TO rec_contr-kdate.
MOVE rec_ekko-inco1 TO rec_contr-inco1.
MODIFY i_contr FROM rec_contr.
ENDLOOP.
ENDIF.
REFRESH: i_ekko,
i_ekpo.
CLEAR : rec_ekko,
rec_ekpo,
rec_contr.
ENDFORM. "select_contracts
Thanks.Hi,
Please get the valid condition ( based on date ) from A016 (MK & LPA). With the appropriate KNUMH read the Condition header. You can access the different condition items viz., PB00, RA00 etc., for the values from table KONP. Further if you have Value scales / Quantity scales, you can read the data from KONM, KONW.
An additional tips: in KONP, if you have a condition like RA00 - Rebate, the value will be multiplied by 10 and saven in database to accomodate the discount to the third decimal.
I could not completely understand your requirements like nature of development ( Is it a Report / SAP Script ??) you are working etc., so that I could help you precisely.
Hope this helps,
Best Regards, Murugesh AS
Message was edited by:
Murugesh Arcot -
How to fetch the correct netprice based on contract item conditions
Hi,
When you display a contract using ME33K and you click on a item and view its conditions(shift+F6), there might be 2 validity periods for a given item.
and each period will have different netprice in it.
Let me describe the same.
Suppose the PO creation date is 04.07.2007
The conditions for an item in a contract for the PO are as follows;
1. Validity from 04.07.2007 validity to 04.07.2007 Netprice = 100.00
2. Validity from 05.07.2007 validity to 31.12.9999 Netprice = 200.00
We need to always fetch the net price from the validity period which always matches with the PO creation date. here the value 100.00 should be the correct netpr as the PO creation date matches with the first validity period.
But the program is fetching the netprice 200.000 which belongs to the second validity period. That is because the select statement which fetches the data for contracts collects on the basis of EKKO-kdate and ekko-kdtab.The fields kdate and kdtab retrieves the validity period of the contract which is from 04.07.2007 to 31.072007. This data is then used to retrieve the netpr data from EKPO and it fetched 200.00 as it retrieves the net price of current data in contract validity and not with respect to PO creation date.
This data is then used to fetch the get the netpr data from EKPO.
what we need is the netprice for that validity period of item(Conditions) that matches with the PO creation date..
Now I have the internal table which is having data retrieved from Ekko and EKPO table.
Now how do I retrive the correct price by using the condition tables KONV and KONP.
Can you pls give the code snippet..
Thanks in advance.Hi,
Please get the valid condition ( based on date ) from A016 (MK & LPA). With the appropriate KNUMH read the Condition header. You can access the different condition items viz., PB00, RA00 etc., for the values from table KONP. Further if you have Value scales / Quantity scales, you can read the data from KONM, KONW.
An additional tips: in KONP, if you have a condition like RA00 - Rebate, the value will be multiplied by 10 and saven in database to accomodate the discount to the third decimal.
I could not completely understand your requirements like nature of development ( Is it a Report / SAP Script ??) you are working etc., so that I could help you precisely.
Hope this helps,
Best Regards, Murugesh AS
Message was edited by:
Murugesh Arcot -
Calling the Requisition Summary Form
I have a custom form and it calls the Req form this way:
FND_FUNCTION.EXECUTE(FUNCTION_NAME=>'PO_POXRQERQ',
OPEN_FLAG =>'Y',
SESSION_FLAG =>'N' ,
OTHER_PARAMS =>'P_REQUISITION_HEADER_ID = "' || NAME_IN('TRAN_REQ.REQ_HDRID') ||
'" P_MODE = "VIEW"' ||
' POXRQERQ_CALLING_FORM = "XXSSAFND"');
I need to instead, call the Requisition Summary form POXRQVRQ
But I do not know how to do this...ie what parameters are required in the 'OTHER_PARAMS' section. I can't find a call to this form anywhere either. Anyone know my next course of action? How do I find out what params are required?
ThanksHi, each form is registered in Oracle within a function. In this case, 'PO_POXRQERQ' is the function associated to the Req form. You can look under
Sysadmin > Application > Function and query for 'PO_POXRQERQ' under description tab. Scroll on your right and you'll see details.
You may use the same pl/sql code you have, but you'll have to change
FUNCTION_NAME=>'PO_POXRQERQ',
for PO_POXRQVRQ (Summary forms)
and maybe adjust other parameters if necessary.
Summary form will execture with requsition header id in this case. -
Form on table: Using stored procedure to update?
I have a view which joins a handful of tables. I have a PL/SQL API that contains all the necessary business logic and translations to update the tables underlying this view.
If I use the HTMLDB wizard to create a form on this view, it would automatically generate plain INSERT/UPDATE statements for DML against the view. How can I make it use my API instead? (Yes, I can probably plug in my API in INSTEAD OF triggers on the view, but I really dont want to do that)
[Of course, the reason I would use the built-in form-on-table wizard is to get the automatic lost-update detection, locking, etc features]
Help? ThanksThe wizards are there to help you build typical pages like "form based on a table", "form on based a stored procedure".
There is no wizard for "form based on a view, using my own API for inserts, updates and delete" - but that doesn't prevent you building such a form by hand. I have built similar forms, and found it quite easy to approach it like this:
1) use "form based on a stored procedure" to create a form based on your API insert procedure
2) add further buttons and processes to call your API's update and delete procedures
3) add an "on load" process to select the row from the view and populate the form for update or delete
You need to add some logic for context-sensitivity - e.g. Update and Delete buttons only appear when in "update mode", etc.
Maybe you are looking for
-
Recover from source system deletion
Hi experts, Our source system assignment to ECC was accidentally deleted which subsequently deleted the transfer stuctures/rules. Apart from restoring from backup, how can we recover the transfer rules? We could manually assign the source system ag
-
Bugs Premiere Pro - A qui le faire remonter ?
Bonjour, je suis monteur permanent dans une société de production audiovisuelle spécialisée dans la captation de concert. Nous sommes passés il y a peu à Première. Le soft est vraiment bien fait mais j'ai repéré quelques bugs et certaines fonctionnal
-
Toolbar Custom Control Ring question
Hi. This is probably a dumb question, but how do I add items to a ring (kRing) toolbar item when using the Toolbar Custom Control (toolbar.fp) in CVI 2010? Thanks. Solved! Go to Solution.
-
Software to connect to a Oracle database server.
Does anyone know of software that enables me to connect to a Oracle database server, and check out the content? Doesn't need to have a gui. Orjanp...
-
What do I have to do to run Quicken and Word on Lion?
The most frequently used applications, Quicken and Word are no longer supported. I need those applications, how do I get it?