Pass Dynamic Parameters to a iView
Hi,
We have a reuirement where we need to pass the URL iView Parameters dynamically..The link to access the URL iView needs to be constructed in R/3 with a parameter value(Example: Work Item ID), which is dynamic.
This constructed link will be send as part of a email. So each email sent will have a different parameter value.
Thanks in Advance.
Hi Sethuram,
What type of application is the iView running? I can provide code if you'd like to call a BSP or ABAP Web Dynpro application directly.
Similar Messages
-
Passing dynamic parameters to an IR Report
Hello,
We have installed Hyperion BI+ 9.3.1. We are in the process of evaluating the development of IR reports which would
have a requirement to have parameters passed dynamically. For example, we'd be interested in passing a date as a parameter which then would be used by the query inside IR to filter/bring back data from the database pertinent to the date being passed.
The need for this is because once developed we want to execute the IR on a weekly basis whereby the date keeps moving forward to be then used to extract relevent data.
Any thoughts on how this can be done? Also, on a related note are there any backend command line utilities or interfaces that can be used to pass the parameter dynamically to the IR report?
Thanks in advance
RajeshDoug,
Thanks for the response. The delivery of the report output would be via Workspace (iHTML). I mentioned date parameter as an example. The report or reports may need to accept other paramaters as well - like department id or product. While the number of parameters and the nature of the parameters would be known ahead of time the value would need to be derived dynamically (by say reading a database table containing transactional data)
As for the command line utility, I am thinking more along the lines of say Oracle Reports which enables you to invoke a run-time command (rwcli60 for example) and pass the necessary arguments to the report.
I have seen the sample java programs that are shipped with the product (and we have used one of them called AddBqy) but haven't seen one that enables passing dynamic parameters.
I will look into the SmartCut option as recommended by you.
Any more insights/suggestions will be greatly appreciated.
Thanks
Rajesh -
Dynamic Parameters in URL-IView
Hai,
I am using the ESS-framework and I want to create a link which calls an URL with dynamic parameters.
I have already created an URL-Iview with the example url:
http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm
And I also defined a resource and a service in the backend (Customizing)
My question is:
How can I dynamically generate the Parameters SCENARIO and MODE in the url using the URL input field in the defined resource?Hi Remco,
If you create several resources for the same webdynpro (isrform) you can pass params via the resource definition (URL params).
Your webdynpro application can be defined as:
- Webdynpro application (in the xss homepage framework) as a resource;
- URL resource linking to a portal page/iview (with params): url iview with params
- URL resource linking to a portal page/iview (with params): webdynpro iview with params
But before you are going to tweak with it, please try to find out if your url will work:
http://a.nl:51800/webdynpro/dispatcher/sap.com/pcui_gp~isr/IsrForm?scenaro=SPEG&mode=CREATE.
If this works, then create an iview in the portal of the url type or webdynpro type. Does it still work with static params? If so, remove the static params from your iview properties.
Now try the following link:
http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview
If this works, check out the following link:
http://yourportal:port/irj/portal?NavigationTarget=pcd_path_to_your_iview&DynamicParameter=MODE%3DCREATE%26SCENARIO%3DSPEG
Everything after DynamicParameter must be encoded. To find out what the encoding is, just use google and search for your characher. As an example (let's find the = sign):
http://www.google.nl/search?hl=nl&q=%3D&meta=
%3D is the = sign
Last step:
Create a resource as described on top of this post.
This will be my approach to get this working
Good luck! -
Passing dynamic parameters in hyperlinks
Post Author: alguser
CA Forum: Profitability Applications
I am using the former ALG Activity Analysis/Predictive Planning application, which I gather is now known as profitability. Is there a way to use variables as query string values in hyperlinks in books? I am unable to escape out of the url string so as to provide a variable name. I would prefer hyperlinks to buttons. Here is a quick example of what I mean: [In the URL field of a hyperlink control]BookTitle&SomeVariable=' + somevariableThanks.Hi Shakeel,
Actually, currently no custom parameter passing is working through the iView onto the Web Dynpro application.
The app. feature is for passing parameters automatically to the startup plug as named parameters within a Web Dynpro application. (On my version this feature does not work either.)
Anyone else try this yet? -
How to pass dynamic params to Transaction iView from webdynpro java app
Hi Experts,
I am trying to call a transaction iview in PCD from my Dynpro application with a dynamic param.
Can somebody help me generating the URL for transaction iView and passing the dynamic params???
Thanks in advance
biroj...Hi,
Generating the URL:
StringBuffer strBuff = new StringBuffer("/webdynpro/dispatcher/xyz.com/xx~xxxx~xxxxx/xxxxxApp");
strBuff.append("?");
strBuff.append("TCODE=");
strBuff.append("" + WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter("TCODE"));
IWDWindow window = wdComponentAPI.getWindowManager().createNonModalExternalWindow(strBuff.toString(), "TCODEWindow");
window.show();
Please try the above code snippet helps you to create a TCode iView in a new window.
or
We can include URL parameters in a portal URL that calls a Web Dynpro page and these parameters can be forwarded to the otehr iVIews on the page.
Example:
http://xxxxxxxxx.com/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.WebDynpro?System=SAP_XXXXXXXX&WebDynproNamespace=xxxxx.com&WebDynproApplication=xx~xxxx~xxxx/xxxxApp&DynamicParameter=u201DTCODE=VA02u201D
For more information Please go through this:
http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
Thanks
Krishna -
Passing dynamic parameters to BEx WA queries
We would like to be able to filter data and customize BW reports by passing variables to BW queries which could be filled dynamically by user profile attributes. So, a few of questions related to BW iView:
1. How can User attribute be referenced or specified as UME variables in the query string ? Or, in other types of iViews ?
2. What is the difference in passing these as Application Parameters or Parameters Forwarded to BEx Web Application in BW iView?
3. Would it be more efficient to pass the user id or just a session data to BEx? Allowing BW to figure out the other user related parameters [for example job role, geography, etc. ] from BW user directory and apply them to the parameterized query internally on the BW server.
Thanks in advance,
Jerzyhi,
Below format you can pass the value for bw report .
For Query report: cmd=ldoc&query=Query_name
For Template report:cmd=ldoc&template_id=Template_name
If you want pass more value, you can append with '&' symbol in the query string. -
Hi,
Is there any way to pass parameters dynamicaly to a Web Start application? Using jnlp->application-spec->arguments in jnlp files seems all static, unless I want to generate the jnlp file itself on the run. When I use JSP that includes Applet, I can pass session information and user inputs into the Applet by using something like this:
<OBJECT ....>
<PARAM name=USER_NAME value="<%=session.getAttribute("userName")%>">
</OBJECT>
Is there any similar machenism for Web Start?
Thanks a lot.
-Fang LuThe normal way to do this is to dynamically generate the jnlp file. This can be done in javascript, by jsp, or by a servlet such as the JnlpDownloadServlet provided in the developers pack.
-
How to pass dynamic parameters in ODI
Hi
I am using ODI tool for EL-T, i want to understand how dynamic parametrs can be passed from an interface to another. Output of one interface should be the input for another interface. Please advice how to achieve this in ODI?
Regards
PrakasamHi Prakasam
You are best posting this on the ODI forum.
ODI has variables that you can read and use in an interface. To change their value within an interface I think you'd need to customize the KM and use the ODI substitution API.
Cheers
David -
Passing Dynamic Parameter to URL
Hi All,
I have a Webdynpro Application, where I am calling a separate iView through a URL (Quick link to that iView) using a LinkToAction UI element.
Now, we need to pass a parameter (say Part Number) to the external iView through our webdynpro application.
The external iView when called should be filled with a value by default. This value has to be retreived on some parameter from the main application.
Can anybody suggest how to achieve this? We are presently using a common URL, so when the external window opens the iView will be blank. But now we need that when the user navigates to the external window, it should appear with the corresponding value.
How can we make the URL to pass dynamic parameters?
Any suggestions on this will be appreciated.
Thanks,
Becky.Hi Becky,
A Web Dynpro application can get URL parameters passed to the iView with the following code:
WDProtocolAdapter.getProtocolAdapter().getRequestObject().getParameter();
You can send URL parameters to a Web Dynpro page in the following ways:
● Add to the URL a parameter called DynamicParameter, whose value is a set of key-value pairs to send to the page.
The following is the format for the DynamicParameter parameter:
DynamicParameter="param1=value1¶m2=value2&"&
The value ("param1=value1¶m2=value2&") must be URL encoded.
● Add to the URL parameters that start with sap-.
● Add parameters to the businessParameters parameter of the navigateAbsolute() or navigateRelative() method, as described in Absolute Navigation and Relative Navigation.
iView Parameters
The following are the URL parameters that get passed to each iView on the page, and then to the underlying Web Dynpro application:
· The static parameters defined in the Application Parameters property for each iView. The property value is a set of key-value pairs in the following format:
param1=value1¶m2=value2&
· The parameters passed to the page (those defined in the DynamicParameterparameter as well as all parameters starting with sap-).
For isolated iViews in a Web Dynpro page, only the parameters specified in the Parameters to Pass from Page Request property for each iView are passed to that iView.
The property value is a list of parameter names, separated by commas, as follows:
param1,param2,param3
To specify all parameters, enter an asterisk (*).
We did same for one of the requirement in our project let us know if you have any issues.
Regards
Jeetendra -
How to have dynamic parameters with nonstandard taglib with JSTL
Hello, I am using webwork 2.2.7, tomcat 4.1 (I have a java 1.4 requirement unfortunately), and jakarta-taglibs-standard-1.0.6 and some nonstandard taglibs and need to pass dynamic parameters to the nonstandard taglibs.
I can see that the standard taglibs handle the ${foo} syntax for attributes but the nonstandard taglib is just getting set with "${foo}". I really need to set attributes of the nonstandard taglib with dynamic parameters. Is there some combination of c:set and the <%= syntax that can work?
I have tried the following which does not work:
<input:selectBox options="${accounts}"/> <!-- the nonstandard taglib just has the options property set as the literal string "${accounts}" -->
I was thinking something like the following might work but it doesn't
<c:set var="accounts" value="${accounts}"/> <!-- the core taglibs can deal with ${accounts} appropriately -->
<input:selectBox options="<%=accounts=%>"/>
I don't care how but I need to somehow access ${accounts} and set that Collection as an attribute of the taglib. Can anyone please help me solve this problem? Thank you very much.
This is related to this thread: http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0
Joe.Discussion continued in [the original thread|http://forums.sun.com/thread.jspa?threadID=5389311&tstart=0].
May as well keep it all together. -
Passing dynamic parameter to stored procedure from CR formula?
Dear all,
I need to insert in some textboxes the right string based on the desired Language Code.
I crated a stored procedure in my db.
CREATE PROCEDURE MY_GET_TRANSLATION
@TextID nvarchar(8),
@LangCode int
This parameters are used as keys to get the Trans field.
I created a workshop formula: GetTranslation
Please, can someone suggest the correct statement to call my MY_GET_TRANSLATION stored procedure passing parameters?
I would like to call the GetTranslation formula from all my textboxes, passing the specific TextID value
and visualized the right translated string.
For example:
in my TEXT1 textbox, I would like to call the GetTranslation formula passing the parameters
TextID = "T000001"
and
LangCode = 13 (Italian language)
How can pass dynamic parameters to a formula?
How can pass dynamic parameters to a stored procedure from a CR formula?
Regards
EmanueleDear Jason,
I'm trying to modify a SAP B1 CR marketing report.
This CR marketing document is called by SAP B1 automatically passing the Document Number and Document Type.
The report uses the right SAP B1 tables to read the information of the header and rows of the document.
The language of the document is contained in a field of the header table
{MyMarketingDocTable.LanguageID}
I created a user table named "MyTranslationTable" where I added some strings in different langiages.
For example:
TexiID TextString LangID
T00001 Delivery 8
T00001 Consegna 13 (Italian translation)
T00002 Invoice 8
T00002 Fattura 13 (Italian translation)
In the header of the report I'd like, for example, to visualise the string "Consegna" if my document is a delivery in italian language.
I'd like to implement this method to translate all the textboxes (header, comments, etc.) based on the languageID of my document.
For each textboxes, in the CR designer statically I know what TextID I want to visualized but dinamically I need to pass to my stored procedure the right language. I'd like my report automatically gets the language at run-time. I don't want that when I press the Print-preview button in SAP B1, the report asks to prompt the languageID.
It already read the DocNum and DocType and it already filter the SAP B1 tables basing on the DocNum and DocType of the document. In this way it reads the right row in the SAP B1 table and in this way I can read all the fields of this row (also the languageID of the actual document).
Regards
Emanuele
Edited by: Emanuele Croci on Dec 3, 2010 9:03 AM -
Dynamic Parameters to DB Adapter
What are the different methods to pass dynamic parameters to DB adapter ?
See if this helps..
http://neeraj-soa-tips.blogspot.in/2012/05/multiple-in-parameters-in-db-adapter.html -
Hi,
i have some requirement like this, the client will be giving the url to us with this url the client will be giving the parameter to be passed with this url ,up to this its ok because we will be using URL iview correct?
one more thing the client wants actualy when the page for this URL has been loded then there will be number of hyper links in that iview ,when the user clicks on any of theses links then a parameter should be passed for this every request,can we pass the parameters when the iview has already loded into the portal?
Thanks
AjayHi Rukmani Balamohan,
Configuring URL parameters
http://help.sap.com/saphelp_nw04/helpdata/en/d3/ab0b5decd045e482d0deae9f9c90d5/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8d/8e0c7e477e4239a7ee288d7846a0bb/frameset.htm -
ABAP WebDynpro app calling Transaction iview with Dynamic Parameters..?
Good day!
I need to code a call to a transaction (with dynamic parameters) from an Abap WD application. It appears that to achieve this, the app needs to call a new portal transaction iview, passing the parameters in the call..?
This should ideally be via a Sapgui for Windows, but Html also an option (does it matter with regards to the method used?).
Kindly assist with advise/instructions, idealy with sample code extract to illustrate (new to Abap WD)...
Kind regards
jHi
this will help you doing so
http://help.sap.com/saphelp_nw04s/helpdata/en/18/f96f4132f15c58e10000000a1550b0/frameset.htm
Use BUSINESS_PARAMETERS to pass the data
Abhi -
Passing parameters to RFC iview
Hi
Can anyone let me know how to pass parameters to RFC iview ?
i want to pass the parameter through URL to the RFC iview (funtion_params_name1)
thanksHi Thanks for your reply. I have a RFC function module that accepts two input parameters, queries R3 database and returns table output. Need to create a Portal page for the end users out of those returned data. Your help is much appreciated!.
Hi
Well it is possible
try this....
Create a abap webdynpro application, here you can call the RFC function module as a supply function
get the data from the function module and display it on the webdynpro view
convert this webdynpro to a iview and attach this iview to the portal page.( this is just a few steps process)
thanks
Maybe you are looking for
-
Batch determination During Goods Issue
Greetings.. How to Active batch Determination WHile issuing the goods to Production. I created Class and charachteristics. and assigned to materialmaster . Now at the time issue i need that the system should ask the to check the Batch
-
How can I export a pages file to a .doc and retain the formatting?
Every time i have tried the export and save as a copy features the formatting gets screwed up and leaves me with strange page margins and all my spacing is off. I have to submit a double spaced document with 1" page margins. I have tried the double s
-
Best way to programmatically test opening a pdf
My company, among other things, uses an image processing library to do complex conversions of various types of content ... including pdfs. Sometimes, this library fails and we are looking for a way to, offline, automate the process of checking whethe
-
Track order of my album out of order
Hello, I am having issues with my song order on my itunes. Usually when I put my songs of a certain album in my itunes and click the album tab at the top the songs are in order by track number in my album, but for one of my albums its in a completely
-
Positioning text in smartforms
Hi there. I've got a problem with smartforms. In smartforms I'm using such variables imported from driver program: &var1(60)& &var2(C)& &var3(60)& &var4(C)& &var5(60)& &var6(C)& but now .... when all variables except var5 are filled with