Scenario: Idoc - XI - external system (Idoc)

Hello,
I am trying to send an idoc from an sap 4.6c system to an external system. The external system is supporting idcos with trfc. This scenario is currently working with ALE. Now i have to set XI between these two systems.
My problem is to set up the communication channel in the integration builder (configuration) for the external system. The idoc is waitung in XI to transport. So the step XI-> external system causing problems.
My settings are:
adapter type: idoc
transport protocol: idoc
message protocol: idoc
adapter engine: integration engine
rfc destination: xyz (is working fine)
interface version: sap release 4.0 or higher
port: ??
sap release 46c
My problem is the port. should i set up a port in idx1? But the external system is not an sap system and so i dont have a client.
In XI i have defined a port in transaction we21 (transactional rfc) for the external system with rfc destination xyz. But if i enter that port in communication channel i got error messages.
Thanks for any help.

Hi christian,
i'm also working in IDOC scenario between ECC to XI to MDM, if u have any document or snapshot then pls fwd it to me.
[email protected]
Thanks,
Jitendra

Similar Messages

  • IDOC from external system

    Hi,
    I have scenarion in that we will receive IDOC from external system (SAP system) in XI i.e. IDOC- XI -IDOC scenrio. from my Understanding ,to configure the scenario I have to do ALE from sender side and IDOC receiver channel in receiving side.
    External system (SAP) -(ALE)-> XI -(IDOC rcv)--> Our System (SAP)
    Please can anyone provide me steps to do ALE from external system.
    Edited by: tapan singh on Feb 28, 2011 11:51 AM
    Edited by: tapan singh on Feb 28, 2011 11:52 AM

    Hi,
    We can have alternate ways to send IDocs from external system to SAP system. One way is in below link
    http://help.sap.com/saphelp_46b/helpdata/en/52/16abf6543311d1891c0000e8322f96/content.htm.
    http://help.sap.com/saphelp_40b/helpdata/ru/52/16abcf543311d1891c0000e8322f96/content.htm
    I can think of few more, like In external system after generating Idoc, save it as a tex and send it to SAP system using Http post or using web service.
    Look out to below discussion.
    Send IDoc from External System to SAP system
    Regards
    Aashish Sinha
    Edited by: Aashish Sinha on Feb 28, 2011 1:16 PM

  • Send IDoc from External System to SAP system

    Hi Folks,
        I have a requirement to send IDocs from an external system to the SAp system. Basically the external system is a subsystem which is able to send & receive idocs. The external system is currently able to send idocs to SAP system through the ALE layer but now we have to replace it by PI. Now the external system has to send teh IDocs to the SAP ECC system through the SAP PI 7.0.
       Kindly let me knowq how I can achieve it.
    Regards,
      Santosh

    Hi Satish,
    You can achieve this requirement
    1)If your external system going to support web service cals then send IDoc from External system as a web service, in PI use sender side SOAP and receiver side IDoc receiver channel  to  send IDoc.
    or
    2)Use proxy program ,implement the same ALE logic in PI.
      or
    3)Copy the Extenal IDoc message in to file folder as XML,then use file adapter to pick up this message and send it SAP using IDoc.
    Regards,
    raj

  • Send production order changes to external system IDOC

    Hi,
    I need to send production order changes to an an external system. I understand that I can trigger idocs using t-code POIT.
    but my requirement is when a order is changed, i want to trigger an IDOC to external system with the new PO data...how can I achieve this

    Hi Swathi,
    A very high level idea.
    You can use the user exit..."LXCO1U06" and call the transaction POIT in back goround and submit the idoc. This exit is used @ save of TA code CO02. Moreover as the production order can be changed through several transactions like COHV, CO40, COOIS etc....you have to check whether this exit would be applicable for all transaction.
    Regards,
    Chinna

  • IDOC HRSM_D External System / Deletion of vacancies failed

    Hi,
    we are using IDOC HRSM_D01 Upload Time Data to send HR vacancy data from an external system to SAP HCM.
    It should update Infotype 2001 with vacancy type 0100.
    This works fine. Data are sent via PI / IDOC and inbound processing through code HRSM_D.
    After that, we can see it in tables PTEXDIR and PTEX2000. It is transferred to HR/PA30 with the report RPTEXPT.
    So far, so good.
    Now we want to delete it. We re-send the same record, same  AWTYPE, DOCNR etc and add the "X" for REVERSED.
    The IDOC WE02 shows green, BAPI POST successful, but nothing is in table PTEXDIR and PTEX2000.
    When I look at the function module IDOC_INPUT_HRSM_SCHEDULE, it only handles PA2002 (Time Attendance, not absences) for reversed data. Is this true?
    Can I only delete Attendancies?
    Thanks for deedback
    hs

    When I look at the function module IDOC_INPUT_HRSM_SCHEDULE, it only handles PA2002 (Time Attendance, not absences) for reversed data. Is this true?
    Can I only delete Attendancies?
    I copied the whole sender agreement etc. and created a zIDOC_INPUT_HRSM_SCHEDULE procedure.
    I found out, that Infotype 2002 was hardcoded and 2001 Deletion was not supported. Now it workes, when I deleted the hardcoded 2002-checkup.
    But is there any better way?
    thx
    Holger

  • 'Accept IDOC' from external system

    Hi Experts,  I am new to IDOCS. I have to update one already written function module to accept IDOC in SAP from external system. In the function module I see some IMPORT parameters like 'input_method' and 'mass_processing' and EXPORT parameters like 'workflow_result' , 'application_variable' , 'in_update_task', 'call_transaction_done' . Can someone tell me what are these parameters for ???.

    input _method for method of data records update
    Mass_processing for handling the large number of Idocs in single take
    Workflow_result for hitting the results at last
    'in_update_task' update the records in update mode
    call_transaction_done' by using call transaction method it would post the records

  • Sending IDoc from external system to XI system

    Hi All,
        I want to send an IDoc from a subsytem (External System) to the SAP PI system. how to achieve the same ?
    Regards,
       Santosh

    hi,
    >>>Do you mean to say the port I am creating for the external system should actually refer to a SAP system
    not the port - port's name should be a new one but the RFC should point to an SAP system
    >>>and the IDoc you want to transmit should be imported to that port using the tcode IDX2.
    this will be transported then from SAP application system
    >>>>In fact I have already done the same step but its still not working the IDoc is not reaching the XI system.
    then you should see the error in your sending tool - I worked with JCO IDOC client and the error was always
    very explanatory (like BS in SLD missing etc.) so it was pretty easy to debug
    Regards,
    Michal Krawczyk

  • Publish idocs to external system

    Hi,
    We have a business requirement to publish Idocs to an external system, however we don't have any kind of middleware to perform that action.
    Since it is HR master data, we can use change pointers internal table, to create a flat file with that data, and the external system could read it from a shared folder.
    Do you know other options to send idocs to that external system? There is any function to publish idoc via webservices for example?
    How can I solve it technically?
    Thanks in advance!
    Luis Teixeira

    HI,
    Check if this code for automatic processing of idoc helps you.
    REPORT ZFI_BD87 NO STANDARD PAGE HEADING
                    MESSAGE-ID ZZ
                    LINE-SIZE 132.
    *& Program Name          :  ZFI_BD87                                  *
    *& Module Name           :  FINANCE                                   *
    *& Author                :  DEEPTHI REDDY KAUKUNTLA
    *& Creation Date         :  09/22/2006                                *
    *& Program Type          :  Report                                    *
    *& SAP Release           :  4.6C                                      *
    *& Description           :  To  automate the manual IDoc              *
                              processing.                               *
    *-- TABLES
    TABLES: EDIDC,         " Control record(IDoc) Table
            EDIDS.         " Status Record (IDoc) Table
    RANGES : R_DOCNUM FOR EDIDC-DOCNUM.
    *-- INTERNAL TABLES
    *-- Table for holding Control Record details.
    DATA: BEGIN OF IT_EDIDC OCCURS 100,
          DOCNUM LIKE EDIDC-DOCNUM,
          UPDDAT LIKE EDIDC-UPDDAT,
          UPDTIM LIKE EDIDC-UPDTIM,
          END OF IT_EDIDC.
    *-- Table for holding Control Record details.
    DATA: BEGIN OF IT_EDIDS OCCURS 100,
          DOCNUM LIKE EDIDS-DOCNUM,
          STAMID LIKE EDIDS-STAMID,
          STAMNO LIKE EDIDS-STAMNO,
          END OF IT_EDIDS.
    *--                 Selection Screen
    SELECTION-SCREEN BEGIN OF BLOCK S WITH FRAME TITLE TEXT-001.
    SELECT-OPTIONS : S_STATUS FOR EDIDC-STATUS,
                     S_MESTYP FOR EDIDC-MESTYP,
                     S_UPDDAT FOR EDIDC-UPDDAT,
                     S_STAMNO FOR EDIDS-STAMNO,
                     S_STAMID FOR EDIDS-STAMID.
    SELECTION-SCREEN END OF BLOCK S.
    *-- START OF SELECTION
    START-OF-SELECTION.
      PERFORM GET_IDOCNUM.
    *&      Form  GET_IDOCNUM
          text
    -->  p1        text
    <--  p2        text
    FORM GET_IDOCNUM.
      REFRESH R_DOCNUM.
      CLEAR   R_DOCNUM.
      SELECT DOCNUM
             UPDDAT
             UPDTIM
             FROM EDIDC INTO TABLE IT_EDIDC
                       WHERE STATUS IN S_STATUS
                       AND MESTYP   IN S_MESTYP
                       AND UPDDAT   IN S_UPDDAT.
      IF NOT IT_EDIDC[] IS INITIAL.
        SELECT DOCNUM
               STAMID
               STAMNO
                   FROM EDIDS INTO TABLE IT_EDIDS
                   FOR ALL ENTRIES IN
                   IT_EDIDC WHERE DOCNUM = IT_EDIDC-DOCNUM
                   AND LOGDAT = IT_EDIDC-UPDDAT AND
                   LOGTIM = IT_EDIDC-UPDTIM
                   AND STAMNO IN S_STAMNO
                   AND STAMID IN S_STAMID.
        LOOP AT IT_EDIDS.
          R_DOCNUM-LOW = IT_EDIDS-DOCNUM.
          R_DOCNUM-SIGN = 'I'.
          R_DOCNUM-OPTION = 'EQ'.
          APPEND R_DOCNUM.
          CLEAR R_DOCNUM.
        ENDLOOP.
      ENDIF.
      IF SY-SUBRC = 0.
        SUBMIT RBDMANI2
          VIA SELECTION-SCREEN
          USING SELECTION-SET 'VARIANT'
          USING SELECTION-SETS OF PROGRAM 'ZFI_BDC87'
             WITH SO_DOCNU IN R_DOCNUM
             WITH SO_MESTY IN S_MESTYP
             AND RETURN.
      ENDIF.
    ENDFORM.                    " GET_IDOCNUM
    regards,
    deepthi

  • 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

  • SAP system IDOC - XI - SAP system IDOC

    Hi,
    I have created several scenarios for sending IDOCs between different SAP systems, but I have a problem with just one SAP system that is a copy of our production system when is acting as a source.
    When sending the IDOC from source system, I can see the IDOC in SM58, with the following error message;
    "client xxx is not available in this system" where the client is actually the client of the receiving system.
    I have successfully sent IDOCs from other SAP systems to the same target SAP system so there is nothing wrong with the target system.
    Anyone experienced the same? Any ideas?
    best regards
    Torstein

    Hi,
    I am facing the same issue too. My target system is also release 700 and I have done all my SALE config, we21 settings. But still the error repeats as " Client XXX is not available in the system". How did you fix this issue?
    -Teresa

  • F-53 ,payext message type IDOC for External System

    Hi all,
       We have an existing system for triggering the external payment  advice created from F-43 through F110 T code. Now our users wanted to send the same Idoc with PAYEXT to be triggered from F-53 .
      Is there any way to acheive the above.As I am new to Idoc , Kindly advice on this.
    Thanks
    Arjun.

    why not
    it is possible
    you can use Business transaction events for this purpose.
    keep a break point at BF_FUNCTIONS_FIND
    this is the function module to find the business transaction events
    and at the time of saving F-53 find the event number which is called
    then go to TBE-31 table in SM30 and add your own custom function module which has the same template of the event which is called
    and get the datas from the input parameters of the event
    and using master_Idoc_distribute
    just populate the required datas to be transfereed and activate the custom FM
    it will work for sure.
    cheers
    s.janagar

  • Sending Production orders via Idoc to external system

    Hello,
    I want to generate an Idoc for a production order when releasing or saving it. Is there an output control where I define the message link the purchase order?
    Thanks!!

    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

  • Error sending IDOC from external Java application to Sap ERP system

    Hi Experts!
    When I try to send Idoc from Java application to XI an error occurs : no service for system CLNTJAVA, client in Integration Server.
    My question is: What value the setSenderPort() is excepting?The Java third party business system's logical name or the ERP business system's logical name where the JCO can be found?I tried both of them, but still have the problem.
    Please help. I read all threads about this error, but non of those can help me.
    My relevant java sourcecode:
                doc.setSenderPort("CLNTJAVA");
    The XI documentation says that:In the case of non-SAP senders, the entry in the SNDPOR field is interpreted as a logical system name, and the corresponding business system is searched for in the runtime cache.
    Both case(third party business sytem and erp business system) I have configured the ID    i think correctly. I  made a business systems,I configured the adapter specific identifies,I  made the IDX1 port,I made the RFC destination,I polled the IDOC type with IDX2 transaction, I have made full cache refresh,I configured the INTEGRATION_DIRECTORY_HMI rfc destination,but I do not made any communication channels, receiver determinations, receiver agreement.
    My configurations if it can help for you.
    Hostname:sapsp5
    System name: NE2
    Clients:
    000 ERP
    001 Integration Server
    <b>SLD configurations:</b>
    Third Party Technical system name: Java_sytem
    Business System:CLNTJAVA
    Logical system name: CLNTJAVA
    <b>ID configurations:</b>
    Business System:CLNTJAVA
    adapter-specific identifiers:logical system:CLNTJAVA, <u>the rest is initial</u>,because I cant change it.
    IDX1 port name: CLNTJAVA the client is 001. the rfc destination is client_001.
    I think the IDX1 port and the adapter specific identifiers are wrong. is it?
    my java source if the sender is the JCO
    doc.setSenderPort("INTSERV");
    My configurations if the sender is the JCO.
    <b>SLD configurations:</b>
    Technical system name: NE2
    Business System:INTEGRATION_SERVER_NE2
    Logical system name: INTSERV
    <b>ID configurations:</b>
    Business System:INTEGRATION_SERVER_NE2
    adapter-specific identifiers:logical system:INTSERV,system NE2,client 001.
    IDX1 port name: INTSERV the client is 001. the rfc destination is client_001.
    Could this error be an autorization error?I tired to connect to the xi from the Java, with the user PIISUSER extended with PISUPER roles.
    Thank very much.

    Hi!
    My SNDPOR already set to my source business system's logical name if you check my configurations(JAVACLNT), so there is another problem unfortunately. I set SNDPRN to JAVA, but it still does not work.
    Check this configuration please(posted here:
    No service for system ... in Integration Directory)
    doc.setMessageType("ACC_DOCUMENT");
    doc.setRecipientPort("SAPSE1"); // get stuck in XI mapping if not set
    doc.setRecipientPartnerType("LS");
    doc.setRecipientPartnerNumber("SE1CLNT500");
    <b>doc.setSenderPort("SAP3MA");</b>
    doc.setSenderPartnerType("LS");
    <b>doc.setSenderPartnerNumber("TREMACLNT");</b>
    doc.setClient("100");
    Inside XI configuration integration builder
    <b>Business Service: Service: TREMACLNT</b>
    Under the menu Service - Adapter specific identifiers
    Idoc Adapter Logical system: TAPPMAN (This thing is important when sending idoc XI -> SAP and should match the logical sys in the receiving SAP system)
    IDoc Adapter and RFC adapter R/3 Sysytem ID: 3MA
    Client: 100
    In IDX1 trans
    <b>Port: SAP3MA</b> (Note that the 3MA here is matched against the IDoc Adapter and RFC adapter R/3 Sysytem ID: 3MA)
    (a not so well documented feature)
    Client: 100
    RFC Destination: SE1 (A SAP test system from where IDOC def can be imported, rfc dests are setup in SM59)
    I guess that your idx1 port name is the same as the SNDPOR value. I think it should be, because the XI is whatching the IDOC traffic in the idoc adapter port, so you should send the IDOC from external system to the adapter port. Is it right?
    My idx1 port is the same as my SNDPOR value in Java,but still came the error.

  • How to tranport goods movement reservation to external system!!

    I want to send idocs to external system when I save a goods movement reservation using tcode mb21,mb22,etc.
    I dont know what configuration or development about Message Control and ALE I need to do!!
    Thank you so much for your time and consideration.

    You have to maintain output determination in the SPRO transaction -> Materials Management -> Inventory Management and Physical Inventory -> Output Determination.
    You have to maintain Condition tables, Output determination procedures, conditions etc. to do that.
    This is really a MM functional analyst work and NEVER should be done by an XI consultant.
    regards
    Shravan

  • Error in IDOC ststus , for interface IDOC to File

    Hi All,
              iI am doing IDOC to file interface , in which i am using IDOC Orders05, we are using the same IDOC for other interface to connect with DOTNET connectors , when i trigger the IDOC ORDERS05 for my interface when i check the ststus , in which it is pointing the to partner No and Port to that dontnet, not to my Iterface for SAP XI , anyone there to help me in  this isssue
    Thanking you
    Sridhar

    Hello,
             While sending Idoc you will be providing the Port which in turn needs RFC Destination and this is one which takes the document to External system configured in RFC.
    If you need to send the idoc to External Systems other than R/3 then you need to use T type connection which uses JCO for estblishing session. if it is R/3 then requires logon credentails and type 3 for configuring RFC.
    HTH
    Rajesh

Maybe you are looking for

  • Accounting document from _cancel invoice "Not cleared"

    Dear All, When we create a billing document then an accounting document gets created automatically in the background and then when we cancel the billing document then another accounting document gets generated and the entries in the previous accounti

  • [Session Beans]Cannot make any queries!

    Hello, I created a simple session bean and find method works fine. Problem comes with queries...I tried to make this simple query: Query query = em.createQuery("from Employee e where e.name='myName' ")but I get this exception: > GRAVE: [!!EXCEPTION!!

  • How to start new messages and replies using text format only?

    Hallo, I would like to start typing a new message in text format without the need to type every time the key option shift command T. The same, when I reply to a message I would like to use text only. I have played with the preferences but any of them

  • Policy-map going into suspended mode over a GRE

    Hi I have a GRE tunnel over another GRE tunnel. When I apply a nested policy on the Child GRE the policy map does not attach, what is the cause. The sho policy-map int Tux/x showed that it is suspended I am not making a breakthrough here. The hard wa

  • Flash CS3 Strange IDE Problem

    Hi -- I am having a totally bizarre issue with the Flash CS3 IDE in that my "Output" window is always blank. This just started happening to me today. I have tried creating a new Flash movie and putting in a single line of Actionscript: trace("Hi") Wh