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

Similar Messages

  • 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

  • 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

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

  • Send IDOC Messages In Order to XI

    Hi,
    I am using Job Scheduling for sending the list of Vendors(CREMAS IDOCs) to SAP XI from SAP R/3.
    I am generating a unique ID for each vendor received. Just because all the messages reach XI at the same time, I am getting the same ID for many Vendors.
    I am using Mapping Look up to get the maximum ID. I am then adding one to the maximum number and generating the new ID.
    Is there any way to solve this problem?
    I would like to know if I can process the messages one after the other to solve this issue.
    Regards,
    Venkatesh

    hi,
    2 ways:
    1. send IDOCs in queue (possible only is your ERP is on WAS 6.40 or more)
    2. use table IDXQUEUE to queue them inside XI
    both approaches described in my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Sending 2 messages from SAP but get 1 message in PI

    Hi all,
    This is a bit of a strange one but I have the situation where we send two idocs at the same time from a SAP ECC system to PI. The first idoc is processed but the second one just dissapears. Things I have checked:
    SMQ1/SMQ2 on both systems - nothing there
    Runtime workbench - the successful one is there but no failed messages
    Sending two messages from another ECC system - we do get both messages - but this is a different interface (however the one with the problem is just a copy of the one which works)
    Any ideas what this could be or what else I should be checking?
    Kind regards
    Ben

    Hi Mark,
    Thanks for your quick reply. I have checked idx5 and there is only one message/TID from the sending system.
    The other ECC system is owned by a different department so I will ask them to run SM58 to see if anything is stuck in there as well

  • 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

  • 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

  • Send Support message to SAP from solman

    Hi
    Where can we find the document to connect solution manager to sap market place ,so that we can send the support messages to Sap from Solution manager directly with out logging into Service market place.
    Thanks
    Nanda

    Hi Kishore,
    Hope below URL Helps.
    /people/kamran.ellahi2/blog/2006/01/13/setting-up-sap-service-desk-123-and-go
    /people/federico.babelis2/blog/2006/04/14/service-desk-configuration-guide-for-dummies
    Cheers
    Deeepanshu

  • How to send a message to SAP Service market

    Hi All,
    I have requirement to Implement OSS notes 693746 and 848961. This notes is for release 500. We are using ECC release 600. If i implement this notes. Is it works.
    I want to know if it works or not. How can i raise a message to SAP service market to know it works or not.
    Regards,
    Aravind

    Hi Arvind,
    For raising an issue to OSS, you need to have a login id on SAP market place.
    In case you  have a login id you can directly go quick links under SAP support portal section.
    Once you enter your user name & password then you will be navigated to a new page.On this page on the top-left side you will see a link for you inbox,once you go into your inbox select create new message tab and you can post your queries to sap online assisstant.
    Thanks & regards,
    Subodh

  • 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

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

  • Send Fault message from SAP XI

    I have scenario: get async file from FTP. Starting BPM. From BPM I send message to SOAP service(sync). Where I recieve Fault Message. In BPM I have exception handler.
    Could any body tell how send parced Fault message to FTP.
    As I understand we need mapping somthing like "Fault message type" to "Inbound message type"

    Hi Anton,
    Its not possible to catch the data of fault message in BPM with the standard design.Since you can't make an abstract interface of the fault message.
    The option available is to parse the XML in the fault message mapping and do a call using UDF's (RFC, SOAP, JDBC calls are supported).
    cheers
    Sunil.

  • Send IDOC from SAP system to IX but can't see any message in SXI_MONITOR

    Hi all,
    I have built up an XI system and configured an IDOC to IDOC scenario between two SAP Systems. After completed all configuration necessary:
    1. Configuration on Source Side (SAP System that send IDOC) and on Target Side (SAP System that receive IDOC) is OK.
    2. SLD is OK: Technical System and Business System are correct for these two SAP System.
    3. Integration Repository: all designed Object is OK.
    4. Integration Directory: all configuration is OK. "Test Configuration" Function is OK.
    5. Runtime WorkBench: is OK. "Test Message"  Function of "Integration Server" is OK.
    In general, it is all OK.
    But when i send an IDOC from SAP System Sour Side (Outbound IDOC from Source Side is OK), on the XI server i can't see any message in Tcode SXI_MONITOR. In this case, my XI server didn't receive any IDOC Message from  this Source Side, and so that my XI server can't process and exchange any IDOC sent from Source Side.
    Anyone can please help me to explain this problem: why my XI server can't receive any IDOC message from SAP System Source Side when all configuration is OK? Do anyone see the same case as this case?
    Thanks a lot for all in advance,
    Best regards,
    Vinh vo

    Hi,
    Possible checks
    At R/3 side
    1) Check in SMQ1 and SM58
    At XI Side
    1) Check in SMQ2 and IDX5
    Check this
    http://help.sap.com/saphelp_nw04/helpdata/en/6a/e6194119d8f323e10000000a155106/frameset.htm
    Regards
    Seshagiri

Maybe you are looking for

  • Not able to open Canon 6D raw file in PS CS5! Can i Upgrade from CS5 to CS6?

    I recently purchased the Canon 6D. I'm running Photoshop CS5 on my windows computer. I want to work in Camera Raw but I need version CS6 in order to do so. I'm having great difficulty getting a link to purchase the upgrade. I need help, please.

  • In the image format...

    hi. I am making a little image 100 x 100 and it sayes in the middle "Ian Carry" then it bounces of the sides slowly...like one of thows screen savers. anyway, I went to publish settings a checked the .GIF and the .JPEG and I tested them both. none of

  • Problems with the installation of game

    I want to know what devices supports the Game Api! thanh you

  • If quicktime x is 64bit can I run FCS in 64bit

    Since Final Cut X is 64 bit, and quicktime not being 64 bit was the "reason" Final Cut 7 can't be run in 64-bit mode, can I now run Final Cut 7 in 64 bit by using Quicktime X. A feature that "premiere" has boasted for some time. It pains me to sit ne

  • Jbuttons in JTree

    Hello Guys! I have got a problem I have got a JTree with JButtons but only the childs are Buttons, pleas can you help me that the parents are also JButtons. package com.cbm.vis.util; import java.awt.*; import java.util.*; import javax.swing.*; import