Idoc occurrence error

Hi experts,
I have an requirement to generated Unbounded IDoc's , so i changed the occurrence as below:
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <xsd:element name="FIDCCP02">
      <xsd:complexType>
         <xsd:sequence>
            <xsd:element name="IDOC" type="FIDCC2.FIDCCP02" minOccurs="0" maxOccurs="unbounded"/>
         </xsd:sequence>
      </xsd:complexType>
   </xsd:element>
   <xsd:complexType name="FIDCCP02.E1FISEC">
      <xsd:annotation>.........................................
It works well.However I have to create element FIDCCP02 if & only if C_ERROR flag = pass. The graphical mapping works well only if C_ERROR = pass.In C_ERROR = fail, error pops up
'Cannot create target element FIDCCP02. Values missing in queue context. Target XS~'
Because of FIDCCP02 has occurrence   1.1.
I changed the XSD file to :
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
   <xsd:element name="FIDCCP02"   minOccurs="0" maxOccurs="1" >
      <xsd:complexType>
         <xsd:sequence>
            <xsd:element name="IDOC" type="FIDCC2.FIDCCP02" minOccurs="0" maxOccurs="unbounded" />
         </xsd:sequence>
      </xsd:complexType>
   </xsd:element>
   <xsd:complexType name="FIDCCP02.E1FISE2">...................
It gives an error:
Cause: Loaded document contains incorrect XSD definition
Attribute "minOccurs" with the value "0" is not permitted in the "/schema/element("FIDCCP02")" element
Attribute "maxOccurs" with the value "1" is not permitted in the "/schema/element("FIDCCP02")" element
Please provide inputs.
Edited by: kevindass on Aug 21, 2011 12:20 PM

Hi Kevindass,
FIDCCP02 is root element of XML. In a well formed XML, root element occurrence is always one.
Well formed XML
<?xml version="1.0" encoding="utf-8"?>
<root>
  <records>
    <record1 />
    <record2 />
  </records>
</root>
Not Well formed XML u2013 Graphical mapping or External definition or DT of ESR will not allow
<?xml version="1.0" encoding="utf-8"?>
<root>
  <records>
    <record1 />
    <record2 />
  </records>
</root>
<root>
  <records>
    <record3 />
    <record4 />
  </records>
</root>
If you want to create FIDCCP02, if C_ERROR flag = pass, put this condition in Receiver determination and select suppress when no receiver is found.
Regards,
Raghu_Vamsee

