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)
thanks

Hi 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

Similar Messages

  • Passing parameters to RFC enabled FM

    Hi,
    I have following data defined..
    DATA: BEGIN OF *aaa OCCURS 0,
              END OF *aaa.
    I want to call an RFC enabled FM in another system and pass this data. Also I want to receive lots of such internal table data (*bbb, *ccc, *ddd )in return from there.
    How do I pass *aaa to the FM ?
    From the FM how do I return those many internal tables.
    can i have the statements please ?
    thks

    Hi,
    you define the function module and all the incoming and outgoing parameters you need in the target system. Then write a small ABAP program in the target system, using the function module pattern:
    in SE80 ABAP Workbench choose menu -> edit -> pattern -> function module and supply the name of your function module. This gives you the ABAP code for calling the function module locally. Copy the function call to the source system, and add the statement 'DESTINATION <rfc_dest_target_system>, where <rfc_dest_target_system> is an RFC connection to the target system. The function call in the source system should then look like this:
    CALL FUNCTION'<function_in_target_system> DESTINATION <rfc_dest_target_system>
      EXPORTING aaa = local_aaa
      IMPORTING bbb = local_bbb
    Hope this helps,
    Peter Glas

  • Pass parameters to transaction iview from WDA

    Hi
    I have looked at a lot of posts on this subject but haven't come across a definitive answer. 
    Currently I am passing values as below to navigate to transaction RECN.  The navigation is fine but the parameters are having no effect at the moment.
    Can anyone enlighten me?
    Cheers
    Ian
    ls_launcher_parameters-key = 'BDC_CURSOR'.
      ls_launcher_parameters-value = 'RECN_CONTRACT_X-RECNNR'.
      APPEND ls_launcher_parameters TO lt_launcher_parameters.
      ls_launcher_parameters-key = 'BDC_OKCODE'.
      ls_launcher_parameters-value = '/00'.
      APPEND ls_launcher_parameters TO lt_launcher_parameters.
      ls_business_parameters-key = 'RECN_CONTRACT_X-RECNNR'.
      ls_business_parameters-value = lv_recnnr.
      APPEND ls_business_parameters TO lt_business_parameters.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_portal_manager = lo_api_component->get_portal_manager( ).
      CALL METHOD lo_portal_manager->navigate_absolute
        EXPORTING
          navigation_target   = 'ROLES://portal_content/(blahblah)'
           navigation_mode     = if_wd_portal_integration=>co_show_inplace
         window_features     =
           window_name         = 'Real Estate Contract'
           post_parameters     = abap_true
          use_sap_launcher    = abap_true
          business_parameters = lt_business_parameters
          launcher_parameters = lt_launcher_parameters

    Hi,
    Try to set param1 value to English (even 'a' would be OK) and see if it works.
    If yes, you need to encode your parameters by using URLEncode.encode.
    Regards,
    Omri

  • Passing parameters in iviews

    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.

  • Passing Parameters to iView

    Hello Experts,
    I want to pass a simple parameter from one iView to another. How do i pass it using EPCM.doNavigate? my code in asp is
    Response.Redirect("url to navigate" + "?ID=V")
    Request.QueryString\["ID"\] == "V"
    I do some validations based on this querystring.
    I need an equivalent for this in portal. I skimmed through many earlier posts but din't get a proper solution. Could you plz help me out with the simplest possible way ASAP.
    Regards,
    Madhesh
    Edited by: Madhesh P on Jan 7, 2008 5:21 AM

    Hi Madesh,
    You can use custom events for passing parameters from one iView to Other. 
    Or
    If the parameters are to be used in more than one iView you can use session variables.
    Regards,
    Ashutosh

  • Pass paramenters from WDJ iView to Transactional iView

    Hi All
    I have a scenario where I need to pass the parameters from webdynpro Java iView to Transactional iView. We are implenting LSO and for a Manager role we deployed the MSS BP to access "Employee Search" iView. I created a transactional iView for transaction LSO_PV00. Created a page with these two iViews. Now the page will show the employees list for that manager and T iView. When I click the employee name, is there a possibility to set the employee's personal number in the input field of the transaction iView?
    I am not sure will this be possible withou any code changes, but just wanted to have the input from SDN before coming to conclusions.
    Thanks, Raj

    you can pass the screen field of transaction uisng Application Parameters property of the transaction iView.
    To know the parameter to be passed,
    Press F1 in the input field and Click on Technical Information Icon at the top,then screen field name is the paraameter name to be passed for transaction.
    Use WDPortalNavigate to pass paramter from Webdynpro.Check this link
    Passing Parameters to Transaction Iview
    If you WD appl is a standard one,then you might need NWDI to make changes in the same

  • RFC iView Parameters

    Hi all.
    I want to create a RFC iView passing a few parameters, but I cannot input a fixed value; I want to call it using SY-DATUM, SY-UNAME and things like that...
    Is it possible?? How??
    Thanks in advance.

    Hello Carlos,
    M not sure weather m rt or not but as far as ur RFC for R/3 is concerned you can create either SAP transaction Iview or SAP WebDynPro Iview Aftre creating system that connects ur Portal with R/3 Backend.
    Regards.
    Soni Vinit

  • 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.
    Regards

    Hi 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,
    Naveen

    I 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

  • 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,
    Alan

    Hi 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

  • 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 Shah

    Hi,
    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

  • 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

  • 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,
    Murtuza

    Hi 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 from iViews to WAD Templates

    All,
    I'm a .Net developer new to the SAP world, so excuse me if I say anything ignorant about SAP.
    I want to pass some parameters from an iView to a Web Application Template. Then I want to be able to reference those variables in the Template and pass them to another Template. I know in the ASP world, I can refer to the Request object in the code behind. I do not know how to reference the request variables in the Template.
    Here's what I've tried with no luck (I want to be able to reference the variable "QueryName" in the Template):
    BEx Web Application Query String: cmd=ldoc&template_id=XROMO_IVIEW_PARM&QueryName=WhatDoYouKnow
    Web Application Template:
    <script language="javascript">
    function WindowOnload() {
    frmApp.romo1.value = '<Request.QueryName>';
    frmApp.romo2.value = "Request.QueryName";
    </script>
    </HEAD>
    <BODY onload="WindowOnload();">
    <form id="frmApp">
    Passed Query Name <input type="text" name="romo" value="<request.QueryName>">
    <br><hr>
    Passed Query Name <input type="text" name="romo1" value="">
    <br><hr>
    Test Parm Set <input type="text" name="romo2" value="">
    </form>
    Any help provided would be greatly appreciated.
    Thanks,
    ROMO

    To get the value of a parameter in the URL...
    Get the URL string and parse it.
    <script language="javascript">
    function WindowOnload() {
    var url = location.href;
    var i = url.indexOf("QueryName=") + 10;
    frmApp.romo1.value = url.substr(i,8);
    </script>
    -OR-
    Second option is to use the Text Elements web item to get the technical name of the query.

  • Passing parameters from URL to multiple iViews on a page.

    Hi Everyone,
    Could you please point me to a guide or howto, which explains on passing parameters from URL to multiple iViews on a page. I already know how to pass parameters from URL to a single iView (wiki).
    Thanks!
    Indy

    Hi Indy,
    Currently, passing parameters to the page which contains VC iViews is not supported, only directly in the iView's URL.
    Regards,
    Natty

Maybe you are looking for

  • How to get rid of Safari !!!!!

    I must have missed the message to install Safari during one of the many iTunes updates and now I'm stuck with it on my computer taking up 60GB of space! I've tried removing it through Control Panel -> Uninstall Programs, but get the message that I do

  • How do I use Safari or Outlook Express for e-mail?

    I have Mac OS 10.3.5 and Safari. I am going to switch my ISP with AOL dial-up to a DSL company possibly with Yahoo. I have never used Outlook Express. Now, I want to use either Safari or Outllok Express 5.0 for my e-mail. I want to save all the e-mai

  • Fi-mm procurement

    SAP guru's:- in fi-mm procurement flow in the one step is the PRODUCTION receipt: stock finished goods a/c...... Dr To stock increasing/decreasing finished goods a/c |-->if the Production order,. GBB ZAF, And if the not production order GBB ZOF , is

  • Issue in Program for mass creation of customer plans.

    Hello all, I am working on a program which helps mass creation of customer plans. My code works well, when no planning account is assigned,  but when I pass the planning account value into the Function module, it gives me an error saying ' Account ca

  • How can I clear star up disk - keep getting message that it is almost full

    How can I clear star up disk - keep getting message that it is almost full