Receiving IDocs from non-SAP system ...

Hello guys,
I have problem with implementing IDoc-XI-IDoc scenario. The sender system is a subsystem (non-SAP system) sending IDocs but XI is not able to receive them. I thing the IDoc metadata can not be found.
Logical system name of the sender is IF6020DEV. I registered the system in SLD. In Integration Directory I imported the Bussines System IF6020DEV to my scenario and I created communication channel of type Sender IDoc Adapter in it.
In IDX2 I created new port called IF6020DEV and I copied needed metadata into the port. But it doesn't work. Probably I don't do it right because I'm beginner with SAP XI.
Could you give me any advice how to configure XI for receiving IDocs from non-SAP system?
Thank you in advance!
Regards
Zbynek

Thank you very much. The issue described in refered discussion is almost same issue what I'm solving. Unfortunetally the described solution dosn't work for me.
The sender system still returns following error. I know you probably won't understand it because you don't know the subsystem, but maybe you could get some idea what is wrong.
05/29/09 16:09:19.482 idoup2 Logon...
05/29/09 16:09:19.482 idoup2 RfcOpenEx (TRACE=1 CLIENT=110 USER=xxxxxx LANG=D LCHECK=1 GWHOST=xxxxxx GWSERV=3361 ASHOST=xxxxxxx SYSNR=61 PASSWD=<password>)
05/29/09 16:09:19.529 idoup2 Logon RfcOpenEx result=1
05/29/09 16:09:19.607 idoup2 Call to (IDOC_INBOUND_ASYNCHRONOUS) failed (3)
05/29/09 16:09:19.607 idoup2 Handle=1
05/29/09 16:09:19.607 idoup2 key............:
05/29/09 16:09:19.607 idoup2 status.........:
05/29/09 16:09:19.607 idoup2 message........:IDoc-Adapter Eingang: Der Absenderport ist initial
05/29/09 16:09:19.607 idoup2 internal status:
05/29/09 16:09:19.607 idoup2 idoc_upload failed with rc=(3), try(2)
05/29/09 16:09:20.607 idoup2 key............:IDoc-Adapter Eingang: Der Absend
05/29/09 16:09:20.607 idoup2 status.........:EXCEPTION SYSTEM_FAILURE RAISED
05/29/09 16:09:20.607 idoup2 message........:IDoc-Adapter Eingang: Der Absenderport ist initial
05/29/09 16:09:20.607 idoup2 internal status:
05/29/09 16:09:20.607 idoup2 idoc_upload failed with rc=(18), try(1)
05/29/09 16:09:21.607 idoup2 Logoff...

