Error when calling RFC

When i try to call RFC in web dynpro it gives
The initial exception that caused the request to fail, was:
   java.lang.NullPointerException .................................
Please guide me as i am new in dynpro field.

Hi,
This looks like a Java Web Dynpro problem, not ABAP try posting in the Java forum.
For what its worth, it would help if you posted the full Java stack trace so we can see what is actually causing the NullPointer.  Typically, it may be you haven't created an element in a context that is mapped to your model, or you have a field that hasn't been initialised but without any more info no-one can really help.
Gareth.

Similar Messages

  • Error when call RFC Function module in R/3

    Dear All,
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    we are facing the error "Error while lookup Exception during processing the payload. Error when calling an adapter by using the communication channel CC_PPPI_MES_RFC_Rcvr (Party: , Service: WCD_320, Object ID: 16563889b449328eac76caa6a3bc592e) XI AF API call failed. Module exception: 'error while processing the request to rfc-client: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'. Cause Exception: 'com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.adapter.rfc.util.bapi.BapiException: Parameter with name RETURN not found.'."
    This is the first time we are doing this configuration.
    Could you please let me know what woulbe the reason.

    read the original message
    We are trying to call RFC function module CBIF_GLM1_PROCESS_ORDER_READ (This is not a BAPI and also not released ) in R/3 from XI system.
    I am talking about the above Receiver RFC channel which you guys are using to call R/3 from XI. That where you need to change the commit parameter

  • Error while calling RFC when using BSP Web Interface

    Hi,
    we have a problem with the Authorization when we use an Web Interface for BSP. We have assigned all roles to the user which were mentioned in the SAP standard documentation:
    R_AREA   
    R_METHOD 
    R_PACKAGE
    R_PARAM  
    R_PLEVEL 
    R_PM_NAME
    R_PROFILE
    R_STS_PT 
    R_STS_SUP
    R_WEBITF 
    S_RS_ADMWB
    S_RS_AUTH
    S_RS_COMP
    S_RS_COMP1
    S_RS_DAS 
    S_RS_ICUBE
    but we still get the error message: "Error while calling RFC".
    When using a user with SAP_ALL, it works.
    What can we do?
    Thx for your time.
    Joerg

    Actually that's surprising - because BSP (Business Server Pages) and RFC (Remote Function Call) are not related; they use totally different transport protocols (http vs. RFC). Even if an BSP application is calling a function module remotely (acting as RFC client) no authorizations for S_RFC are required - in the calling system (but in the called system, i.e. the RFC server).
    Since assigning SAP_ALL seems to "cure" the problem, it seems to be an authorization issue, indeed. In that case it makes sense to use the authorization trace (ST01 - notice: that's specific to one single ABAP application server; you might have to activate the trace on multiple instances) to find out which authorizations are checked / demanded.

  • MSS - Business Event Details - Error Unexpected Exception when Calling RFC

    Dear Experts,
    Manager is getting the Error "Unexpected Exception when Calling RFC from Profile Application 'Business Event' when he tries to get the Training history of ONE employee in MSS. However, he is getting the details for the other employees of his department.
    Any inputs on this?
    Thank you.

    I believe it is our custom iView that is incorrect.

  • Error When Calling Up IGS (Error opening an RFC connection.)

    hi experts,
    i am getting error Error When Calling Up IGS (Error opening an RFC connection.)
    when i excute in wad, i checked in forums regarding this issue ,it is suggested that in check in se38--> se38->GRAPHICS_IGS_ADMIN(execute)->then it opens one more window (IGS_RFC_DEST)execute(could not reach to IGS)
    in RSRT if i execute IGS test button it is showing page cannot be displayed
    can anybody give answer for this what to do
    thanks
    venu

    Hi Venu,
    I would suggest that you contact your basis team and ask them to check the entry for the IGS in SM59.

  • ERROR: Error when calling IDOCTYPE_READ_COMPLETE:OBJECT_UNKNOWN

    Hi,
    We are having a problem in processing (receiving) an idoc through our RFC client in SAP .
    The RFC Client is up and running however, turns red while processing a certain Idoc.
    The error occured:
    Error when calling IDOCTYPE_READ_COMPLETE:OBJECT_UNKNOWN (IDoc /).
    This issue has been occurring since August 18-23. if the status of the RFC client is green, its shows: Waiting for IDOC.
    My questions would be:
    1) If for example, there are 50,000 idocs that are being sent and the first 1000 contains an error, will it still process the 49,000 idocs left through RFC client?
    2) what are the possible errors of an idoc which causes the RFC client to be down (having the error above)? is it the format of the idoc? or the idoc_type itself?
    3) another instance would be, if they are resending the idocs again, the RFC will be up eventually and we'll be able to receive the idocs. what are the causes for this?
    4) are there any ways to track these idocs (which contains the error) in BODI or in SAP?
    5) what are the alternative ways of processing the idocs that contains an error?

    I think there is a misspelling in your IDOC type (in header of IDOC probably)
    or the IDOC type does not exist on your SAP system
    you call function IDOCTYPE_READ_COMPLETE remotely on SAP server and this falls into error with exception 1 (OBJECT_UNKNOWN)

  • IGS error (: Error When Calling Up IGS (ListenerRfc: unknown error))

    Hi,
      We have recently upgraded to NW04S.
      Most of our BW reports( SAP delivered or custom, web template or not ) work fine with the IGS, while some reports don't, We receive a message from the Enterprise Portal ( Error When Calling Up IGS (ListenerRfc: unknown error)). No other details are available
      We have checked and found out the related web templates are actually activates properly. From the same business content, we find some repports work and some don't, all however use web template.
      Has anybody expoerienced the same? Please help.
       Thanks
    Arunava

    Hi AHP,
       1> BW_IGS_ADMIN when executed showed me some charts with some statictics and status etc. However as mentioned the other report BW_IGS_CHART_TEST just shows me a blank screen.
        2> SM59 connection test for the IGS RFC  IGS_RFC_DEST is successful
        3> Ping on the Gateway Host( for the RFS dest) works fine as well.
        4> Also as I mentioned earlier, some of the reports using web teamplate works fine where some are not.
        5> when I do the RFC trace  ( since I get an "Error When Calling Up IGS (ListenerRfc: unknown error) ) via ST01 for the query , in the BI sysatem, I get an error 'Prog:CL_IGS_CHART==================CPRow:'.
       Please let me know how do I proceed further.
    Thanks
    Arunava

  • Error when calling up IGS(listenerrfc: unknown error)

    Hello,
    We have integrated IGS 640.2 running on os windows 2003 64 bit(BW 3.5) .When i call the IGS chart from the EP portal i am getting the following error messge
    Error when calling up IGS(listenerrfc: unknown error)
    When i run the report GRAPHICS_IGS_ADMIN i am getting a blank screen.
    This is in the case of production server.
    I am getting the graph when i run report GRAPHICS_IGS_ADMIN in my BW quality server ( with same version IGS 640.2 os windows 2003 32 bit).
    I have followed the below stpes for re-constructionin BW prod:
    Followed the Snote 458731
    1. Checked the Rfc destination 'GFW_ITS_RFC_DEST' amd 'IGS_RFC_DEST'
    2. I can see the monitoring page when i run http://IGSHOST:LISTENERHTTPPORT
    3. Program id and gateway is properly maintained
    4. It is not generating any dumps when i set the dump status to  "dump_on"
    but in BW quality - dump file is getting generated
    I can't switch on trace because it requires resatrt of teh server which is not possible in production.
    I can see service called SAP IGS in BW qualitybut it is missing BW production.
    Apart from that evrything looks similar in both quality and production server.
    Can anyone advice me on how to fix this issue.
    Appreciate your response.
    Thanks in advance.
    Vadi

    Check the following Note : 454042
    In rz20 you can find the IGS as the Internet Graphics Server in the monitor set SAP CCMS Monitors for Optional Components.
    When you double-click on this entry a hierarchy with performance values should be displayed. If no hierarchy is displayed, even though the IGS is running, call transaction se38 and execute the program graphics_igs_admin. Choose Environment  ® Switch on CCMS to activate the IGS display in rz20.

  • Error when calling SOAP Runtime functions - Please help!

    Hi,
    Very new to SAP. I just installed SAPNW7.0ABAPTrialSP12 (sandbox server, with default options) and setup the
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/db/7c623cf568896be10000000a11405a/content.htm">Flight Data</a>.
    I wanted to invoke some of the Flight Data functions through SOAP. So I invoked the following URL:
    http://localhost:8000/sap/bc/srt/rfc/sap/BAPI_FLIGHT_GETDETAIL?sap-client=000&wsdl=1.1
    I get the following error:
      The following error text was processed in the system NSP : Error when calling SOAP Runtime functions
    The error occurred on the application server hs_NSP_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
          Method: HANDLE_REQUEST of program CL_SOAP_TRANSPORT_EXTENSN_ROOTCP
          Method: HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
          Method: IF_HTTP_EXTENSION~HANDLE_REQUEST of program CL_SOAP_HTTP_EXTENSION========CP
          Method: EXECUTE_REQUEST of program CL_HTTP_SERVER================CP
          Function: HTTP_DISPATCH_REQUEST of program SAPLHTTP_RUNTIME
          Module: %_HTTP_START of program SAPMHTTP
    FROM Runtime Error Log:
    Runtime Errors                     UNCAUGHT_EXCEPTION                                                          
    Exception                          CX_SOAP_CORE
           Termination occurred in the ABAP program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCP" -                
               in "HANDLE_REQUEST".                                                                               
    The main program was "SAPMHTTP ".                                                                               
    In the source code you have the termination point in line 37                                 
              of the (Include) program "CL_SOAP_TRANSPORT_EXTENSN_ROOTCM004".
    Does anyone have any ideas on what is going on? Thanks in advance.

    Hi,
    Have a look at this blog from Michal Krawczyk to find a solution:
    The specified item was not found.
    Hope this helps,
    Grzegorz

  • Error when calling a Webservice's public method in Forms10g

    Hi,
    I'm getting the following error when calling a webservice's public method, i'm using Forms10g 10.1.2.3
    java.rmi.RemoteException; nested exception is: HTTP transport error javax.xml.soap.SOAPException
    java.security.PrivilegedActionException javax.xml.soap.SOAPException
    Message send failed javax.net.ssl.SSLException SSL handshake failed X509CertChI have added the Jar containing the client proxy in both Classpaths(system variable and default.env), the jar has been made with jdk 1.4
    I also have tested the client proxy from jDeveloper and it's working there, but in Forms i'm getting this error.
    I guess my problem might be that i'm calling a webservice that is secured since the url starts with https
    what should i do to fix this ??
    Regards
    Carlos

    I understand, so i have a doubt, why the webservice works on jDeveloper ??Not just JDeveloper even soapUI and Neatbeans have a way of working without a client certificate installed.
    I do not know how they achieve it. I know that they work without a client DC.
    Cheers,
    PS: See this http://stackoverflow.com/questions/8887434/webservices-ssl-https, it offers a clue.
    The java programs run unhindered when one-way authentication is being used. These products ship with a digital certificate that is in the path of most popular CAs.
    Corollary, if the Web Server is configured for mutual authentication then you need to install and configure the client certificate in the tools.
    Edited by: Prabodh on Dec 5, 2012 8:36 PM

  • ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http

    I am getting error message ORA-28868 error when calling Web service over HTTPS from PL/SQL utl_http PL/SQL package,
    when browsed through some of the messages they point to setting Oracle Wallet Manager.
    I am trying to connect
    Any idea on how to resolve this issue ?
    your input is appreciated.
    Thanks
    Ravi

    Duplicate post ... please ignore.

  • ORA-03115 error when calling a Stored Procedure

    Hi All,
    I'm in the process of porting a Pro/C app from NT to Linux. I've installed 8.1.5 on our Linux box and patched it up to 8.1.5.02.
    It all kind of works ok, except that I'm sometimes getting ORA-03115 errors when the app calls a stored procedure. The call in question looks like this:
    EXEC SQL BEGIN DECLARE SECTION;
    VARCHAR resprows[50][3998];
    int numret = 0;
    int numrows= 50;
    int done= 0;
    unsigned long resp_id = 0;
    EXEC SQL END DECLARE SECTION;
    EXEC SQL AT DB_NAME EXECUTE
    BEGIN pkg_something.getdata(
    :resp_id, /* IN */
    :numrows, /* IN */
    :done, /* OUT */
    :resprows, /* OUT */
    :numret /* OUT */
    END;
    END-EXEC;
    The stored procedure basically uses the resp_id value to select rows from a table;
    in each row there is a VARCHAR2(4000) column which it copies into the hostarray resprows.
    There may be anything from 1 to numrows returned from the SP.
    Initially, the resprows rows were defined to be size [4000]. Unfortunately, this caused ORA-02005 errors - I then changed the size to [3998], which seemed to fix the 02005's (although I'm unclear as to the reasons why).
    Now I'm getting the 03115 errors when calling the SP. The oracle manual is not very helpful on what this error means.
    This all works chipper on NT.
    Any ideas?
    Thanks in advance,
    Nigel.
    PS: The database the app is talking to is still hosted on NT.
    null

    Histon FTM wrote:
    ORA-04063: package body "LAZARUS.LAZARUS" has errors Above, obviously conflicts with the statement that follows:
    >
    The procedure and package have both compiled without errors and the statement on its own works fine in SQL*Plus.I suggest you take a look in the USER_ERRORS view to see, what the errors are.
    And just checking:
    You have schema called LAZARUS, which holds a package named LAZARUS, which holds a procedure called POPULATEGRIDPOSITIONS?
    Edited by: Toon Koppelaars on Oct 1, 2009 5:55 PM

  • 401 Unauthorized Error When calling a SharePoint REST web service from SharePoint 2013 Workflow

    We have our Workflow Manger installed on the same server as our SharePoint 2013 WFE development environment. When creating a SharePoint 2013 Workflow all Calls to a SharePoint 2013 REST web service results in a 401 Unauthorized error.
    As an example I created a simple workflow that should return a JSON result. The REST Url returns the results in the browser without error.
    Set Variable:webServiceUrl to https://<hostnamedsitecollection>/_vti_bin/client.svc/web/lists/getbytitle('ISR%20Approvers')/Items?$select=Title&$filter=Title%20eq%20%27General%27
    then Build{...} Dictionary (Output to Variable:requestHeaders)
    then Call [%Variable:webServiceUrl%] HTTP web service with request (ResponseContent to Variable:responseContent |ResponseHeaders to responseHeaders | ResponseStatusCode to Variable:responseCode)
    The RequestHeader is set to the requestHeaders variable though the web service call properties
    then Log Variable:responseCode to the workflow history list
    After manually running the workflow in SharePoint on a list item in the ISR Approvers list it Logs "Unauthorized" in the Workflow History Log. It does this with every SharePoint REST web service call that I have tried through the workflow.
    It doesn't have anything to do with the Workflow Manger being installed on the same machine as the SharePoint WFE does it?
    Thank You for any insight

    Hi,
    According to your post, my understanding is that you had 401 Unauthorized Error when calling a SharePoint REST web service from SharePoint 2013 Workflow.
    Please make sure you use the ‘Call HTTP Web Service’ correctly.
    You can enter the URL into the brower to check whether it is correctly.
    You need to
    create the Request header requestHeaders
    using a Dictionary:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    To associate the
    requestHeaders variable, select the Call action
    property, set the RequestHeaders property to
    requestHeaders.
    Please refer to the following articles:
    Working with Web Services in SharePoint 2013 Workflows using SharePoint Designer 2013
    Calling the SharePoint 2013 Rest API from a SharePoint Designer
    Workflow
    In addtion, you need to make sure you install the workflow manager correctly.
    More information:
    Install and configure workflow for SharePoint Server 2013
    Known Issues in Workflow Manager 1.0
    Troubleshooting Workflow Manager 1.0 Management and Execution
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Error when calling SOAP Runtime functions

    Hi Guys,
    I have a requirement in which i have to consume a webservice and get a response from it but when i consumed the web service and tried to test it i got the below error please let me know solution for this as it is very urgent and also i am very new to web services stuff
    Error when calling SOAP Runtime functions: SRT: Processing error in Internet Communication Framework: ("ICF Error when receiving the response: ICM_HTTP_CONNECTION_FAILED")
    Thanks
    shivraj

    Hi,
    Have a look at this blog from Michal Krawczyk to find a solution:
    The specified item was not found.
    Hope this helps,
    Grzegorz

  • 500 Internal Server Error - When calling LOV's

    I receiving the following error when calling a LOV.
    Both date LOV's and LOV's based on a foreign key fail.
    500 Internal Server Error
    OracleJSP: oracle.jsp.provider.JspCompileException:
    Errors compiling:D:\Oracle\oc4j\j2ee\home\application-deployments\ois\web\persistence\_pages\_jheadstart\_lovFrame.java
    error: Invalid class file format in C:\Program Files\Java\j2re1.4.0\lib\rt.jar(java/lang/Object.class). The major.minor version '48.0' is too recent for this tool to understand.
    D:\Oracle\oc4j\j2ee\home\application-deployments\ois\web\persistence\_pages\_jheadstart\_lovFrame.java:0: Class java.lang.Object not found in class com.orionserver.http.OrionHttpJspPage.
    package _jheadstart;
    ^
    2 errors

    Marcel,
    JDeveloper will not run out of the box with JDK 1.4. There is a help topic 'Configuring Support for JDK 1.4.0.01 in JDeveloper' that gives you some information.
    But you also need to verify the compatability of all the frameworks you use with JKD 1.4, including BC4J, MVC and UIX. E.g. the classes12.jar we normally use for a JHeadstart application only works with JKD 1.2/1.3.
    Having found out which versions of the frameworks you need, the next step is to validate whether the JHeadstart runtime classes will work with these versions. We have no experience ourself in this respect.
    If it is an option for you, you might consider to downgrade to JKD 1.3.
    Jan Kettenis

Maybe you are looking for

  • Refresh table and display the records after insertion of data from back end

    Hi Experts, JDEV 11.1.2.1 I have a useacase which needs data to be inserted from oracle back end procedure and displayed in a ADF Table Component, when a button is pressed. is this possible?..if yes , how? Is view object will automatically refreshed

  • Can't see whole message in iMessage?

    How do you see the whole screen in iMessage after looking at it?

  • Can we pass values to custom headers through HTTP bindings in BPEL?

    hi, I have an urgent requirement where I have to pass values to custom headers of HTTP url through HTTP bindings in bPEL. Is it possible? Say I have a http url http://localhost:80/test. I need to post xml over the above HTTP url as well pass some val

  • ABS Connection Shutter

    A few days ago when I started my phone it automatically went into power-saving mode despite being fully charged. Instead of my newtowrk provider details being shown top left there was a message something along the lines of "ABS free version upgrade t

  • Device supports sample clock input

    I'm trying to find the best way to check if an NI device supports sample clock input. For example, I have a USB-6008 which does not support sample clock input. When I call DAQmxGetDevTerminals, I get "/Dev1/ai/StartTrigger, /Dev1/PFI0". For start tri