How to pass parameter values to a customer exit web item (WAD)
Hi gurus,
I have a wad with a data provider and a filter panel filtering that dp by using a variable. There is also a customer exit which saves the values of that variable into a z table.
How can I pass the values of the filter panel to the customer exit web item?
Thanks in advance,
Rob
Can you clarify your scenario? Which is the case you're talking about?
1) You want to pass a parameter from OmniPortlet to a PL/SQL procedure.
2) You want to pass a parameter from a PL/SQL procedure to OmniPortlet.
In both cases the most obvious way of doing it is through request (URL) parameters.
Render a link in your portlet (either in OmniPortlet or using PL/SQL) that invokes a portal page, containing the other portlet.
Both OmniPortlet and PL/SQL allow you to wire and access page parameters.
Take a look at the Using Parameter and Events section of the Portal User's Guide and the Parameters and Events section of the Portal Developer's Guide.
Hope this helps,
Peter
Similar Messages
-
How to Pass Parameter/Value to the second page????
Hi,
I am trying to display same popup window when I click on ADD,UPDATE and VIEW buttons. I don’t have any problem in displaying the popup when I click on ADD and UPDATE button but with VIEW button I wanted to display the popup at read only mode. In order to do that I have created a bean with session scope and set a ‘SetActionListener‘on VIEW button and set ‘from’ property to true and ‘to’ property to "#{IndividualSummaryDetails.readOnlyAddress}". I could not pass the value of readOnlyAddress to the popup. How can I pass the value of readOnlyAddress to the popup?
This value becomes true when I click on view button. If I pass that value to the popup then I can set the read only property of the fields on the popup with that value. So that the fields become read only.
Here is my View button
<af:commandButton text="#{CoreProperties['Global.commandButton.View']}"
windowHeight="450" windowWidth="600"
useWindow="true"
action="dialog:FromIndividualSummaryDetailsToAddress"
id="justView">
<af:setActionListener from="#{true}"
to="#{IndividualSummaryDetails.readOnlyAddress}"/>
Here is my Bean
public class IndividualSummaryDetails {
private Boolean readOnlyAddress;
public IndividualSummaryDetails() {
readOnlyAddress = true;
public Boolean isReadOnlyAddress() {
return readOnlyAddress;
public void setReadOnlyAddress(Boolean readOnlyAddress) {
this.readOnlyAddress = readOnlyAddress;
This value becomes true when I click on view button. If I pass that value to the popup then I can set the read only property of the fields on the popup with that value. So that the fields become read only.
Message was edited by:
V.PirabaWe need to use portlet events for sending parameters across different pages.
Following documents can give you insight on this :
1. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/PRIMER.PORTLET.PARAMETERS.EVENTS.HTML
2. http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/ARTICLES/DESIGNING.PAGES.USING.PDKJAVA.SAMPLE.EVENT.WEB.PROVIDER.HTML
-AMJAD. -
How to pass parameter values to a report befor schedule it?
I tried to use Business Objects web service to schedule a report. But I failed to pass in any parameter values. The report was able to run successfully. But check all history from Infoview, all parameter are with NULL value. Does anybody encounter the same problem and has good resolution for this? Many thanks.
Here's my code:
// Logon Crystal Report Server
LogonCrystalServer();
// Find Report
GetOptions oGetOptions = new GetOptions();
oGetOptions.IncludeSecurity = false;
ResponseHolder rh = _bipService.Get("cuid://<" + reportCuid + ">@SI_SCHEDULEINFO, SI_PROCESSINFO", oGetOptions);
InfoObjects oInfoObjects = rh.InfoObjects;
if (oInfoObjects == null || oInfoObjects.InfoObject == null) return;
// Set Scheduling Info
CrystalReport oReport = (CrystalReport)oInfoObjects.InfoObject[0];
oReport.Name = oInfoObjects.InfoObject[0].Name;
SchedulingInfo oSchedulingInfo = oReport.SchedulingInfo;
oSchedulingInfo.RightNow = true;
oSchedulingInfo.ScheduleType = (ScheduleTypeEnum.ONCE);
oReport.SchedulingInfo = oSchedulingInfo;
// Set Format Info.
ReportProcessingInfo procInfo = oReport.PluginProcessingInterface;
CrystalReportFormatOptions repFormat = new CrystalReportFormatOptions();
repFormat.Format = ReportFormatEnum.EXCEL;
repFormat.FormatSpecified = true;
repFormat.UseExportOptionsInReport = true;
repFormat.UseExportOptionsInReportSpecified = true;
procInfo.ReportFormatOptions = repFormat;
// Get Report Parameters and Set their values
// I don't know if the step has any problem. I copied from wssdk sample.
ReportParameter[] repParams = procInfo.ReportParameters;
for (int i = 0; i < repParams.Length; i++)
CurrentValues oCurrentValues = new CurrentValues();
BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[] oPromptValue = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue[1];
oPromptValue[0] = new BusinessObjects.DSWS.BIPlatform.Desktop.PromptValue();
oPromptValue[0].Data = "Test";
oCurrentValues.CurrentValue = oPromptValue;
repParams<i>.CurrentValues = oCurrentValues;
procInfo.ReportParameters = repParams;
oReport.PluginProcessingInterface = procInfo;
// Schedule run the report
InfoObjects infoObjects = _bipService.Schedule(oInfoObjects);
//Get new instance id
string instanceCuid = infoObjects.InfoObject[0].NewJobID;
Edited by: Shao Zelian on Jan 19, 2010 11:51 AMCan you clarify your scenario? Which is the case you're talking about?
1) You want to pass a parameter from OmniPortlet to a PL/SQL procedure.
2) You want to pass a parameter from a PL/SQL procedure to OmniPortlet.
In both cases the most obvious way of doing it is through request (URL) parameters.
Render a link in your portlet (either in OmniPortlet or using PL/SQL) that invokes a portal page, containing the other portlet.
Both OmniPortlet and PL/SQL allow you to wire and access page parameters.
Take a look at the Using Parameter and Events section of the Portal User's Guide and the Parameters and Events section of the Portal Developer's Guide.
Hope this helps,
Peter -
How to pass parameter between two jsp pages using web link (not form)
Hi Friends,
I have two jsp pages and would like to pass a parameter from one JSP page (one.jsp) to another JPS page (two.jsp)
in one.jsp
<a href="two.jsp?ant="<%=ant%">"> <%=antName%> </a><br>
I don't know how to pass value of parameter "ant" to two.jsp from one.jsp.
Can anyone help this? Thank you in advance</a>Looks like you've got it almost right - just an extra unneeded "
<a href="two.jsp"?ant=<%= ant %>"><%=antName%></a>
which should render on the page as something like
My Ant Task
When you click the link, it should pass that parameter, and you can get it via request.getParameter(). -
Hi experts,
BW 3.5
I have a question:
The customer exit variable is the same in Bex Analyzer and in web item???
Because I have a message in step=3 and in the web item doesnt appear.
any idea?HI,
Web temples are those which are built on the BEx Query , any changes made in Bex Query will automatically reflects to the Web items.
Customer Exit not Dependent with the Web Item .
to be more precise Web acts as a platform to execute the reports based on the Bex reports created.
Hope this helps
santosh -
I am having trouble with passing dynamic string to sql query for executing SSRS reports.
I am using oracle database and I want to pass where clause parameter as "where LAND_NR = 6" to my select query.
For example: I want to execute Select * from employee :p_where.
where p_where parameter holds value "where LAND_NR = 6"
So it will treat as "Select * from employee where LAND_NR = 6" statement which will give me the list of records to display in my reports.
But it's not taking correct sql command throwing an error as "SQLcommand not properly ended."
How can I achieve this?You need to use dynamic sql
But please keep in mind that since you're using Oracle you may be better off posting this in some Oracle forums
This forum is specifically for SQL Server
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
How to pass parameter value to third party application - silver light
Hi Experts,
I have requirement where i have to pass 3 parameter - namely Position key, Job , Job stag
The application is third party application - build in Microsoft silver light
Now from my application i have to pass 3 parameter to this application (URL)
Can any one suggest me how can i proceed to do this
Thanks in advance,
Regards
FarooqHi
Check this Link
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/d05953ea-2608-2d10-968a-b44e8315049c?QuickLink=index&overridelayout=true
Thanks and Regards
Suresh -
How to pass parameter values to Bex query through xcelsius (LO or QWAAS)
Hi,
I have prompt in Bex query and want to pass values to query prompt through xcelsius .
In xcelsius i have selection
e.g 1] Combo selection is for Vendor
2] Combo selection is for Fiscal Year
If i select value from Combo list and refresh the dashboard im getting below error
A database error occured. The database error text is: The MDX query SELECT { [Measures].[4IKKZVYWWD3XKQK7Z1BK34VTL], [Measures].[4IKKZVJJUFWIJHHBND6VJ0YE1], [Measures].[4IKKZV46SIP3I8EFBP26YX0YH], [Measures].[4IKKZUOTQLHOGZBJ00XIET3IX] } ON COLUMNS , NON EMPTY [0CREDITOR].[LEVEL01].MEMBERS ON ROWS FROM [0FIAP_O03/ZFIAP_O03_UNIVERSE] SAP VARIABLES [VN_VAR] INCLUDING A00140 [0S_FYEAR] INCLUDING V3/2010 : V3/2010 failed to execute with the error Unknown error. (WIS 10901)
I have tried using LO and QWAAS but not able to do so......
if any one knows plz help....Hi,
most likely yo are passing the wrong value.
you need to send the key or the member unique name.
Ingo -
How to Pass parameter to Custom Scheduler dynamically
hi ,
I am new to OIM.
Need your help in passing parameters dynamically to Custom Scheduler.
I have created Custom Scheduler by extending Task Support.
I have registered the plugin through API , using PlatformService.registerPlugin() method.
As I need to send the parameter(s) to this CustomScheduler, I have defined them in Metadata (CustomScheduleTask.xml) file as below and got it imported into DB
through weblogicImportMetadata.sh script by providing the path of the file.
<scheduledTasks xmlns="http://xmlns.oracle.com/oim/scheduler">
<task>
<name>CustomScheduleTask</name>
<class>org.schedule.custom.task.CustomScheduleTask</class>
<description>Fetch details of the given user_id</description>
<retry>5</retry>
<parameters>
<string-param required="true" helpText="Login Name">Login Name</string-param>
</parameters>
</task>
</scheduledTasks>
Iam able to import this plugin as well as register the plugin successfully. Now I have defined a job to which this Custom SchedulerTask is mapped.
Now in order to run this job(schedule task) I need to provide Login name( or id) which needs to be send as a parameter for the scheduler to get executed.
But while defining the job with this Schedule Task on OIM console, I was not able to define or pass parameter to this job. hence parameter is null in
CustomSchedule 's execute method .
Kindly help me how to pass parameter dynamically while running the scheduler from OIM console so that the execute method would be able to receive it.
Thank you in Advance.
Regards,
KumarHi,
When you have created the schedule job for your custom schedule task, you should see your Login Name textfield in the schedule task. If not, then there verify your schedule task xml.
In your schedule class code, add:
public void execute(HashMap arg0) {
final String METHOD_NAME = "execute :: ";
logger.debug(CLASS_NAME + METHOD_NAME + "Entering Method - execute");
try {
String LoginName = arg0.get("Login Name");
Regards,
Sunny -
SSRS How to pass a value for Hidden parameter ?
Hello,
I have a SSRS report deployed on the Report server. This report is having an "Hidden" parameter.
Could someone please guide me, how to pass the value to this internal parameter in each of the following case -
1. Report is accessed through a Desktop application/Web application in Report Viewer.
2. Report is accessed through the Url.
3. Report is accessed through the Report Manager.
Any quick help on this is highly appreciated.
Thanks!
-Vinay Pugalia
If a post answers your question, please click "Mark As Answer" on that post or
"Vote as Helpful".
Web : Inkey Solutions
Blog : My Blog
Email : Vinay PugaliaHi Vinay Pugalia,
Internal Parameters in SSRS are parameters that are not configurable by the end-user at run-time and values cannot be passed to this type of parameter (when present in the child report) in case of a drill-through report implementation. This
type of parameter is read-only and not accessible in parent report.
This varies from a Hidden Parameter, which the user is not prompted to provide, but can still be configured through the URL to the report server.
So no matter you access the report through report manager, URL or Report Viewer. The passing value to the internal parameter will not work.
As you have mentioned that I will also suggest you use the hidden parameter instead.
More details information in this blog for your reference:
SSRS – Understanding Report Parameter Visibility
How to pass value to hide parameter is the same as that of the visible parameter, similar thread for your reference:
Passing the value in action property of a text box
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
If you have any feedback on our support, please click
here.
Vicky Liu
TechNet Community Support -
How to pass a value to the export parameter for a method (public instance)?
Hello,
I am trying ABAP OO newly. How to pass a value to the export parameter for a method (public instance) called in a report? This *export parameter has a reference type of structure.
Thanks in advance,
RanjiniHi,
"class definition
class lcl... definition.
public section.
method m1 imporitng par type ref to data. "now you can pass any reference to the method, but this way you have to maintain this reference dynamically inside the method (you can't be sure what that reference is really "pointing" at)
endclass.
"in program
data: r_lcl type ref to lcl...
create object r_lcl.
call method r_lcl
exporting
par = "pass any reference variable here
Regards
Marcin -
How Do I Pass The Value Of My Custom PSObject Into A Winforms Multiline Inputbox?
Hello all!
I've tried to just pass the value of my custom object by doing $Inputbox.Text = $CustomObject but i only get whitespaces in my inputbox. I also tried $CustomObject.tostring() and get "SystemObject[]"
Thanks for the help!!Thanks so much for the reply! It helps alot.
I guess it's more than just one object. It's an array of PSObjects. It gathers local user account properties and drops it into an array of objects. it contains things like, account name, descriptions, password expiration information, if it's disabled or
not... things like that. Just a bunch of text fields. it's created by
$AllLocalUsers += $Users | Foreach-Object {
(code to search for account properties...)
New-Object PSObject -Property @{
Name = $_.Name
Disabled = $_.Disabled
(etc...)
When I type $AllLocalUsers in the console, it will print all the objects information but when I try to do that in a text box, ie $textbox.text = $AllLocalUsers, It gives me about 33 white spaces, the number of objects in the array, and nothing else. -
How to get parameter value from report in event of value-request?
Hi everyone,
The customer want to use particular F4 help on report, but some input value before press enter key are not used in event of "at selection-screen on value-request for xxx", How to get parameter value in this event?
many thanks!
JackYou probably want to look at function module DYNP_VALUES_READ to allow you to read the values of the other screen fields during the F4 event... below is a simple demo of this - when you press F4 the value from the p_field is read and returned in the p_desc field.
Jonathan
report zlocal_jc_sdn_f4_value_read.
parameters:
p_field(10) type c obligatory, "field with F4
p_desc(40) type c lower case.
at selection-screen output.
perform lock_p_desc_field.
at selection-screen on value-request for p_field.
perform f4_field.
*& Form f4_field
form f4_field.
*" Quick demo custom pick list...
data:
l_desc like p_desc,
l_dyname like d020s-prog,
l_dynumb like d020s-dnum,
ls_dynpfields like dynpread,
lt_dynpfields like dynpread occurs 10.
l_dynumb = sy-dynnr.
l_dyname = sy-repid.
*" Read screen value of P_FIELD
ls_dynpfields-fieldname = 'P_FIELD'.
append ls_dynpfields to lt_dynpfields.
call function 'DYNP_VALUES_READ'
exporting
dyname = l_dyname
dynumb = l_dynumb
tables
dynpfields = lt_dynpfields
exceptions
others = 1.
check sy-subrc is initial.
*" See what user typed in P_FIELD:
read table lt_dynpfields into ls_dynpfields
with key fieldname = 'P_FIELD'.
*" normally you would then build your own search list
*" based on value of P_FIELD and call F4IF_INT_TABLE_VALUE_REQUEST
*" but this is just a demo of writing back to the screen...
*" so just put the value from p_field into P_DESC plus some text...
concatenate 'This is a description for' ls_dynpfields-fieldvalue
into l_desc separated by space.
*" Pop a variable value back into screen
clear: ls_dynpfields.
ls_dynpfields-fieldname = 'P_DESC'.
ls_dynpfields-fieldvalue = l_desc.
append ls_dynpfields to lt_dynpfields.
call function 'DYNP_VALUES_UPDATE'
exporting
dyname = l_dyname
dynumb = l_dynumb
tables
dynpfields = lt_dynpfields
exceptions
others = 0.
endform. "f4_field
*& Form lock_p_desc_field
form lock_p_desc_field.
*" Make P_DESC into a display field
loop at screen.
if screen-name = 'P_DESC'.
screen-input = '0'.
modify screen.
exit.
endif.
endloop.
endform. "lock_p_desc_field -
How to pass multiple values from workbook to planning function ?
Hi,
I have created Planning function in Modeler and it has one parameter(Variable represents = Multiple single values).
When executing the planning function by create planning seq. in the web template : I see value of variable store data like ...
A.) input one value -> V1
B.) input three values -> V1;V2;V3
This function execute completely in web.
However, I want to use the planning function in workbook(Excel).
The value of variable can't input V1;V2;V3... I don't know how to pass multiple values from workbook to parameter(Multiple single values type) in planning function ?
thank you.Hi,
Please see the attached how to document (page no 16).
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0881371-78a1-2910-f0b8-af3e184929be">how to</a>
Hope this was helpful
thanks -
How to pass parameter into a source variable of a invoke activity
I'm an new BPELer, I created a invoke activity to submit Oracle Appplications concurrent program, but I don't know how to pass parameter into source variable.
BTW, I have created the mapper file (.xsl) file.
could anyone tell me how to do that?
Thanks,
VictorHi.
How you start application? I think you send message to webservice(BPEL process is webservice too). So construct message with variable and value.
But I created only processes where input value doesn't matter. I haven't use mapper yet too.
Maybe you are looking for
-
i need help please!
-
HELP! I've noticed recently that more and more fonts are not printing on my HP LaserJet 1220. So far, I have not found any updates to apply. Apple states drives are with OS 10.5. So, now what do I do? signed... some what computer literate
-
How to backup chat history in a messenger app
I did buy a new iPhone 5. And when I went to Apple store to get my new order, I found all the chat history or document history in messenger or picture fixing apps were restored in my new iPhone 5. Please, anyone knows how to backup chat history in me
-
Exchange Management Shell (Exch 2010) - Error when opening
Hi, Ive an Exchange 2010 SP3 server which wont open Exchange Management Shell. When opening it, I get the following: The term 'ImportPSSession' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
-
HT3964 inoperable iSight on iMac
The built in iSight camera has stopped working on my late 2006 iMac,