Similar Messages

  • Sending IDoc from Non-SAP system to XI

    Dear all,
       We have a non sap system which needs to send IDoc to XI, Please could you answer my following four questions
    1. What should be the values for the following fields in the IDoc control record
    e.g. RCVPRN = <logical system name of XI>
    SNDPOR
    SNDPRT
    SNDPRN
    RCVPRT
    RCVPOR
    2. How does XI decide which port(idx1) to be used when it receives an idoc
    3. The third party system is a non sap one, so it does not have a client no, so I would assume, I need to use another SAP system as a meta data provider, in that case, how would i tell XI to use that port when it receives IDocs from the non-SAP system ?
    4. In what step does XI use the logical system name of the Business system(in SLD)?
    Thanks in advance
    cheers
    danus
    Edited by: Chidambaram Danus on Jan 25, 2008 2:21 PM

    Hi
    there is bit wrong interpretation of the statement
    If the sender system is a non-SAP system, the sender service is identified from the logical system name of the sender port.
    If the sender system is nonSAP it indicates taht the data is coming to XI from non sap systems such as file, database, webservice etc. to XI and from XI it will pass to sap as IDOC inbound.
    For this you need to create the logical system in SAP (receiver) and pass on that value to IDOC header.
    You could maintain it in the Business service used for Sender system (nonSAP). here it will be available in the tabs ---> History.
    note : IDOC is the concept of data container in SAP, you will not be able to have the IDOCs in non sap systems...
    Thanks
    Swarup
    Edited by: Swarup Sawant on Jan 25, 2008 2:54 PM

  • FM to recive the Idocs from Non-SAP system.

    Hi Gurus,,,,
    Is there any FM to recive the IDocs from the outside(Non-SAP) into SAP system.
    Thanks In Advance.
    Abhi....

    hi digvijay
    You could refer to this link which has method to convert  xml to Idoc:
    http://www.wmusers.com/forum/showthread.php?t=9059
    Best Regards
    Manthan.

  • EDI Sales order creation in CRM through inbound IDocs from non SAP system

    Hi Friends,
    We are having a scenario where we need to create a Sales Order in CRM for a B2B EDI transmission through IDoc. Customer is sending the EDI Transmission of his Sales order , which is passing through PI and then reaching to CRM to create a Sales order.This is the design we need to follow to make it happen,we are initially trying to create an order using WE19 for testing and the details are:
    Basic Type - CRMXIF_ORDER_SAVE_M01
    Message Type - CRMXIF_ORDER_SAVE_M
    Functional Module - APPL_IDOC_INPUTI which is automatically giving a status text as " Function module CRMXIF_ORDER_SAVE has been called successfully", but no sales order is saved in CRM.
    We are getting idocs posted successfully with status 53 with the statuses sequence 74, 50 ,64, 62 and 53.Our issue is inspire of the Idoc having status 53 and the FM called successfully we are not seeing the sales order created in CRM.
    We are stuck here no sales order is created in CRM.
    Are we missing any config. - set up  - Prerequisit  -  Any OSS note need to be applied  --  ANy middle ware setting ?
    Any help will be greatly appreciated.
    Thanks
    Vijay

    Hi Christophe,
    Awesome!!!!!! it worked, You are the best.
    I could able to create a sales order in CRM,but below are the valid data I passed in the respective segment fields.Except for first 3 values rest all did not get reflected in teh Sales order.I feel i am missing some qualifiers.
    Can you kindly share the  IDoc data to be passed in...along with respective segments and fields:
    Segment                                                 Field
    E101CRMXIF_BUSTRANS     OBJECT_TASK         
    E101CRMXIF_BUSTRANS     PROCESS_TYPE
    E101CRMXIF_BUSTRANS     POSTING_DATE
    E101CRMXIF_PARTNER                          PARTNER_NO
    E101CRMXIF_PARTNER                RELATION_PARTNER_NO
    E101CRMXIF_ORGMAN         SALES_ORG
    E101CRMXIF_ORGMAN          DIS_CHANNEL
    E101CRMXIF_ORGMAN         DIVISION
    E101CRMXIF_SALES             PO_NUMBER_SOLD
    E101CRMXIF_SALES            YOUR_REF_SOLD
    E101CRMXIF_SALES            PO_NUMBER_SHIP
    E101CRMXIF_BUSTRANS_ITEM     ITEM_NUMBER
    E101CRMXIF_BUSTRANS_ITEM     ITEM_TYPE
    E101CRMXIF_BUSTRANS_ITEM     ORDERED_PRODUCT
    E101CRMXIF_PRODUCT_I     PROCESS_QTY_UNIT
    E101CRMXIF_PRODUCT_I     PROCESS_QTY_UNIT_ISO
    E101CRMXIF_PRODUCT_I     BASE_QTY_UNIT
    E101CRMXIF_PRODUCT_I     BASE_QTY_UNIT_ISO
    E101CRMXIF_SCHEDLIN_I     ORDER_QTY
    Thanks a ton in advance .
    Vijay

  • Stop generation of Inbound IDOC from Non - SAP

    Hi Experts,
    I have a requirement to update data base PA0105 for Email. The Email is coming for external system (Non SAP), which contains 1 employee in 1 IDoc. If SAP has valid email and same has been passed for external system to SAP via Inbound IDoc, it should not update PA0105. Hence, I am deleting the IDOC segments in Exit "ZXHALU07", before RBDAPP01 is getting called. As per the requirement its working fine.
    Question: Is there any way to stop generating the IDOC. If the email ID were same, then IDoc should not generate in SAP.  Please provide your valuable reply.  Thanks.
    Regards,
    Ganesh R K.

    Hi All,
    Scenario:
    Need to Create Inbound IDOC in SAP system and receive it from Non Sap system.
    Problem:
    IDOC is successfully dispatched from Non Sap system(Sender Side) but, it is not received to SAP system(Receiver Side).
    At receiver side(in SAP system) all configuration settings are fine (RFC destination is tested with no errors, partner profile are given with the inbound parameters, function module is successfully tested with no errors, distribution model is created etc).
    In receiving system(SAP) no IDOCs are generated in We02 after sending the IDOC from Non Sap side.
    Can any one please suggest me the reason for the above mentioned problem?
    Thank you,
    Swetha.C

  • IDOCS: Inbound non-SAP system

    Hi
    The outbound idocs works fine. I want to create an inbound goods receipt/movement idoc.
    Should i rather write RFC to update the SAP system from a non-SAP system ?

    Hi,
    Your first query...
    Should i rather write RFC to update the SAP system from a non-SAP system ?
    Always prefer using idocs for posting before BAPI / RFC fucntion module.
    As you have mentioned outbound idocs are working fine..which means you are able to create idocs from non-sap system..right? If so you can use same idoc type for posting.
    Your second query's answer...
    Check out following code for calling BAPI_GOODSMVT_CREATE
    You need to code to call function module /BAPI in your posting program as follows..
    append the data into the corresponding internal tables and work-area, check for the IMPORT and TABLES parameter in the function module BAPI_GOODSMVT_CREATE.
    a.     GOODSMVT_HEADER-DOC_DATE = SYST-DATM
    b.     GOODSMVT_HEADER -PSTNG_DATE = RECEIPT_DATE (Input File)
    c.     GOODSMVT_HEADER - HEADER_TXT = BATCH ID (Input File)
    d.     GOODSMVT_HEADER - GR_GI_SLIP_NO = GOODS_INWARD_NO (Input File)
    e.     GOODSMVT_ITEM-MOVE_TYPE = Constant ‘101’
    f.     GOODSMVT_ITEM-PO_NUMBER = PURCHASE_ORDER_NO (Input File)
    g.     GOODSMVT_ITEM -PO_ITEM  = PURCHASE_ORDER_LINE_NO (Input File)
    h.     GOODSMVT_ITEM –PLANT = From Selection Screen (WERKS)
    i.     GOODSMVT_ITEM – STGE_LOC = From Selection Screen (LGORT)
    j.     GOODSMVT_ITEM -ENTRY_QNT = QUANTITY_RETURNED (Input File)
    k.     GOODSMVT_ITEM -NO_MORE_GR = COMPLETE_INDICATOR (Input File). Value ‘X’ if status = ‘X’ else space.
    6.     Call the function module BAPI_GOODSMVT_CREATE.
    7.     Use function module BAPI_TRANSACTION_COMMIT to do the commit work.
    append the data into the corresponding internal tables and work-area, check for the IMPORT and TABLES parameter in the function module BAPI_GOODSMVT_CREATE.
    a.     GOODSMVT_HEADER-DOC_DATE = SYST-DATM
    b.     GOODSMVT_HEADER -PSTNG_DATE = RECEIPT_DATE (Input File)
    c.     GOODSMVT_HEADER - HEADER_TXT = BATCH ID (Input File)
    d.     GOODSMVT_HEADER - GR_GI_SLIP_NO = GOODS_INWARD_NO (Input File)
    e.     GOODSMVT_ITEM-MOVE_TYPE = Constant ‘101’
    f.     GOODSMVT_ITEM-PO_NUMBER = PURCHASE_ORDER_NO (Input File)
    g.     GOODSMVT_ITEM -PO_ITEM  = PURCHASE_ORDER_LINE_NO (Input File)
    h.     GOODSMVT_ITEM –PLANT = From Selection Screen (WERKS)
    i.     GOODSMVT_ITEM – STGE_LOC = From Selection Screen (LGORT)
    j.     GOODSMVT_ITEM -ENTRY_QNT = QUANTITY_RETURNED (Input File)
    k.     GOODSMVT_ITEM -NO_MORE_GR = COMPLETE_INDICATOR (Input File). Value ‘X’ if status = ‘X’ else space.
    6.     Call the function module BAPI_GOODSMVT_CREATE.
    7.     Use function module BAPI_TRANSACTION_COMMIT to do the commit work.
    Hope this will help you.
    Cheers,
    Nilesh

  • *IDOC INBOUND ( NON SAP system - SAP system )*

    I am transferring IDOC  INBOUND ( NON SAP system ->> SAP system ) by calling SAP standard funtc module IDOC_INBOUND_SINGLE using SAP JCo.
    In which I am passing all necessary information in Control Record regarding sender and receiver port/IDOC/segment etc.
    BUT help me to clarify my doubt that if i am calling a function and i am able to access SAP FM, then why i have to specify the SAP port/RFC connection at RECEIVER end in WE21.
    Whats the Significance if i am calling the FM from same SAP system and configuring the port explicitly in WE21.*
    If i don't Specify in we02 i am getting error as EDI : RECEIVER PORT in CONTROL RECORD is INVALID

    Dear Sree,
    For Basic understanding of IDOC read : saptechnical - Step-by Step ALE IDOC guide ( all necessary TCodes available here )
    Kindly let me know your data flow .
    In short :
    As per my scenario the data flow is from  non SAP to SAP  i,.e. Inbound processing.
    At my non SAP  i am calling SAP standard function IDOC_INBOUND_SINGLE using SAP Jco 2.1.
    You have to fill all Control Structure EDI_DC40 ( port etc. ) and Table parameter EDI_DD40 ( segment etc. )
    Read IDOC status and error in WE02.
    Goodluck.
    - Aakash

  • Triggering SAP workflow from non-SAP system

    I am trying to use WF-XML to trigger a workflow in SAP from non-SAP system. 
    I have already created a workflow template in SAP and want to test the scenario if this will be really hit by the incoming xml message.
    Questions:
    1. How the data from incoming xml is tranferred to workflow container element? IF system does it, how is done? If not how to address it?
    2. Do we have some tool here, to simulate this situation - to create a test xml incoming message with SAP and really see if that triggers the desired workflow template. Pupose is testing the scenario first in SAP and then going to the other system to test the real interface.
    This is somewhat similar that we see in incoming IDoc. In Idoc we can simulate the incoming IDoc structure and test.
    Is any one here who can guide on this?
    Thanks in advance.
    Rgds.

    Hi,
    You don't need a triggering event. In the xml it says which workflow should be started. You don't need a class to fill the container. The service does this.
    I think there is a way to generate an example xml but I don't know exactly how. In the <a href="http://help.sap.com/saphelp_nw70/helpdata/en/54/de9e3887d6174fe10000009b38f842/frameset.htm">SAPHelp</a> there are some examples of the documents. Check also the entry above it about the creation of a WF_XML document. In the first and third example it shows a container element and its value (QUESTION).
    Try to get a copy of the book "Practical workflow for SAP" by Alan Rickayzen. It has got a part about this.
    Also check this link from the SAPHelp:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/e8/ea8d380be34e6ce10000009b38f842/frameset.htm">Call Tab Page</a>
    Regards,
    Martin

  • Uploading data from non sap system to sap system

    hi to all experts,
    my requirement is to upload data into the sap system from non sap system . the data is in  a flat file ,but the problem is that  in the flat file all the field lengths and fields are not in order or same as sap system. How to upload the data into sap system ....

    hi,
    the data is in a flat file,but the problem is that in the flat file all the field lengths and fields are not in order or same as sap system.
    If the data is in excel sheet use this FM.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
        EXPORTING
          FILENAME                      = P_FILE
          I_BEGIN_COL                   = 1
          I_BEGIN_ROW                   = 1
          I_END_COL                     = 17
          I_END_ROW                     = 3000
        TABLES
          INTERN                        = itab
    EXCEPTIONS
      INCONSISTENT_PARAMETERS       = 1
      UPLOAD_OLE                    = 2
      OTHERS                        = 3
    It will read the data from excel sheet column wise and then store it in ITAB. you can change the order after reading the file.
    In case of Text file use FM  GUI_UPLOAD.
    You can change the order of the fileds after reading it from file, but the length and all you have to make compatible to SAP standard fields.
    Regards,
    Sachin

  • Call rfc sender adapter from non-sap systems

    Hi,
    is ist possible to connect to an rfc sender adapter from non-sap systems? I want to use the the RFC-Connector from http://rfcconnector.com, but in the client connect options there is no way to specify the program id.
    Best regards,
    Daniel

    hi,
    you don't need to use RFC type T (with program ID) - you can use whole connection string - just like in the example:
    http://www.rfcconnector.com/documentation/examples/client/#functioncall
    so just specify: host system number etc.
    it should work like that - but let me know as I don't know this RFC connector
    Regards,
    Michal Krawczyk

  • Invoice posting for the PO from Non-SAP system

    Dear Friends,
    I have one requirement like from Non-SAP system PO details will be accessed from SAP and after certain calculations Invoice will be posted for the same PO back to SAP.
    Everything needs to be done in Non-SAP system by accessing SAP system.
    There are some BAPI which can be used for the purpose, but I am not able to get the correct BAPIs to get the PO details and Posting the Invoice for PO.
    Please anybody can help me out with the BAPI details.
    Thanks in Advance.

    Hi,
    Use following BAPIs
    BAPI_PO_GETDETAIL - To get Purchase Order details
    BAPI_INCOMINGINVOICE_CREATE - For Incoming Invoice
    Regards
    Vinod

  • BAPI for calling Z transaction From NON-SAP system

    hi all, am new to BAPI i want to know that can we call any standard or Z transaction from NON-SAP system using BAPI if yes then plz let me know how.???
    thanx...

    BAPI's are not used for calling transactions. They have the same result though, a business partner for example kan be created, and maintained via the GUI, but it can also be done via a BAPI. These BAPI's are created for calling them from (non-) SAP systems since they are remote enabled. However, this means that the calling application / party will have to 'build' some sort of application themselves in order to call these BAPI's from 'outside' of the SAP system.
    The calling application will have to have access to the system, which can be maintained in the remote destination transaction SM59.
    But enough of this, there are lots and lots of posts on SDN about BAPI's, remote destination etc.

  • File Transfer from non-SAP System.

    Hi Experts,
    We have the requirement to copy/transfer file from non-SAP system to SAP system file server. Can we use these FMs FTP_CONNECT, FTP_COMMAND and FTP_DISCONNECT?
    or can we also use SXPG_COMMAND_EXECUTE?
    Thanks,
    Edson

    Hi Varma,
    Thanks. I'm looking at the FTP_COMMAND FM. If I got it right the 'command' parameter here should be the OS level commands? Example would be cp <file path from source> <file folder of destination> for unix. ?
    Thanks again,
    Edson

  • Problem in Fetching data using RFC FM from NON SAP system

    Hi All,
    Need help from experts on data transfer using RFC from a non SAP system/database. I have creasted the destination in sm59.
    I have created a function module too which has an import parameter as a query and export parameter as an internal table.
    No when i test run this function module it returns some entries. But when I call this FM in a program it throws a dump 'rfc_external_abort' .  Here is what the call to FM looks like in my program. Please guide me on this.
    Thanks in advance,
    Saket.
    DATA : lv_query TYPE string,
           it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT *  FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION  'D39'
      EXPORTING
        in_sql_query       = lv_query
    IMPORTING
       ET_GDDB_DATA       = it_gddbdata

    Hi,
    your question..
    DATA : lv_query TYPE string,
    it_gddbdata TYPE ZC9_TAB_SOLMAN_XI_RFC.
    lv_query = 'SELECT * FROM GDDB.VW_GDDB_PERSONS WHERE LASTNAME = ''''A'''''.
    CALL FUNCTION 'Z_C9_SOLMAN_XI_GDDBCON'
    DESTINATION 'D39'
    EXPORTING
    in_sql_query = lv_query
    IMPORTING
    ET_GDDB_DATA = it_gddbdata
    you are telling that you are fetching the data  from non sap system  using RFC function module.. how it is possible..you canot fetch the data from non SAP system using RFC FM alone.. you have to use the concept BAPI.. it will work..
    I hope this will help  you..
    Regards,
    Kiran

  • What ATP category to use when loading from non SAP system

    Hi Experts,
    We are sourcing transactional data from SAP R/3 and using CIF to transfer these data to APO.
    Now we have new sets of material locations where we are going to source transcational data from non-SAP system. We are going to extract file from non-SAP system and load it to APO. My question is, do I need to create new categories (non SAP categories) for all these transactional data (sales order, production order, purchase order, etc...) Or can I just use existing SAP categories that are getting populated when data are coming from R/3 through CIF.
    If its possible, can I use RLCDELETE to delete previously posted transactional data? because we are planning to do full refresh and reload everyday.
    Appreciate your help. Thanks
    Regards,
    Mylene

    Hi My lene,
    If i undersood your question correctly, you are trying to upload transaction data into APO system using file interface.
    You can use custom or standard ATP categories to upload any type of transaction data and deletion of those orders also possible for both the ATP categories using RLCDLETE report (except salesorder and fixed planned orders, they can be deleted by SDORDER_DEL & DELETE_PP_OREDER reports respectively).
    Custome categoires will be used in case additional data needs to get stored in APO system along with the standard transaction data coming from ECC system . For example, salesorders coming from ECC and uploaded from file.
    If the transaction data coming from only one source system then it is better to use standard categories.
    Hope this answers your question.
    Thanks & Regards,
    Jagadeesh

Maybe you are looking for