How to get the User entered value in the Submit request form for a parameter of a concurrent program in Oracle applications.
Hi All,
I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field . i want to get that string.
Thanks a lot in advance for your time and help.
- Vijay
Hi All,
I have a requirement where i need to get the user entered value in the Parameter of a concurrent program while submitting it. i tried to query the FND_CONCURRENT_REQUESTS table but in that it stores the ID values from the value set of the Parameter.
After submitting the Concurrent request when we click on the view Details button it opens a form where it displays the arguments in the parameter field . i want to get that string.
Thanks a lot in advance for your time and help.
- Vijay
Similar Messages
-
Want only the user entered values on the xml generated by clicking the button
Hi All,
Here goes the details of the problem.
1. I have created two textfields(texttfield3 and textfield4) along with an email button in a fragment and binded to an XSD file.textfield3 and textfield4 are user entered fields.
2. On the design page I have created two more fields texfield1 and textfield2 and binded to another XSD.These two fields are read only fields.
3. On preview PDF screen whenever you click on the email button,you get a mail option with an xml file attached to it.
4. whenever you open the xml file,you will get the values of all the four fields.Its given below
<form1>
<TextField1>value1</TextField1>
<TextField2>value2</TextField2>
<TextField3>value3</TextField3>
<TextField4>value4</TextField4>
</form1>
5.But I want only user entered fields to be displayed on the xml page i.e
<form1>
<TextField3>value3</TextField3>
<TextField4>value4</TextField4>
</form1>
6.How can I remove or avoid the read only fields not to be displayed on the xml page???
Thanks in advanceThis forum is for our hosted services of LiveCycle. I'd suggest that you repost this question this on the Designer (best choice) or Forms forum.
-
How to find the user entered value is Integer or not?
hi,
i want to find, whether the user entered value is Integer or not. If it is Integer, i wanna continue the program. otherwise send an error message. i tried to find for function in API. But i couldn't. can somebody help me with sample code. very urgent.Do a Integer.parseInt(<string value>) in a try catch block If a NumberFormatException is thrown, the entered number is not an integer.
-
How to catch an event when the user change values in the project information dialog
hi,
i would like to know how to catch an event in my C# code when the user change values in the project information dialog?
taskChange doesn't catch these changes.
thanks.
Thanks, Sharon.You need to write save button event handler for project information dialog. Link is having same functionality described.
http://blogs.msdn.com/b/husainzgh/archive/2011/08/01/hooking-into-the-project-detail-page-ribbon-save-button-without-overriding-out-of-box-functionality-in-project-web-access-for-project-server-2010.aspx
http://www.projectserver2010blog.com/2010/01/sharepoint-2010-webpart-client-server.html
kirtesh -
Ensuring user enter value in the fields before proceeding to another fields
Hello,
I am using Oracle APEX 4.1 in oracle 11g R2 database.
Here is the case, I have build a custom form in which there are 20 fields. I want to ensure that end user enters value in sequence one by one.
For example:-
First Name should be entered before Last name or Date of birth.
Please help guys...Use dynamic actions for that and disable the element Last Name if the element First Name is empty. Enable it if the First Name is entered.
Denes Kubicek
http://deneskubicek.blogspot.com/
http://www.apress.com/9781430235125
http://apex.oracle.com/pls/apex/f?p=31517:1
http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
------------------------------------------------------------------- -
Need help to get the user entered value from a input field in Table in OA
I have a table in my OA page.
Here one column is there which should take in put from user.
i.e an item quantity field text input is there which should take the updated value when the add to cart link which is next column in the table. On clicking of the link I am trying to get the updated value entered by user. for the respected row for which addto cart link get clicked.
For that link I have defined some parameter through SPEL,( like this parameter name: item_quantity value : ${oa.MisibeItemSearchVO.ItemQuantity} ) which has fireaction. But when i am clicking the addto cart link I am not getting the current value entered by the user.
Can any body guide me how to get that related value for which the add to cart link got clicked.
for this when i am doing pageContext.getParameter("item_quantity"));
I am not getting the value entered by user.
please suggest me
Thanks!
SmarajeetThe below is my Vo query for item quanity i am using a dummy query "(select null from dual) as ITEM_QUANTITY"
in the below query and item type is number. and this is a messageTextINput in OA page and is maped to ItemQuantity vo attribute.
SELECT idsi.section_item_id
,idsi.inventory_item_id
,(select concatenated_segments from mtl_system_items_kfv mstk
where mstk.inventory_item_id = idsi.inventory_item_id
and mstk.organization_id =idsi.organization_id) ITEM_NAME
,(select description from mtl_system_items_tl mtll
where mtll.inventory_item_id = idsi.inventory_item_id
and mtll.organization_id =idsi.organization_id
and language = USERENV('LANG') ) ITEM_Description
,(SELECT CASE
WHEN instr(msib.segment6,'NAMED USER') > 0 THEN 'NAMED_USER'
WHEN instr(msib.segment6,'PROCESSOR')>0 THEN 'PROCESSOR'
ELSE msib.segment6
END
FROM MTL_SYSTEM_ITEMS_B msib
WHERE msib.INVENTORY_ITEM_ID = idsi.inventory_item_id
AND msib.ORGANIZATION_ID = idsi.organization_id) LICENSE_TYPE
,(SELECT CASE
WHEN instr(msib.segment6,'1 YR') > 0 THEN '1YR'
WHEN instr(msib.segment6,'2 YR') > 0 THEN '2YR'
WHEN instr(msib.segment6,'3 YR') > 0 THEN '3YR'
WHEN instr(msib.segment6,'4 YR') > 0 THEN '4YR'
WHEN instr(msib.segment6,'5 YR') > 0 THEN '5YR'
WHEN instr(msib.DESCRIPTION,'Perpetual') > 0 THEN 'PERPETUAL'
END TERM FROM MTL_SYSTEM_ITEMS_B msib
WHERE msib.INVENTORY_ITEM_ID = idsi.inventory_item_id
AND msib.ORGANIZATION_ID = idsi.organization_id) TERM
,(select qll.operand
FROM qp_list_lines qll
,qp_pricing_attributes qpa
WHERE qll.list_line_id = qpa.list_line_id
AND qpa.product_attr_value = to_char(idsi.inventory_item_id)
AND qll.list_header_id = 439381
AND sysdate between NVL(qll.start_date_active, sysdate) and NVL(qll.end_date_active, sysdate+1)
AND qpa.list_header_id = qll.list_header_id
AND qpa.product_attribute = 'PRICING_ATTRIBUTE1'
AND qpa.product_attribute_context = 'ITEM'
AND NVL(qpa.pricing_attribute_context,'MIXED') = 'MIXED') ITEM_PRICE
,(select null from dual) as ITEM_QUANTITY
,(select currency_code from qp_list_headers_b where list_header_id =439381) currency_code
,(select segment1 from mtl_system_items_b msib
where msib.inventory_item_id = idsi.inventory_item_id
and msib.organization_id =idsi.organization_id) PART_NUMBER
FROM ibe_dsp_section_items idsi
,ibe_dsp_msite_sct_items idmsi
,( select distinct child_section_id
from IBE_DSP_MSITE_SCT_SECTS b
connect by PRIOR child_section_id = parent_section_id
start with parent_section_id =:1
and mini_site_id =1
UNION
select distinct child_section_id
from IBE_DSP_MSITE_SCT_SECTS b
where child_section_id =:1
and mini_site_id =1
) csi
WHERE idsi.organization_id = 101
AND idmsi.section_item_id = idsi.section_item_id
AND idsi.section_id = csi.child_section_id
AND idmsi.mini_site_id = 14409 -
Set the user entered values to context node
Hi Experts,
I am using a context node for 'BuilHeaderSearch' BOL entity and have provided first name, lastname and email for the user to enter values to search the BP. My requirement here is to capture the values entered on the UI screen and set to context node which supposedly should be taken care by SET_* methods, which is not happening at the moment, consequently are not set to context node meaning that it doesn't go to SET_FIRSTNAME method.
I know i could access the values using formfields but i don't think that's recommended.
Please give me some clue.
Many Thanks for sparing your valuable time,
SantoshHi Santosh,
I think i got the problem now..
Always create instance creates a entity if there is no entity exist in the collection of the context node, for eg lets say you are trying to create one model context node2 which is related to any existing parent context node1.. In this scenario if you check always create instance for the dependent context node2, it will create the blank entity and this you can varify in the on_new_focus of the dependent context node2.(Create related entity code will be there which will create a blank entity if you have check always create instance).
If you don't specify always create instance, framework will not create blank entity for your context node(Check the on_new_focus code no create_related_entity code will be there).
In your requirement if you don't select "always create instance", then as per my understanding you will not be getting blank entity and set_property call should result into exception, which will not be the case when you have entity thru always create instance.
Hope i am albe to clarify this..
Cheers,
Sumit Mittal -
How to get rid of unassigned values in the report
hai to all,
here is the issue,
while running a report(sales per country), iam getting the data,after that when i drill down on <u><b>sales document number</b></u> iam getting some unassigned data, with Sales document number as #, and some value in the keyfigure.what is the reason behind this?
Here is another issue that i want to find all the sales documents which have the value # in the report?, is it possible? the same case with <u><b>Customer country</b></u>, on the same report.
pl anyone help me
br
venkat/shyamHi Shyam.
Regarding the first issue: Well, you've loaded some data records into your cube where the "Sales Doc Field" is empty. Did you load through PSA? The best way to scan your PSA (I believe) is to find the underlying table and have a look at it via SE16. In this way you don't have to scan through every data single package. This can be done via "display data flow" from your cube and switch on technical names. There you have it. (It's called /BIC/B00...etcetc you might have to add i few zeroes though when you enter it into SE16). Get request ID from "Infocube Managment". In SE16 seelction screen use F2 to set the "sales Doc No." field even to blank.
Second issue is a bit easier: in your query (or a working copy of your query) restrict on "Sales Doc No" or "Customer Coutry" to only include value "#". In the same way you can remove the unassigned values be excluding value "#".
Hope this works for you.
Chears, Jørn -
Hi,
I have a scenario where I have applied Css styles to the textflow using the IFormatResolver interface.
Now what I need is a way to show which style is applied to the current selection.
I am getting all infomation using the following however the style name that is associated is not there.
var textLayoutFormat:TextLayoutFormat = textFlow.interactionManager.getCommonCharacterFormat() as TextLayoutFormat;
in my case I am having a parameter myStyle in the usersstyle object of the actual flow elements, but when I do the above I find that the user style object is different and it doesnt have any parameters as mystyle under it
-AsharThere's no general code for that. You will have to write something on your own. If for example you want to check for a specific style having a common value across the range a new function modeled on getCommonCharacterFormat would work:
public static function getCommonCharacterStyle(range:ElementRange,styleName:String):*
var leaf:FlowLeafElement = range.firstLeaf;
var value:* = leaf.getStyle(styleName);
if (value === undefined)
return undefined; // no common value or common value is undefined
for (;;)
if (leaf == range.lastLeaf)
break;
leaf = leaf.getNextLeaf();
if (value !== leaf.getStyle(styleName))
return undefined; // no common value
return value; // common value
Depending on your use case some variation of this will supply the information your application needs. More complicated, but doable, would be extending this to work on all userStyles in leaf returning an object of key-value pairs.
Hope that helps,
Richard -
How to get ridd of Garbage Values in the row from the Tables
Hi Experts,
I have an excel Sheet which has a value as
Name
ABC
PQR
XYZ
MNO
STU
DEF
JKL
So i converted that to a csv (Comma de-limited) file and created an external table out off it.
So when i try to match to "select * from table;" it displys the vlaue as below
*"ABC*
however, it should have been just ABC.
select length(Name) from Table;
O/p: 4 (It Should have been 3)
How to get rid off this garbaje character?
Please Help!!!!!!!
Regards,
Ravi RYou didn't post CSV file. I can't reproduce your issue using the following CSV:
"ABC"
"PQR"
"XYZ"
"MNO"
"STU"
"DEF"
"JKL"
SQL> CREATE TABLE EXT_EMP
2 (
3 EMP_L VARCHAR2(255)
4 )
5 ORGANIZATION EXTERNAL
6 ( TYPE ORACLE_LOADER
7 DEFAULT DIRECTORY "TEMP"
8 ACCESS PARAMETERS
9 ( RECORDS DELIMITED BY NEWLINE
10 CHARACTERSET WE8MSWIN1252
11 STRING SIZES ARE IN BYTES
12 BADFILE "EXT_EMP.BAD"
13 NODISCARDFILE
14 LOGFILE "EXT_EMP.LOG"
15 SKIP 1 FIELDS TERMINATED BY ','
16 OPTIONALLY ENCLOSED BY '"' AND '"'
17 NOTRIM
18 (
19 EMP_L CHAR
20 )
21 )
22 LOCATION
23 (
24 'Employess.csv'
25 )
26 )
27 REJECT LIMIT UNLIMITED;
Table created.
SQL> SELECT *
2 FROM EXT_EMP
3 /
EMP_L
PQR
XYZ
MNO
STU
DEF
JKL
6 rows selected.
SQL> SY. -
How to get and disply dynamic values on the fly and display in applet
hello all ,
i have a problem in refreshing a applet.
i have a scrolling applet which will get the share values from the database and display in a scrolling applet in the browser . i am getting the values and displaying it.
but the problem is , if i enter a new record in the database, until and unless i press refresh button of the browser, i am not getting the new values . please help me if anybody having the idea. please mail me to [email protected]
thank you all.
by
sambaYou want a database update to trigger an applet refresh? Can't be done.
However, you can have the applet periodically re-query the database and update its display with the information it retrieves. Just kick off a Thread that sleeps for a bit, wakes up, queries the db, updates the display, and goes back to sleep. -
How to get Implicit Dimensions/Dimension Values in the result set?
Hi All,
How does endeca return implicitly selected dimensions in the result set? For example, consider a dimension set up for Television data as below.
Brand
Samsung
LG
Philips
Type
LEDs
LCDs
Plasma
Lets say, I refine the result set by brand, by selecting Philips. Now lets assume that there were 2 results returned for philips and both the results were of Type - Plasma. In this case, Endeca does not return the Type dimension in the result set, as we cannot drill down the 2 results further based on LED or LCD.
How does Endeca return these implicit dimensions in the result set in such scenarios? Suppose if there was a requirement to show to the user that both the results were of Type - Plasma, how do we get this information from Endeca, by default?
Thanks in advance :)How does Endeca return these implicit dimensions in the result set in such scenarios?Check out: Navigation.getCompleteDimensions() or Navigation.getCompleteDimGroups()
http://docs.oracle.com/cd/E28910_01/PresentationAPI.622/apidoc/javadoc/navigation/index.html -
Raise exception when the user entered value is not present
Hello Abap experts,
To raise an exception in the function module when the imported variable value is not presnt in the table.
import variable: cust_name.
how to define a exception for this raise it in the code. any examples and suggestions.
Thanks,
BWerHere is the F1 help on RAISE.
<i>
RAISE
Basic form 1
RAISE except.
Effect
This statement is only effective in function modules and methods.
It triggers the exception except.
If the exception is to be handled by the caller of the function module or method ( CALL FUNCTION or CALL METHOD ), the system passes control straight back to the caller. EXPORT parameters of a function module or method are not filled. The EXPORTING, CHANGING, and RETURNING parameters of a function module or method are only filled with the current values if they were defined to be passed by reference. reference).If they are defined to be passed by value, they are not filled.
If the exception is not handled by the caller, the program terminates with an appropriate error message.
Example
Let there be a function module STRING_SPLIT containing the following code (see also the example in the documentation of the CALL FUNCTION statement):</i>
<b>FUNCTION-POOL CSTR.
FUNCTION STRING_SPLIT.
IF STRING NA DELIMITER.
RAISE NOT_FOUND.
ENDIF.
ENDFUNCTION.</b>
The calling program might then contain the following:
<b>PROGRAM EXAMPLE.
CALL FUNCTION 'STRING_SPLIT'
EXCEPTIONS
NOT_FOUND = 7.
IF SY-SUBRC = 7.
WRITE / 'There is a problem.'.
ELSE.
ENDIF.</b>
<i>
If the NOT_FOUND exception is raised in a RAISE statement in the function module STRING_SPLIT, the system exits the function module and returns control to the calling program. The return code, which you should evaluate directly after the CALL FUNCTION statement, now contains the value 7.
Note
Runtime errors:
RAISE_EXCEPTION: The caller did not handle the exception that was triggered.
Related
MESSAGE ... RAISING
Additional help
Creating Function Modules
</i>
Regards,
Rich Heilman -
How to get column names as value in the target table ?
Hello All,
I want your help to solve my problem. Any suggestions are welcomed.
Problem - I have source data in Microsoft Excel in following format,
Ids q12 q13 q14
10001 1 1 2
10002 2 4 1
In my target table , which is in Oracle i want data in following format,
IDs Question Answer
10001 q12 1
10001 q13 1
10001 q14 2
10002 q12 2
10002 q13 4
10002 q14 1
In table i have q12, q13, q14 as column names, Now i want to fill q12, q13,
q14 as values of one of the column ( Question ) in my target table.
Note - I don't want to hard code the values ... is there any way i achieve this?
Thanks in Advance.
AC1. Create a staging table with 4 columns. Ids,q12,q13 and q14
2. Create a main table in the format you want ie., Ids, question and answer
3. Load the Excel after converting into CSV using SQLLDR into the staging table.
4. Then move the data from staging to main as below
insert into main(ids,question,answer)
(select ids,'q12',q12 from table1
union all
select ids,'q13',q13 from table1
union all
select ids,'q14',q14 from table1)There might be someother easier way to achieve this. But i dont think you can use SQLLDR to load the data denormalized like you have mentioned. But you can write a procedure which reads the file using UTL_FILE and insert into the table.
Message was edited by:
Mohana Kumari -
How to differentiate whether user entered '0' or no value in the parameter?
I need some clarification.On my selection screen I have 4 parameters( P_QTYLL,P_QTYUL,P_AMTLL,P_AMTUL). I have to check the values entered by the user in those fields and I have to display the user entered values in the next screen.My problem is if the user enters '0'(in any of the above fields) means '0' has to displayed in the next screen.But if he enters nothing means then nothing has to be displayed in the next screen.My problem is I am checking for '0', against the values(initial,'',space,0) for user entered value.But I am unable to differentiate the '0' and nothing(no value) even though I checked against the values(initial,'',space,'0').All the 4 conditions are treating both the '0' and 'novalue' the same.How to differentiate whether user entered '0' or entered nothing(no value).
for example below is my code
IF P_QTYLL EQ 0.
P_QTY_LL = P_QTYLL.
ENDIF.
IF P_QTYUL EQ 0.
P_QTY_UL = P_QTYUL.
ENDIF.
IF P_AMTLL EQ 0.
P_AMTLL_S = 0.
ENDIF.
IF P_AMTUL EQ 0.
P_AMTUL_S = 0.
ENDIF.
IF P_QTYLL EQ ''.
P_QTY_LL = ' '.
ENDIF.
IF P_QTYUL EQ ' '.
P_QTY_UL = ' '.
ENDIF.
IF P_AMTLL EQ ' '.
P_AMTLL_S = ' '.
ENDIF.
IF P_AMTUL EQ ' '.
P_AMTUL_S = ' '.
ENDIF.
LIKE THE ABOVE I checked against the values space,initial.But using those I am not getting any difference for no value and '0' .All the four values(space,initial,'0','') are treating both the '0' and no value in the same way.
Thanks,
Balajihi,
you said your teamlead doesn't want the type to be changed to 'C'.so try adding one dummy variable of type c and pass your parameters value to this dummy variable and check dummy variable for value '0'.
eg:
Data DUMMY(11) type c.
DUMMY = P_QTYLL.
IF DUMMY EQ 0.
P_QTY_LL = P_QTYLL.
ENDIF.
DUMMY = P_QTYUL
IF DUMMY EQ 0.
P_QTY_UL = P_QTYUL.
ENDIF.
i think this will help you 2 some extend.
Maybe you are looking for
-
I want to 'draw' a vertical cylinder in 3-D to use as a pedestal on which to display various sculpture pieces. Using the ellipse tool, I have created a relatively flat ellipse in Layer 1 and have painted it a light gray to represent the top of the pe
-
Mac Mini Alu not work in remote desktop with no monitor connected
I've bought a new mac mini this week (but i have had the same problems with mac mini intel 2010), i use only in remote (no keyboard and no mouse). the problem is: If i have the hdmi connected to my plasma 50 samsung all work OK (also with plasma tv o
-
Capturing the event on clicking the af:train stop icon
We are using an af:train as follows <fnd:applicationsPanel> <f:facet name="appsPanelTrain"> <af:panelGroupLayout layout="horizontal" halign="center" id="panelGroupLayout2"> <af:train value="#{controllerContext.currentViewPort.taskFlowContext.trainMod
-
I have more than I Apple ID can I combine the accounts
My music wasn't syncing on all devices, I think it's because they are on more than 1 Apple ID, can I combine the accounts?
-
SMS when payment or cheque data is entered in tcode
Hi Gurus, I am working on a real state project where i need to send a sms to customer when he buys a home/flat when payment is entered in sap . Request you to kindly guide me how should i proceed i searched many links on SDN but not able to intiate