Request fields in owa (PL/SQL)
Hi!
Probably this is a very trivial question, because I'm newbie in Web PL/SQL programming
How can I retrieve form fields in PL/SQL code? (like the JSP directive request.get_value() or the ASP directive Request.Form() ?)
All form fields must be arguments in target procedure ie
<form action=package1.procedure1>
<input type=text name=bla1>
<select name=bla2>
<input type=submit name=bla3>
</form>
... PACKAGE package1 ....
PROCEDURE procedure1 (
bla1 IN VARCHAR2
,bla2 IN VARCHAR2
,bla3 IN VARCHAR2)
IS ....
For inputs with the same name You can use already built in owa_util.ident_arr which is some type of a collection or use Your own one
Similar Messages
-
Hi,
I have a requirement in which I have to assign couple of email ids to the "Manage Access Request" field to process site access requests. And, this is possible using server object model but I have to achieve this on SharePoint Online with the help
of CSOM.
There are two properties which control the access request configuration, first is "RequestAccessEnabled", a Boolean flag which turns on or off the access request feature for the site. The second property defines one or more email addresses where
requests will be sent to. It is named "RequestAccessEmail".
The above both properties are available for server object model but not for CSOM.
So, is there any other workaround or way to achieve the sane in CSOM?
Thanks,I don't think there is a programmatic workaround for SharePoint Online. But the email address is just used for Notification. Anyone with Manage Permissions can approve Access Requests. If you create an email distribution list for the multiple
addresses that should be notified you should be able to add the email address for the distribution list into the Access request email field using the user interface.
Paul Stork SharePoint Server MVP
Principal Architect: Blue Chip Consulting Group
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem. -
Field value retrieve from sql query
Hi,
Is there any way to code sql query into form field in rtf template ?.
I have converted an oracle report to BI publisher (e-business suite R12) but I have a form field that contain a sql query that retrieve a value from database. I don't know how to code sql query in form field in rtf template.
Thanks for help,http://winrichman.blogspot.com/search/label/cross%20tab
http://winrichman.blogspot.com/search/label/Cross-tab
http://winrichman.blogspot.com/search/label/Dynamic%20column -
F4 help for Customizing Transport Request Field....
Hi,
I need a Function Module for F4 help for Customizing Transport Request field. I have used the below FM but I ma able to get only Customizing TR for only Login User Name only but not other Users. How to get the Customizing TR which are created by other Users(Owner is diferent from Login Owner).
PARAMETERS: p_cts TYPE e070-trkorr OBLIGATORY.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_cts.
PERFORM get_cts CHANGING p_cts.
*& Form get_cts
FORM get_cts CHANGING p_cts.
TYPE-POOLS trwbo.
DATA: lv_cts TYPE trwbo_request_header.
To Get only custimzing requests
CALL FUNCTION 'TR_REQUEST_CHOICE'
EXPORTING
iv_request_types = 'W'
IMPORTING
es_request = lv_cts
EXCEPTIONS
invalid_request = 1
invalid_request_type = 2
user_not_owner = 3
no_objects_appended = 4
enqueue_error = 5
cancelled_by_user = 6
recursive_call = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
CALL FUNCTION 'POPUP_DISPLAY_MESSAGE'
EXPORTING
titel = 'Transport'
msgid = sy-msgid
msgty = sy-msgty
msgno = sy-msgno
msgv1 = sy-msgv1
msgv2 = sy-msgv2
msgv3 = sy-msgv3
msgv4 = sy-msgv4.
ENDIF.
Pass the selected TR to selection screen
IF sy-subrc = 0.
MOVE lv_cts-trkorr TO p_cts.
ENDIF.
ENDFORM. " get_cts
Regards,
Deepthi.Instead of using FM 'TR_REQUEST_CHOICE', you can have direct database select on table E070 and E071.
In E070, the field TRFUNCTION determine the customizing and workbench request.
K-> Workbench Request
W-> Customizing Request -
What is the use of notes button in the Service Request field in Siebel Application?
Hi,
I have an doubt with the "Notes" tab in Service request field of Siebel Application.
Can you please explain me about this tab.
Thanks
ThriveniSometimes 255 characters is not enough and with the Notes you can add more text.
And from a performance perspective it is better to make the Notes a seperate Tab, so it only gets retrieved when explicitly needed. -
Updation of INPUT Request fields in PI sheet automatically from xMII system
Hi,
We are getting the consumption data(Material Weight and Batch) from xMII in SAP browser based PI sheet through Z function module as a parameters .These values needs to updated automatically in PPPI_INPUT-REQUEST fields (PPPI_MATERIAL_CONSUMED & PPPI_BATCH),so that PI_CONS(Consumption) process message will be created automatically.
We are facing problem to update the input request fields(PPPI_MATERIAL_CONSUMED and PPPI_BATCH) automatically in Browser based PI sheet.
Can you please help us out to populate the input request fields automatically in PI sheet to automate the xMII with SAP PI sheet. I can provide the screen shots of PI sheets and configuration of process management if required.
Thank you
Warm Regards
Darga AliHello Udayan,
The issue is in SAP PI Sheet.
We are getting the data from xMII into variables through function module and able to populate these values in PI sheet,But we need to update these values directly in input request fields ,so that it will create a process message and updated the process order with material consumption data.
Is there any functionality available in xMII ,to update the vaules directly in input request fields in PI sheet.
Thank you
Warm Regards
Darga Ali -
I am encountering following event log in SC2012 Operations Manager and Reporting Tab is not loading in Operations Console.
Report deployment process failed to request management pack list from SQL RS Server. The operation will be retried.
Exception 'WebException': The request failed with HTTP status 401: Unauthorized.Hi,
Can you acess http://reportserver/reports from a web browser on the OpsMgr server?
Moreover,you can use a UDL file to test various connectivity scenarios, create a simple text file, rename the extension from TXT to UDL, fill out the necessary information on the connection tab then test the connection, and troubleshoot
as necessary if it fails to connect.
For more information, please review the link below:
The easy way to test SQL connectivity
http://blogs.technet.com/b/michaelgriswold/archive/2014/01/06/the-easy-way-to-test-sql-connectivity.aspx
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
Alias with field name in MS SQL Server
Is it possible that we can define alias for field name in MS SQL Server?
For example:
mytable : Id, Name, Value
Could we define "AnotherName" for "Name" field that we can call it from sql
SELECT anothername from mytableI don't know if you can "permanently" create an alias
without a view or something like that but if you just
want another name when you execute a select do this:
Select name as another name from tableAt least in some databases the syntax for that can vary slightly. So the following might be needed....
Select name as 'another name' from table -
Service request fields enhanced through AET are not reflecting in BW DS
Hi All,
the CRM developer has added 3 service request fields to crmd_orderadm_h, crmd_service_h via AET. He has marked all the 3 fields as 'BW reporting relevant'.
I have now checked the BW extractors in the hope that these 3 fields will now be appended to the BW service request datasources automatically.
But instead of adding the fields to service request datasource(0CRM_SRV_REQ_INCI_H)(BUS2000223), it added the 3 custom fields to process datasource 0CRM_SRV_PROCESS_H.
I am not sure what exactly have gone wrong . Is there a way to get these custom fields automatically into 0CRM_SRV_REQ_INCI_H.
Thanks in advance,
RamzHi Ramz,
this seems to be identical to
Re: Fields enhanced through AET are not reflecting in CRM DS Extract structure
Please find my reply there.
Best regards
Matthias -
How to get error's field name when execute sql error
I want to get the error's field name when execute sql error,but SQLException is not provide corresponding function to get it.
How can I do for it?user523110,
I believe the "unique constraint" error message displays the name of the constraint, not the column name, as you have posted.
As far as I know, the only way to extract the column(s) would be to query the data dictionary using the constraint name provided in the error message.
Also, as far as I know, there is nothing in the JDBC API that can return the names of the columns associated with a given unique constraint.
Good Luck,
Avi. -
DEFAULT EMPLOYEE IN REQUESTER FIELD
Hello
Can somebody tell me how could I default the EMPLOYEE attached to the USERNAME in the REQUESTER field in AP workbench?
Best regards,
EmgeeYou can use forms personalization to achieve this.
-
I need to validate the reuqest fields and print appropriate error message. How to do in a singlwe method?
This is for a standalone application and not a servlet. I have getter and setter methods for the request fieldsCurrently I have,
String fname= req.getFirstName();
String lname= req.getLastName();
String address= req.getAddress();
validateRequiredFields() {
if(fname == "" || fname.length()>10){
System.out.println("First name invalid");
else if(lname == "" || lname.length()>10){
System.out.println("Last name invalid");
else if(address == "" || address.length()>15){
System.out.println("Addressinvalid");
This method will validate the request fields and print only one appropriate message if one the value is wrong. Is there a better way to check when the two request field values are wrong and print both the messages. -
Is it needed to convert the values frm text field to numeric for sql server
hi all,
i'm using tomvat4.0,back end sql server 200.
when i insert the values in to the table it is giving an exception sayin "Error in converting varchar to numeric"
is it necessary to convert those strings from text fields into int before passing them to the sql query..
i think it is not necessary for oracle..but not sure with sql server..
pls help me
cheers
chanduyap, every thing is fine...
n i got the solution...when the text field is left blank....the requst.getParameter returns [coe]""(null)
wen the database is lookin for a numeric it is giving null...which is not acceptable...
so inserted this code...
if(request.getParameter("...").equals("")) {
//assign zero to a variable then insert that variable....
}thanx for the responses
cheers
May the solutions to one's problem pop up in one's mind itself
chandu -
How to create a Formula Field that does a SQL "WHERE" statement
Hi all,
I have a field (let's call it "altuser") in a report I'm creating that pulls in a key value from the users table, which is the same table that I'm reporting on. So when I'm reporting on the users in the users table, I'm pulling in the value of altuser for each user.
What I'd like to do is have a formula field that would pull in the name stored in the table instead of the key value for altuser. So what I envision the formula I need would be like:
SELECT fullname FROM userlist
WHERE userkey = altuser;
Which would make it pull in the name of the user instead of the key value for the "altuser" field.
I cannot figure out how to do this in the context of either a Formula Field, or a SQL Expression field. Can anyone show me how this would be done?
Thanks,
WillSo right now, the SQL generated by Crystal Reports is like:
SELECT "userlist"."username", "userlist"."lname", "userlist"."fname", "userlist"."altuser"
FROM "db"."dbo"."userlist" "userlist"
My report now looks like this:
FULLNAME LOGIN ALT. USER
Jones, Sam SJONES 2002
Smith, Barney BSMITH 2068
(etc.)
I have a Formula Field that concat's the <lname>", "<fname> for the first col, then uses the username value for that user for the second col, then the altuser value for that user for the third col. The thing I'm trying to do is resolve the ALT. USER data (which is a key value for the userlist file) into the LOGIN value for that user, so the report would end up looking like:
FULLNAME LOGIN ALT. USER
Jones, Sam SJONES KBROWN
Smith, Barney BSMITH FROGERS
(etc.)
where the record with key "2002" has the username value "KBROWN", etc. (they are other user records in the same userlist file.)
Hopefully this makes it clearer...
Thanks,
Will -
Problem using alias field names in a sql query
Hello,
I have a question regarding a simple Oracle database SQL query writeup:
In the following (badly written but properly working) SQL query:
Query 1:
select
soe.field1,
(soe.field2 + soe.field3) as field4,
(soe.field5 - (soe.field2 + soe.field3)) as field6,
(select comp.parValue*soe.field7
from
CompTable comp) as parValue,
(select soe.field8 - (comp.parValue*soe.field7+ soe.field9)
from
CompTable comp) as field10
from
SomeTable soe
PROBLEM 1:
I am re writing the code (soe.field2 + soe.field3) to get the alias field4 or column name field4 that I have created on the fly in the previously for use with the following fields. Can't I rewrite the query as follows. There is something simple missing!
Query 2:
select
soe.field1,
(soe.field2 + soe.field3) as field4,
soe.field5 - field4 as field6, <<< field4 does not work here
(select
comp.parValue*soe.field7
from
CompTable comp) as parValue,
(select
soe.field8 - (comp.parValue*soe.field7+ soe.field9)
from
CompTable comp) as field10
from
SomeTable soe
PROBLEM 2:
Similar to the above problem, I was thinking to get a field parValue out of the CompTable table and re-use many times rather than the code shown in Query 1:
Query 3:
select
soe.field1,
(soe.field2 + soe.field3) as field4,
soe.field5 - field4 as field6,
soe.field7* (select comp.parValue from CompTable comp) as parValue1,
soe.field8 - (parValue1*soe.field7+ soe.field9) as field10 <<<< parvalue1 does not work here
parValue1*soe.field9 as TaxCondition <<<< parvalue1 does not work here
from
SomeTable soe
See that the query becomes so simple, but the above query does not work. There is something fundamentally wrong in my usage of the alias field names in creating other fields. The Query1 seems to be the only working option but its very slow as I am redoing and re-writing the whole code again and again to get the parValue field out of the CompTable table for use to create many other fields.
I will appreciate if you can guide me in the right direction on this issue.
Thanks and Regards
RamaSELECT tmp.contract_no, tmp.Actual, tmp.Actual - tmp.NbHours
FROM ( SELECT t.contract_no, sum(l.hrs) AS Actual, (c.labour_hours * c.labour_progress_per) / 100 AS NbHours
FROM TASK_DELEGATION t
INNER JOIN COST_CODE c
ON t.cost_code = c.cost_code AND t.contract_no = c.contract_no AND t.is_inactive=0
INNER JOIN Labour.dbo.LABOURALLOT l
ON l.contractNo = c.contract_no AND l.costcode = c.cost_code AND l.pm = 'N'
GROUP BY t.contract_no, c.labour_hours, c.labour_progress_per
) tmp
Maybe you are looking for
-
We have transported some programs from A->B Now, In A every thing is working fine. But the transports in B are failing with one error saying Program YR****, Include Z***: Syntax error in line 000134 The type '/1FB/MD_________2S300YJ' is unknown. This
-
Send an email or not, based on conditions
I want to send a unix script mail, on the select condition SET HEADING OFF SET TRIMOUT OFF SET SERVEROUTPUT OFF SET ECHO OFF SET FEEDBACK on SET PAGESIZE 0 SET LINESIZE 120 SPOOL TOD_error_report.csv count=select * from test2 where STATUS='ERROR'; if
-
my iphone 4 will not turn on. It is fully charged. Have tried doing the home and on button reboot without luck. When connected to my imac it shows the apple logo for ten seconds, goes black for ten seconds and continues that routine. When plugged in
-
Could somebody please give me a quick break down...
Hi there guys, i'm new to Flash so apologies but i am a seasoned user of photoshop, illustrator and indesign so i'm not completely inept at Adobe packages. Anyway i really want to learn Flash and have been dabbling a little, i've found a site that wo
-
XI Integration Builder Language
Hi all, I've a problem with the Integration Builder, the system is a PI 7.0 abap+java stack23, when I try to logon to it, the popup is in German language and not in English. In the configuration profiles where language is relevant are configured