Error sending Idoc's to SAP

Hi,
I'm getting error in file-XI-SAP scenario. File is read and transformed to Idoc ok, but then I get this kind of error message in SXMB_MONI:
<SAP:Stack>Error: Basic type 'HRMD_A01' is unknown</SAP:Stack>
What I'm I missing in the scenario?

Hi Tapio,
Take a look at this link:
http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/content.htm
Error: No IDocs could be sent to the SAP BW using RFC.
Hope it helps you.
Cheers,
Chandra

Similar Messages

  • Sending IDoc Batches to SAP: Issue with Header Mapping for SNDPRN

    We are sending batched IDocs from XI to SAP. We need the individual IDocs to reflect different SNDPRN values. Our mapping creates the different IDoc EDI_DC40 record correctly with different SNDPRN values. However, XI wipes out the SNDPRN values in the payload. When we define Header mapping to get the Sender Party as the XPath to the SNDPRN in the payload, then the header mapping errors out because the XPath returns multiple values.
    I wanted to know if anyone has successfully implemented sending IDoc batches to SAP from XI with different SNDPRN values.
    Your feedback is appreciated.
    Jay Malla
    Licensed To Code
    Genentech SAP XI Team

    Hello,
    I have the same problem. I want XI send an IDOC with the SNDPOR, SNDPRT and the SNDPRN that are in the EDIDC40.
    <u><b>I find this in sap.help : </b></u>
    <i>Mapping
    The IDoc adapter does not make any special demands on mapping. The IDoc adapter must simply be provided with an IDoc XML structure at the Integration Server outbound channel. This either already exists or must be generated by using a mapping.
    If the IDoc XML structure contains a control record, it is deleted and created again by the IDoc adapter. If you want to include additional values in the control record, you must select the Apply Control Record Values from Payload checkbox in the parameters in the communication channel and provide a corresponding mapping for the values.
    You can include the values from the following fields in your IDoc control record:
    MESCOD, MESFCT
    TEST
    EXPRESS
    STD, STDVRS, STDMES
    SNDSAD, SNDLAD
    RCVSAD, RCVLAD
    REFINT, REFGRP, REFMES</i>
    http://help.sap.com/saphelp_nw04/helpdata/en/b9/c5b13bbeb0cb37e10000000a11402f/frameset.htm
    Perhaps we must use party configuration but I don't know how do this !
    Regards,
    Chris<u></u>

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

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

  • Send IDOC Messages to SAP

    I have a text file which contains lots of records. I have created a schema for that text file.Then I mapped this schema with IDOC (Acc_Document03)schema.Now I want to send this IDOC message to SAP.There is not shown any errors by BizTalk admin console.But
    the message is not reached to SAP.But when I  send this IDOC message to a location through File adapter instead of SAP adapter then it has reached there .Why this is happening ?
    Please also tell me how to send multiple IDOC message to SAP ?

    Hi Glenn.
    I got the following error:
    The adapter failed to transmit message going to send port "Interplx.SAP_SendPort" with URL "sap://CLIENT=130;LANG=EN;@A/10.151.97.51/00?RfcSdkTrace=False&AbapDebug=False&ListenerGwHost=10.151.97.51&ListenerGwServ=SAPGW00&ListenerProgramId=BTSIDOC_DEV-".
    It will be retransmitted after the retry interval specified for this Send Port. Details:"System.Xml.XmlException: Start element 'ITEMNO_ACC' from namespace 'http://Microsoft.LobServices.Sap/2007/03/Types/Idoc/3/ACC_DOCUMENT03//701' expected. Found element
    'ITEMNO_ACC' from namespace ''.
    Server stack trace: 
       at System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
       at System.ServiceModel.Channels.ServiceChannel.EndRequest(IAsyncResult result)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at System.ServiceModel.Channels.IRequestChannel.EndRequest(IAsyncResult result)
       at Microsoft.BizTalk.Adapter.Wcf.Runtime.WcfClient`2.RequestCallback(IAsyncResult result)".
    Prakash

  • 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

  • Sender IDOC adapter for SAP 3.1H system & XI 7.0

    We are on XI 7.0 and XI would receive a IDOC message from SAP 3.1H system.
    I need to import IDOC's in imported objects in integration repository but I cannot see any IDOC under the IDOC node. I am able to see the RFC's. Do we need to do extra steps with SAP 3.1H version for IDOC adapter?
    Thanks in advance for help!
    Mrudula

    Ahmad,
    This thread is for sender RFC adapter. I am able to see the all the RFC's but not IDOC's from Integration repository for imported objects from SAP 3.1H version.
    Thanks!
    Mrudula

  • Whether this function module K_DOCUMENT_UPDATE can send IDOC to Non SAP Sys

    Hi,
    I know function Module K_DOCUMENT_UPDATE can sent IDOC to R/3 systems.
    1.Whether this function module can sent the IDOC to Non SAP System?.
    2.How to make sure, that the function module can sent IDOC to Non SAP System?.
    Please advise.Thanks.
    Regards,
    Dinesh

    Hi Dinesh,
          Inside this function module K_DOCUMENT_UPDATE there is a FM available 
    CALL FUNCTION 'K_DOCUMENT_SEND'
           EXPORTING
                I_LOGSYS      = LOGSYSTEM
                I_COBK        = COBK
           TABLES
                T_COEP        = LT_COEP
                T_COEPL       = LT_COEPL
           EXCEPTIONS
                 This FM is responsible to send IDOCs to the defined logical system LOGSYSTEM. No matter this logica; system is SAP or non-SAP IDOC will be sent. Prerequisite are,
    1) RFC connection exist between system
    2) Partner profile is configured between the system.
    Regards
    Ram

  • Error sending IDOC from JCO Client to PI AEX 7.3.1

    Hi All
    We have a requirement to send an IDOC from a non SAP System to our ECC via PI AEX :
    JCO.Client --> PI AEX --> SAP ECC
    At this time, we are testing this scenario with a JAVA Client with JCO Library (3.0.10).
    Destination to PI is OK
    Destination to our SAP ECC (for IDocRepository) is OK
    But by sending the IDOC to PI we are getting the following error, Exception is raised on the PI System and sent back to the JCO Client :
    com.sap.conn.jco.JCoException: (104) JCO_ERROR_SYSTEM_FAILURE: while trying to invoke the method java.lang.Object.hashCode() of an object loaded from local variable 'key' (raised by system <extern>|PiSystem)
        at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:670)
        at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.execute(MiddlewareJavaRfc.java:1881)
        at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:1120)
        at com.sap.conn.jco.rt.ClientConnection.execute(ClientConnection.java:953)
        at com.sap.conn.jco.rt.RfcDestination.execute(RfcDestination.java:1465)
        at com.sap.conn.jco.rt.AbapFunction.execute(AbapFunction.java:319)
        at com.sap.conn.idoc.jco.JCoIDoc.send(JCoIDoc.java:323)
        at com.sap.conn.idoc.jco.JCoIDoc.send(JCoIDoc.java:353)
        at sap_connector_examples.IDocClientExampleToJavaPO_pbs.main(IDocClientExampleToJavaPO_pbs.java:97)
    Caused by: RfcException: [<extern>|PiSystem]
        message: while trying to invoke the method java.lang.Object.hashCode() of an object loaded from local variable 'key'
        Return code: RFC_SYS_EXCEPTION(3)
        error group: 104
        key: RFC_ERROR_SYSTEM_FAILURE
    Exception raised by <extern>|PiSystem
    PI Destination:
    jco.destination.repository_destination=ABAP_AS_WITHOUT_POOL
    jco.client.gwhost=PiSystem
    jco.client.gwserv=sapgw01
    jco.client.tpname=XI_IDOC_DEFAULT_PID
    jco.client.type=E
    ECC Destination: (ABAP_AS_WITHOUT_POOL)
    jco.client.lang=en
    jco.client.client=100
    jco.client.passwd=****
    jco.client.user=User
    jco.client.sysnr=00
    jco.client.ashost=ECCSystem
    We have already set the PI VM System parameter  jco.allow_non_abap_partner to 1
    ECC User has S_RFC Rolle
    I will be thankful for any advise.
    Thank You
    Regards
    Stéphane

    Hi
    InboundRA (Resource Adapter) is green (Fully available).
    What do you mean by maintaining JCO RFC Destination in PI ?
    We have set the inboundRA Properties has follow :
    ProgramID : XI_IDOC_DEFAULT_PID
    DestinationName : XI_IDOC_DEFAULT_DESTINATION
    Local: true
    mutliRepository : ED1=XI_IDOC_DEFAULT_DESTINATION_ED1;ES4=XI_IDOC_DEFAULT_DESTINATION_ES4;MD1=XI_IDOC_DEFAULT_DESTINATION_MD1;ES1=XI_IDOC_DEFAULT_DESTINATION_ES1;PD1=XI_IDOC_DEFAULT_DESTINATION_PD1;
    GatewayServer and Service are pointing to our PI System
    BindingKey : PI_AAE_IDOC
    And for each Repository we created a destination in NWA pointing to the corresponding ECC System.
    (target host pointing to the ECC System and the Gateway host  pointing to the PI System)
    Our Installation isn't new but it is the first time we are configuring the System for this scenario:
    JCO.client --> PI AEX
    Regards
    Stéphane

  • Error sending IDoc from ERP to PI 7.4 Java Only (stuck in SM58)

    Hi specialists
    I'm trying to send an IDoc to our new PI 7.4 Java Only.
    Because of some authorization issues I changed the RFC Destination <blabla> on PI (nwa) pointing to the ERP system.
    Now the IDoc is stuck in SM58 (tRFC queue) and I get this error message:
    The IDoc Destination <blabla> was changed. Refresh the destination instance with
    Meldungsnr. SR053
    Anyone able to tell me where to do this refresh? I'm new to PI 7.4 Java Only and could not find useful answers on SCN and other internet sources.
    Thanks a lot in advance for any hints.
    Renaud

    Hi Iñaki
    Great document btw... didn't stumble uppon this before. Thanks.
    I carefully went through it but nothing I tried helped.
    The RFC destination (PI -> ERP) is working fine.
    The resource adapter (inboundRA) is configured correctly. I can confirm, that the connection test of the RFC-Destination inside ERP (ERP -> PI) is successful.
    BUT still: sending an IDoc from ERP to PI fails with this message in SM58:
    The IDoc Destination <destinationName> was changed. Refresh the destination instance with
    Meldungsnr. SR053
    This seems to happen every time after one changes some settings in the destination specified in the inboundRA property "destinationName".
    So my question still is: how / where do I refresh this destination instance on a PI 7.4 Java Stack Only??? I mean without having to restart the whole PI instance...
    Best regards
    Renaud

  • Error sending IDOC to PI

    Hi experts,
    I´ve configured an IDOC to IDOC scenario.
    The source system sends an IDOC to PI. The problem is this IDOC doesn´t arrive to PI (no message in SXI_MONITOR).
    I´ve checked in the source system the transaction SM58, and I have the following error message:
    Kein Service für System SAPVTQ Mandant 699 im Integration Directory
    Any idea of how can I solved it?
    Thanks,
    Javier

    Hi Pragathi,
    You were right, it was because of the partner profile. I didn´t select the option Individual Processing.
    Thanks for your answers,
    Javier

  • Sending IDoc to Non-SAP system

    Hi Folks,
        I have to send an IDoc to the external system. Kindly let me know the steps to be performed for it.
    Reagrds,
      santosh

    Just to be a little more clear. The step 8 in the previous link.
    8. Checking the Partner Profiles.
    o       Go to T. Code WE20
    o       Expand Partner Type 'Vendor'
    o       Select the Partner profile __
    o       Double click on Message Type ZCATSTIME in Outbound parmtrs.
    o       Check Receiver Port is assigned correctlyo     
    Check the Basic type as your Basic IDOC object.
    Disha.

  • Error by sending IDOC-acknowledgements

    Hello,
    we have the following scenario:
    R/3 IDOC -> XI -> Mail-Adapter
    We want to receive acknowledgements from the adapter.
    But we get the error "Sender XI Party http://sap.com/xi/XI / XIParty / xyz couldn't be transformed to an IDoc Partner".
    Does anyone know how to solve this problem?
    Regards,
    Thorsten

    Hi,
      Ok then,
    <i>Only the IDOC-acknowledgements couldn't be sent back to the R/3.</i>
    1.By any chance, did you check the
    IDXNOALE table: and see if the port, the
    client of the sender, and the message type id there.If yes then that table lists and block your acknowledgement.
    2. Check this, "Use transaction SXMB_ADM ( Integration
    Engine - Configuration) to obtain system
    error acknowledgments from pipeline
    services of the Integration Server and
    maintain the specific configuration
    parameter ACK_SYSTEM_FAILURE of the
    RUNTIME category.Whenever a system error occurs within the Integration Server, a system error
    acknowledgment is sent back to the sender.But this is for system error acknowledgements.
    3. Did you refer the guide: "How To Handle Acknowledgments for IDoc"
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    OR
    https://websmp106.sap-ag.de/nw-howtoguides
    Then go to exchange Infrastructure.
    Regards,
    Anirban.

  • Send DOC Messages to SAP

    I have a text file which contains lots of records. I have created a schema for that text file.Then I mapped this schema with IDOC (Acc_Document03)schema.Now I want to send this IDOC message to SAP.There is not shown any errors by BizTalk admin console.But
    the message is not reached to SAP.But when I  send this IDOC message to a location through File adapter instead of SAP adapter then it has reached there .Why this is happening ?
    Please also tell me how to send multiple IDOC message to SAP ?

    Let's continue this in one thread:
    http://social.msdn.microsoft.com/Forums/en-US/cde76044-c8cb-4d17-b675-2542824d17a6/send-idoc-messages-to-sap?forum=biztalkgeneral
    Same author, same question..
    Glenn Colpaert - MCTS BizTalk Server - Blog : http://blog.codit.eu

  • Idoc  b/w sap(r/3) and non sap system .

    hi gurus,
    how i pass an outbound idoc  b/w sap(r/3) and non sap system .
    which  function module we will use in this scenerio for inbound and outbound idoc both
    please guide me  with an example .

    Hi Pawan,
    Non SAP system should have RFC adapter in order to receive and send Idocs from/to SAP.
    If this is not your case, you should us a Integrator Middelware with RFC and standard adapters like SAP Exchange Infrastructure.
    If for example, your non SAP system is able to process data from flat files you can build next interface: SAP send Idocs to middleware that receive them using RFC adapter, middelware maps Idocs into flat file and send it to a one of non SAP system folder using FTP adapter. Non sap system triggers the flat file into its applications.
    Reward points if useful.
    Roger

Maybe you are looking for

  • Time Machine Backup not only from boot volume

    hello As far as I know, Time Machine, makes a backup from a boot volume to a second volume. Is their a way to include a second or third volume in this backup. What i want is the following. On the boot volume is a normal OS X, we have a iSCSI-RAID con

  • After updating CP8 to 8.0.1.242 Quiz buttons dissapear

    I installed the latest patch yesterday. Before the patch I published my quiz and everything worked fine except the final slide audio would start after the first correct answer (no clue why). After the patch all my quiz buttons disappear. They are cus

  • Movie download stopped due to unknown error

    DOwnloading a movie that stopped with an error message (-50) any suggestions?

  • Config User Status to the Equipment Master User Status

    All, I created a user status profile and assigned the same user profile to a sales order item category and also an equipment master. I was hoping that when I created my sales order and selected a user status and then saved the order and also delivere

  • FTP Client can not make a Data connection in Extened Passive Mode

    When i send the command "EPSV" to the FTP server , it reply with the message : 229 Entering Extened Passive Mode (|||60238|) It seems the Server accept Extended Passive Mode. But then i send the LIST command to the server , after a few seconds i got