Similar Messages

  • Issues in IDoc Sender Scenario:IDoc  with errors added

    Hi all
             Am working on an IDoc to JDBC scenario. In R/3 system, I have created distribution model, partner profile, RFC destination and port.The IDoc is generated and is sent to XI successfully. But in XI , there is no entry in SXI_MONITOR for this (unfortunately IDX5 is not available in the XI server! ;as of now). Instead an entry is made in WE05 and WE02 with stautus 56(IDoc with errors added). In the status record:
    status 56 : External segment name E2KOMG003 cannot be interpreted
    status 60 : Basic IDoc type COND_A03 could not be found.
    And the segments displayed in data record  are different from the segments in the data record of the IDoc generated at R/3. (say for E1KOMG at R/3, E2KOMG003 in XI).Earlier the flow was working fine and the DB table was updated successfully. And the entire stuff is believed to be 'unmodified' .
    Would any one help in resolving the issue.
    Thanks,
    Chilanka

    Hi,
    >>>>I have created partenr profile in R/3.Need I create a partner profile in XI for R/3 system?
    no you cannot create any partner profiles in XI
    for more about IDOC configuration in XI check :
    <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>

  • IDOC Syntax Error E0072 with status 26 after upgrade to ECC6.0

    Hi
    We have upgraded SAP R/3 from 4.6C to ECC6.0. After upgrade, when we create PO and output EDI, we are seeing this IDOC syntax error E0072 for Mandatory Segment E1EDK01. In 4.6C it was working fine with no issues, only after upgrade this problem started. It says E1EDK01 is missing which is mandatory. We are using basic type ORDERS01 with no extensions. When we see WE30 it looks fine, WE20 settings looks fine.
    Order of the segments got scrambled in upgraded version. First segment is E1EDP19001, this is supposed to be under E1EDP01 segment. There are two E1EDP19001 segments created but there were no sub segments to E1EDP01.
    Any help in this regard is highly appreciated.
    Thanks
    Pandiri

    User Exit activation and fixing the issue in user exit fixed this issue.

  • Status 56 -  IDOC with errors added

    Hi everyone,
            I was configuring File to IDOC Scenario, in the receiving R/3 system, i am getting error as Status 56 -  IDOC with errors added "<b>EDI: Partner Profile not available</b>".
            but i had already created Partner profile in WE20.
    Regards,
    Varun Reddy.K

    Hi Varun,
                   The below link will help u in solving u r problem
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e07dcaa0-a92b-2a10-3a96-b3d942bd1539
    Just try follow the steps followed in above mentioned link
    And also check u r RFC connection in TC "SM59".
    Reward with ponits if helpful
    Regards
    Sai Ganesh

  • Error in Receiver - IDoc with errors added

    Hi All,
    I am getting error in 56 - IDoc with errors added in receiver System.
    I am new in Idoc - please tell me How to resolve this issue..
    Thanks in advance..

    Hi all thanks for reply .
    All are the help full answer ,
    I use T-code WE19 and change partner profile and execute now it is fine.
    But i have checked all configuration regard partner profile from T-code WE20 it looking everything is fine but in Test tool for Idoc Processing by t-code WE19 i have checked it will taken wrong partner profile detail after giving correct manually now it is working fine.

  • IDOC AAE error:IDOC_ERROR_PARSE_FAILURE

    Hello Gurus,
    I am facing following error in IDOC AAE channel scenario is SOAP to IDOC we are using Integrated configuration.I have mapped all the attributes in the IDOC to 1 and date formats are fine.On Analsys i found for the IDOC Field MENGE is not accepting Decimal values when the value 868.000 is passed  IDOC AAE is failing with following error.
    When i pass with out decimal like 868 Idoc is posting successfully.
    using connection
    File_http://sap.com/xi/XI/System failed, due to:
    com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to
    idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException
    occurred while parsing IDocXML for type :state=READING_FIELD_VALUE_TAG,
    charPosition=441, lineNumber=1, columnNumber=442" tabIndex=0
    ti="0" lsdata="{0:'Transmitting the message to endpoint using
    connection File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException:
    Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE:
    An IDocConversionException occurred while parsing IDocXML for type
    :\nstate=READING_FIELD_VALUE_TAG, charPosition=441, lineNumber=1,
    columnNumber=442',7:true}" ct="TV"
    bMarkedAsFocussed="true" bResetTabIndex="true"Transmitting
    the message to endpoint <local> using connection
    File_http://sap.com/xi/XI/System failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException:
    Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE:
    An IDocConversionException occurred while parsing IDocXML for type
    <Z2MAK075IDOC>:
    state=READING_FIELD_VALUE_TAG, charPosition=441, lineNumber=1, columnNumber=442
    I have explored through forum but i didnt find exact solution how decimal values can be handled in IDOC AAE .Please through some light on the issue any help is higly apprecaited.
    Regards
    Praveen Maareddy

    Hi Praveen
    Looks like it will not allow dot(.) or comma(,) .
    Check this
    A numc field will not allow you to post values like '.' or ',' to it. You need to get rid of the decimal point/comma. You can do that by multiplying the value by 100 or 1000... depending on your decimal places. Then it is possible to post that values to a numc field. A numc does allow only the numeric characters from 0 to 9. If this is not what you want (because you are dealing with an characteristic) you need to use a char infoobject or you need to use a keyfigure.
    Problem with  conversion char to numc in transference rules
    You can change the data type of MENGE like below
    result TYPE p LENGTH 8 DECIMALS 3.

  • "Finding occurrences" error when editing .mxml file in Flash Builder 4.6 Premium (Trial)

    I am evaluating Flash Builder 4.6.  Windows 7 Ultimate x64
    I am trying to go through the Flex in a week training series but I am getting a lot of the "Finding occurrences" errors when editing the mxml files.
    The error:
    An internal error occurred during: "Finding occurrences".
    java.lang.NullPointerException
    This error occurs almost every time an xml tag is edited.
    I can dismiss the error window that pops up by hitting 'Enter' and can continue editing the .mxml file but the error keeps repeating.
    I was getting this error in the Day 1 set of exercises but after awhile the errors just stopped.
    Now that I have imported the Day 2 starter projects, the error has started again but is occurring on almost every keystroke when editing an xml tag/element!.
    Anyone have any ideas how to correct this issue?

    Ok, I seemed to have found a solution/workaround for the error.
    After importing the Day 2 starter projects, I did not exit and restart Flash Builder. After exiting/restarting Flash Builder, I can now edit the .mxml files without the annoying "Finding occurrences" errors.

  • Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML

    Hello Rescue Team,
    I am facing the following error :\
    16.06.2014 23:22:42.164
    Error
    Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
    16.06.2014 23:22:42.166
    Error
    MP: exception caught with cause com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
    16.06.2014 23:22:42.190
    Error
    Exception caught by adapter framework: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
    16.06.2014 23:22:42.190
    Error
    Transmitting the message to endpoint <local> using connection EDISeparator_http://sap.com/xi/XI/EDISeparator failed, due to: com.sap.aii.af.idoc.exception.IDOCAdapterException: Error before sending due to idoc parsing error: (7) IDOC_ERROR_PARSE_FAILURE: An IDocConversionException occurred while parsing IDocXML for type <ZORDERS10>: state=READING_FIELD_VALUE_TAG, charPosition=526, lineNumber=1, columnNumber=527
    and the payload transferred is as attached in the attachment below.
    I have refered various blogs, however I am still not able to understand how to get the exact location of the error location..According to me, the value that is giving trouble is OTH in <BSARK> however I have checked the permitted values for BSARK on ECC and OTH is maintained.
    Can you please help how I can resolve this error.
    Thanks
    Saurabh

    Hi Guys,
    This is solved..I corrected the date format of the ZZTIME segment from 1157 to 115700.
    Thanks
    Saurabh

  • Idoc INVOIC - error Tax entry not possible in this item - Message no. FF724

    Hello, 
    I have an idoc in error with the following error message.
    In the idoc type INVOIC
    Segment E1EDK04:
    MWSKZ     N1     VAT indicator
    MSATZ     19.000     VAT rate
    MWSBT     20.52     Value added tax amount
    In OBCD
    Partn.Type PartnerNo Tax type Tax rate Cty Tx
    LI         FNISL     N1       19.000       V2
    Input tax N6 is defined in the system with rate 19.000%
    Direction         2     Inbox
    Current status    51        
    Basic type        INVOIC01  
    Extension                   
    Message type      INVOIC    
    Partner No.       FNISL     
    Partn.Type        LI        
    Tax entry not possible in this item
    Message no. FF724
    Diagnosis
    You can not enter a tax amount in this item since, due to the posting amount entered and the tax code, a total tax amount of zero has been calculated.
    This could either be due to the fact that the tax code has been defined with a value of 0%, or because the posting amount entered (that is, the tax base) is too small.
    Example:
    With a tax rate of 15%, a tax amount greater than zero will only be achieved with a base amount greater than 0.04. With values of 0.03 and less, it is therefore not possible to enter a tax amount.
    Procedure
    Only enter tax amounts in conjunction with tax codes for which a percentage rate not equal to zero has been defined. Make sure that in documents with several G/L account items you enter the total tax amount in an item with a sufficiently high posting amount.
    do you have an idea to solve it?
    Regards
    Arnaud

    Message no. FF724
    Check note 681538
    thanks
    G. Lakshmipathi

  • HRMD_A IDoc in error not raising an event

    I have workflows enabled for IDocs in error.
    If an inbound order IDoc (ORDERS) arrives in status 51, it triggers a workflow.
    If an HR master data IDoc (message type HRMD_A) arrives in status 51, no workflow is triggered.
    Here is what I have checked:
    Partner profile has me as responsible agent in both cases.
    Both type linkages are active for IDOCHRMD and IDOCORDERS event InputErrorOccurred.
    Both IDocs types are posted in with the test tool and end up in status 51.
    When I investigate the event trace, I can see that an event is raised for the ORDERS IDoc but not for the HRMD_A IDoc.
    There are no errors in the type linkage status column.
    So why would it be that the event is not being raised for the HRMD_A IDoc?
    How can I find out what should be raising the event? I guess that there is a function module call to SWE_EVENT_CREATE or SAP_WAPI_CREATE_EVENT.
    Kind Regards,
    Tony.

    Hi Tony,
    I am a complete novice to workflow but I have a requirement liek yours to trigger workflow for idocs in error, so I was hoping you could point me in the direction of some documentation/steps on how to do this?

  • RBDMANI2 for IDOCs in error not working in Background..

    Dear All,
        We have an ALE-IDOC scenario in which our IDOC gets posted in the destination system with status 51 as per business reqt. We schedule a job in the background using program RBDMANI2 which is used to manually reprocess IDOCS in error.
        This background job was working fine in the 4,7 R/3 Server, but we have upgarded the receiving system to ECC 6.0. Now the problem is dat when we try to reprocess the IDOC using this job, the IDOC are not processing further.. It ideally is supposed to do further processing as per the code writen.
      We tried debugging the code(RBDMANI2) in background. But, its not helping.
    Kindly advise.
    Regards,
    Santosh Reddy.

    On primary research I found that there is a call to this FM 'SAPGUI_PROGRESS_INDICATOR' .
    In that FM see line 12.
    IF SY-BATCH <> SPACE.
              EXIT.    "do nothing in batch
           ENDIF.
    May be this is the cause of your error.
    Rhea.

  • Vendor Confirmation workflow ( TS00008075 ) issue for IDOCs in Error ( 51 )

    Hi All,
              When IDOCs (Basic type: ORDERS02, Message type : ORDRSP ) goes in error with status 51 & comes to SAP system it calls event  u2018INPUTERROROCCURREDu2019  which is correct but it creates problem when it get re processed as it triggers event u2018INPUTSUCCESSu2019 resulting in firing vendor confirmation workflows to respective user ( this batch job re process each ORDRSP IDOC twice a day & hence 2 workflows per IDOC in error to clientu2019s inbox by triggering event u2018INPUTSUCCESSu2019).
    Could you please tell me why these IDOCs are triggering event u2018INPUTSUCCESSu2019 in case of error ( status 51 ) when they get RE PROCESSED. These kind of Idocs must only trigger u2018INPUTERROROCCURREDu2019  once  and should not create anything when these get reprocessed. Please note that these issues arise after EHP4 upgrade. Please let me know if any setting is there for triggering Vendor COnfirmation workflow ( TS00008075 ) when IDOCs in error get re processed.
    Please help us , thanks.
    Regards,
    Kartikey Rawat.

    Hello Kartikey Rawat !
                        INPUTSUCCESS  event gets fired just because it is configured as terminating event in the task.
                        If you don't want this event to get fired, either you can deactivate it  or delete the bindings related to the event  INPUTSUCCESS(doing so should not affect other two terminating events that may be required for you scenario) .
                        If you want know why it is fired, you can get to know in debug mode or check whether the event is defined through  related function modules configured in WE57,BD51,WE42 AND WE20 transaction codes.
                        In WE05 or WE02 transactions, you will get error description.Based on it too, you can figure out the reason.
    Regards,
    S.Suresh

  • HRMD_A IDocs in Error Status 02

    Dear SAP Peeps,
    Upon generation of outbound HRMD_A idocs, an error occurs. Error status is "02 - Could not find code page for receiving system".
    Can you guys assist me here? What does code page mean? How the error will be solve? The error occurs in every two weeks upon sending the idocs. Sending system is a unicode system while the receiving system is a non-unicode system.
    Thanks!

    i Think u have run some personnel acitons
    than u need to check the table T529A and check have u assigned the feature which standrad in sap for certain acions
    for Ex MSN20   MSN10  check these thr PE03
    in IMg
    check SEt up personnel Acitons

  • Post system refresh, "Request IDoc : IDoc with errors added"

    Hello All,
    Post system refresh, we are not able to execute the data loads.
    While loading the Infopackage, the overall status is still showing in YELLOW status. but in the Transfer (IDOCs & TRFC), it shows an Error message as "Request IDoc : IDoc with errors added"
    Yesterday immediately after the refresh, we were able to execute the master data loads (full loads)...
    However, transaction loads (delta) is facing issues.
    Today, we are facing the problem in both master and transaction data.
    Please help!!!! Its a very critical issue!!!
    Edited by: Siegfried Szameitat on Aug 9, 2011 10:17 AM

    Hi,
    While selecting the Infopackage to run the INIT load, it is taking me to the ECC login screen. Once i enter my credentials, its showing a dump with the message:
    Short text of error message:
    No RFC authorization for user XXXXX ( RSA8 ).
    Long text of error message:
    Technical information about the message:
    Message class....... "RSAR"
    Number.............. 051
    Variable 1.......... "No RFC authorization for user XXXXX ( RSA8 )."
    Variable 2.......... " "
    Variable 3.......... " "
    Variable 4.......... " "
    Please advice.
    Regards
    sneha

  • Idoc inbound error status code 56

    Hi,
       when i am sending custom idoc from source system to destination , idoc sent successfully from source system .But  in the receiver system idoc status code is 56 ( idoc with errors added) .
    partner profile also available in the receiver system. How to solve the error.can any one pls give me the solution.
                                                                                    Regards,
                                                                                    Suhash.

    Hi,
    Check this link..[IDOC Status code 56 !!   |IDOC Status code 56 !!]
    [Re: Status 56 - IDOC with errors added   |Status 56 -  IDOC with errors added]
    Edited by: Avinash Kodarapu on Mar 19, 2009 4:55 PM

