Receiver RFC

My scenarios is async SOAP->PI 7.0 SP15->(async RFC) SAP 4.6C , I need to ensure messages are sent to SAP system in order also If message fails in R/3 during RFC processing, I need to stop sending next message to R/3.  If RFC call is processed successfully I need to map response to a separate WS (would prefer to avoid BPM sync async).
RFC Faq says,
With SP11 a XI EOIO-messages will result in a normal tRFC call. If a tRFC is sent to an SAP-system it will be executed directly (in other words synchronously) plus the tRFC exactly once handling. The order of the messages belonging to one EOIO-queue will be guaranteed by the Adapter Framework messaging layer.
Is there anyway to specify aSync RFC as EOIO?

Check this... http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/70d8e250-e892-2b10-ab8a-d04433cf158b [original link is broken]
As per your requirement, yes you can create a scenario but you wouldnt be sure if it worked or not? Trouble shooting is tedious work in case if there are other technical issues.... I will suggest  to go for QOS as Best effort and You can set to follow order in Interface determination by checking "Maintain order at run time"
-Venkat.

Similar Messages

  • Sender JDBC to Receiver RFC scenario

    Hi All,
    I have to configure an scenario of sender JDBC to receiver RFC wherein SAP PI will be pulling data from third party database (Oracle).
    Since I am configuring such scenario of sender JDBC, I want help on every important key aspects/prerequisites of configuring sender JDBC adapter/channel. I want to understand about Database Connection, Processing Parameters, etc. details while configuring sender JDBC channel and their significance/relevance.
    Also I need guidelines about the source data structure (message type or external definition) to be used/created in ESR.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    Please guide me on this.
    Thanks & Regards,
    Amit Patil

    Hi Amit,
    First of all you should read the sap.help documentation:
    Configuring the Sender JDBC Adapter - Advanced Adapter Engine - SAP Library
    Configuring the Receiver JDBC Adapter - Advanced Adapter Engine - SAP Library
    Later, you can read Rajs's blog to advance concepts and perfomance JDBC Receiver scenarios best practices part-1
    Finally, search the other blogs and documents in the SCN.
    How sender JDBC channel and receiver JDBC channel differs from each other?
    JDBC sender always does a poll to a DB table (with join some tables) in wich table you will need a field checkbox to mark the registers read, and the the receiver JDBC you can do a typical SQL construction like SELECT, INSERT, DELETE, etc. Both cases need the JDBC DB driver installed (check the SAP notes for this, also you can find some examples in the SCN:http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8000cffc-6b92-2d10-3493-f2ac1399242f?quicklink=index&…  PI/XI: deploy a JMS/JDBC driver without JSPM? ).
    Regards.

  • How to enable viewing of payload for receiver RFC adapter in RWB

    HI All,
    We can see the payload of all adapters in RWB by clicking on the message link under component >> adapter monitoirng. However when i click on message link for receiver RFC adapter, it does not show any payload. How can I enable this payload?
    Regards

    Hey
    Sync messages are Cached rather than persisted in RWB to save memory.
    You need to change the following parameter in Visual admin to see sync messages in RWB
    Service SAP XI AF Messaging:
    messaging.syncMessageRemover.removeBody = false
    its set to True by default hence it does not stores the messages.
    You may have to restart the Java stack after the changes (but first try without restarting the Java stack).
    Thanks
    Aamir
    Pl:You will see the sync messages in Message Monitoring in RWB (not sure if it will show up in Communication channel monitoring as well)

  • Receiver RFC Adapter

    Hi All,
    I am getting this error in communication channel monitoring for receiver RFC Adapter.
    Delivering the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.adapter.rfc.core.client.RfcClientException: JCO.Exception while calling Z_CRM_LEAD_CREATEMULTI in remote system (RfcClient[S10440_RFC_CallOutComes_Out]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: Illegal move of the field symbol of a LOOP ... ASSIGNING.
    Have gone through lots of links on SDN but not able to solve it out.
    Any inputs will be greatly appreciated.
    Thanks,
    Venkat

    Hi,
    this one seems pretty simple
    >>illegal move of the field symbol of a LOOP ... ASSIGNING.
    this suggests that your error is inside FM Z_CRM_LEAD_CREATEMULTI
    so correct the code (probably the table you try to loop is empty)
    and try once more
    Regards,
    Michal Krawczyk
    http://mypigenie.com XI/PI FAQ

  • Getting the following error in receiver RFC channel

    Hi Folks,
    Iam having two RFC channels one as SENDER and other as RECEIVER.Ensuring that all the required data is perfectly given while creating these two channels...the SENDER RFC channel status is green in channel monitoring and RECEIVER RFC channel is red!
    Iam gettiing follwing error against RECEIVER RFC channel -
    <b>"Receiver channel 'Receiver_RFC' for party '', service 'BXT_100_IS'
    Error can not instantiate RfcPool caused by:
    com.sap.aii.adapter.rfc.RfcAdapterException: error initializing RfcClientPool:com.sap.aii.adapter.rfc.core.repository.RfcRepositoryException: can not connect to destination system due to: com.sap.mw.jco.JCO$Exception: (103) RFC_ERROR_LOGON_FAILURE: Name or password is incorrect. Please re-enter"</b>
    Even iam pretty sure about the user and pwd used in RECEIVER RFC channel...
    and also i noticed "perform notification" status is failed in cache notification against my user id...
    Can anyone help me in resolving this issue..
    Thanks in advance..
    Regards,
    Ram.

    Hi Ram,
    Please change your password to UPPERCASE and try.
    I have came across few instances where SAP converts passwords to uppercase while storing and so they dont match.
    Hope this helps.
    Regards,
    Rahul.

  • Schedule Receiver RFC communication channel to call R3 RFC-FM.

    Hi,
    I have requirement that I need to schedule/trigger from PI to RFC call R3 function module. Wonder if anyone here has done similar thing before? I tried to use ATP (Availability time planning) in RWB. But this seem does not success for me as there is no response and error message for this.
    Below is my configuration detail:
    Configured:
    1. Receiver communication channel - RFC
    2. Receiver agreement with the RFC message type assigned.
    3. Scheduled receiver RFC communication channel via ATP daily
    *(It is possible to make scheduling job in R/3 but we are not considering this way)
    Please let me know if anyone has done this before or any other suggestion to do the scheduling from PI.
    Thanks!
    Regards,
    SP

    Hi SP,
    As you mentioned, ATP would allow adapter to be open and in start state. Adapter's RFC, SOAP, JMS would need some other application to trigger the message processing because these are not like pooling adapter's File, JDBC and Mail. RFC adapter channel always listening to the RFC port and FM execution. Once FM from R/3 executed then the RFC adapter would trigger it's message processing.
    For Sender RFC channel: In order to trigger the RFC adapter execution at particular time then you should write a simple ABAP code which would act a batch application and which does the triggering the FM and Sender RFC channel.
    For Receiver Channel: For Receiver RFC channel it's bit trichy because here you have force Receiver RFC adapter to connect backend the execute or initialize the variables without having any XI message triggered from Sender PI channel.
    I have 2 ideas:
    1. A little difficult approach, similar to the ABAPbatch code, you need to write a java adapter module which can trigger RFC receiver channel to connect and do an initialisation at FM at regular interval.
    2. Simple approch configure a File-> 2-> RFC receiver scenario, configure File sender adapter to pick a dummy file at regular interval and RFC receiver channel does the rest.
    Please let me know still you have any doubts,
    Thanks,
    RK

  • Receiver RFC synchronouse scenario question:

    Dear All,
    I have a doubt in Receiver RFC sync scenario. for example file to XI to RFC.
    Question: when ever Response RFC is triggered in R/3 Side. How the data reaches XI.
    By just creating Synch Communication channel for the RFC in XI, will  the data to come to XI for RFC respose.
    How when a Respose RFC is Triggered in R/3 Server, how the data points or reaches XI port?
    How the Auto Triggered RFC Respose data points to XI and Comes to XI in a Synchronous RFC Receiver scenario.
    PS: I am not from ABAP background. if any code has to be written in R/3 side for making the response RFC point to XI, please provide a generalized code also if possible.
    Please Advice,
    Prakash.

    RFC destination,port at XI would help to get response data
    No need to write any code,because RFC provide sync communication.
    use links RFC Scenario using BPM --Starter Kit
    https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Exposing BAPI as Web Services through SAP XI
    RFC Scenario using BPM --Starter Kit
    The specified item was not found.
    The specified item was not found.
    HTTP to RFC - A Starter Kit

  • Configuring receiver RFC adapter to use RFC destination

    Hello,
       I have been doing some digging, but I can't find a solid answer on how to configuring a receiver RFC adapter to use an existing RFC destination to call a 4/6C R/3 backend system...  Our scenario is to WS --> SOAP --> RFC which is up and running in production just fine on NW 7.0, SP12.
       I ask this question because we, as a company, do not like to maintain passwords in multiple systems.  That is necessary when we use the receiver RFC adapter now since SNC is a distant pipe dream for us and we would like to use an existing RFC destination that is set up to call the backend system using a logon ticket.
       I checked the relevant links I could find below, but I can not resolve the answer from them.  Has anyone set this up successfully?  This link (RFC Destination type RFC Receiver Adapter?) mentions it briefly, but it does not go into any length on how to set it up.
    Thanks!
    John
    http://help.sap.com/saphelp_srm40/helpdata/fr/33/c6e63b60c25767e10000000a11402f/content.htm  
    http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm
    Re: Asynchronous RFC call

    Hi John !!
    I suggest you to create a new user, without dialog access in your ECC system to be used exclusively by the XI system to access ECC. And then, always use this user in all RFC receiver adapter communication channels.
    Regards,
    Matias.

  • Receiver RFC Adapter -Advance Mode  option

    Hi Experts
                    I want Execute the commite transaction after Trigeering the Standred BAPI through XI.
                We haveAdvance Mode  option in Reciver RFC Adapter . Any one explain me how to implment this.
    Regards
    Upendra.V
    Edited by: upendra v on Jan 26, 2009 1:47 PM

    Hmmmm.. I guess you are just practising & exploring all the featers of RFC.. isn't it?
    Anyway upto what I know is here..
    >If you want to use this communication channel to call BAPIs as remote-enabled function modules that change data in the database, set the indicator.
    First of all you need to write an ABAP program in R3, there you will call your RFC/BAPI to update the database entries.
    In XI, under your receiver RFC adapter check the box "Commit Handiling for Single BAPI Calls". Once you click you will get another check box called "BAPI Advanced Mode".
    >If executed successfully, the transaction is written to the database by calling the function module BAPI_TRANSACTION_COMMIT explicitly. If an error occurs, the transaction is rolled back by BAPI_TRANSACTION_ROLLBACK.
    Once you send the data from XI to R3, then in R3 function module BAPI_TRANSACTION_COMMIT will be called explicitly (you need to define/call this BAPI after the ABAP code for database update). This will commit the work and return the result success or failur in a parameter called RETURN.
    And after this BAPI you should call BAPI_TRANSACTION_ROLLBACK, so that in case of errors the transaction will be rolled back.
    >The result is determined by the value of the field TYPE in parameter RETURN. If successful, the tables are empty and the values u201Cu201D, u201CSu201D, u201CIu201D, and u201CWu201D are displayed. All other values are regarded as errors.
    As described above.
    >To change this setting, set the indicator BAPI Advanced Mode.
    In the Successful RETURN-TYPE Values table, enter the values that should lead to a successful execution.
    Once you check the box "BAPI Advanced Mode" a table will appear, there you can write your own values e.g.u201Cu201D, u201CSu201D, u201CIu201D, and u201CWu201D.
    I can not provide a better solution then this... you have to do a work around, but above are the basic steps which can be considered before implementing the solution.
    Regards,
    Sarvesh

  • Receiver RFC adapter issue! Please help!

    Hi Experts,
       I have 4 XI interfaces. All of these are Webservice to RFC scenarios. Moreover all of them are synchronous.
      Request message: Webservice (SOAP Adapter) ---> XI -
    > RFc Adapter ---> ECC Function modules
      Response message: Webservice (SOAP Adapter) <- XI < RFc Adapter <- ECC Function modules
    As you can see above, external system calls XI web service via SOAP Adapter. The input data is then sent from SOAP Adapter to RFC adapter to call RFC function module in the receiving side.  The receiving system is SAP ECC system.
    The receiver ECC system has two instances. For example SP0 ad SP1. 
    In the receiver determination step we have maintained a rule such that if the Plant value in the input message is XYZ then send data to SP0. But if the plant value in ABC then send data to SP1.
    This Conditional rule is working fine.
    However we are getting couple of issues with only one instance of ECC (SP0).
    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-001cc495e48a(INBOUND) expired
    2. NO_MAPPINGPROGRAM_FOUND. Mapping program is not available in runtime cache: Object ID C2B41FFDFD4635BAB1E41AE53C0D10CE Software Component 5394F420463611DAC1CFFBBC0A01BC16
    3. com.sap.engine.interfaces.messaging.api.exception.MessagingException: No response available
    The above listed errors are generated occasionally. Sometimes no errors are generated even when the same input data is sent again and message is successfully processed.
    I have verified the input data and everything is OK with that.
    Mapping object is available in XI and cache was also refreshed. I additionally reactivated the objects in XI as well.
    So what could be the real root cause of this? Please help!
    Thanks
    Gopal

    1. com.sap.engine.interfaces.messaging.api.exception.MessageExpiredException: Message badfa070-b163-11de-a4c1-
    001cc495e48a(INBOUND) expired
    Check the Timeout parameter of your adapter.....for requests which expire with this error confirm from the SAP end that the message processing is done well within the Timeout period of the adapter.
    Refer this note for more info on the above occuring error and the possible way to avoid it: https://service.sap.com/sap/support/notes/791379
    Update:
    Even problem 3 seems to be occuring due to insufficient Timeout specified for the adapter.....if possible try increasing the Timeout in VA
    Regards,
    Abhishek.
    Edited by: abhishek salvi on Oct 6, 2009 1:42 PM

  • Help required for Sender Proxy/RFC and Receiver RFC approach. Urgent please

    Hi All,
    I have one sender R/3 system
    I have two receivers R/3 systems
    Business Partners data from sender R/3 system needs to be repliacted to 2 receivers R/3 systems
    From sender R/3 system one Sync Abap Client Proxy or
    Sync RFC will send Business Partners data to XI.
    For both receivers R/3 systems there is only one RFC Currently there is no flag condition for 2 receivers as this is
    Business Partner replication scenario.
    Also In XI there is restriction that multiple sync receivers cannot be there.
    Please let me know how to make this approach.
    Regards

    Rich,
    Create two O/B Interfaces - Synch. Create Proxy1 for O/B Interface1 , Proxy2 for O/B interface 2.
    So while defining Receiver determinatio, you will define as following,
    Receiver Determination----1
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 1 ( i.e Proxy1)
    Receiver : BusinessSystem_ C
    Interace Determination
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 1 ( i.e Proxy1)
    Inbound Interface: RFC_Rec
    Receiver Determination----2
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 2 ( i.e Proxy2)
    Receiver : BusinessSystem_D
    Interace Determination
    Sender : Sender_BusinessSystem
    Sender Interface : O/B Interface 2 ( i.e Proxy2)
    Inbound Interface: RFC_Rec
    Hope it helps!
    raj.

  • Receiver RFC Problem

    Hi All,
    I have a scenario File to RFC. Before it used to work fine until i received a connection error. Basis restarted the adapter using Visual Admin tool. Now the problem is nothing comes through from to the RFC adapter. I am getting no error. In the communication monitory, its showing no activity.
    What could be the problem?
    Tks,
    D

    The problem is still there if run the interface 1 more time. Can you guyz make sense of the below text. This comes from a file from the dev_jrfc_trc files on the server.
    Error> occured  >Thu Oct 25 10:59:37,625<   
    RfcException:
        message: Connect to message server host failed
    Connect_PM  TYPE=B MSHOST=sapxd1ci1 GROUP=PUBLIC R3NAME=XD1 MSSERV=sapmsXD1 PCS=1
    ERROR       Group PUBLIC not found
    TIME        Thu Oct 25 10:59:37 2007
    RELEASE     640
    COMPONENT   LG
    VERSION     5
    RC          -6
    MODULE      lgxx.c
    LINE        3541
    DETAIL      LgIGroup
    COUNTER     1
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
    Error> occured  >Thu Oct 25 12:13:05,579<   
    RfcException:
        message: Connect to message server host failed
    Connect_PM  TYPE=B MSHOST=sapxd1ci1 GROUP=PUBLIC R3NAME=XD1 MSSERV=sapmsXD1 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       Group PUBLIC not found
    TIME        Thu Oct 25 12:13:05 2007
    RELEASE     640
    COMPONENT   LG
    VERSION     5
    RC          -6
    MODULE      lgxx.c
    LINE        3541
    DETAIL      LgIGroup
    COUNTER     3
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION
    Error> occured  >Thu Oct 25 13:20:46,630<   
    RfcException:
        message: Connect to message server host failed
    Connect_PM  TYPE=B MSHOST=sapxd1ci1 GROUP=PUBLIC R3NAME=XD1 MSSERV=sapmsXD1 PCS=1
    LOCATION    CPIC (TCP/IP) on local host with Unicode
    ERROR       Group PUBLIC not found
    TIME        Thu Oct 25 13:20:46 2007
    RELEASE     640
    COMPONENT   LG
    VERSION     5
    RC          -6
    MODULE      lgxx.c
    LINE        3541
    DETAIL      LgIGroup
    COUNTER     2
        Return code: RFC_FAILURE(1)
        error group: 102
        key: RFC_ERROR_COMMUNICATION

  • Receiver RFC Queue

    Hi ,
    I have configured a asyncronous scenario as JDBC> PI->RFC(JDBC sender and RFC receiver) , I have multiple JDBC sender channels but a single RFC receiver channel.
    I want the RFC receiver channel to be set to EOIO, and queue name assigned to the RFC calls made by this RFC receiver channel.But I cannot find a place in the RFC receiver communication channel where I can set the Quality of service to EOIO.
    Can some help me out as how to set the RFC receiver to be EOIO , I mean to queue all the RFC calls made.
    Thanks for your response.
    Venu

    hi Michael,
    I have similar requirement, scenarios is async SOAP->PI 7.0 SP15->SAP 4.6C (async RFC), as per SAP documentation RFC can be EOIO and I need to ensure messages are sent to SAP system in order also If message fails in R/3 during RFC processing, I need to stop sending next message to R/3.
    Any suggestions?
    regards,
    sachin

  • Receiver RFC - Interface Objects

    Hi every one,
    I have a scenario, SOAP (SYNC)- XI - RFC (SYNC), MY question is do we need to create and interface objects for the receiver. Or can I use the RFC as the interface object.
    Technical explanation would really help me.
    Please clear.
    Thanks,
    -Naveen.

    Hi Naveen,
             <i>>>>>>do we need to create and interface objects for the receiver. Or can I use the RFC as the interface object.</i>
      As RFC itself is a interface you need not create  a seperate interface for an RFC.
    In message mapping you will need to create two message mapping.
    One SOAP_Req to RFC_Req
    two RFC_Res to SOAP_Res.
    When you will try to implement Interface Mapping, the source interface would be the imported 'External defination' of WSDL and the receiver would be the RFC. In the lower section of the same screen click 'Response' tab and add RFC_Res to SOAP_Res as mapping prog and under 'Request' tab add SOAP_Req to RFC_Req.
    Let me know if you further assistance.
    regards,
    Ashish

  • Receiver RFC displays data as #

    Hello Experts,
      We have a scenario JMS ->PI->RFC.
    PI is Unicode system with charecter size 2 where as R3 is a ECC 6 non unicode system with charecter size one.
    I guess due to this the error occurs while data conversion and # is diplayed; as RFC destination has default setting i.e. "Ignore Error, Error Indicator: '#' = U+0023"
    Please suggest how can I overcome this problem?
    I have tried option for changing the encoding using XSLT as mentioned in :
    encoding problems XI. 3.0
    But it was of no help.
    Please suggest!
    Kind Regards,
    Abhijeet.

    Hi Stefan,
       Thanks for inputs. I have changed the encoding in XSLT back to UTF-8, set logon Language to "DA" as the input can contain Danish Characters.
    But still it is same, I do get # on receiving side.
    I tried to remove XSLT and assign the Constant (actual payload which is a XML again) using a dummy Message mapping and it works fine. Data is received well on receiver system. But as soon as i try to map actual contents from JMS I get this #. 
    Can it be due to XSLT mapping used?
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
    <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
    <xsl:template match="/">
    <ns1:HDK083_REFUS_RECVDOCU xmlns:ns1="urn:sap-com:document:sap:rfc:functions">
    <P_SIGN_DOCUMENT>
    <xsl:value-of select="/.../.../ReferenceAttributTekst" />
    </P_SIGN_DOCUMENT>
    <P_XML_DOCUMENT>
    <xsl:copy-of select="." />
    </P_XML_DOCUMENT>
    </ns1:HDK083_REFUS_RECVDOCU>
    </xsl:template>
    </xsl:stylesheet>
    Also I tried to use Message mapping to replace the XSLT, but as the input coming in payload is a XML, when I assign it to string field it says
    com.sap.aii.mappingtool.tf3.IllegalInstanceException: Cannot produce target element /ns1:HDK083_REFUS_RECVDOCU/P_XML_DOCUMENT. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
    Also i tried to use new feature of PI 7.1 "Return as XML" where we can assign a complete XML to single field, but still it fails in mapping with exception
    SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_Test_</SAP:P1>
      <SAP:P2>com.sap.aii.mappingtool.tf7.IllegalInstanceExcepti</SAP:P2>
      <SAP:P3>on: Cannot create target element /ns1:HDK083_REFUS</SAP:P3>
      <SAP:P4>_RECVDOCU. Values missing in queue context. Targe~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Runtime exception occurred during application mapping com/sap/xi/tf/_MM_Test_; com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns1:HDK083_REFUS_RECVDOCU. Values missing in queue context. Targe~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    Can you suggest something to resolve this???
    Kind Regards,
    Abhijeet.

  • Receiver RFC Adapter Error

    Hi All,
    I have a file to RFC scenario. I keep getting the below error: Any Ideas?
    Danny,
    Delivery of the message to the application using connection RFC_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: failed to parse BAPI response due to: com.sap.aii.af.rfc.util.bapi.BapiException: Parameter with name RETURN not found..

    is this BAPI an SYNC one
    check this link
    RFC adapter Call BAPI error
    Re: Invoice Not getting posted

Maybe you are looking for