File to Multiple Idocs, Error: Tag MESSAGE1 found instead of tag IDOC BEGIN

Hi,
I have configured my file to multiple idocs scenario using the following blog -
/people/claus.wallacher/blog/2006/06/29/message-splitting-using-the-graphical-mapping-tool
Now when i try to execute this scenario it is scenario it is giving me the following error at "Call Adapter" Stage in runtime-
"Tag MESSAGE1 found instead of tag IDOC BEGIN="
My message looks like this at "Request Message Mapping" Stage in runtime -
  <?xml version="1.0" encoding="UTF-8" ?>
- <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
- <ns0:Message1>
- <ZDR009>
- <IDOC BEGIN="1">
- <Z100901 SEGMENT="1">
  <RUNDATE>20080220</RUNDATE>
  <RUNTIME>0037</RUNTIME>
  <CONSTANT1>PYRLINCST</CONSTANT1>
  <CONSTANT2>CSC</CONSTANT2>
- <Z100902 SEGMENT="1">
  <RECTYP>2</RECTYP>
  <SSN>641381239</SSN>
Kindly assist me in solving this error, Thanks in Advance!!
Regards.
Sudheer

Hi Sudheer,
Just the check the message mapping. Check the parant node mappings to create two different messages.
It seems that the mapping done on IDOC Node to create the IDOCs is getting failed.
Copy the content from inbound payload and test it in message mapping.
Remember, when you load the test data into your test tab you will get the error of structure mismatch coz in your mapping you have additional message.
Do the change with original data as shown below befor testing.
<?xml version="1.0" encoding="UTF-8" ?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
   <ns0:Message1>
Original message will be here.
</ns0:Message1>
</ns0:Messages>
Regards,
Sarvesh

