Passing Parameters to an IAC Iview
I am trying to fill in a field name for an IAC Iview. It renders the requested transaction, but doesn't fill out the field. I am using the ApplicationParameter property with an IAC Transaction iview.
In the ApplicationParameter field I just have one value: <fieldname>=<value>
I am able to get this to work using a web gui transaction iview, and it fills out the requested field ok. However, I have to use a IAC transaction iview because of its abiliy to hide buttons and the transaction box, so any clues as to would be appreciated.
Regards,
Tom
Hi Tom,
Please go through these thread, i m sure they will help you.
Passing parameters (input range/more parameters) to IAC Transaction iView
Passing parameters to IAC Transaction iView
http://help.sap.com/saphelp_nw04/helpdata/en/9e/7d9713087311d7b84600047582c9f7/frameset.htm
Regards
Atul Shrivastava
PS: Award points for helpful answer
Similar Messages
-
Passing parameters to SAP Transaction iView
Hi,
We have a SAP Transaction iView (for ERP transaction SWK3) which works fine in our 7.0 portal using the following Application Parameters value:
P_CATID=BO&P_TYPEID=BUS2089&P_INSTID=<Request.P_INSTID>
At runtime, the parameters set with constant values are passed (i.e. P_CATID and P_TYPEID) successfully from the iView, while the url invoking the iView contains parameter P_INSTID which is dynamic (called from another iView).
For example, this may look as follows:
?P_INSTID=000614330000120800
Since we have upgraded to portal 7.4, the NWA log shows the following error for this process suggesting this is not a valid method of passing parameters any more.
om.sapportals.portal.appintegrator.ApplicationIntegratorException: Unable to process template 'P_CATID=BO&P_TYPEID=BUS2089&P_INSTID=<Request.P_INSTID>', because 'P_INSTID' is an invalid terminal property of context 'Request.'.
Please can you advise how to overcome this error for the dynamic parameter.
Thanks,
AlanHi Alexander,
Apologies for the late reply, I've been on an extended period of annual leave.
I've checked back on my notes and we retained the Application Parameters iView setting exactly as I state above but I had to ask our Java developer to explicitly add the static parameters P_CATID and P_TYPEID to the dynamic URL call to launch the iView.
So for example, an example URL would be:
... ivu.view_trip?sap-config-mode=true?P_CATID=BO&P_TYPEID=BUS2089&P_INSTID=000614330000120800
This cured the problem though I'm unsure whether it is still essential that the static parameters need to exist in the iView configuration. We had many issues at that moment in time I was just pleased to find a solution.
Good luck!
Alan -
Pass parameters dynamically to url iview from web dynpro abap
Hi,
I am trying to pass 3 key-value pairs via absolute navigation to a URL iview.
The url expected is : http://www.sap.com?field1=value1&field2=value2&field3=value3
For this, I have done the following:
1) Created a url iview with the 3 parameters in get.
2) Used the pcd location of the url iview and referred it in the navigate_absolute method.
Following is the call:
CALL METHOD lr_port_manager->navigate_absolute
EXPORTING
navigation_target = wa_navigation-target
navigation_mode = wa_navigation-mode
use_sap_launcher = abap_false
business_parameters = l_bus_parameter_tab.
The l_bus_parameter_tab has the key-value pairs populated and I can see them populated.
However, when the url is being called the parameters are not getting passed. Am I missing anything to be passed?
Thanks.Hi Kumar,
I have followed your reccomendation and updated the code and iview properties.
The code now looks like:
l_parameter-key = 'userid'.
l_parameter-value = sy-uname.
INSERT l_parameter INTO TABLE l_bus_parameter_tab.
l_parameter-key = 'portal'.
l_parameter-value = 'test'.
INSERT l_parameter INTO TABLE l_bus_parameter_tab.
l_parameter-key = 'mode'.
l_parameter-value = 'I'.
INSERT l_parameter INTO TABLE l_bus_parameter_tab.
*End of business parameters population
CALL METHOD lr_port_manager->navigate_absolute
EXPORTING
navigation_target = wa_navigation-target
navigation_mode = wa_navigation-mode
use_sap_launcher = abap_true
business_parameters = l_bus_parameter_tab.
launcher_parameters = l_bus_parameter_tab.
However, when the method is called, it does nothing and the url does not get called.
When I manually add parameters to the url iview and preview it, it does the job.
For some reason, these parameters are not getting passed to the url iview or page.
Is there a limitation that parameters cant be passed to url iviews? -
Passing parameters between WDA and Iview URL.
Hi,
I've a Iview type URL and I want to passing parameters through of code of my WDA. I Know to call a Iview for code but I don't know passing parameters. I used this method for call the iview:
CALL METHOD l_portal_manager->navigate_absolute
EXPORTING
navigation_target = path
navigation_mode = if_wd_portal_integration=>co_show_external.
(path = roles//....idiview).
Thanks.Look at this thread..
Re: Get URL Parameter Starting With underscore '_' (_sapwiid)
<i>*Reward each useful answer</i>
Raja T -
Passing Parameters dynamically to an iview in the portal
Hi All,
I have 2 iviews. IviewA, IviewB. These are PAR based iviews(dynpage technology).
IviewA displays a dropdown which contains:
2006
2007
2008.
If the user selects a particular year say 2006 and click next, IviewB should display 2006 data. Right now, it is displaying only 2006 data irrespective of the year selected from the drop down since 2006 value is hardcoded in the property of IviewB.
Is there anyway to pass these parameters (2006,2007,2008) dynamically in portal so that respective year data will be displayed instead of achieving it through coding?
Hope I am clear. Please suggest.
Regards,
Subashini.Hi Subashini,
When a business application uses more than one iView, you need the EPCF service to transfer data between the iViews. The EPCF service provides:
· Mechanisms for eventing between iViews.
· A Java object, called a client data bag, that serves as transient data buffer on the browser.
The EPCF implementation itself is based on JavaScript and Java applets.
Kindly go through the following links, you should find a solution.
Forum threads:
1.
2.
SAP Library:
1. http://help.sap.com/saphelp_nw04/helpdata/en/ce/3e98408d953154e10000000a1550b0/frameset.htm
2. http://help.sap.com/saphelp_nw04/helpdata/en/9f/6fa84016631814e10000000a1550b0/frameset.htm
Regards,
Anagha -
Passing Parameters programtically to Transaction iView
dear friends,
i have created transaction iview and execute fine in preview or anywhere.
e.g. mmbe transaction
Here it goes first directly to selection screen, and after providing the required values, it goes to exact transaction page.
i can do skipping the First page in iView settings,
But the parameters i am sending like
MARAV-MATNR=REL00001I MARCV_WERKS=1810 is not taking
i tried all sort of combination in parameter box,
but no result yet,
can anybody help on this?
I want to call this iView from another iView by providing my own parameters.
can any body help me on this with code.
thanx in advance
regards
kanthaHi kantha,
if you want to pass diff variable values, then you need to pass the variables separated by '&'. More over you are passing values to a wrong screen field names. Usually this happens when screen field name you are passing is wrong. The value appears only when Module Pool Screen field exactly matches with what you are passing.
Try passing Application Parameters:
MS_MATNR-LOW=REL00001&MS_WERKS-LOW=1810 (SAP 4.7 Enterprise)
Material field is MS_MATNR-LOW and Plant Field is MS_WERKS-LOW.
SAP Transaction Iview is an extension of SAP Application Integrator. To know more about how to pass values
http://help.sap.com/bp_epv260/documentation/How-to_Guides/25_HowToUseAppIntegrator_en.pdf
Hope this helps,
Thanks,
Praveen
PS. Dont foget to allot points if useful/solved -
Pass Parameters to T.Code in the portal from aTransaction Iview.
Good Morning.
I published a T.code in the portal as a Transaction Iview. This work fine.
I want pass a parameter to this t.code and that the program ABAP can get this value .
I check a suggestion in the post following :
From Portal transaction iView
I did the steps , but this not work. I don't can get the value passed in the field Applications Parameters.
Attach screenshot with the steps that I did.
[Screenshot|http://www.freeimagehosting.net/uploads/3d4dd249ad.jpg]
I want know how can solve this issue?
Thank in advance.
RegardsHi Carmen,
The bottom line is that this cannot be done for transaction iviews without modifying the standard webgui service in SICF, which is probably not a good idea (since it affects everyone using SAP GUI for HTML). (You could hack the appintegrator to add the ~webgui_simple_toolbar parameter to the transaction URL template in the portal, but again its not a recommended thing to do ...). Better to create an IAC service in SICF with ~webgui=1 where you set the required appearance using an appropriate value for ~webgui_simple_toolbar, and then create an IAC iview to point at this service.
You can even override the ~transaction value configured in the new service in individual IAC iviews by entering the appropriate value in the application parameter of the iview, for example:
~okcode=/nSU01
And you can pass parameters in the same way:
~okcode=/nSU01 USR02-BNAME=xyz;USREFUS-USERALIAS=abc;
By the way, it would not be recommended to create a URL iview to access an IAC, since you are likely to encounter session management issues in this scenario - better to use an IAC iview.
Regards, Rory -
Pass parameters to iView (VC Model) from Portal
Hello All,
In VC, we have a model that has a start point as input with few input parameters.
As per the WIKI note https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passing%2bvalues%2bvia%2burl
We were able to make the VC model read the parameters from the URL. Once we got this working, we created a new page in Portal and we added the VC model as an iview to the page.
Is there a way i could add the parameters as a part of configuration of the page or the iview in the portal?
I would like to know if it's possible to pass the value of InputParameter to iView from portal ?
We tried setting the isolation of the iview to URL, to utilize the parameters property. But we are not able to figure out how to pass parameters from here
Any help would be highly appreciated!
THanks,
NaveenI am using a scenario where a VC form on the front page of our portal sends values to a separate page where the search results are displayed. The url is made up of the PCD id and the neccessary parameters. The target page is displayed as a popup. This works fine. The url looks like this:
http://server:50000/irj/servlet/prt/portal/prteventname/Navigate/prtroot/pcd!3aportal_content!2fint.agra.f0000!2fint.agra.f0060!2fd0001!2fframeworkPages!2fint.agra.p0100!2fcom.sap.portal.innerpage!2fcom.sap.portal.contentarea?NavigationTarget=navurl%3A%2F%2F9c506d0cfa29ad6f8d27790117c4c622&_paramsXmlStr_=<Params><Row%20FSTNAME_M='henning'%20LASTNAME_M='strand'></Params>;
Does this describe a similar scenario as you want?
Henning Strand -
How to pass selection screen parameters to a BEx IView?
Hi Experts,
I have added BI Reports in EP and I want to pass the default input parameters to the BI IView as soon as its accessed in EP.
Can some one tell me how can I achieve this? Is there a way to pass the input parameters in the "Application Parameters" property of the BEx Iview?
Regards,
Shobhitdon't you mean he other way around. Assign text-elements (selection texts) to select options?
This you do in the menu where you can find text-elements, selection texts.
menu Goto->text elements->selection texts.
Edited by: Micky Oestreich on May 10, 2008 2:45 PM -
Transaction iView - pass parameters to non-default tab
Hi Experts,
I have a requirement to call transaction iView from Webdynpro ABAP application by passing some default values.
I am able to call the iView and also able to pass parameters. My requirement is to pass values to the tab in iView which is not the default tab when I execute the TCode.
Is this possible using absolute navigation...??
If yes please let me know how can that be achieved...
Thanks in Advance....!!!!
Regards,
Shruti ShahHi,
Do you already know a way to reach this transaction to a desired tab with out using webdynpro ?. Is it possible at all in any way to start this transaction and position to a particular TAB.
If you do not know that then i am afraid that no one could help you out in forum.
Good luck -
Hi all,
any one have idea how to pass values to IAC iview from webdynpro...
i have purchase order screen i hvae to pass purcahse order and item no as parameter to IAC iview...
any one have any details document for creation of iAC iviewHi,
WDPortalNavigation.navigateAbsolute should be solving the purpose.
This link might be helpful to you
http://help.sap.com/saphelp_nw04s/helpdata/en/c3/235a428a1e9041e10000000a1550b0/frameset.htm
Regards
Santhosh -
Passing parameters to a BW Report iView dynamically
Hi All,
I want to pass parameters to a BW Report iView at runtime. The requirement is as such:
I have got some screen selection in a webDynpro iView and I need to pass all those selected values to a BW Report iView based on the user selection. eg. start date and end date selection.
This is on priority please help me as soon as possible.
Thanks in advance,
MurtuzaHi Rajat,
I will try to describe my requirement once again. The iview A is the webDynpro iview and iview B is the BW Report iview. Now I want to make some selections in dropdown ,calendars and input fields in ivew A and then make a call to the iview B with all those parameters so that iview B can fire a query based upon the parameters.
ie. if I selected say startdate as today's date then this should be passed as a parameter to the BW Report iview and i need to set the application parameter for the BW Report ivew. Hope the reuirement is clear now. Please help me.
Thanks,
Murtuza -
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 -
Hi all,
I want to know is there any way to pass parameters from one URLiview to another URLiview in the portal without coding in webdynpro java. Can we declare this parameters anywhere in the portal?
Thanks in advance,
Bhaskar.Hi jitender,
Thank you for your reply. But, after i have created an URLiview in the portal, there is a property called 'Parameters to Pass from Page Request(for URL isolation )'. I suppose this is the property to be used to pass parameters to another iview. But i want to know how to access this parameter from second iview.
My requirement is how to pass a parameter(suppose a string) from iview1 to iview2 in poratal without using 'programming portal eventing' or EPCM in webdynpro java. -
Is it possible to pass parameters as query string to url iview of of sap tr
I have created sap transaction iview . and created url iview for this sap transaction iview. Now i want to pass the parameters to this url iview as query string? and this parameter values should populate in the sap transaction screen . Have any body worked on this?
pl. help.
thanksURL iview I think is not the right way to do this.
For this we have several templates calles application integrator.
BR, Oliver
Maybe you are looking for
-
Question is simple enough, Oh and by the way, my system is NOT what this forum page has decided to tell me that it is (no way evident to change it).
-
How do I get Skype to work on my ipad2 I only want to use skype to skype
I have Skype downloaded on my Ipad 2 but want to use it. I set up my login name and password. I can login but don't know how to add new people to my skype account. These are people that already use skype.
-
Error in Transport Request PRD to Test application
Dear all, We are in process of doing reverse transport from PRD to TEST system. i have opened the PRD system and collected the objects in TR and once again done the transport of copies in PRD system after transport of copies, i tried to import the TR
-
Regarding debugger...
Hi, Can anybody provide the material for debugger in ABAP. Thanks in advance Badri.
-
Error while installing photoshop cs6 beta
i get an error during installation that displays the folowing error. FATAL: Payload '{11C0657F-2BD4-4CBC-87F3-9455DC91886E} Recommended Common Fonts Installation x64 6.0.70.0' information not found in Media_db. Any ideas on how to install? Regards, N