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

Similar Messages

  • 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

  • Unable to create RFC iviews - connection test of the system failed

    hello,
    I always try to configure my system to run an RFC iView...
    The connection of myt system is failed for 1 of the 4 tests.
    i don't know why.
    I have filled this fields :
    - application host
    - ITS host name
    - ITS path
    - ITS protocol
    - Logical system name (not sure it's correct)
    - Sap client
    - Sap system ID
    - SAP system number
    - Server port (not sure it's correct)
    - System type
    - Web as host name
    - Web as path
    - Web as protocol
    and i have this error :
    SAP Web AS Connection
      Test Details:
    The test consists of the following steps:
    1. Check the validity of the system ID in the system object
    2. Check if the system can be retrieved
    3. Check if a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Check HTTP/S connectivity to the defined back-end application
      Results
    1. The system ID is valid
    2. Retrieval of the system was successful
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name (wsapv49.dhcp.xxx.xx.xxxx:8045)
    5. HTTP/S connection successful
    ITS Connection
      Test Details:
    The test consists of the following steps:
    1. Check the validity of the system ID in the system object
    2. Check if the system can be retrieved
    3. Check if the system object has a valid system alias
    4. Check if a SAP system is defined in the system object
    5. Validate the following parameters: ITS protocol; ITS host name
    6. Check the validity of any user mapping in the system object
    7. Check HTTP/S connectivity to the defined back-end application
      Results
    1. The system ID is valid
    2. Retrieval of the system was successful
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ITS Protocol (http) ITS Host Name (wsapv49.dhcp.xxx.xx.xxxx:8045)
    6. HTTP/S connection successful
    Test Connection with Connector
      Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
      Results
    Retrieval of default alias successful
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Test Connection through the DQE
      Test Details:
    The test consists of the following steps:
    1. Checks the existence of a backend admin user ID/password in the system properties.
    2. Checks the existence of a default alias for the system.
    3. Checks the DQE connection.
      Results
    1. DQE admin user ID or password is missing in the system properties. Make sure those properties exist for this system object.
    2. Default alias of the system exists.
    3. DQE connection successful. If you continue to experience problems, verify the DQE admin user ID and password properties for this system object.
    can you help me to end this configuration?
    thanks a lot.
    (reward points for helful answers...)
    Adrien

    doesn't work, doesn't work... :o(
    I found this in "analysis" -> "Debug"
      error 3 mai 2007 16:49:32:168 Failed to get connection for system final
    /System/Server com.sap.portal.ivs.connectorService sap.com/irj admin ITEM-31892 Server 0 0_33638
      error 3 mai 2007 16:49:32:168 (R3/BW) Failed to get connection. Please contact your admin.
    /System/Server com.sap.portal.connectors.R3 sap.com/irj admin ITEM-31892 Server 0 0_33638
    i found too a -BIG- file in the directories, "last block" of the file
    #1.5#000D56D8CEA2005D0000001500000FC400042F9201A5E5D2#1178204046283#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Administrator#49##ITEM4531892.dhcp_J2E_3363850#admin#1a943a10f98511dbc5d6000d56d8cea2#SAPEngine_Application_Thread[impl:3]_3##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.
    Exception id: [000D56D8CEA2005D0000001300000FC400042F9201A5E071]#
    #1.5#000D56D8CEA2005D0000001600000FC400042F9201A76132#1178204046383#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#Administrator#49##ITEM4531892.dhcp_J2E_3363850#admin#1a943a10f98511dbc5d6000d56d8cea2#SAPEngine_Application_Thread[impl:3]_3##0#0#Error##Plain###Cannot send an HTTP error response [500 Application error occurred during request processing. (details: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.)]. The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.
         at com.sap.engine.services.servlets_jsp.server.runtime.client.GzipResponseStream.write(GzipResponseStream.java:209)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.GzipResponseStream.write(GzipResponseStream.java:193)
         at com.sap.engine.services.servlets_jsp.server.runtime.client.HttpServletResponseFacade.writeError(HttpServletResponseFacade.java:952)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.sendError(HttpHandlerImpl.java:955)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleGeneralException(HttpHandlerImpl.java:860)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.processError(HttpHandlerImpl.java:851)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    #1.5#000D56D8CEA2005D0000001800000FC400042F9201A765B7#1178204046383#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Administrator#49##ITEM4531892.dhcp_J2E_3363850#admin#1a943a10f98511dbc5d6000d56d8cea2#SAPEngine_Application_Thread[impl:3]_3##0#0#Error#1#/System/Server/WebRequests#Plain###Cannot send an HTTP error response [500 Application error occurred during request processing. (details: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.)].
    The error is: com.sap.engine.services.servlets_jsp.server.exceptions.WebIOException: An attempt to write after the stream had been closed.
    Exception id: [000D56D8CEA2005D0000001600000FC400042F9201A76132]#
    and with another test connector
    #1.5#000D56D8CEA200600000001800000FC400042F921D02D625#1178204505301#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#sap.com/tcwddispwda#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#SAPEngine_Application_Thread[impl:3]_14##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: The connection is closed.
    Exception id: [000D56D8CEA200600000001600000FC400042F921D02D1AE]#
    #1.5#000D56D8CEA200560000001600000FC400042F921D39B77B#1178204508896#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoInit()-> enter#
    #1.5#000D56D8CEA200560000001700000FC400042F921D3AE547#1178204508977#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###connectToSystem()->Selected Systemnull#
    #1.5#000D56D8CEA200560000001800000FC400042F921D3BE964#1178204509037#com.sap.tc.lm.ctc.provider.configurationmanager.ConfigManagerReader#sap.com/tcwddispwda#com.sap.tc.lm.ctc.provider.configurationmanager.ConfigManagerReader#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###getElement(String, Filter, int):NamedLocatedElement!ConfigManagerReader.SEARCH_FOR!CTC#
    #1.5#000D56D8CEA200560000001900000FC400042F921D414CF2#1178204509397#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoInit()-> leave success#
    #1.5#000D56D8CEA200560000001A00000FC400042F921E69A639#1178204528816#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoModifyView()-> enter#
    #1.5#000D56D8CEA200560000001B00000FC400042F921E69A953#1178204528816#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#sap.com/tcwddispwda#com.sap.tc.lm.ctc.ccl.templateinstaller.TemplateInstallerCompView#Administrator#49##ITEM4531892.dhcp_J2E_3363850#Administrator#fd2a66f0f98611dbcb21000d56d8cea2#ID\#(J2EE3363800)ID0180043050DB10318128463979236974End.32388e30f98711dba6e6000d56d8cea2##0#0#Info##Plain###wdDoModifyView()-> success#
    #1.5#000D56D8CEA2006E0000010500000FC400042F9231C81C6F#1178204853786#com.sap.portal.connectors.R3#sap.com/irj#com.sap.portal.connectors.R3#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#SAPEngine_Application_Thread[impl:3]_9##0#0#Error#1#/System/Server#Plain###(R3/BW) Failed to get connection. Please contact your admin. #
    #1.5#000D56D8CEA204E70000000100000FC400042F9231C90EA8#1178204853846#com.sap.engine.services.dqe#sap.com/irj#com.sap.engine.services.dqe#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#Thread[Log_Worker_6,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error#1#/System/Server/DQE#Plain###mai 03, 2007 17:07:33.786 [SAP_HOST|4039|SAPEngine_Application_Thread[impl:3]_9] <CONNECTOR.ERROR> Error trying to establish connection to the EIS : final Connection Failed: Nested Exception. Failed to get connection. Please contact your admin. #
    #1.5#000D56D8CEA200690000001E00000FC400042F92335B4C9E#1178204880215#com.sap.portal.connectors.R3#sap.com/irj#com.sap.portal.connectors.R3#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Plain###(R3/BW) Failed to get connection. Please contact your admin. #
    #1.5#000D56D8CEA200690000002000000FC400042F92335B4FE3#1178204880215#com.sap.portal.ivs.connectorService#sap.com/irj#com.sap.portal.ivs.connectorService#admin#47##ITEM4531892.dhcp_J2E_3363850#admin#e91a07a0f98711db85f4000d56d8cea2#SAPEngine_Application_Thread[impl:3]_35##0#0#Error#1#/System/Server#Java###Failed to get connection for system #1#final#
    i happy to carry my life's number one goal with another guy
    (thanks, again and again)
    Adrien
    Message was edited by:
            Adrien Loire

  • Create SAP RFC iView with a structure as import parameter

    Hello All,
    I'm creating a SAP RFC iView from Portal SAP 7.4.
    I try call a RFC that have as import parameter a structure with various fields, but the portal recognizes the structure as string field, then I cannot fill the fields values, and when  I do a preview the iview, the following error occurs:
    Function execution failed. Exception message: class java.lang.String:null incompatible with class com.sapportals.connectors.SAPCFConnector.execution.structures.RecordWrapper:sap.com/[email protected]MultiParentClassLoader@80d4ed6@alive
    And only is possible select a output object.
    Exists any way of receive a structure or a table as import parameter?, and as output parameters more of a element?
    Thanks for your collaboration.

    Hello All,
    I'm creating a SAP RFC iView from Portal SAP 7.4.
    I try call a RFC that have as import parameter a structure with various fields, but the portal recognizes the structure as string field, then I cannot fill the fields values, and when  I do a preview the iview, the following error occurs:
    Function execution failed. Exception message: class java.lang.String:null incompatible with class com.sapportals.connectors.SAPCFConnector.execution.structures.RecordWrapper:sap.com/[email protected]MultiParentClassLoader@80d4ed6@alive
    And only is possible select a output object.
    Exists any way of receive a structure or a table as import parameter?, and as output parameters more of a element?
    Thanks for your collaboration.

  • Error In EP RFC IVIEW

    Dear Experts,
    While executing a FM in EP RFC Iview I am getting this error. Can Anyone Help.
    Function execution failed.
    Exception message: Nested Exception.
    Failure to execute native function. Connection Failed: Nested Exception.
    Native connection to the back end system is broken.
    Thanks & Regards
    Rajiv Roshan

    Whatever You have said is done.
    Actually I want to open Microsoft Excel in EP. For this I created an RFC IView and there I am calling my RFC. The RFC name and parameters are coming fine. But While previewing I am getting this Error.
    In The RFC I have written The following Code:
    CALL METHOD cl_gui_frontend_services=>execute
      EXPORTING
        DOCUMENT               = iv_file
       APPLICATION            =
       PARAMETER              =
       DEFAULT_DIRECTORY      =
       MAXIMIZED              =
       MINIMIZED              =
       SYNCHRONOUS            =
        OPERATION              = 'OPEN'
      EXCEPTIONS
        CNTL_ERROR             = 1
        ERROR_NO_GUI           = 2
        BAD_PARAMETER          = 3
        FILE_NOT_FOUND         = 4
        PATH_NOT_FOUND         = 5
        FILE_EXTENSION_UNKNOWN = 6
        ERROR_EXECUTE_FAILED   = 7
        SYNCHRONOUS_FAILED     = 8
        NOT_SUPPORTED_BY_GUI   = 9
        others                 = 10
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    In Iv_file if we give 'Excel' in R/3 it opens a new Excel Sheet, but in EP it is giving that error.

  • How to use URL iview parameters??

    Hi all,
    i have created a URL iview  to www.gmail.com, now my requirement is i dont want to give user id and password and it should logged me in directly so for that i need to make use of URL iview parameters, but i am not aware of how to use it, can anybody help me to resolve this issue??
    Thanks in advance,
    Regards,
    Ameya.

    Hi Ameya,
    Basically, you need to create a HTTP system, then create a URL Iview giving this http system as a reference in it.
    Check this <a href="https://www.sdn.sap.com/irj/sdn/thread?threadID=389042">thread</a> for details.
    You can also refer to
    <a href="http://help.sap.com/saphelp_nw70/helpdata/en/f5/eb51730e6a11d7b84900047582c9f7/frameset.htm">SAP Help Library</a>
    cheers~
    avadh

  • Steps to create RFC iview

    Hi ,
    I am new to create RFC iview,
    So please let me know steps to create RFC iview and one Example.
    regards
    mmukesh

    In its simplest steps:
    1 Create an SAP system in the system landscape - don't use Conenction String as the type.
    2 Give it an alias.
    3 Set permissions so your administrators and endusers can access the system.
    4 Use the RFC iView creation wizard and select the system alias and your RFC.
    5 Make sure you do step 4 as a user who has RFC access to the SAP system.
    6 Test it!
    Please note that changing the RFC iView after creation is a little messy. You might be better off using the Visual Composer - it is much neater at displaying RFC table data than the RFC iView.
    Cheers

  • RFC export parameters missing

    Hi all,
    My scenario is SAP 4.6 RFC to XI 3.0 to SAP 4.6 RFC...I created function Z_SEND_PCARD_PAYMENTS in 4.6 with export and table parameters....Imported this into XI...Setup messages, interface mappings, etc...When I execute RFC (async) using dest XI and look at XML monitor....I see only my table parameters....My RFC export parameters do not show in the payload....
    Thanks,
    Wiley

    Hi,
    import parameters in the RFC
    are EXPORTING (not export)
    parameters in the calling program
    >>>Setup messages, interface mappings, etc...
    did you define messages in XI for request RFC or response?
    (it should be for request)
    EXPORTING parameters from your abap report are
    import parameters in th RFC and these are request RFC messages in the XI repository
    at least that's how it works for me:)
    Regards,
    michal

  • First RFC Iview

    Hi,
    I have created my first RFC Iview and was trying to preview it. But when i hit preview button i just get below message :
    <b>com.sapportals.connectors.SAPCFConnector.execution.structures.RecordWrapper@86fcbc</b>
    Before you ask i have tested system and its working fine.
    Will appreciate if you can give some ideas.
    Regards,
    Jeet

    Hi Jignesh,
    When you display the list of PRs in the first table, you have few options for navigating to SAP Screen like:
    1. You can set an action to any one of the column by double clicking it.
    2. Add a new column with a Button(Eg. Show Details) and set an action to it.
    the action should be an customer action for opening an url and the url should be composed like this:
    '/irj/servlet/prt/portal/prtroot/com.sap.portal.appintegrator.sap.bwc.Transaction?System=SAP_ECC&TCode=ME53&GuiType=WinGui&DynamicParameter=EBAN-BANFN%3D' & @<your PR No> '&AutoStart=true'
    You can paste the above link in the formula editor and replace @<your PR No> with your PR number ( drag and drop from store or data ) and also 'SAP_ECC' with your system alias
    Regards,
    Trikanth

  • RFC iView calling SAP screen

    Hello all,
    We have a RFC that calls a SAP screen. Is there a way showing this screen from a RFC iView? Parameter I can set on the iView, connector, SAP system?
    Other RFC'S work great, but this one contains a SAP popup.
    Thanks!
    Martin

    if there is a screen processing it will not work with RFC iview. (general rule of RFC is not to have screens in them)
    Regards
    Raja

  • The RFC iview error

    Hi everyone, I want to created an iview with type of SAP RFC iview ,but after I Choose Function,I get the "Portal Runtime Error",
    I can serch the function,but the next step I get the error:
    Portal Runtime Error
    An exception occurred while processing a request for :
    iView : com.sap.portal.applications.enterprise.iviews.wizard.default
    Component Name : com.sap.portal.applications.enterprise.iviews.wizard.default
    com.sapportals.connector.metadata.structures.IStructureValue.
    Exception id: 05:11_17/05/07_0043_8171850
    See the details for the exception ID in the log file
    the log:
    #1.5#001125C0B174006A000002390013006C000430A5ACA4648B#1179388031023#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#HAN-CUIZHAO#8477##LGEDEV_LED_8171850#HAN-CUIZHAO#beb3d5e0044a11dc8b25001125c0b174#SAPEngine_Application_Thread[impl:3]_7##0#0#Error#1#/System/Server#Java###Exception ID:03:47_17/05/07_0037_8171850
    [EXCEPTION]
    #1#com.sapportals.portal.prt.runtime.PortalRuntimeException: iView not found: :.default
    at com.sapportals.portal.prt.deployment.DeploymentManager.getPropertyContentProvider(DeploymentManager.java:1937)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.refresh(PortalComponentContextItem.java:222)
    at com.sapportals.portal.prt.core.broker.PortalComponentContextItem.getContext(PortalComponentContextItem.java:316)
    at com.sapportals.portal.prt.component.PortalComponentRequest.getComponentContext(PortalComponentRequest.java:385)
    at com.sapportals.portal.prt.connection.PortalRequest.getRootContext(PortalRequest.java:435)
    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:607)
    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
    at java.security.AccessController.doPrivileged(AccessController.java:242)
    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:160)
    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(AccessController.java:215)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Message was edited by:
            cui zhao

    Hello Cui Zhao,
    Have you create a reference system for RFC ? If not ,you should create a reference system first.
    PS check this link for create reference system:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/ed/845896b89711d5993900508b6b8b11/frameset.htm">Defining an SAP Reference System for User Data</a>
    PS: reward the points for helpful anwser.
    BR,
    Jianguo Chen

  • RFC iview

    Hi,
    I have created an RFC iview but I have a fatal error :
    " Could not connect to back-end application. Check your system. The server may  be down or there may be an error in a system parameter"
    thanks
    Dodo

    Hi,
    I guess you should check your portal connectivity with the R/3 backend. Do this in the system administration where one has to create a system. Plz check if the system created has the correct Backend details and test the connections.
    If successful only then continue with the creation of iviews.
    Regards,
    Akshay
    Reward if helpful.

  • Setting iView Parameters

    Hello,
    I have an issue with setting iView Parameters. I do the following:
    response.write("Converting...<br/>");
                                  iiv.putAttribute("ApplicationParameter","queryid="+request.getParameter("queryid"));
                                  try
                                       iiv.save();
                                       iiv.notifyAll();
                                  }catch (ValidationException ve)
                                       response.write(ve.toString());
                                  catch (IOException ie)
                                       response.write(ie.toString());
    However, when I see the iView properties in the portal the value is not changed. When reading the value programatically, it is changed. Are there two of them or do I have a caching issue here?
    I already tried clearing browser cache and so forth, but problem remains.
    My code is supposed to change iView-ApplicationParameters..

    Hi,
    I found all information I needed in help.sap.com.
    So I wrote a little portal component to update a custom iview parameter and it is working fine for me.
    Here's my code:
    Sharing References:
    <property name="SharingReference" value="com.sap.portal.ivs.api_iview,com.sap.portal.pcd.glservice,com.sap.portal.pcm.admin.apiservice"/>
    Custom Parameter in portalapp.xml
    <component-profile>
    <property name="AuthScheme" value="anonymous"/>
    <property name="MTAGCustom" value="Test"/>
    </component-profile>
    and my Java Code to update(change the value:
    Imports:
    import java.io.IOException;
    import java.util.Hashtable;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    import com.inqmy.lib.xml.parser.dtd.ValidationException;
    import com.sap.portal.directory.Constants;
    import com.sap.portal.pcm.admin.PcmConstants;
    import com.sap.portal.pcm.iview.IiView;
    import com.sapportals.portal.pcd.gl.IPcdContext;
    Code Snippet:
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);
    env.put(Context.SECURITY_PRINCIPAL, request.getUser());
    env.put(Constants.REQUESTED_ASPECT, PcmConstants.ASPECT_SEMANTICS);
    InitialContext iCtx = null;
    try
      String iViewID = "pcd:portal_content/com.mtag.test/com.mtag.testcomponent";
      iCtx = new InitialContext(env);
      IiView myIView =(IiView)iCtx.lookup(iViewID);
      myIView.putAttribute("MTAGCustom","newValue");
      myIView.save();
      myIView.notifyAll();
    } catch(Exception Ex) {
      Ex.printStackTrace();
    I deployed the component and create an IView from PAR. I started the iView in Preview Mode and the Custom Parameter "MTAGCustom" now has the new Value "newValue"
    Let me know if it helps (Reward Points are appreciated if helpful
    Cheers

  • Map XML content to RFC Input parameters

    Hello
    I have a MII Transaction that opens a xml file from a legacy system, this transaction have to handle the content of that XML file and fill out the BAPI_PRODORDCONF_CREATE_TT parameters.
    My transaction is already reading the XML using Reference Document Loader, this feature is working properly.
    The question is... what are the different ways to map my XML to the RFC parameters ?

    This blog might help:
    http://scn.sap.com/people/padmavathi.rao2/blog/2009/03/14/mii-odyssey-how-to-pass-table-structure-to-bapi-using-jco-interface-of-erp-system-interface-in-mii-12
    Regards,
    Christian

  • Functions in iView parameters

    Hi
    For a transaction iView,
    i can pass lastname as parameter to iview using the syntax lastname=<User.lastname>
    similarly,
    my portal users loginid consists of 10 characters.
    i want to pass the last 8 characters of loginif  as parameter to iview.
    is it possible ?
    Also i want to pass Current Year - 1 as a parameter to the iview.
    e.f if current year is 2010 it will pass 2009 to the iview.
    in short,can we use functions in parameters ?
    Regards
    Rajendra

    Hi,
    I would also recommend you talke at look at Customer Exits for u2018Parameter Provideru2019 this is a way to provide dynmaic values when calling a transaction.
    Take a look at this post: Making Customer Exits Work in the Portal
    BRgds,
    Simon

Maybe you are looking for

  • Inclusion of data based on date

    Hello: I need to extract data for patients who have more than 2 visits to the doctor. My query is at the end of the post. The criteria is to include only patients which a trait_date >= 09/01/2006 and have been seen 2 or more times from that date. For

  • In PI7.1 channels showing RED status actually working without issue

    Dear All, In PI prod environment, we have two decentralized server on which SFTP channels are deployed. once few SFTP channels got into error with socket exception stating: Could not connect to remote host or directory. However there was something st

  • Need help accessing itunes files on a share

    My roommate was running out of space on her macbook, so I created a share on my iMac which has 1TB of space. We moved all of her music from her computer to the shared space on my computer I redirected iTunes on her computer to make the share on my co

  • I've used 100% of quota, can't get it down

    I've reached 100% of my quota in my inbox. I've deleted mails, compacted and archived but it stays at 100%. What now? Will I still receive e-mails?

  • Copy value from item - disabling

    Hello all, How can I programatically disable 'copy value from item' property of a text item.Pls help.... With regards Jeneesh.