Similar Messages

  • Tag  found instead of tag IDOC BEGIN=

    I am doing file to IDOC.
    I see this error in SXMB_moni.
    Error: MSGGUID 55F5AB4083AC11DDA9030050569C7B40 Tag  found instead of tag IDOC BEGIN=
    What could be the issue....
    Edited by: Harsha reddy on Sep 17, 2008 4:39 AM

    Hey
    Are you trying to post multiple IDOC's?
    If yes,then did you change the IDOC occurrence as 0-unbounded?
    Also try to import the IDOC metadata again in IDX2 and run the scenario.
    Thanx
    Aamir

  • IDoc Error: No recipient found for IDoc message type in the ALE model...

    Hello Experts,
    I just created an IDoc for purchase orders and when I try to test it after releasing
    the PO, an error is shown in the processing log saying that there are no recipients
    found for my message type of the IDoc. I refrenced it against a working IDoc but I might be
    missing something.
    Hope you can help me guys. Thank you and take care!

    hi,
    in bd64 ,goto change mode select ur distribution model and click add message type define ur logical systems and message type and save.
    thn goto environment - partner profiles - f 8.it will show whether model is created or any errors.
    then go back edit - model view - distribute.
    reward points if hlpful.

  • CLFMAS02 IDOC ERROR CHARACTERSTIC NOT FOUND

    hI aLL
    I had an error in CLFMAS02 a classification master, it says that the Characteristic "DUMMY" not found or not. but when i checked it by using CT04 it does exist. by using the txn code BD87 it says that Error during IDoc processing - see log for details. can you help me with this. pls.. thanks so much..

    Hi All ,
    Problem is solved for this we have to change the configuration.

  • Idoc error - basetype not found

    Hey,
    I try to configure a netweaver system (aii) and a r3 to communicate with each other.
    the aii system did not have the base type matmas01 to receive a material via bd10 from r3 to aii.
    I only send a material with a number and that`s it.
    I created a basetype in the aii with segment E1MARAM and the fields msgfn, matnr, mbrsh, mtart.
    Is this enough?
    Then I assigned the Zaidmatmas to this new created base type zmatmas1. I configured in WE20 the parameters for the partner profile and gave him a zmatmas1.
    Then I sent a material via BD10, but it does not appear under the producs in my aii. why?
    what else should i do to achieve this?
    In my R3 I have a status 3 and a green light, but in the aii there never is an incoming idoc. (not even a failure msg, just no connection, although the rfc works properly)

    In my R3 I have a status 3 and a green light, but in the aii there never is an incoming idoc.
    Check if u have any entry in sm58 of R3
    Regards,
    Prateek

  • Reg. IDoc errors in Mat Mas conversion using ALE/IDocs & reduced msg type

    Hi Friends,
    Am facing a strange situation while converting the Material Master data from 4.6b to ECC using BD10 transaction with reduced custom message type. I have reduced the standard msg type MATMAS03 using BD53 for the required field mapping both in 4.6b and ECC systems and I written the code using the exit EXIT_SAPLMV01_002 based on client req.
    The situation is that in receiving system(ECC) sometimes IDocs are failing and the error shows that some fields which I have not selected in E1MARAM segment of the reduced msg type are populated with some values(ex: zeroes-0, slash-/,spaces)
    (Error Msg -Blank spaces in change number     0   / are not supported). And all these coversions are scheduled as Batch jobs and by ALE setup. But when I try to send these errored out material numbers using BD10 tcode(without Batch job), they are posted successfully and the IDoc does not show the additonal fields which I have not selected. I tried to debug the errored parts conversion, but they always post successfully.
    FYI, the additonal fields which are populating does not exist in the message type MATMAS03 of the sending system(100 flds) but exists in receiving system ECC(118 flds).
    Please help me out..if you have any clue.. and pls let me know if you need more info about this scenario.
    Thanks

    Hi,
    Please check the documentation in WE60 tcode and see if the fields are required to be passed...
    Regards,
    Nagaraj

  • How to get the XML TAG name itself instead of TAG value

    Hi All,
    I have a question here
    I want to retrieve the XML tag from a XML file instead of its value.
    Example:
    <item>Colgate</item>
    Now I want to retrieve "item" as output from XPath expression, I dont want its value as "colgate"
    How to do that...?
    Thanks
    -Praveen

    You can do this with an axes XPatch expression:
    child::node()/name()
    For more info see: http://www.w3schools.com/xpath/xpath_axes.asp
    HTH,
    Bas

  • File-to-Idoc error (using business sender service)

    Hello,
    My scenario is Flat file to IDoc.  I am using a business service as my sender system.  I did put in a logical system name in the business service and I have added the logical system in SALE.
    The error I am getting is <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>MSGGUID 526719BA7E874E3906EEF45B43806D5C: Tag CULL_GR_RECORD found instead of tag IDOC BEGIN=</SAP:P1>
    This is confusing to me because the CULL_GR_RECORD is the name of my data record of the file that is converted into an idoc within XI. 
    Can someone please help me with this?  I would really appreciate it.  I need to solve this tonight.
    Thank you.

    Hi,
    >><i> I am using a business service as my sender system.</i>
    This is fine as ur sender is file.
    I suggest deleting the matadata in IDX2 and then rerun the entire interface.
    Make sure ur IDoc is imported properly to the IR. If yes, test ur mapping locally once.
    Regards,
    Divija.

  • JDBC to IDoc ( error when mapping multiple JDBC records to IDoc)

    Hi,
    I am working on JDBC to IDoc scenario, I have declared row as 0 to unbounded and by default the IDoc structure is 1..1.
    Inorder to map multiple rows from JDBC to get multiple IDoc's, I have changed the occurrence of IDoc in "Messages" tab of Message mapping to 0 to unbounded.
    I have mapped "row" to "IDoc".
    When I test the mapping, it works fine, giving the same number of IDoc's with that of row.
    When I test end to end, in SXMB_MONI, it gives me following error:
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>MSGGUID 54A3A64E895D48EC3F20C69FEFE2E82B: Tag found instead of tag IDOC BEGIN=</SAP:P1>
    can any one help me out with this.
    Thanks in advance.

    Hi Jwalith,
    Check this blog from Michel
    The specified item was not found.
    Make sure that you changed occurance as per this blog.
    hope this is helpful
    regards,
    Venkat.

  • File-XI-IDOC : error in sxmb_moni because of empty idoc

    Hi !
    I'm converting a CSV file to IDOC segments (CREMAS04).
    XI uses a lookup table to convert CSV records to IDOC segments. It is normal that some records could not be converted. When I process a CSV file that has ALL non-convertable records, I get an error in sxmb_moni :
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>MSGGUID 99889D40A4D811DBAD4A0017A4510466: Tag found instead of tag IDOC BEGIN=</SAP:P1>
    And the final payload is:
      <?xml version="1.0" encoding="UTF-8" ?>
      <CREMAS04 />
    In the integration repository, the occurance of the complex type CREMAS04 is "1..1", I modified the xsd to minOccurs=0 , maxOccurs=1 , and imported it, but it keeps showing me "1..1"...
    How do I deal with these case ?? I don't want error red flags in monitor because of empty idocs...
    Thanks.

    Hi Bhavesh !
    Thanks !
    The problem is that because of mapping rules, the value of my target fields is SUPPRESS, not "empty".
    For example, I have a file with this records:
    A
    A
    B
    A
    "B" records should fill an IDOC segment, "A" not.
    If I receive a file with only "A" records, for example 48 "A" records...then the IDOC segment, now, is receiving 48 SUPPRESS values...then the mapWithDefault doesn't work because they are SUPPRESS and not EMPTY.
    Any ideas?
    Thanks,
    Matias.

  • Error:target not found

    I installed archlinux using VirtualBox on Ubuntu 10.10
    After installation when I try to install sudo using pacman I get an error
    error:could not open file /var/file ....
    error:target not found

    Is this the exact error message? If not, please post the exact one.
    Is /var mounted? Is there some space on it? Does the /var/file ... exist? Do you have problems with just sudo - can you install other packages?

  • Workflow for Idoc errors

    Hi,
    I am new to workflow, I got a requirement for idoc error handling in workflow.
    If the idocs fail a notification needs to be sent to an appropriate personnel. If it fails due to configuration or technical issue then the notification needs to go to the tech personnel ( A distribution list ) . If it is a data error then notification needs to go to functional personnel ( distribution list ).
    Here i have created a WF using Object IDOCAPPL. Please let me know how i can handle this condition and want some document on orginization structure.
    I have refered to documents in Saptechinical and Sdn.Plz let me have some other ideas and documents.
    thanks
    Arun.

    You can create a custom rule and inside that you can have your own condition and populate the users accordingly.
    Distribution list..you can create in SBWP itself.

  • Error Handling in File to Multiple IDOC Scenario?

    Hello Experts,
    My scenario is file with Multiple records and I want to send it to SAP system.If there will be 10 Records in my file I need to create 10 IDOC in Target system.
    I can use below of the two options.
    1) File to Multiple Idoc (1.N Mapping)
    2) Using BPM
    3)Directly place the file in SAP application server and process it via ABAP Program.
    However I am not clear in which option error handling will be more effective.Please suggest.
    Basically I want to handle If out of 10 records 9 are correct and 1 record is not correct then I should be able to report within PI without affecting 9 correct records.Is it possible 9 records will be sent to SAP system and PI will only show error for 1 incorrect record.
    Also I will be doing this scenrio for transaction data with huge size (1 Million Records).Which approach will be more effective in this case.
    Thanks,
    Pushkar

    Hi Patel,
    I want to handle If out of 10 records 9 are correct and 1 record is not correct then I should be able to report within PI without affecting 9 correct records.Is it possible 9 records will be sent to SAP system and PI will only show error for 1 incorrect record.
    when working on graphical mapping, the target structure is created when there are no errors in all records of source structure.
    suppose if we have validation error in 9th and 10th record, then we can not process the first eight records and inturn we can not store the two error records in XI for further.
    i suggest you the third option, you can directly place the file in SAP application server and process it via ABAP Program.
    this is far better because you can do more customizations as you have to deal with millions of records.
    Regards,
    Pradeep A.

  • File to multiple IDOCs error

    Dear All,
            I am trying to create customer master using FILE-To-Multiple IDocs.Idoc generated with 2 errors.
    1.First one is status 51...Specify the Account Group.
    2.Second one is it's generating only single idoc(not multiple).
    I have mapped Account Group source field to KTOKD(Idoc).is this mapping problem?I have given IDOC occurence unbounded but not generating multiple idocs.below is my message mapping structure.
    mt_customer                                                   Debmas01
      customer  (1...1)                                
        customer_master(1..unbounded)----
    >IDOC (1..unbounded)
    below is my input xml file with data.
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:mt_customer xmlns:ns0="urn://fenestacustmast">
       <Customer>
          <Customer_master>
             <AccountGroup>0004</AccountGroup>
             <CustomerNumber/>
             <CompanyCode>1000</CompanyCode>
             <SalesOrg>DBPM</SalesOrg>
             <DistributionChannel>PS</DistributionChannel>
             <Division>WD</Division>
             <Title>Mr</Title>
             <Name>Preethi</Name>
             <SearchTerm>Mat</SearchTerm>
             <SearchTerm2>V6CUSTNO</SearchTerm2>
             <StreetNumber>Street 6</StreetNumber>
             <City>Bangalore</City>
             <Country>IN</Country>
             <Region>KAR</Region>
             <TransporationZone>ASCHTS01</TransporationZone>
             <Fax>251662546</Fax>
             <Telephone>9658965236</Telephone>
             <VATRegNo>ABCG1254</VATRegNo>
             <LegalStatus>01</LegalStatus>
             <ReconAccount>36023901</ReconAccount>
             <SortKey>001</SortKey>
             <TermsOfPayment>S028</TermsOfPayment>
             <ToleranceGroup>1000</ToleranceGroup>
             <PaymentHistRecord>TRUE</PaymentHistRecord>
             <SalesDistrict>A1KAKA</SalesDistrict>
             <SalesOffice>BPBL</SalesOffice>
             <SalesGroup>SEN</SalesGroup>
             <Currency>INR</Currency>
             <CustPricingProc>1</CustPricingProc>
             <CustStatsGroup>1</CustStatsGroup>
             <DeliveringPriority>01</DeliveringPriority>
             <ShippingConditions>01</ShippingConditions>
             <Plant>DBBG</Plant>
             <AccountAssGroup>01</AccountAssGroup>
             <TaxClassification>1</TaxClassification>
             <InvoicingDate>IN</InvoicingDate>
             <InvoicingListDate>IN</InvoicingListDate>
             <IncoTerms>FCA</IncoTerms>
             <IncotermsPart2>Bangalore</IncotermsPart2>
             <CreditControlArea>FENE</CreditControlArea>
          </Customer_master>
       </Customer>
    </ns0:mt_customer>
    I did very simple mapping one to one without any functions.All are string types.I couldn't find what is the error?any help would be appreciated.
    Thanks in advance.
    Vinay

    Hi,
        I would like to know whether you have mapped your customer_master(1..unbounded) node to IDOC(1..unbounded) node???Please check it once.Depending on that only the multiple IDOCs will be generated. I think it is mapping problem only. Have you changed the occurrence of IDOC to unbounded by exporting & then reimporting it to external definitions???? I've already done it & i got multiple IDOcs generated. Please check it and let me know the response so that I can help.
    Please follow th below links
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/877c0d53-0801-0010-3bb0-e38d5ecd352c
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    Thanks & Regards
    Priyanka Anagani

  • No message in found in XI in IDOC to FILE scenario

    Hi everybody,
              I am working on a scenario idoc to file. The idoc is sent sucessfully from R/3 , but I am not getting any message in message monitoring in XI.Can anybody help me on this?

    Hi Bhagyashree,
    Just see if the file is generated at the specified destination....
    Meanwhile please go through the info below and cross check with what you have done...
    i will just share a few basic thoughts that you need to take care while doing an IDOC to File Scenario. Just see if it helps you in anyways.
    While doing an IDOC -> XI -> File scenario, The Points to noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. In this configuration note that you don’t have a sender agreement as you don’t have a sender IDOC adapter.
    If it is that you wanted to send an IDOC from XI (File to IDOC) , then in this case:
    points 1 and 2 will remain, but the 3 will not. You will need a sender agreement for the file and a receiver agreement for the IDOC.
    IDOC -> File scenario ref:
    <a href="/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters scenario</a>
    File -> IDOC ref:
    <a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to IDOC</a>
    To be able to trigger your IDOC from the SAP ISU system, you will have to set the partner profile in we20. Select your Business System (mostly under Logical system) and then create Outbound entries for whichever IDOC you want to trigger.
    You define your basic type also in your partner profile settings, Please go thru the following links to get a better idea about partner profile:
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b833243d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b7cd343d711d1893e0000e8323c4f/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/32/692037b1f10709e10000009b38f839/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/5e/b8f8bf356dc84096e4fedc2cd71426/frameset.htm
    Also, I would suggest that you go through this blog by michal if any issue arises,
    /people/michal.krawczyk2/blog/2005/03/29/xi-error--unable-to-convert-the-sender-service-to-an-ale-logical-system
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    I hope this answers your query.
    Regards,
    Abhy

Maybe you are looking for

  • For process order matrix

    Hi All PP Gurus, Scenario from production client: Issue: For process order number 6300355; material code 15010163 the assay calculation is not correct. Process in use: Process order is created through tcode COR1 and Transaction code ZACOR2 is used fo

  • Smartforms - Is it possible to Customize Cell Border In Template in 4.6C

    Hi, In smartforms, i know that Customizing Cell border is possible with node type TEMPLATE in version 6.20 Our system is 4.6C But there are many differences between 4.6C and 6.20 about SMARTFORMS. Is there a way to specify custom cell border without

  • Error adding editable region in nested template Header

    I have a base template for the website (establishing basic menus), and a secondary template using that base template, which establishes a common table layout for one part of the site. Having created the PHP to drive the page, I need to lock down that

  • Create regions at page level

    Hello, I've made a template which contains navigation, search and some style elements (images). Some pages which will use this template will have 3 regions (columns) for content, others will only need one. Is it possible to base these two kinds of pa

  • Looking for OSX (1) or Third Party (2) Solution to tag Audio Files

    Hey all, I'm new here. I've signed up, because I'm looking for a way to Tag Audio Files. I've been doing Audio Diary over the years. Now instead of converting the Audio to Text, I'm looking for a way to identify Audio entries by adding Tags to them.