Passing parameters to IAC Transaction iView
Hi guys,
Anybody knows how I can carry out this task? I have a page that has some value that I would like to pass to an IAC Transaction iView via the URL.
Thanks!
Check this out:
http://help.sap.com/saphelp_nw04/helpdata/en/5a/6898dddb7afd44b07ca4e3bb15f676/frameset.htm
All u need to do is append the screenfield values and pass it to the URL.
Something like this:
Eg:
<script>
Screen_field_Value = 'XYZ';
dynP = "?DynamicParameter=Screen_field1" +Screen_field_Value + ";";
</script>
<hbj:link id="l1" text="IAC - Link1">
<% l1.setOnClientClick("EPCM.doNavigate('ROLES://portal_content/com.sap....../myIACIvu' + dynP ,1);void(0);"); %>
</hbj:link>
Plz don forget points, if it helped.
Regards,
P.
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 -
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 -
Error while passing Application Parameter in Transaction iView editor
Dear all
I am trying to pass some application parameters to one of the transaction iViews. Without passing any parameter in 'Application Parameters' field of the iView editor the iView can be previewed/displayed fine. But when I am trying to pass the parameters as follows <Screen_Parameter1>=<ABC>&<...>=<...> the preview is coming up with a Portal runtime error saying that the <Screen_Parameter1> is an invalid terminal property of the root context_
Can anybody help me out with this?
MAQIn any application parameter field u need pass screen_field
u need to find the screen_field value first .
login to backend ECC server , give u r required Tcode .
click in required field , press f1 -> click on Technical setting icon on top .
in that screen , screen_field is the last field .
copy this screen_field value
place ths screen _field value in application parameter field .
example : rs38-programm=ztest
here re38-programm is the screen field
ztest is it's value .
& this is used for the separator between 2 values -
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 -
CRM 5.0 BP - Account Fact Sheet session pass to R/3 transaction iView
I am using CRM 5.0 business package in EP 7.0 and I am customizing the "Sales Representative" CRM role in Portal.
<b>Scenario:</b>
I navigate the 'Account Management - Overview' and select an account. Then I navigate to the 'Fact Sheet' link and I can automatically see the account selected earlier in the 'Fact Sheet Summary'.
I have created an R/3 transaction iView which brings up the 'Sales Summary' transaction (vc/2). The session information about the account is not getting passed automatically to the transaction like it happened with the other links. Is there a way to pass the customer number from the existing session automatically to this R/3 transaction?
Thanks,
YasinWe are encountering the same issue; have you had any luck?
-
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 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,
TomHi 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 -
Hi,
I have basic question regarding VC modelling.
Is it possible to use a EP transaction Iview in VC modelling to hand over input parameters for the transaction iView?
I have created a transaction iView in EP that needs a document number as input. I would like to select this document from a list in a VC model.
How can I make a EP iView available in my VC model? And can I pass data between the iViews?
Thanks for tipps,
DominikIn this document something similar is done with BW. What is used is the Portal eventing:
How to Integrate Visual Composer Applications and BEx Web Templates
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
Or if your transactional application supports parameters through URL, you can use the HTML-View.
Mario -
How to move from one transaction iView to another without losing the info.
Hello expert,
Is there a way to configure multiple transaction iViews in away that when I click on another iViews and want to go back to the old one, then the information is still there? For example, we have a customize transaction that is fetched by running CM07. I want to create two iView (CM07 and the custom transaction) in away that a user will type in the info on the CM07 iView, then click on the custom transaction iView to view the selection from CM07. However all the information should be there when the user going back to CM07. Right now when we are clicking from one iView to another, we have to type in the information again on CM07.
Thank you.Hi ,
See the thread below .I hope It will resolve your issue
passing values between two transaction iviews?
Koti Reddy
points are welcome if it is helpful! -
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 -
Navigate to Transactional iVIEW by passing parameters & UWL
Hi Experts,
I have 2 queries here,
1>>
I understand that to navigate to a transaction from webdynpro a transactional iview has to be used. In my case i have to navigate to ME51 from the component and display the transaction with the details of a paticular purchase requisition. So my question is can i pass the PR no. to the iview and display the right screen of the transaction.
2>>
On click of an other button i need to navigate to the Universal Work List(UWL) of that User, does this require us to embed the UWL in an iview as well?
Thanks In Advance,
Chaitanya.Hi,
In Portal, when you are creating a Trans. Iview check the properties. I guess there should be parameters for that.
Regards,
Lekha. -
Passing Parameters Transaction iView
Hi!
I have created a SAP transaction iView that calls the transaction MM03. I know that we can pass application parameters by defining them in the iView properties. On the SAP help website, its given in the syntax <Screen_field1>=<parameter1> and so on for all the parameters.
How do I find out the name of the screen field? For example, I want to pass the material number VPP27. So it should be, <Screen_field1>=VPP27. But how do know what the screen field is called? I tried giving in Material, but it doesnt work..
Anyone know a way out?
SameerYou can position the cursor at the field within the transaction in R3, then use the F1 key (for help), followed by F9 (for technical help). You should see a pop-up showing the screen field names for the present field that the cursor is on.
Maybe you are looking for
-
Trying to understand the 101 543 subcontract postings
I am activating subcontract functions in a retail environment. Every thing is working however I do not understand why SAP is posting the consumption of the component with 3 line on the accounting document that net to zero. EXAMPLE: Itm PK Account
-
Need HELP...My iphoto's have disappeared...
Please can anyone help a really dumb person (ME) who was trying to print some photo's from iphoto and it would not work so I went to the info box and tried to get them to open in another users iphoto as their pics would print...Now I can't find my 2,
-
AM - Flash Recovery - Backup Restore
Hi, We do use tapes as a backup media. We have a backup server stored offsite. Is it possible to create a backup of the FRA (using ASM diskgroup +FRA) on the remote backup server using RMAN? Thanks
-
SCVMM R2 - "Incomplete VM configuration" and other bugs like "failed" status
Noticed a lot of machines in SCVMM go into an irreversible "INCOMPLETE VM CONFIGURATION" status. All options to manage the machine are then grayed out. A couple options like "repair" and "refresh" are available, neither of which solves the problem.
-
Hi, Our customer is using moving average costing. They sometimes get different cost values between PA and FI because the cost posted to FI is based on the goods issue date whereas the cost posted to PA is based on the invoice date. The pricing date s