Connecting of an external system by IDOC adapter

Hello everybody,
we want to connect an external (storage) system to XI by IDOC-Adapter.
In a scenario without XI the R/3 backend triggers the external system by RFC-Call (TCPIP-conncetion) and an program on the external system is called. This program executes an RFC-call on the R/3 to get the IDOC-informations.
IN the new scenario (with XI) the R/3 Backend sends the IDOC information to XI. The XI routes this to external system. An TCPIP-Connection is needed which calls the program from the external system.
But how should this work? The program can not (or should not) call the R/3 Backend directly but the XI.
What has to be done now? Has the program of the external system changed so that it can understand IDOC-structure directly?
Or do I have to implement a business process scenario to guarantee that the external system reads the IDOC data in XI (similar to "old" scenario?
Thanks a lot!

HI everybody,
thank you very much for your help. Now it es possible to send an IDOC from R/3 Backend and IDOC-Adapter via XI to an external system using the IDOC-Adapter.
But now the external system wants to send IDOCs back. So the communication is realised by using the IDOC-Adapter again. In this case we do not get the messages in XI. The conncection is ok (we see this in the Gateway), but the system gets an error in IDOC adapter (sys-log):
<b><b>Transaktions-Abbruch IDOC_ADAPTER 151 ( LFS 910 )</b></b>LFS = external system (AS400).
In the RFC-Trace we find following information:
<b> **** Tra
Transaktions-Abbruch IDOC_ADAPTER 151 ( LFS 910 )ce file opened at 20060223 111414 W. Europe Stand, SAP-REL 640,0,109 RFC
======> Der Funktionsbaustein "EDI_FILL_SYIDOC01_FOR_RFC" ist nicht vorhanden
ABAP Programm: SAPLIDX1 (Transaction: )
Called function module: EDI_FILL_SYIDOC01_FOR_RFC
User: RFC_USER (Client: 910)
Destination: C01 (handle: 3, , {C322581B-EB47-43E7-87D7-4607C2873828})
SERVER> RFC Server Session (handle: 1, 95896538, {43FD899F-8993-0202-E100-00000A
SERVER> Caller host: LHMAS40A.INTRANET.SYS
SERVER> Caller transaction code:  (Caller Program: SAPCPIC)
SERVER> Called function module: ARFC_DEST_SHIP</b>
Can anybody help us?
Thanks a lot!
Florian

Similar Messages

  • Sending Purchasing record to external system by Idoc

    Hi,
    We need to send Purchasing Info Records to external system via idocs when a Purchasing info record is created or changed.
    Please let me know how can we do this.

    Check with your technical team message type INFREC for Purchasing info record.Create one custom program and this should check the inforecord new ones and changed ones then it should trigger idocs in background then it sent to external system.To do this automatically setup custom program batchjob.

  • HR - XI - External System: one IDOC to multiple XML Files

    Hi,
    I have a scenario where I need, out of one HRMD_A07 IDOC send multiple XML files:
    The IDOC and the XML files can the Master data for many employee (IDOC has max of 200 as of SAP, external system, max of 1000).
    The IDOC will be generated with change pointers with all the needed filters (I can add/remove if needed).
    My goal is to generate 3 types of XML files:
    - 1 for the persons (containing basic info like name, firstname, persnr,etc)
    - 1 for the various unit (with basic info of unit like number, description & name)
    - 1 for the links between persons and units (this person is linked with that unit)
    The structures of the 3 XML files are know and can be imported via XSD definition.
    Do I need to use BPM for doing so or is there a way to do that with simple mapping?
    If BPM is needed, as I new to that, if you have a link to a begginer guide, fell free to send it
    Cheers,
    greg

    hi,
      For your scenario there is no need of BPM.
      In message mapping select the message tag.
      In the target add 3 message types.
      Just map the fields.Go to Interface mapping add the 3 message in the target.
      Get the mapping.
      In ID sender agreement,Receiver Determination is same.
      In Interface Determination select extended.Get the mapping.
      Create 3 Receiver agreement for each Receiver.
    Regards,
    Prakasu

  • Data exchange b/w sap crm and external system with oracle adapter

    Hi All,
    I am new to SAP CRM. Previously , I worked on SAP R/3(ERP).
    Our requirement is that we want connection b/w these 2 system (SAP and NON-SAP SYSTEM) through EAI layer and also Point to Point  connection.
    If anyone hav material related to this plz provide me the link.
    hemlata

    Hi,
       Please refer to the URL below
      http://www.oracle.com/technology/products/integration/adapters/dev_support.html
    regards,
    Vivek

  • Connect BW to external system

    Hello Experts,
    We have data in Essbase system...is there a way to connect it to the BW system ?? is DB connect the way to go ??
    Thanks
    Asha

    Hi
    I guess is it related with Hyperion.
    Regards
    Manga

  • Connection between portal (KM system) and external server.

    Hello All,
    I need to establish connection between portal (KM system) and external server. At external server, IIS and WebDAV are configured.
    So for this reason, I have created an HTTP system and a webDAV repository manager at portal, but not able to connect to the external system.
    I have created a webDAV template, but not able see it under KM systems to create a webDAV system, I have even restarted the portal, still no use
    Please suggest, any prerequisites need to be done?
    Thanks
    sk

    Hello Supraja.
    Yes, ofcourse i already followed the doc.... In the 20th page of the doc, it is said the portal needs to be started, for the WebDAV template to be seen. to go head and creat a WebDAV system under KM systems.
    But even after restarting the portal, I cant find the already created WebDAV template. Any guess to reslove it...
    A quick response it appreciated.
    regards-
    sk

  • XI 2.0 - IDOC Adapter configuration

    Hi,
    I currently have an integration scenario whereby an external system sends IDOC-XML to our integration server which then forwards this via an IDOC adapter to an R/3 620 system. 
    When I send the XML to one client I keep getting the following message :-
      <SAP:Context />
      <SAP:Code p1="Requested parameter does not exist" p2="RQ1CLNT302" p3="" p4="">IDOC_ADAPTER.RECEIVER_BSI_INCORRECT</SAP:Code>
      <SAP:Text language="EN">Unable to convert partner to IDoc receiver partner</SAP:Text>
    After my initial investigation I believed that the above error was due to the client within the SLD had been set-up without a logical system name and the receiving business system had been set-up without an ALE name.  In order to resolve this I deleted and re-created the client and the business system within the SLD.  Having done all this the error still occurs. 
    Does anyone know what causes this problem?
    The systems involved have been set-up in the SLD as follows :-
    a) Sending system PKMS_SAPTEST Alename: PKMS_TEST
    b) Receiving system RQ1CLNT302 Alename RQ1CLNT302
    I have checked the ports in IDX1 and the partner profile in the receiving system but still cannot work out what is causing this problem.
    I know I am missing something really obvious as these messages work when I send them to other clients but I am at a loss to explain the difference
    Regards
    Ian

    Hi All,
    I have now resolved this problem and thought I should spend some time sharing this with you. 
    I decided to look at the code that was issuing the error which was calling a function module called SAI_LOGICAL_SYSTEM_GET to return the logical system for my business system.  When I ran the function module in test mode it returned a blank logical system.  The logical system is stores in table sailcrbsc.  I re-ran the function module with the bypass buffer field set to 'X' - now when the function module is called it returns the correct logical system.
    Anyone out there have any more info on this?  How should I have re-built this table?
    Regards
    Ian

  • Send BP changedOn date to external system

    Hi CRM Technical Experts,
    I am using bapi crmxif_partner_save_m01 to send create and change of BP to external system as Idoc. I also need to send changed on date and user id, if changes are made to bp. but I could't find appropriate fields in bapi. Idoc contains only create date and time.
    Is there anything with bdoc to send or how is it works.

    hi
    Mehar
    We need to customize the settings in Middleware for data integration between CRM and a external system
    this can be done through XIF adapter
    please navigate through IMG as follows..
    IMG --> Customer Relationship Managment --> CRM Middleware and Related Components --> Exchanging Data with External Components --> XIF Adapter Setup --> Outbound/Inbound Direction
    hope it clarifies
    Venu

  • PCK no IDOC Adapter

    Hi
    it seems that the [SAP PCK |http://help.sap.com/saphelp_nw04/helpdata/EN/99/115281baba404890d2561617a78409/frameset.htm](Partner Connectivity Kit) does not come with IDOC Adapter. 
    Is that really true ?   Seems strange that I'd have to use the RFC Adapter to say post in a Order to R/3 system...rather than via IDOC.

    Yes, the PCK and the non-cenral AAE do not have plain HTTP, IDoc or WS-RM adapter.
    This will be future enhancements of the PCK and AAE.

  • Different PO item number in SAP and in external system

    We are sending Purchase Orders to external system via Idoc and receiving dispatch advices (Inbound delivery) from the external systems via Idoc. In SAP PO line items are numbered as 10,20,30....... In the external system the line items are numbered as 1,2,3........
    So when Inbound delivery is received into SAP from external system it is failing due to line item numbers are not matching.
    I got info that this issue can be resolved by using fields E1EDL24-POSNR and E1EDL24-POSEX correctly. I do not know exactly how.The Idoc type used is DESADV.
    Please help with this issue.

    You can see these fields in WE02 when you process with your idoc number.If you want to edit idoc POsnr from 1...10 then you can edit idoc through we19 transaction.
    If you want perminanat solution then check with ABAPer to pass one zero after line item number as your external system passes 1,2....10..etc.
    This can possible check with your technical team.

  • FTP file on Appserver to an external system from ABAP

    Hi,
    I am trying to FTP a file that my program writes to the APPSERVER directory. I used FTP_CONNECT, FTP_COMMAND and FTP_DISCONNECT.
    I am able to connect to the external system and change to the directory where I have to write the file using cd. The problem arises when I use lcd command to switch the local directory. Although, i specify the path, lcd /usr/sap/icomm/iface/outbound/, on execution of this command, the system points to my C:\Documents and Settings\rkademani\SapWorkDir.
    How can I make it point to my appserver?
    Further, this program will be scheduled as a background job in Production. I have tried to schedule this as a background job, even then it gives me the same error.
    Please help. Thanks in advance.
    RK

    What error do you get?  When I hit "test" I see:
                              Connection test SAPFTPA 
    Connection type:    TCP/IP connection            
    Logon:                    155  msec              
       0  KB:                    1  msec              
      10  KB:                   15  msec              
      20  KB:                    2  msec              
      30  KB:                    3  msec             
    The only visible settings are "Activation type = Start on Application Server, and the Program = sapftp... in the RFCDES table in SE16, I see:
    Destination                      Type Options                                                                               
    SAPFTP                           T    H=%%SAPGUI%%,N=sapftp,R=N,     
    SAPFTPA                          T    N=sapftp,R=N,                 
    Jonathan

  • FTP to external system

    Hi,
    I am try to establish a connection to the external system. I am using the FM "FTP_CONNECT" for connection in my ABAP program. But somehow I am not able to connect.
    I am getting an error message saying "Attempting to connect to (HOSTname) fail".
    I have checked user authorization and it seems everything is fine.
    Do I need to pass gateway parameters in this FM as this is the external system (They are optional)? Currently I am not passing anything in all three gateway information.
    CALL FUNCTION 'FTP_CONNECT'
         EXPORTING USER = USER
                   PWD = PASSWORD
                   ACCT = ACCOUNT HOST = HOST
                   TRACE = FTP_TRACE
                   GUSER = ''
                   GPWD = ''
                   GHOST = ''
         IMPORTING HANDLE = HANDLE
                   ERROR = CERROR
         EXCEPTIONS SYSTEM_FAILURE = 1
                    COMMUNICATION_FAILURE = 2.
    Appreciate your early response.
    Thanks,
    Samay

    Hi Samay,
    You need to setup RFC Destination (SM59). If you don't have authorization, please ask BASIS to help you. Otherwise please follow this steps.
    When you define an RFC server program (usually an executable on a server) as RFC destination, you choose either 'START' or 'Registration'. 'Start' means the SAP application sending anything to this destination will trigger this program, while registration means this program will already be running (like a service) and have already registered itself to SAP server.
    Once you have defined your RFC destination as of type 'registration', you should execute this exe with the syntax
    "pgmname.exe -a<ProgramID>
    -g<Gateway Host>
    -x<Gateway Service>
    " where programID shall be the same as the RFC destination name (I think) and gateway host and service is from the app server where you are registering this destination,
    to have it started as a service and registered as the destination to the SAP server (which you can afterwards see in SMGW txn).
    If you want this program to be started when something is sent to this RFC destination from SAP, make it of type 'START'.
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Connection with external System using AS2/SFTP adapter.

    Hi All,
    I need to use SFTP/AS2 to connect to an external Server which is not in our landscape.
    Can anybody could help whether i need to create a party on the Sender side as sender system is an external Server.
    I have gone through many docs but i am not clear when to use party and when not..?
    Regards,
    Rahul

    Hi Rahul
    Whether to use a party or not is both an architectural question as well as a development question.
    Architecturally, if an external server is not in your landscape and belongs to a different company/entity, your scenario would be a B2B process. You can refer to the below link for more details about B2B, but I've included a short snippet below too.
    http://help.sap.com/saphelp_nwpi711/helpdata/en/48/c7a475da5e31ebe10000000a42189b/content.htm
    Using a communication party, you address a company that is involved in a B2B process.
    The (technical) name of the communication party (for example Bosch) is the identifier for the company within an Integration Directory. To be able to identify the company during any external communication using a globally unique ID, you specify alternative identifiers for a communication party. For external communication, the name of the communication party that is known internally is mapped to the ID. A particular identifier is specified in the communication channel (see below).
    In terms of development, not all adapters (FTP, SFTP, SOAP, etc) require the use of a party object when you develop a B2B integration scenario. There are companies which have implemented all B2B scenarios using those adapters in an A2A style (using just Business Systems.)
    As Harish has mentioned, if you use the Seeburger AS2 adapter, you will need the party object (AS2ID is configured there), but if you use the SFTP adapter, it is optional.
    For your case, I'd recommend going with Party to clear distinguish that it is a B2B process.
    Rgds
    Eng Swee

  • Adapter setting for external system

    Hi,
    I have to connect external data system with CRM for BP & products.
    What type of adapter are available in CRM 4.0 to connect  to external system?
    What are the setting & where are located in CRM
    How to ensure that import is done 100% correct?
    Your reply is highly appreciated.
    Thanks,
    Sush

    Hi Sush,
    If you have to carry out an initial load for the master data, you can use the LSMW and DX-WB(Data Transfer Workbench).The DX-WB updates IDocs in the CRM-XIF format via the main memory into the application.You can use the LSMW to generate such IDocs. The only requirement for this file is that mapping to the CRM-XIF IDoc must be possible for it. This mapping is defined in the LSMW.
    IDoc types CRMXIF_PARTNER_SAVE_M01, CRMXIF_PARTNER_REL_SAVE_M01 and CRMXIF_PRODUCT_SAVE_M01 in Transaction WE30. These are used in the LSMW and DX-WB.
    Or
    you can use a 3rd party EAI tool which can execute XML/SOAP calls. Then function modules CRMXIF_PARTNER_SAVE, CRMXIF_PARTNER_REL_SAVE, and CRMXIF_PRODUCT_SAVE can be called by means of XML/SOAP and execute the mapping of the customer structures to the CRM-XML.
    Check for the OSS notes 448742 for more details.
    Please reward with points.
    cheers,
    Mark

  • Step by Step how we can connect SAP CRM to External system..

    Hi Experts,
    I want to know the informations of how we can connect sap CRM to External system, and what are the settings we have to do ,to enable XIF adapter..
    This is very imp requirement kindly give support.., how we can connect to other system..through XIF Adapter..??
    IS it possible to create ZBAPI in SAP CRM..?
    Thankz in Advance
    Regards
    J Sarathi

    Hi,
    - Xif adapters and service process the BDOC messages.
    - adapters for inbound and outbounfd processing.
    -it will forward the messages from  the inbound queues to the control component.
    -BDOC is a business document where the flow of data to and from the CRM system takes place.
    -Bdoc is a container that contain business data
    - it describes the hierarchial structure of the business data.
    -you can also create custom specific BDOC types,
    -BDOC's as a data container to process business objects as one unit and this avoid having to transport several individual tables.
    Bdoc types are found in BDOC repositry.
    Bdoc types have two part
    Header- consist of one single segment so-caooed control segment
    Body - consist of one or more data segment
    Idoc having three types of data:
    control record
    Data record
    status record
    hope it will useful.
    thanks
    Hemant ghiya

Maybe you are looking for