Rollback work in third party system thru RFC

Hi Gurus,
Here is my scenario:
I am using RFC_UPDATE_TAXES_DOC to update records in third party system.
After successful updation only , I am calling BAPI_ACC_GL_POSTING_POST to post records into SAP.
Suppose I could post Taxes successfully into third party through RFC, but my BAPI gave me some error, I need to revert back the updation done in third party system as well.
Could you please suggest me an RFC which could do this or guide me with some pointers on how to achieve this.
Many Thanks,
Madan

Hi Primini,
couple of stupid-but-necessary questions:
1) have you imported the RFC model in PI Repository?
You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
Check the "Activities" session of this link for more details:
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
2) if you have done 1), have you configured the RFC Sender scenario properly?
I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
This should make your scenario work.
If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
Let us know the results.
Best regards,
Henrique.

Similar Messages

  • Third party system (JCO) ---RFC--- PI ---RFC--- ECC

    Hello all,
    We are trying to implement the following scenario:
    Third party system (JCO) -RFC-> PI -RFC-> SAP ECC
    The third party system connect to PI via Java Connector API with a know user id in PI. After that third party system tries to obtain the RFC that is already implemented and remote enabled in SAP ECC environment. But at this step there is something wrong in third party system software because we are not able to obtain the RFC interface and metadata from PI repository.
    1. This step is working correctly. Connection is OK.
                JCO.Client mConnectionPI = JCO.createClient("100", // SAP client
                                                                                    "user_id", // userid
                                                                                    "********", // password
                                                                                    "pt", // language
                                                                                    "10.x.x.x", // application server host name
                                                                                    "01"); // system number
                mConnectionPI.connect();
    2. This step is not working correctly:
                JCO.Repository repository = new JCO.Repository("TestRep", mConnectionPI);
                IFunctionTemplate ftemplate = repository.getFunctionTemplate("Z_RFC_XXX"); - not found exception
    We would like to know if there is something missing in any environment that we have to configure or implement in order to fix this issue. Thanks a lot.

    Hi Primini,
    couple of stupid-but-necessary questions:
    1) have you imported the RFC model in PI Repository?
    You don't need to have the RFC metadata in PI ABAP stack (there is no point in doing that), but rather in the PI Repository/ESR, within the SWCV you've created.
    Check the "Activities" session of this link for more details:
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    2) if you have done 1), have you configured the RFC Sender scenario properly?
    I mean, have you ran the configuration wizard to create the agreements & determinations, setting the RFC interface as both the sender and the receiver interface? Of course, the systems would be different: as the sender system, you'll have a Business Service representing the legacy/JCo system; as the receiver, you'll have the ERP Business System.
    This should make your scenario work.
    If it doesn't, try one more thing: in the JCo code, just for the metadata repository connection, use a connection to the ERP system. But for the actual call, use the PI system.
    Let us know the results.
    Best regards,
    Henrique.

  • RFC Not found from the Third party system

    Dear Friends,
    I have customized a RFC, All components are active.
    When I am searching the RFC from third party system this RFC is not able to find, others are showing.
    What could be the reason..../
    Thanks & Regards

    Hi Sachin,
    Just to be sure, could you please check whether the RFC radio button is selected in ATTRIBUTES Tab of SE37 for your RFC. Also check if the RFC is active.
    Best regards,
    Prashant

  • Third party system call function module/BAPI through RFC to update Z table

    Dear Friends,
    We have a third party system which directly inserts a Z table in SAP through its programming, which is an auditing issue.
    We want the third party system should call function module/BAPI through RFC so that the Z table gets updated.
    waiting for inputs..
    Thanks,
    Kumar

    if third party system is capable of making Remote Function call, then writing a Function module & making it remote enable is not difficult task in ABAP.
    You may have to prepare specifications first to decide if third party system is going to Read, insert, update, delete records from Zee table.

  • ECC Via XI to Third Party system through Idocs

    Hello,
    I have done all the setting required to IDOC communication,
    RFC's are created,
    Distribution Model
    Imported the Meta data
    Partner Profile
    ESR Objects Made (IDoc as my Source and WSDL as External Definition for Target)
    ID Configuration made, sender channel is SOAP.
    SLD Configuration (Business and technical system as third party systems and ECC as ABAP system)
    Sender is ECC, no sender channel will be required (correct me if i am wrong), where as
    now when i test my scenario with WE19, i do not see my XML while using tcode sxi_monitor.
    have i missed  any step.
    Any help will be appreciated,
    Regards,
    Abhishek

    in IDX5 System is not a Central Integration System: unable to start program is the error, if i fix this error what will be impacts on the system
    please follw bwlow step:
    Check SXMB_ADM --> Check the Integration Engine Configuration
    In the Global Configuration Data :
    Role of Business System should be Integration server
    Corresponding IS should point to Pipeline URL.
    please check below link
    Configure Role of Business System " as Central Integration Server , PI
    and
    Transaction SAP Adapter u2013 Monitoring (IDX5) : provides you with an overview of all messages sent to or from the Integration Server as IDocs. Double-clicking a message provides you with detailed information on this message in the Integration Server.
    You can monitor the status of all XML messages by using transaction Integration Engine u2013 Monitoring (SXMB_MONI).
    You can use transaction SM58 to monitor native RFC communication on the Integration Server. This type of communication protocol is used in two places here:
      To send an IDoc from an SAP system to the Integration Server
    To send an IDoc from the Integration Server to an SAP system
    and one more thing are you tested Rfc destination ? is it working ?

  • How to configure https to send wsdl file to third party systems

    Hi Experts,
    instead of using http, i need to use https. so for this in xi system what steps do i need to follow to send wsdl file to any third party systems. here iam using pi 7.1 as a xi system.
    please help me in this.
    thanks
    jas

    >> to send wsdl file to any third party
    In no communication you send wsdl to third party. You always send related http message.
    For HTTPS, in the receiver channel, use HTTP Destination.
    Goto sm59 in PI and create RFC destination type G. There under "Logon & Security", set SSL as Active.
    For this to work, certificates should be imported on ABAP stack using STRUST.
    Regards,
    Prateek

  • File Adapter and Third party system

    Hi,
    I am new to XI and implementing a simple scenario.
    In SLD- I have 3rd paty software component and product.
    3rd party technical system: using my pc - For host name I am using my machine name.
    Scenario: Using file adapter transform csv file to xml.
    File resides on my machine. I have configured file adapter inbound and outbound. Integration Dir & Rep objects are all activated.
    But nothing happens, cannot see any message in Messgae monitoring..
    Any help would be great.. Is my technical system setup wrong?
    thanks

    chk whether the folder in your m/c where the CSV file resides is shared and has appropriate access. Also you need to specify your m/c IP with fwd slashes, e.g) //<Ipaddress>/foldername
    configuring your m/c as a Third Party system in SLD is fine.
    If you think ur SLD settings are not correct, you can define your file adapter commn. channel  in a Business Service(which does not require an SLD entry) and check whether it works.
    Thanks
    Saravana

  • Adding Third Party system in PI SLD

    Hello Experts,
    I new to PI and would like to know, how to add any Third part system in the SLD, and
    scenario where sender is ABAP Proxy and receiver is Third party system, via SOAP Adapter.
    Regards,
    Abhishek

    hi,
    How do i maintain the entries for all the component in SLD. -> generally we dont have authorizations to create Business system,products in sld.
    if you have, then follow what was i posted earlier link:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50924080-0627-2a10-2b89-8cb87b972fb1?QuickLink=index&overridelayout=true
    any information on IDOC to SOAP Scenario.
    In R3 :
    1.Craete Logical system for R3 say SAPR3
    2.assign client to this LS.
    3.Create Logical system for XI say SAPXI
    4.create RFC pointing to XI say R3_To_XI
    5.Crate port of type Transactional RFC say PORT_To_XI.... give RFC created in step 4.
    5.Create Partner Profile of type LS.
    Give Partner no as SAPXI (LS of XI created in step 3)
    In outbound parameters add ur Message type
    Double click on message type & give Port PORT_TO_XI created in step 5.
    6.Create Distribution Model..... Transaction BD64
    In XI
    SM59 - R3 connection pointing to R3
    IDX1 - define the port with the above dest.
    in ESR:
    import Idoc and create everthing based on your requirement.
    please refer below threads:
    IDOC to SOAP scenario
    IDOC to websevice (SOAP) scenario
    thanks,

  • IDoc Scenario SAP ERP - PI(Receiver IDoc Adapter) - IDoc to Third-Party system

    Dear All,
    I have created a scenario  to send IDocs via PI system (PI 7.1) to a third party system.
    There is no message mapping involved(Only ID part)
    I have imported Idoc Metadata from the source ERP system.
    Created an RFC destination(BC_ERP_SEA) in the PI system of type TCP/IP with registered Server Program to third party system.(Tested success)
    Created a port in IDX1 BC_ERP_SEA with above TCP/IP destination.
    Receiver communication channel of type IDoc is created with the following parameters:
             RFC Destination: BC_ERP_SEA
             Segment Version: 640
             Interface Version: SAP release 4.0 or Higher
             Port: BC_ERP_SEA
             SAP Release: 640
    Now when I execute the scenario, I get the following error in SM58 of PI system.
    Bena IDOC_INBOUND_ASYNCHRONOUS not found on host.
    Request your help for this issue.
    Thanks,
    Jishi

    Hi,
    Check below steps..it may resolve your issue
    1. It is mandatory to specify Ack Destination value in IDoc_AAE sender channel. The value should be an RFC destination name which is connecting to your SAP ECC system.
    2. In inboundRA resource adapter, the value for the property "local" should be set to "true".
    Regards,
    Tulasiram.

  • Integration with third party system....!

    Hello All,
              I want to integrate R/3 to Third Party system which can accept IDOCs. Can any body plz guide me in RFC destination part..? What type of connection should i use?
    TCP/IP or HTTP???? and how to find the Gateway service for third party system?
              Thanks in advance.
    Regards,
    Atul.

    you want to send idoc to third party system (NONSAP).
    what kind of system is it? can it handle http requests
    or
    can it handle webservice?
    which version of R/3 you are using?
    what is the mechanism the receiving system has, to receive data?
    Regards
    Raja

  • ABAP source code to connect to third party systems using web service calls?

    Hi all,
              can any one provide an example ABAP source code to connect to third party systems using web service calls? The base system is CRM.

    Do you want to call a web service in a remote system, or do you want to provide a web service?
    If you want to call a web service you should create a proxy object via SE80. Open your development package, right click on the tree entry and choose: Create -> Enterprise Service / Web Service -> Proxy Object and provide the needed information (including the WSDL description file). You may then use the proxy object to call the web service (if the connection and everything else works right).
    See [http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/9b/dad1ae3908ee44a5caf57e10918be9/content.htm]

  • Communicating with Third Party System

    Dear All
    I have a scenario where I want to send Idoc PEXR2002 to a bank.
    SAP 4.6C --> PI -
    > Bank
    I have made all the configurations to send the idoc to PI and I am sending the Idoc to PI using partner type Bank SAPPI successfully but in PI I am getting the error that receiver agreement not found.
    I have created the Bank as a Third Party System in SLD but  I am not sure how to link this third party system in ID (Integration Directory) .
    My questions are
    How to link the third party system created in SLD  with ID to send the IDOC using a HTTP Adapter i.e should I create the third party as a Business System or Business Service in ID.
    Second Question is while sending the IDOC from 4.6C to PI what kind of partner type I will use LS or Bank.

    Hi Adnan,
    Its complaining about the receiver agreement. So you need to make the receiver agreement. You can have a 3rd party business system for the bank and create teh receiver agreement between your sap business system and for this one. Add your bank receiver communication channel in this receiver agreement. Then it should work. Since you are using  PEXR2002  idoc then you dont need to create sender communication channel and sender agreement.
    In Sap while you create partner profile you can use bank as partner type.
    Regards,
    ---Satish

  • RFID for third party system(rosetta net)

    hi friends
                                          Iam new for this Scenario, customers send the Purchase order through the ASN to the Rosetta net software. We are using the Rosetta net software for receive the purchase order from the customer.
                                         Our business process I want to convert purchase order to sale order from the Rosetta net .after sale order number generated.
                                            I am cleared about using the RFC program only  helping to convert the data to SAP data between the system .but I want to know how I SAP system is connect to third party system  and what are configuration required for this scenario .pls send me your sugggestion
    with regards
    dinesh
    Edited by: code acess on Oct 15, 2010 5:00 AM

    if third party system is capable of making Remote Function call, then writing a Function module & making it remote enable is not difficult task in ABAP.
    You may have to prepare specifications first to decide if third party system is going to Read, insert, update, delete records from Zee table.

  • Handling load of data in PI - third party systems to SAP R3(Idocs)

    Hi,
    Request your help in addressing the below issue:
    PI (PI 7.0) is receiving a huge load of messages from third party systems at one point of time and it is creating Idocs and dispatching the Idocs to SAP R3 system.
    Since the load that is being received by R3 is more than the work processed available in R3 system, the Idoc processing is being set as a background job which inturn is creating spool requests in R3 system and this is leading to spool overflow issue.
    Is there any possiblity to control the dispatch of Idocs from PI system, say, the Idocs should be queued up in tRFC of PI until the work process in R3 system would be available.
    Please suggest any other possible resolutions to resolve this issue.
    Thank you.
    Regards,
    Subbu

    >>Please suggest any other possible resolutions to resolve this issue.
    Modify idoc occurences and send individual idocs could solve your problem
    Check Michal blog
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Idoc packaging suggestion given in this thread
    Re: XI/PI: Receiver IDOC adapter packaging
    Edited by: Baskar Gopal on Mar 25, 2011 12:52 PM

  • Integrating third party system

    hi,
    I have a requirement - when i press F4 in a standard SAP transaction I have to get the values from the third party system.
    Please let me know if we can do this using BAPI or not.
    If yes whats the procedure.
    Any help will be appreciated.
    Thanks!

    Hi Pankaj,
    Yes this is possible.
    Create an RFC using SM37 transaction.
    Build the logic to retrieve the data.
    The 3rd party system also should have the necessary logic to be triggered once there is a call from RFC & get the primary keys based on which it will retrieve data & pass it to SAP.
    Best regards,
    Prashant

Maybe you are looking for

  • Error message - Network connection was refused!!!

    Every time I try to access iTunes music store I get this error: "iTunes could nopt connect to the Music Store. The network connection was refused. Make sure your network settings are correct and your network conection is active, then try again." My n

  • What internal hard drive should I get for a 2007 Mac Pro?

    Hello, I have a 2007 Mac Pro in which I would like to install two additional internal hard drives. I want to use one to run Time Machine and I want to use the other as an archive for my photos. What is the best internal hard drive to get for these pu

  • How I got my TV@nywhere working

    I got the card a while ago and had to solve many of the problems I read about on the forum. 1. It took me 5 days of searching to figure out that the serial number for the MSI PVS player is actually on the label of the cd itself 2. Having solved that,

  • I had Adobe Photoshop Elements 4.0 on old computer but find folder is now empty is it possible to restore from Adobe?

    I had Adobe Photoshop Elements 4.0 on old computer & transferred to new computer - this file is now empty, so I must have deleted photos.   Is it possible to restore them?

  • Adf components not seen at design time

    Hi All, At design time pages are displayed like: <>Root <>Output @page directive <>View <>Html, and so on, for any page in the application. In another application all the pages look fine (if I copy their contents). Tag libraries and libraries in proj