Getting execution input parameter values
Hi,
Is it possible to get execution input parameter values from an Out of box Oracle table?
Let's imagine i am calling a stored procedure and this procedure has two input parameters. Is there a place to get this to input parameter values?
Regards.
I agree with Anurag, as the original question is stated, the answer is no.
Depending on the unspecified in the OP version of Oraclle there are a couple of v$ views that will allow a session to see its own bind variables and there is a view where bind variables can be sampled.
Running sql trace with bind variables is the only real method of getting these values.
HTH -- Mark D Powell --
Similar Messages
-
How to get the URL parameter value when navigating from JSP Page to portal
Hi All,
I have web Dynpro application with one button, while clicking that button It will navigate to JSP page as external window. In the JSP page I have a input field and Button.
In the JSP page input field I will enter some values and press submit button, it will navigate to Portal page by passing some URL parameter with values.
Once user entering to portal by default WD page displayed, the same WD page I try to get the URL Parameter which I have passed from JSP page, but I am not able to get the URL parameter value.
If same application running in without portal, I can able to get the URL parameter values. I am getting the URL parameter by interface view default inbound plug parameter.
How do we resolve this problem?
Regards,
Boopathi MHi
Please try these link might helpful for you
1.[How to call WebDynPro application from JSP |/thread/452762 [original link is broken];
2.[How to get the previous page url from abstract portal component? |/thread/1289256 [original link is broken];
3.[how to launch and pass a parameter |/thread/5537 [original link is broken];
Best Regards
Satish Kumar -
How to Receive soap input parameter value in BPEL
Hi
Please provide the solution to receive the input parameter value from a soap call i.e. . invoking a BPEL process from a PL/SQL client and with input parameter value.
Following Xpath expression does not work ,if a value is passed from SOAP input parameter
bpws:getVariableData('receiveInput_process_InputVariable','payload',/client:Test_ExternalcallProcessRequest/client:input).
This works fine only if avalue is passed from 'client' partnerlink(from console).
Please do the needful.Hi
Thank you for your response
sample PL/SQL code to call a BPEL process along with some input parameter
req P_A2a_Call_Bpelprocess.request;
resp P_A2a_Call_Bpelprocess.response;
inputvar VARCHAR2(100) := ' START PROCESS';
ls_method VARCHAR2(25) := 'process';
ls_namespace VARCHAR2(100) := 'xmlns="http://xmlns.oracle.com/Helloworld"';
ls_url VARCHAR2(254) := 'http://nooslux036t.gl.2wglobal.com:7777/orabpel/A2A/Helloworld/1.0';
BEGIN
req := P_A2a_Call_Bpelprocess.new_request(ls_method, ls_namespace);
P_A2a_Call_Bpelprocess.add_parameter(req, 'input', 'xsd:string', inputvar);
resp := P_A2a_Call_Bpelprocess.invoke(req, ls_url,ls_method);
The input value is 'START PROCESS' and Can I get this value from Xpath experssion usiing bpws:getVariableData or any other function? .Please let me know.
sample Xpath expression to get 'client' partnerlink data.
bpws:getVariableData('receiveInput_process_InputVariable','payload',/client:Test_ExternalcallProcessRequest/client:input).
Thanks in advance -
Method to Get the INPUT parameter CONTENT byte length
method to get the INPUT parameter CONTENT byte length
Dear "clown of forums",
Please read the forum rules and ask understandable questions -> one thread per properly formulated question after having searched.
Thread locked. -
Trying to get the input parameter of a web service fxn based on table value
Hello--
I am new to ADF and Jdev 11g (I am a forms developer). I had created a web service from a pl/sql stored db package. I can successfully execute a function with an input parameter from ADF Faces.
Instead of the input parameter being enterable by the user, I would like it to be based on a selected ADF table column value. How would I correlate the selected row column value as the function input parameter?
I played with an ADF output text based on the ADF table column with the PartialTriggers value set to the ADF table...which updates the output text based on the column selected. Do I use some sort of partial trigger on the input parameter?
From a forms point of view, I am looking for the "Copy Value from Item" property :)Hi,
Not sure if this would help you.
But if your table is bound to a ViewObject, it will be easier to get the current selection.
Supose your table is bound to iterator1.
In your backBean code:
DCBindingContainer dcBindings = (DCBindingContainer)getBindings();
DCIteratorBinding iterator =dcBindings.findIteratorBinding("iterator1");
Row row = iterator.getCurrentRow();
Object selectedValue = row.getAttarbute(<value of the column you are looking for>);
public BindingContainer getBindings() throws Exception {
try {
if (this.bindings == null) {
FacesContext fc = FacesContext.getCurrentInstance();
this.bindings =
(BindingContainer)fc.getApplication().evaluateExpressionGet(fc,
"#{bindings}",
BindingContainer.class);
return this.bindings;
} catch (Exception ex) {
displayMessage("Error occurred. Please contact your IT Adminstrator.");
return this.bindings;
Let me know if this helps.
-Makrand -
How to get the selection parameter values to Posting logic method
How can i read the selection parameter values at " posting logic" method, which are given in " Select Option function module"?
max bianchi wrote:
Hi
>
> The selection-screen data are stored in ABAP memory, so it need to clear it .
>
> Now how set ID parameter can depend on SAP release, anyway in ECC 6 this should work:
>
>
INITIALIZATION.
> DATA: BEGIN OF MEMKEY,
> REPORT TYPE SY-REPID VALUE SY-REPID,
> VARIANT TYPE RSVAR-VARIANT,
> INT_MODE(2) TYPE N,
> KIND(1) TYPE C,
> END OF MEMKEY.
>
> SYSTEM-CALL INTERNAL MODE INTO MEMKEY-INT_MODE.
> FREE MEMORY ID MEMKEY.
>
> But in this way it'll clea whole selection-screen...do you wnat do it?
>
> Max
@Max : The above hack seem to work fine unless you assign a 'DEFAULT' value to the selection fields.
@OP : Here is an other work around, however, this approach needs an additional effort to create
new PF-STATUS('MYLIST') and assign a function code of your choice to the function keys in the standard toolbar and handle them in the 'AT USER-COMMAND' event as shown below. Let us know if you have/find any issues with this.
PARAMETERS:
p_test TYPE char5 DEFAULT '123'.
AT USER-COMMAND.
CASE syst-ucomm.
WHEN 'MBACK'.
SUBMIT zytest WITH p_test = '' VIA SELECTION-SCREEN.
ENDCASE.
START-OF-SELECTION.
SET PF-STATUS 'MYLIST'.
-Rajesh. -
How to get Oracle Form Parameter Value into Oracle Report
Hi,
Please guide for the following:
On a form, there is one Control Block (CB1), having two TEXT ITEMS, namely From_Date & To_Date respectively. The user inputs from and to dates, for example From_Date: 01-JAN-2009 and To_Date: 31-DEC-2009 and then press "Print Report" button.
I want to get From_Date & To_Date in the report, as per below mentioned heading:
SALES REPORT
From: 01-JAN-2009 To: 31-DEC-2009
Regards,You can use ADD_PARAMETER builtin,
The following example creates a parameter List, adds two parameters to it, and then passes the List to a form by way of the CALL_FORM procedure:
<pre>
/** Declare a variable of type ParamList to store ** the parameter List ID */
DECLARE
PARAM_ID ParamList;
BEGIN
/* ** Create a parameter List named "input_params" */
PARAM_ID := Create_Parameter_List('input_params');
/* ** Add two parameters to the List to pass values for each user-defined parameters defined in the target form; for each parameter, specify its key, type (text or data), and value */
Add_Parameter(PARAM_ID, 'FROM_DATE'', TEXT_PARAMETER, to_char(:CB1.From_Date, 'DD-MON-RRRR'));
Add_Parameter(PARAM_ID, 'TO_DATE', TEXT_PARAMETER, to_char(:CB1.To_Date, 'DD-MON-RRRR'));
/* ** Now call the report, referencing the parameter List ID ** in the last argument to the report calling procedure */
END;
</pre>
Edited by: Charan on Jul 13, 2011 9:08 AM -
How get the dynamic parameter values
<p>Hi everyone. <br /><br />I have made an application to show the Crystal Report . Because the input interface is not very good, so I write an interface by myself. Now this funcation can show all static parameters. But I have some troubles with the dynamic parameters. How to get the values of the dynamic parameters?</p><p>By the way, if I add a dynamic parameters , it will show the dadabase logon window twice. How to add the logon infomations for dynamic parameters using .net?</p><p>My develop entironment is : Crystal Report XI, RAS XI, Visual Studio 2003 c#.</p>
See note number 1412611 in the notes database:
https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
Ludek -
Syntax for getting Exporting parameter value
Hello All,
This is the syntax i am using for getting the table parameter data.
dataProvider="{foundationService.
lastResult.root.BAPI_FLIGHT_GETLIST.EMPLOYEENUMBER.item}">
Can you tell me how to get the exporting parameter value in the widget.Is the syntax same for the exporting also or do i need to change anything.Can anybody please help me out.I will reward you with points
Thanks,
KaranKaran,
this bapi EMPLOYEENUMBER is export parameter and it can return only one value no need to give item. if it is multiple values then we can use .item. you can find the changes below code.
dataProvider="{foundationService.
lastResult.root.BAPI_FLIGHT_GETLIST.EMPLOYEENUMBER}">
rewards for good answers.
Thanks,
Raghava Vakada. -
Variables/Input Parameters Value help not showing texts
Hello,
I have created a crystal report based on a calculation view in Crystal Reports for Enterprise 4.1 SP5, which has a input parameter on the field "Region". For the value help, I am using a custom view based on T005U in which I have made sure that RegionName field is present in the "Label Column" property of the Region field.(Required for viewing descriptions of LOVs).
In the crystal report, while previewing data in the query builder, I am able to see the value help for the input parameter in the prompt screen, which displays only the key part, but does not display the description of it. Moreover, after accepting the prompt value, the preview runs into an error(as shown below). Please note that I get the error below only when Region is a part of the output fields of the query.
Instead of input parameter, when I create a variable on the region field in the main calculation view, with the same value help view, I am able to do data preview in the query builder as also data appears in the report on running the query. But, just as in the case of input parameter value help in the prompt screen, even over here, I am only able to see the key part and not the description.
Are variables/input parameter LOV's supposed to display descriptions or just the key part? As also, any reason why I should be getting this error while using Input parameter?
Kindly let me know if I am missing something in the development of this report.
Regards,
AlstonHi,
I hope you are taking the BEx Query as a source to the crystal report. In the BEx query check region info object should is maintained as Text and Key. If text is not maintained over there you will not be getting text in Crystal reports.
Krishna. -
Hi friends
Is there any FM to get the input Help values ( fixed , check table values, search help values ) if i specify the field.DATA : BEGIN OF itab OCCURS 0,
matnr LIKE mara-matnr,
END OF itab.
parameter : p_matnr like mara-matnr.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_matnr.
itab-matnr = 'VAMSI1'.
APPEND itab.
itab-matnr = 'VAMSI2'.
APPEND itab.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'MATNR'
dynpprog = 'Y_VAMSI'
dynpnr = '1000'
dynprofield = 'P_MATNR'
value_org = 'S'
TABLES
value_tab = itab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3
You need to use the fm the above said way. If you want more than one field to be displayed declare as many fields in the internal table as you need.
If you want to use for SELECT-OPTIONS, you need to assign S_MATNR-LOW or HIGH to dynprofield.
Vamsi -
Modifying the cell content based on input parameter from variable screen.
I am trying to modify a cell content in the BEX Web Application Report based on the input parameter from the variable screen.
I am already aware of how to change the cell content by creating a new ABAP class and inheriting CL_RSR_WWW_MODIFY_TABLE.
I do not know how to get the input parameter variable from the variable screen in my custom class ZCL_RSR_WWW_MODIFY_TABLE. I am not very familiar with ABAP and would appreciate your help.
Thanks
Sowminiin the start method
define a work area like line of n_r_data_set->N_SX_VERSION_20A_1-TXT_SYMBOLS
loop at n_r_data_set->N_SX_VERSION_20A_1-TXT_SYMBOLS into <wa> ..
endloop .
This will have all the filter, variable values entered in the selection.
Regards
Raja -
Unable to capture Input field value on BSP page
Hi
I have copied ROS (SRM) standard application ROS_PRESCREEN3 into custom and added one input field .
Now when user enters some value in it , i am not able to get that value in my back-hand code.
I have treid the availble code on Fourm , its not working .
Regards
RaulHi ,
I am getting the input field values in my back hand using MVC .
Regards
Raul -
Passing parameter values to powershell function from batch file
Hello ,
I haven't used powershell for a while and getting back to using it. I have a function and I want to figure out how to pass the parameter values to the function through batch file.
function Check-FileExists($datafile)
write-host "InputFileName : $datafile"
$datafileExists = Test-Path $datafile
if ($datafileExists)
return 0
else
return -100
<#
$datafile = "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_011.txt"
$returncode = Check-FileExists -datafile $datafile
Write-Host "ReturnCode : $returncode"
$datafile = "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_01.txt"
$returncode = Check-FileExists -datafile $datafile
Write-Host "ReturnCode : $returncode"
#>
The above code seems to be work when I call it. But when I try to call that script and try to pass the parameter values, I am doing something wrong but can't figure out what.
powershell.exe -command " &{"C:\Dev\eMetric\PreIDWork\PowerShell\BulkLoad_Functions.ps1" $returncode = Check-FileExists -datafile "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_01.txt"}"
Write-Host "ReturnCode : $returncode"
$file = "C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile_01.txt"
powershell.exe -file "C:\Dev\eMetric\PreIDWork\PowerShell\BulkLoad_Functions.ps1" $returncode = Check-FileExists -datafile $datafile
Somehow the I can't get the datafile parameter value being passed to the function. Your help would be much appreciated.
I90RunnerI am not sure about calling a function in a script like how you want to. Also I see you are setting the values of the parameters, this is not needed unless you want default values if nothing is passed. The values for the parameters will be passed via the
batch file. So for me the easiest way is as indicated.
param
[string]$DataFile
function Check-FileExists($datafile)
write-host "InputFileName : $datafile"
$datafileExists = Test-Path $datafile
if ($datafileExists)
return 0
else
return -100
Write-Host "Return Code: $(Check-FileExists $DataFile)"
Then you create a batch file that has
start powershell.exe
-ExecutionPolicy
RemoteSigned -Command
"& {<PathToScript>\MyScript.ps1 -DataFile 'C:\Dev\eMetric\PreIDWork\PreIDFiles\SampleInputFile.txt'}"
Double click the batch file, and it should open a powershell console, load your script and pass it the path specified, which then the script runs it and gives you your output
If you find that my post has answered your question, please mark it as the answer. If you find my post to be helpful in anyway, please click vote as helpful.
Don't Retire Technet -
Missing parameter values on export
Hi,
I am using CR embedded edition 11.5.3.438 as the reports engine for a webapplication written in C# .NET framework 2.
when i export a report to some formats (not rpt's) I get a "missing parameter values" exception.
the code i use:
private void ExportToMemory()
try
//export the report to the required format
//second param - reserved...
crystalBytes = crystalReport.PrintOutputController.Export(ConvertToCrysalExportFormat(format),0);
catch(Exception e)
//save this so it can be handled by the main thread
threadException = e;
can anyone help?Hello, Dana;
Are you passing the parameters to the ReportDocument object or to the Viewer?
There is an article that may explain the issue [here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_dev/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do].
Elaine
Maybe you are looking for
-
Using Multiple Datasets and Spry in DW CS3
Hi there, I am currently trying to get an XML file pushed into a HTML page by using Spry in Dreamweaver CS3. However it uses three datasets. The schema is like this: funds-and-headings ----> properties+ ------------> region ------------> reference --
-
MacBook Pro Early 2008 won't go to sleep after upgrade to Mavericks
I have a MacBook Pro that is of the Early 2008 variety. Ever since I upgraded to OS X Mavericks two nights ago, it will no longer go to sleep. This is with me using either the power button or directly selecting sleep from the Apple menu. All that hap
-
How to extract the downloaded files for AS 10.1.2.0.2 Solaris?
Hi, When I try to extract the downloaded files from OTN, the following error occurs? # cpio -idcmv < as_sun_sparc_101202_disk1.cpio cpio: Can't read input: end of file encountered prior to expected end of archi. Regards, Kitae
-
I am setting up my new iPad mini from my iMac. I have backed up my old ipad so all info has been saved and sinced. I did not get my contacts and apps when the download, or sinc was complete. How do I add them? BTW, the instructions given while ins
-
How to make the inactive tabs silent?
Когда открыто несколько вкладок с каждой вкладки идет звук, который мешает активной вкладке. Можно ли сделать чтобы звуки в неактивных вкладках отключались. translite: When you open multiple tabs, with each tab is a sound that prevents the active tab