JCO Exception handling on ABAP side

Hello Forum,
I am implementing an JCO Server scenario.
I use dynamic repositories like Example7.java from the JCO documentation.
I understand that I need a remote Function module within ABAP, as STFC_CONNECTION exists for the example. This modules act as proxy (method decleration) for the JCO server function to be called. In any other case I will get the "can not find function Exception".
So far right?
Now my question: Example7 throws an JCO.AbapException if anything went wrong, e.g. the function is not implemented.
How to react on this AbapException?
The examples in SAP Help documentation only catch
SYSTEM_FAILURE and COMMUNICATION_FAILURE.
But these are only thrown and catched when something with communication went completely wrong, e.g. RFC not found.
But after the JCO Server was reached and may throw an AbapException while execution: how to catch the AbapException?
Has it to be declared in the proxy?
During execution I can not catch the AbapException and ABAP always generates a short dump.
The dump says:
Exception <JCO_FUNCTION_NAME> (???? why this Exception type)
without message text.
It occurs in the RFC call, of course.
So, how to catch the AbapException in order to avoid the dump?
Can anyone send an example please?
Thanks,
Carsten

you can handle exceptions in workbench. When you select activities a small circle displays on that activity. Drag that small circle and set it to setValue.
so if exception will come that part will be executed and  you can assign an appropriate message(using setValue) to your output variable.
Message was edited by: aks@lc