Maybe you are looking for

  • Using WiFi and 3G at the same time

    If I am hooked up to wi-fi, but my cell/3G connection is still active, is there a way to ensure that I'm maximizing my wi-fi use and minimizing depletion of my data plan? Comment edited to start new discussion. Message was edited by: Admin Moderator

  • TIFF images are displayed as thumbnails but will not open for editing

    I have noticed a problem with my iPhoto 7.xx iPhoto displays the thumbnail of TIFF files but when it is selected (for editing as an example), iPhoto displays a grey circle with a black question mark. This happens with TIFF images from any source (mul

  • File sometimes saves as unicode, sometimes as ANSI problem

    Hi all, I'm having an issue whereby a .vi I've created to save string data sometimes saves the .txt file as ANSI and sometimes as Unicode. Unfortunately the unicode appears to be Chinese characters when opened in notepad. When I open the same file in

  • Microsoft DV AVI or Microsoft AVI?

    Hey again guys. When I export, I usually do the file type as Microsoft AVI, and the compressor Cinepak Codec by Radius. Is it "better"(quality, time, size wise) to use Microsoft DV AVI with a different compressor such as DV NTSC or DV PAL? Thanks for

  • When using webcame my vidoeo is lagging

    when I opened up Photo Booth my video thing was lagging, so I went to Go restart it and it still didn't work.. What is going on?