Howto Send IDOC to third-party system. programID can not be registered.

Hi, guys.
I want to post IDOC to a third-party system through XI. And for sure, the third-party system can receive IDOC.
In the receiver communication channel, I would fill in the RFC Destination with a RFC connection defined in SM59.
In SM59, it is a tcp/ip connection and in technical settings the activation type is Registered Server Program. I name the Program ID randomly with 'a.a'. In Gateway Options, I fill the host with XI server and service with sapgw01.
Then I test the connection, the result is program a.a not registered on XI server.
My question is how to register the progam when I want to use this RFC to send IDOC to the third-party system. And how the RFC know which system he would connect. I don't find anyplace with the connection information such as IP or something like this.

Sergio Cipolla 
Thank you for your material. I have read the doc you refered.
Almost I understand the process, there is one part.
I should register the program ID in saprfc.ini file with the following content:
DEST=FROMXI
TYPE=R
GWHOST=saphost
GWSERV=sapgateway
PROGID=a.a
Here I am wondering the fiield "DEST" represent for. Does it mean the hostname of the target external system?
And Here is the UNIX system, what is the path location of the file saprfc.ini or where I should put this file to be effective.
Thanks in advance.
Bu Ju

Similar Messages

  • 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.

  • Enhancemnet in the include RV03VFZZ to send request to third party system

    Hi Experts,
    I am using Enhancemnet in the include RV03VFZZ to send the request to third party system(ADEXA) and get the response using proxy and place that in the sales order.
      If there is no response from ADEXA system means 'reason for rejection' field has to be filled with some reason. Now I want to know which is the structure that updates the 'reason for rejection field'. the screen field is VBAP-ABGRU and program name is SAPMV45A.
    help me in updating the 'reason for rejection field'.
    Regards,
    Hari Krishna

    You can use the below to populate the order reason at the respective levels.
    1.FORM userexit_save_document_prepare in MV45AFZZ for VA01/VA02
    2.FORM USEREXIT_PRICING_PREPARE_TKOMK in RV60AFZZ for VF01/VF02 and VF04
    If you are in ECC then first preferrence should be for Enhancement Framework rather than using Classical User exits.You can check Enhancement Spots ES_SAPMV45A and ES_SAPLV60A for the above requirements or you can even implement using Implicit Enhancement within the subroutines of MV45AFZZ and RV60AFZZ.
    TVAUT is the table for Order reasons with descriptions.
    Thanks,
    K.Kiran.

  • IDOC send message to third party system

    Hi,
    I got the below scenario,
    1) Data came from 3rd party system through EDI
    2) Because the material is not there in SAP system it didn't create sales order
    3) IDOC is errored out
    4) How to inform the 3rd party system through an IDOC or message that IDOC got errored out?
    Thanks
    anikaushi

    so you mean to say that we can trigger workflow sothat those people or email.
    Yes, for error handling and resolution
    Can we send the eror message to 3rd party in the form of IDOC immediately afer error IDOC is created in SAP?
    You could, but I don't see the point and you'd have to map it.  Your EDI system should provide an FA back to the sender upon receipt so that it knows the message was received.  The error should go to the person or group that would handle the issue if it's an SAP-related issue such as a master data or config error.  I don't know your system/setup, but it doesn't make sense to send a material error back to the sender system if someone is going to fix that in SAP and then re-process the IDOC (and trigger an order confirmation).

  • Sender RFC from Third Party System

    I have a vendor who is actually communicating through RFC from third party Application to SAP R/3. Now we are trying have XI in between. Where as with minimal impact on both sides.
    Solution.
    1. Have the RFC made as ZRFC in XI. Let the vendor call the RFC in XI ABAP and internally make an RFC call through XI Interface to R/3 as Sync Interface. Because we need to report the information back to the system where the request initiated.
    2. Have RFC INI file copied as SAP Suggests under one of the folders. Develop the regular RFC to RFC Interface via XI.
    Is there any other alternatives other than the above mentioned solutions? Or out of those 2, which one will provide the best performance
    Appreciate any feedback. Please advice

    That's exactly what we are trying to achieve here. By Eliminating direct connection R/3, we are placing XI in between. But with the budget/timeline constraints from the Partner side, we are trying to have minimal change on the partner side. They might not change something to web service etc...
    Here is the text about INI file
    You can configure the non-SAP RFC client to connect to the sender communication channel in the following ways:
    ■       By defining the parameters PROGID, gateway-host, and gateway-service within the saprfc.ini-file using RFC-SDK.
    ■       By using appropriate parameters in the function RfcOpenEx.
    If you use the saprfc.ini-file, the respective RFC destination has to be of type R.
    All the parameter values used within the saprfc.ini-file or with the function RfcOpenEx should match the entries maintained within the corresponding sender communication channel.
    Example for the saprfc.ini-file is as follows:
    DEST=RFCCLIENTEXT
    TYPE=R
    PROGID=P106646.HKExternalClient
    GWHOST=pwdf2153
    GWSERV=sapgw40
    Please check the following link, for the same  text on RFC Sender
    [Help.SAP|http://help.sap.com/saphelp_nw04/helpdata/en/67/6d0540ba5ee569e10000000a155106/content.htm]
    Using the same Sender RFC for non-SAP System, please share any ideas

  • Best practices for apps integration with third party systems ?

    Hi all
    I would like to know if there is any document from oracle or from your own regarding best practices for apps integration with third party systems.
    For example, in particular, let's say we need customization in a given module(ex:payables) need to provide data to a third party system, consider following:
    outbound interface:
    1)should third party system should be given with direct access to oracle database to access a particular payments data information table/view to look for data ?
    2) should oracle create a file to third party system, so that it can read and do what it need to do?
    inbound:
    1) should third party should directly login and insert data into tables which holds response data?
    2) again, should third party create file and oralce apps will pick up for further processing?
    again, there could be lot of company specific scenarios like it has to be real time or not... etc...
    How does companies make sure third party systems are not directly dipping into other systems (oracle apps/others), so that it will follow certain integration best practices.
    how does enterprise architectute will play a role in this? can we apply SOA standards? should use request/reply using Tibco etc?
    Many oracle apps implementations customizations are more or less directly interacting with third party systems by including code to login into respective third party systems and vice versa.
    Let me your know if you have done differently and that would help oracle apps community.
    thanks
    rrb.

    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

  • 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

  • Commitment Interface from SAP to the third party system!

    When we created Purchase Requisition or Purchase Order, the commitment will be created. The third party system needs to track the commitment. So SAP needs to send the commitment to the third party system by this interface.
    But when the Goods have been delivered, the commitment will be zero out and the actual will be posted to SAP. SAP needs to send the offsetting records to the third party system. In this way, the third party systems knows that how much commitments have been reduced.
    My problem is that I cannot find the right table to record the offsetting entry. In the table COSP, I can identify the commitment by the Business Transaction -- RMBA and RMBE. But it did not record the offsetting entry. It just becomes zero when the goods have been delivered. But I have nothing from that table to send to the third party system.
    Does anyone meet this problem before? Can you share some experience on this?
    Thanks

    Hello All,
    The issue is resolved now. In the EAI seebeyond at the time of writing the file to be sent after reading the IDOC the format is changed. Initially the file is written in the ASCII format now we have changed the formatting to ISO to resolve the same.
    Thanks,
    Mohit

  • Commitment Interface from SAP to third party system!

    When we created Purchase Requisition or Purchase Order, the commitment will be created. The third party system needs to track the commitment. So SAP needs to send the commitment to the third party system by this interface.
    But when the Goods have been delivered, the commitment will be zero out and the actual will be posted to SAP. SAP needs to send the offsetting records to the third party system. In this way, the third party systems knows that how much commitments have been reduced.
    My problem is that I cannot find the right table to record the offsetting entry. In the table COSP, I can identify the commitment by the Business Transaction -- RMBA and RMBE. But it did not record the offsetting entry. It just becomes zero when the goods have been delivered. But I have nothing from that table to send to the third party system.
    Does anyone meet this problem before? Can you share some experience on this?
    Thanks

    Hi ,
    As pointed ...above you can for a file to file scenario you can create just the Business service in integration Directory and create two file communication channels for sender and reciever  under it.
    However if it was file to idoc or file to rfc ..
    then you need create ts web as abap ..identifying your R/3 system
    System Name: <you can give a 3 character id here of r/3 system ...i.e like IDS>
    System Home : <can be found in status of R/3 system>
    Installtion Number : In transaction Slicense in R/3
    Host Name : Same as System home can be specified.
    Message Server: <3600+instance Number can be found in the log pad to the r/3 system itself >
    associate a bussiness system with this ...create a product and a software component version ...In swcv in respository ..develop your object under it ...
    Import this business system in Configuration ..and create your communication chanel under it.
    Regards ,
    Deepak

  • Production order to third Party system

    Hi Gurus,
    I have requirement to transfer production orders created or changed in SAP system to third party system ? Can you please let me know, how it can be achieved ? ( Using IDOC or BAPI ). Any inputs appreciated, am not sure how message control can be used in SAP 4.7 for production orders.
    Thanks,
    Man

    Check this doc...Copy and paste it in explorer
    help.sap.com/bestpractices/BBLibrary/Documentation/J72_BPP_EN_ZH.doc
    Regards,
    Pavan

  • How to receive receipt in third-party system?

    I want to send message from third-party system via HTTP-adapter and
    integration server to SAP MDM. I have created outbound interface for my
    third-party system, message for this system, message mapping between my
    messageand ABABusinessPartner, scenario for transporting business
    partner data between message interface of third-party system and MDM
    interface ABABusinessPartnerIn.
    On third-party system side I have developed function which sends XML-
    message via HTTP protocol to SAP XI integration server (to HTTP-
    adapter). I want to receive delivery acknowledgement in synchronous
    mode (in same HTTP session). I want have delivery result
    (delivered/undelivered) in my third-party system.
    Because ABABusinessPartnerIn is a asynchronous interface then I can't
    use HTTP synchronous mode (parameter &qos=BE).
    Whether I should use the sync/async gateway?
    Message was edited by: Eugeny Balakhonov

    You can see the stocks with mvement type 101-O for that material

  • EDI message is not sending to the third party for one particular SA

    DearAll,
                   We have the scenario to send the schedule lines to the third party system. for one particular schedule agreement schedule lines not sending to the third party system.
    while processing the messgae it is giving the error as "Message XEDI already processed on 20110317 070042"
    What could be the reason?.. we have checked all the EDI settings maintained for this supplier. some two weeks back there is no problem now only getting this message.
    how to resolve this?..
    Thanks in Advance
    Ananth.

    Hi Hareesh,
    Thanks a lot for the help. I have tried with removing the xml namespace, still the same result. I believe, the problem is with MTs tag in response message structure, bank xml data is trying to map with the response structure in PI, but when its finding the MTs tag I believe then its not mapping, and directly its passing the response in SXMB_MONI without any mapping.
    My question is how can I define my response structure without the MTs tagm, I mean same as what I am receiving from bank.
    Also I tried with without any mapping in response structure, I mean I used only one Message type for "response from bank" to "response to ECC" , without xml namespace, in this case I am able to receive the response in ECC, but there is exception called "PARSE_APPLICATION_DATA Error during XML => ABAP
    conversion: Response Message; CX_ST_MATCH_ELEMENT in " while receiving response, and when I go and see the logs, it says "System expected element 'MT_Response_MT940_Test'" , as its try to match with the defined structure in PI.
    Please experts help me, so my question is how can I avoid the MTs tag in my response structure, I just want to define my response structure in PI same as bank is sending me the data in xml tag, without any MTs tag.
    Thanks,
    Farhan

  • Send idoc to external sap system

    hi all,
    is it possible to send IDoc to a sap system which is not in the same network with XI? If yes, is there any special points that should be taken care?
    Regards,
    Hui

    HI Hui
    It is possible. But it is IDOC to IDOC Scenario.
    Check these below SAP contribution docs on Idoc-Idoc scenario:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c09b775e-e56e-2910-1187-d8eba09c7a4a
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    Cheers..
    Vasu
    <i>** Reward points if found useful **</i>

  • Questions concerning HowTo send IDoc to external system

    Hi guys,
    well i want to send and receive IDoc from an external system.
    The other side of the communication now needs information from me what kind of parameters i can give to connect both systems. Also i need some informations concerning this.
    I gonna use IDoc-Tunneling in XI. Because of sending data to the ext. System i need a RFC-Connection of TCP/IP?! But what kind of program do i have to start at other side (see Technical settings).
    - Special to XI i have to configure a third party system in SLD. Do i need the system-parameters from the ext. System?
    - in ID i have to configure PARTY!? Right?!
    How to load external meta-data? is it possible via IDX2 by using the TCP/IP-RFC?
    Perhaps somebody can give me a road map on which data i need from the ext. system and what i can give to the admin of the ext. System for sending IDoc to XI?!
    br Jens

    By IDoc-Tunneling i am thinking of just putting the IDoc through XI without transformation in XML (like in one blogs of Michal). Because of this blog there seems only to be one step in IR - import IDoc. in ID there are the mandatory steps.
    But if i want the ext. Admin to tell what parameters i need to communicate with the ext. system i have doubts in telling him just the IP and perhaps a program which we have to start via RFC configured in XI.
    regards

  • 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 ?

Maybe you are looking for

  • Windows 7 client won't connect with 802.1x security

    Having issues connecting a windows 7 dell laptop with cisco unified wireless infrastructure.  Currently running 4 4402 WLCs and 1 wism.  The client in question is trying to connect to an AP that sits on one of the controllers on the wism.  WLC code r

  • 16:9 question/problem

    hello, i imported some footage, it was shot on a cannon gl-2 in 16.9 format, when i imported this into imovie it did get converted to 16.9 so there is a black bar on top of and below the footage in the time line...the problem is that when i add an ef

  • Adding DFF to table as an LOV field

    I am trying to add an LOV field as a new column to a table on an iAssets page. The new LOV field is a DFF. Using personalizations, I try to add an LOV field of messageLovtInput, to the table region of the page but I get a message: Unable to find comp

  • ITunes Store App Crash on iOS 7

    I have an iPhone 5 with with iOS 7 and that's the only app that crashes on me; when I attempt to open it the white screen comes up and it just kinda "explodes" (literally) on the screen and crashes.  Is is a known bug or would I have to do something

  • Can not get past log on screen

    I am having trouble logging on to our macbook when it boots up a window comes up log in unsuccessful error has occured. I have tried starting up in safe mode and resetting power management. Help please???