Similar Messages

  • JCO Exceptions

    Can anyone give me a basic example of how I can throw exceptions back to an ABAP program via function module exceptions from JCo Server?

    Hi Mark,
    I believe you could use something like
    throw new JCO.AbapException("NEW_EXCEPTION", "FROM_ME");
    This should set off an exception at the ABAP side.
    Sameer

  • Exception handling in client proxy

    Hi
    Can someone please help me with exception handling in ABAP client proxy.

    HI
      Welcome to SDN
    Check this link you wil get information regarding ABAP Proxy  http://help.sap.com/saphelp_nw04/helpdata/en/c9/74246d8ad2447799063d39013e9a11/content.htm

  • Abap Proxy exception Handling

    Hi guys,
    I've implemented the following scenario:
    BPM Process where I've got a async receive (from a file receiver), a sync send (to an ABAP PROXY) and a send async (to a file sender).
    The scenario is working great, I've catched 'Communication exceptions', and the proxy contemplates the necessary exception throwers too, but I'm now trying to Handle one specific exception. Imagine you force a dump, with a divide by zero in the proxy code...the proxy will dump and the XI gets a mapping exception (like is supposed to).
    The exception is:
    <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
    <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
    <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
    The thing is, I want to catch this exception on the mapping and handle it, so the bpm process sends the handle response with the file sender.
    I've looked to Alessandro Guarneri blog, but it's a little bit different, because I don't want to throw an exception but I'd like to handle it....
    Can you guys help me with this question?

    Hi Vijaya,
    I was able to catch the exception like you said, on the proxy side.
    I'm trying to conceive some real and feasible dumps scenarios and for that I'm forcing dumps, and catching exceptions. Divisions by zero was one of the examples.
    For division by zero I was able to catch it with a cx_sy_no_handler exception, but I've another example which I'm not being able to catch it.
    I'm sendind an message e001(zisa), which will exit automatically from the function module. Am I able to catch that message? Meaning, can I catch it and treat it, instead of the system exiting the function and showing the corresponding message?Is there any cx_* ?
    Even better, on sxmb_moni I get:
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
      <SAP:P1>500</SAP:P1>
      <SAP:P2>Internal Server Error</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText><html> <body> <H1> 500 SAP Internal Server Error </H1> <B> Error message: </B> O centro nao existe ou nao esta preenchido. ( <B> type of termination: </B> ERROR_MESSAGE_STATE ) <BR /> </body> </html></SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>HTTP response contains status code 500 with the description Internal Server Error Error when sending by HTTP (error code: 500, error text: Internal Server Error)</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    So, the SOAP adapter receives something. If it's not possible to catch this exception on the abap proxy side, can I catch and map that soap adapter error text on the BPM side?
    Thanks a lot for all of your attention

  • Exception Handling in webdynpro abap

    Hi
    I have a function call which raises an exception. How do i handle it?

    hi,
    In WD4A, Exception handling in FM is same as We do in R/3. You can check sy-subrc after calling the function module.
    Also you can raise error message by using web dynpro code wizard(control + F7 ) button:
    Select Generate message radio button. You will find number of methods in F4. You can use them as per your requirement
    Example :
    Suppose you call a FM like this in WD ABAP :
    CALL FUNCTION 'F4UT_RESULTS_MAP'
        TABLES
          shlp_tab          = t_shlp_tab
          record_tab        = t_record
          source_tab        = t_HCP
        CHANGING
          shlp              = p_shlp_descr
          callcontrol       = icallcontrol
        EXCEPTIONS
          illegal_structure = 1
          OTHERS            = 2.
    Now after this FM, check the sy-subrc value Like this:
    if sy-subrc = 1.
    <Report message for exception 1>.
    elseif sy-subrc = 2.
    <Report message for exception 2>
    endif.
    Edited by: Saurav Mago on Oct 16, 2009 10:22 AM

  • ABAP Exception Handling Document Link

    Anyone have a link for the document:
    "A Programmers Guide to the New Exception Handling Concept in ABAP"
    Thanks!

    Hello Kenneth
    Perhaps the following article may also be useful to you.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/c1be1003-0701-0010-3795-f87160de6483">NetWeaver Developers Guide 2004s: Using ABAP</a>
    Regards
      Uwe

  • Exception handling in outbound ABAP proxy

    Hi All,
    i need to catch exception in outbound abap proxy in two cases:
    1. if RFC dest in R3 which is pinging to XI goes down.
    2. IF xi server is down.
    in both the cases i need to catch the exceptions.
    now i written the code in this way:
    DATA: v_exceptions TYPE REF TO cx_ai_system_fault.
    TRY.
    CALL METHOD zirco_o_msg_if_as_req_details=>execute_asynchronous
    EXPORTING
    output = s_reference.
    COMMIT WORK.
    CATCH cx_ai_system_fault INTO v_exceptions.
    WRITE: 'Exception CX_AI_SYSTEM_FAULT caught'.
    WRITE: / v_exceptions->errortext.
    WRITE: / v_exceptions->code.
    but this code is not working.
    can anybody tell me how can i acheive this?

    Hi All,
    I need to log the error when receiver syatem is down.
    Its like this:
    Outbound proxy >>>XI>>>File adapter..
    Now if xi goes down....means message is succussefully sent from ISD and get stuck in XI then i need to catch this exception in ISD.
    Is it possible?? if yes then how??
    Kunaal

  • JCO exceptions in business connector

    hi..
    i am getting the below JCO$ABAp exceptions in BC server.
    can anyone pls clarify the root cause of these errors and possible solutions as to how they can be eliminated:
    com.sap.mw.jco.JCO$AbapException: (126) INVALID_STATUS: INVALID_STATUS
         at com.wm.pkg.sap.rfc.SAPSession.invoke(SAPSession.java:463)
         at pub.sap.client.invoke(client.java:297)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
         at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
         at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
         at java.lang.Thread.run(Unknown Source)
    any inputs would be highly appreciated.
    thanks
    priya.

    hii..
    i am not handling sap side as such..just taking care of the business connector side.
    i need to know if the resulting jco exceptions are due to services running in bc or sap function module side
    thanks

  • JCO$Exception in business connector

    hi,
    i am getting the following JCO$exceptions in business connector production server.Also the message said is RFC internal error.I need to know the root cause of these exceptions and how they can be resolved either in business connector side or ABAP side.
    2005-11-25 08:29:49 GMT com.sap.mw.jco.JCO$Exception: (108) RFC_ERROR_INTERNAL: internal error
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.nativeCreateTID(Native Method)
         at com.sap.mw.jco.rfc.MiddlewareRFC$Client.createTID(MiddlewareRFC.java:1246)
         at com.sap.mw.jco.JCO$Client.createTID(JCO.java:3903)
         at com.wm.pkg.sap.rfc.SAPSession.createTID(SAPSession.java:768)
         at pub.sap.client.createTID(client.java:373)
         at java.lang.reflect.Method.invoke(Native Method)
         at com.wm.app.b2b.server.JavaService.baseInvoke(JavaService.java:281)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.BaseService.invoke(BaseService.java:140)
         at com.wm.lang.flow.FlowInvoke.invoke(FlowInvoke.java:292)
         at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:559)
         at com.wm.lang.flow.FlowState.step(FlowState.java:430)
         at com.wm.lang.flow.FlowState.invoke(FlowState.java:400)
         at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1786)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:709)
         at com.wm.app.b2b.server.ServiceManager.invoke(ServiceManager.java:496)
         at wm.server.net.EmailTransaction$RunService.write(EmailTransaction.java:1375)
         at wm.server.net.EmailTransaction$RunService.run(EmailTransaction.java:1218)
         at com.wm.util.pool.PooledThread.run(C:/NT/Perforce/basis/4.1.0-terra/module/core/source/com/wm/util/pool/PooledThread.java:103)
         at java.lang.Thread.run(Unknown Source)
    Any help on this regard would be extremely useful and appreciated.
    Thanks
    Regards,
    Ramya.

    hii..
    i am not handling sap side as such..just taking care of the business connector side.
    i need to know if the resulting jco exceptions are due to services running in bc or sap function module side
    thanks

  • Error handling in ABAP proxies

    Hi,
    Please let me know the different ways by which error handling can be done (both at XI side and also the SAP R/3 side) in the case of ABAP inbound and outbound proxies.
    Basically
    1. In the case of message posting to SAP R/3 using ABAP proxy (Inbound to SAP), how errors generated in SAP can be monitored/notified and sent back to source system or XI system
    2. In the case of proxy message being received by XI, from SAP, if errors are generated in SAP (before posting), how the errors can be monitored and notified.
    Your early response is appreciated.
    Regards
    Venkat

    Hi,
    The error can happen due to application error, may be incorrect data or or wrong type of data.
    Or system error, in case the call to SAP XI is not successful.
    Youc an use fault message for the same.
    If you want to catch these exceptions in SAP itself and send alert then you can either use standard FM for raising alert.
    More here:
    http://help.sap.com/saphelp_nw04/helpdata/en/25/a45c3cff8ca92be10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/a1/082589fc4246f09793039d5fb01a17/content.htm
    First configure CCMS in XI System:-
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i
    For Monitoring in the CCMS:-
    http://help.sap.com/saphelp_nw04/helpdata/en/4d/6272376d3bfa2be10000009b38f8cf/frameset.htm
    Go thro' this link for configuration scenario:-
    /people/aravindh.prasanna/blog/2005/12/23/configuring-scenario-specific-e-mail-alerts-in-xi-ccms-part--1
    Inbound ABAP Proxy Trace and error handling
    Handling Exceptions
    ABAP Server Proxies - Fault Handling
    Exception handling in integration processes
    ABAP Proxy and fault messages
    /people/bhanu.thirumala/blog/2006/02/07/abap-proxy--xml-to-abap-transformation
    regards
    Aashish Sinha
    PS : reward points if helpful

  • Integration Process exception handling & alerts, Java

    Hello,
    I would like to enhance my basic scenarios fool proof and with as much Java as possible.
    I have set up several asynchronous and synchronous File to SOAP transfers between systems A and B
    using PI70 including my own Java mapping classes and PI's AF_Modules beans. They work just fine.
    I have not designed my own Integration Processes yet, so execution is based on channel settings and availability timing.
    I have learned this aproach may be exposed to general faults resulting manual monitoring and repairing.
    For example server problems at receiver side can result data losses as sender channel just keeps removing source
    files like normally, as the process would be better to just stop right there and alert or something.
    My question is, is the "Enterprise services Builders" Integration Process & Graphical definition screen the one and only tool to 
    customize whole process exception handling and alerts in PI, and Java is not an option?
    Appreciate your advice on this.
    Kind regards m

    Hi m,
    Strange Name
    >>I have learned this aproach may be exposed to general faults resulting manual monitoring and repairing. For example server problems at receiver side can result data losses as sender channel just keeps removing source  files like normally, as the process would be better to just stop right there and alert or something.
    If you are looking to handle this particular scenario, then we have the alert mechanism and CCMS monitoring. There you will come to know whether the end system down or not.
    Also in addition to this you can write your own java (in message mapping, as modules, java mapping) /abap code (as abap mapping, user exit in standard functions etc) for providing more details in error scenarios. But you need to validate whether the maintenance/development cost for the code is justified in your scenarios
    Regards
    Suraj

  • RFC Adapter - JCO Exception - Please Urgent

    I am developing a scenario from File--RFC integration.  I am using File and RFC adapter to perform this transaction.
    The File Adapter is picking the file properly and the trnaformation (Mapping Program) is also happening properly.  But the RFC is throwing the following error.  I got this error info from the Runtime Workbench.
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling ZPS_XI_ACTIVITY_CREATE in remote system (RfcClient[BAPI_CreateActivity_Receiver]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR
    Error Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling ZPS_XI_ACTIVITY_CREATE in remote system (RfcClient[BAPI_CreateActivity_Receiver]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR.
    The RFC is executing without any problem when I execute this from the transaction SE37.
    I have created communication channel in Integration Directory in appropriate manner. 
    I also created RFC destination in the XI system (TCODE SM59) and the same is using in the "Receiver Determiiation - Service".
    I have not done any configuration at SAP R/3 side.  Is any config required at R/3 end for this scenario - please let me know.
    Please throw some light on this.  I will greatly appreciate your help.

    Friends,
      Please suggest on this vague problem that I am facing.  Your help would be greatly appreciated.
    1. I am using SAP-PS (Projects & Systems) BAPI 'BAPI_BUS2002_ACT_CREATE_MULTI' to create the activities for a project.  According to this BAPI documentation,
    - First call 'BAPI_PS_INITIALIZATION' before make this BAPI call
    - After BAPI call, we should use 'BAPI_PS_PRECOMMIT' and 'BAPI_TRANSACTION_COMMIT'.
    2. Hence, I have developed Z-Func Module with Initialize, BAPI call - then Pre Commit and Commit.
    3. This is executing from SE37 without any issues.  Other parameters to make a remote call is also set properly.
    4. To make sure that, I made a JCO call from Java Program using PDK for Java.  This is also working fine.
    5. But when I used this in the XI scenario (File-XI-RFC) this is showing ABAP dump and this is invoking from Pre-Commit module.
    I couldn't figure it out why it's happening like this.
    I did lot of troubleshooting and the details are as follows for your reference.
    1. The mapping program is working fine without any issues.  I confirmed this by writing these input values to the file (ofcourse lot of pain) inside the function module.  All the values have been parsed by XI and coming to Func Module as expected.
    2. No issues with logical destinations (SM59).
    3. I have tried other options such as clearing the Cache...etc.
    Hence, please throw up some light.  If any body tried with these kind of BAPI (needs initialize, pre-commit and commit) I really appreciate your effort.
    <b>Can we enable the debugging of func module when the XI makes a call...?</b>  - I tried with Standard options that seems doesn't work.

  • Exception handling with fault message type not working

    Hi,
    I have a sync proxy to proxy scenario and I have created a fault MT and specified in the outbound and Inbound service interface...
    *In Inbound proxy I have the following code--*......
    RAISE EXCEPTION TYPE z_cx_test_fault
    EXPORTING
    standard = l_standard_data.
    In the sender side abap code which calls the outbound proxy I have the follwing code -
    CATCH cx_ai_system_fault INTO lo_cx_ai_system_fault.
    txt = lo_cx_ai_system_fault->get_text( ).
    WRITE txt.
    CATCH z_cx_test_fault INTO lo_cx_test_fault.
    txt = lo_cx_standard_message_fault->get_text( ).
    WRITE txt.
    CATCH cx_ai_application_fault INTO lo_cx_ai_application_fault.
    txt = lo_cx_ai_application_fault->get_text( ).
    WRITE txt.
    when i test the inbound proxy separately I get the custom fault message properly...
    however when i run the proxy to proxy sync scenario and the custom exceptionz_cx_test_fault  is raised inside the receiver proxy .......control goes to CATCH cx_ai_application_fault    and not CATCH  z_cx_test_fault .
    I understand that cx_ai_application_fault is the super class of all the exception class but why does control go to its exception handling when a custom exception is raised...
    Edited by: hema T on Feb 26, 2012 1:16 PM
    Edited by: hema T on Feb 26, 2012 1:17 PM

    Hi
    I tried changing the sequence also but it did not work...
    I can see an appropriate response coming from the receiver in SXMB_MONI of PI...this response has the "fault response "
    "fault detail" data that I want.....however when the control goes to the sender why does it go to CATCH CX_AI_APPLICATION_FAULT and not not my CATCH z_cx_test_fault .
    My observation - If I change the scenario to SOAP to Proxy sync..then the sender SOAP client gets the appropriate custom fault message back.
    Edited by: hema T on Feb 27, 2012 1:17 PM
    Edited by: hema T on Feb 27, 2012 1:17 PM

  • Failure in Model Create Step: com.sap.mw.jco.JCO$Exception: Missing R3NAME=

    Hi,
    I am running NW04sp10 and am trying to connect my WebDynPro to my R/3 backend app server - am running through the FlightChecking example using DevStudio 2.0.10.
    Have successfully created my meta + app data JCo's, they test and ping OK from the Content Manager.  SLD is fine, connecting happily to the NW and R/3 boxes.  One is message server, one central instance.
    When the 'create model' wizard tries to build the java proxies though, it comes back with this:
    [Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    Can anyone help?
    Cheers guys,
    Andy

    Hi Wael,
    I'm using the tutorial 'Handling Transactions with BAPIs in Web Dynpro' [part of SAP Online Help].
    The BAPI does work in se37, it's just a standard SAP delivered BAPI, and I've tried a few different ones to make sure it wasn't a BAPI specific problem.
    In the content admin I've navigated through the local/FlightChecking/Applications/FlightCheckingComp and then used the wizard to add the 2 JCOs [I've kept the default names for now after your previous advice]
    The data is like this:
    WD_MODELDATA_DEST:
    Name                  WD_MODELDATA_DEST
    Client                800
    J2EE Cluster Name     NW1 on chippy
    USER                  USER1
    Password              <password>
    Application Server    nero
    System ID             00
    WD_RFC_METADATA_DEST:
    Name                  WD_RFC_MODELDATA_DEST
    Client                020
    J2EE Cluster Name     NW1 on chippy
    USER                  USER1
    Password              <password>
    Application Server    chippy
    System name           NW1
    Logon Group           PUBLIC
    My landscape here is of 2 servers:
    'Nero'    SAP r/3 4.7 Application Server System ID ACI
    'Chippy'  SAP WebAS640 NW04 System ID NW1 ABAP+J2EE stack
    The JCOs 'test' and 'ping' successfully.  My WD_RFC_METADATA_DEST connection is to a message server, the WD_MODEL_DEST is to a central instance.
    Here's the full log from the create model wizard [I used a random BAPI for testing, BAPI_GET_PAYSLIP, so don't worry about that]:
    [Warning]:     Creating a connection with Metamodel language <en_GB> failed.  Continuing with language <EN>
    [Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
    [Info]:     Creating Model: FlightChecking
    [Info]:     Creating Model Class: Bapi_Get_Payslip_Input
    [Info]:     Creating Model Class: Bapi_Get_Payslip_Output
    [Info]:     Creating Model Class: Bapireturn1
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Output:Return
    [Info]:     Creating Model Class Property: Type
    [Info]:     Creating Model Class Property: Id
    [Info]:     Creating Model Class Property: Number
    [Info]:     Creating Model Class Property: Message
    [Info]:     Creating Model Class Property: Log_No
    [Info]:     Creating Model Class Property: Log_Msg_No
    [Info]:     Creating Model Class Property: Message_V1
    [Info]:     Creating Model Class Property: Message_V2
    [Info]:     Creating Model Class Property: Message_V3
    [Info]:     Creating Model Class Property: Message_V4
    [Info]:     Creating Model Class Property: Employeenumber
    [Info]:     Creating Model Class Property: Payslipvariant
    [Info]:     Creating Model Class Property: Sequencenumber
    [Info]:     Creating Model Class: Bapi7004_Payslip
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Input:Payslip
    [Info]:     Creating Model Class Property: Format_Col
    [Info]:     Creating Model Class Property: Text_Col
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Output:Payslip
    [Info]:     Creating Model Relation: Bapi_Get_Payslip_Input:Output:Bapi_Get_Payslip_Output
    So it seems to actually be able to retrieve the metadata for the BAPIs, but not to make the relevant JCo's.  I've not gone on and completed the tutorial, assuming it won't work until I can sort out the above 'fatal' error.
    Thanks again for all of your good advice.
    Cheers,
    Andy

  • Com.sap.mw.jco.JCO$Exception: (127) JCO_ERROR_FIELD_NOT_FOUND:

    Hi All,
    I am getting this error while communicating with the back-end BAPI. It says that Field IT_RETURN not a member of TABLES
    com.sap.mw.jco.JCO$Exception: (127) JCO_ERROR_FIELD_NOT_FOUND: Field IT_RETURN not a member of TABLES.
    Please note that I understand that this erro might come when we do not have required return structure in the BAPI. However I have debugged both the backend R/3 and frontend J2EE code and I am sure from backend BAPI is returning this structure.
    To add to my surprise, I am not facing this issue every time. Sometimes this works perfectly fine without giving any error. I am suspecting this to be a communication issue between two layers.
    Please suggest your inputs how should I move further to fix this issue.
    Regards,
    Pravesh

    Hi,
    Open your RFC in ABAP editor.
    Check the import parameters.
    Compare them to what you are passing from your JCO call.
    You will find the mismatch.
    For further reference refer the document [How to Handle Import and Export Parameters of ABAP Function Module (RFC Enabled) In Java|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/608391c6-dc79-2c10-2c8c-c72861822b12?QuickLink=index&overridelayout=true]
    Hope this helps!!
    Best Regards
    Vijay K

Maybe you are looking for

  • Get the value of a selected radio button within a ToggleGroup

    All Please see the script below. All I'm trying to do is to identify the selected radio button within a ToggleGroup. This has been working in JavaFX 1.2. This is JavaFX 1.3 running on NetBeans 6.9 (beta) on Ubuntu 10.04 Does anyone know why this is n

  • IPod touch wont update apps but it will install new ones?

    My iPod touch 4th with ios 6.1.6 wont update apps, but i can install a new one. I go to the app store, updates, they show up i can hit update all or do them separately doesn't matter. Click on update it will switch to installing and ask for my passwo

  • Windows 2008 Server R2 & SAP Business One

    Does anyone have any experience, good or bad, with SAP Business One and Terminal Service on Windows 2008 Server R2?  We are finding a number of issues with this configuration and we are looking for any feedback that is out there. Here is the situatio

  • PS CS6 Keyboard Shortcuts in Spreadsheet Form?

    I know there are lots of sources for keyboard shortcuts in PDF form.  But I was hoping someone might know of a source for a list (or summarized) shortcuts tabularted in spreadsheet form (or exportable to a spreadsheet).  Thanks.

  • Can someone tell me where in numbers 3.0 the formula bar is, or how I can make it visible?

    Hi, I've updated to the new numbers (3.0) and acutally it looks not back. But there is one point that really annoys me. I cannot find the formula bar and also I could not find in the menu where I can make it visible. Any hints from the community? Tha