XML IDoc conversion: No known segments identified ,only few times

Hi all,
Our scenario is in production and is working fine,few times i get the below error.
This is a Daily run scenario.This week it ran 5 time right and 2 , times it failed  to create Idocs for the same sccenario.
Can any one help me.
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
<SAP:P1>XML IDoc conversion: No known segments identified</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>Error: XML IDoc conversion: No known segments identified</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error

check if these discussions help you:
XML IDoc conversion: No known segments identified
IDOCType PORDCR101 : XML IDoc conversion: No known segments identified
Regards,
Abhishek.

Similar Messages

  • IDOCType PORDCR101 : XML IDoc conversion: No known segments identified

    Hello all,
    I'm strugling with the mapping to the IDOC create puchase order PORDCR1.PORDCR101.
    The source structure for the moment is exactly the same as the target strcuture i.e. our IDOC.
    So I would not expect to much problems with this one.
    However, when sending the message we get the following error in SXI_MONITOR:
    <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>XML IDoc conversion: No known segments identified</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: XML IDoc conversion: No known segments identified</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    I also augmented the trace lvl to 3 and got the following in the Trace-part of TC SXI_MONITOR and
    suspect it starts to get wrong already in the beginning
    - <!--  ************************************
      -->
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">---- Outbound IDoc-Adapter -
    </Trace>
      <Trace level="1" type="T">----
    </Trace>
    Trace level="1" type="T">Convert one IDoc</Trace> .
      <Trace level="2" type="T">Convert Control Record</Trace>
      <Trace level="2" type="T">Convert Data Records</Trace>
      <Trace level="3" type="T">Segment= E1BPMEPOHEADER</Trace>
      <Trace level="2" type="T">Ignore unknown Segment E1BPMEPOHEADER</Trace>
      <Trace level="2" type="T">Ignore segment field: COMP_CODE</Trace>
      <Trace level="3" type="T">Segment= E1BPMEPOHEADERX</Trace>
      <Trace level="2" type="T">Ignore unknown Segment E1BPMEPOHEADERX</Trace>
      <Trace level="3" type="T">Segment= E1BPMEPOADDRVENDOR</Trace>
      <Trace level="2" type="T">Ignore unknown Segment E1BPMEPOADDRVENDOR
    I already found the four or so other threads on the SDN website about this error and in the mean-time tried them (delete and reload the structure with IDX2, set the begin and segment-attribute to 1, make sure that the segments-names self are also mappend) but to no avail.
    We just implemented two other IDOC's (DELVRY03 and WMMBID02) and they arrive at SAP without problmens.
    Hope you have form ideas to get me out of this one.
    Tnx and best regards.
    Bart.

    Hi Bart,
    We had a similar problem.... It took us 2 days to find out what the problem was... Nothing on SDN was helpfull so far... First we incremented the trace level of XI to see the debug messages... Then we saw that certain segments could not be identified and are ignored, others not...
    So further investigation in IDX2 to the specific IDoc with problems showed us a list with all used segments and their versions. Some segments had only 1, others had more versions....
    So we could identify the problem as a segment version problem. It seemed that our IDoc Communication Channel took not the most recent version. So we changed the "Segment Version" to the most recent one and the problem was solved!
    Please reward points if this was usefull to you...
    cheers!
    Pedro

  • XML IDoc conversion: No known segments identified

    Hi all,
                     am working on a File to IDoc scenario. In runtime, error occurs at Call Adapter phase.
    <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>XML IDoc conversion: No known segments identified</SAP:P1>
    Can anyone help me in diagnosing.
    Thanks,
    Chilanka

    Hi,
    This issue wis not with Mapping.
    The issue is that the utout of the mapping does not confirm to the Idoc metadata,
    Exactly why I want to look at the output of the mapping.
    Regards
    Bhavesh

  • Error in IDOC: XML IDoc conversion: No known segments identified

    Hi Team
    i am facing error in my scenario.  When we are testing my  interface, another  Interface is picking up the Messages and resulting into an error.
    There is no mapping involved in my scenario.
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>XML IDoc conversion: No known segments identified</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Error: XML IDoc conversion: No known segments identified</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    please help me out
    thanx in advance

    Hi,
      Do The following:
    1) Delete the IDX2 entry and try to reimport once again....and in the IR also do the same.
    2) Have a look into this SAP Note- 742093
    3) Check the IDX1 entry , RFC destination entry... may be not pointing correctly.
    4) If any field which is mandatory in the idoc must not be disabled...take care about it.
    Hope this will help you...
    Regds,
    Pinangshuk.

  • XML IDoc conversion: No known segments identified PPCC2PRETTICKET01

    Hello to everybody,
    I'm working with JDBC adapter to IDOC scenario with standard message PPCC2PRETTICKET01 and I found this message:
    IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME
    XML IDoc conversion: No known segments identified
    I've read previous thread and I've already try to Reimport the Idocs into Repository
    and Delete the Idoc metadata from the in Transaction IDX2 and reimport the same.
    I'm in SAP NetWeaver 2004s.
    Do you have another ideas?
    Many thanks

    Hi,
    I've filled up control record in message mapping, I tried with Apply C R but it doesn't work.
    I don't know how to disable EDI_DC40 in message mapping because the fields are red.
    I've filled up every segment field with a constant with the right segment name but nothing.
    This is the payload after the error but since the JDBC adapter in:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <PPCC2PRETTICKET01>
    - <IDOC BEGIN="1">
    - <EDI_DC40 SEGMENT="EDI_DC40">
      <TABNAM>EDI_DC40</TABNAM>
      <DIRECT>2</DIRECT>
      <IDOCTYP>PPCC2PRETTICKET01</IDOCTYP>
      <MESTYP>PPCC2PRETTICKET</MESTYP>
      <SNDPOR>SAPXI0</SNDPOR>
      <SNDPRT>LS</SNDPRT>
      <SNDPRN>XIDEV100</SNDPRN>
      <RCVPOR>SAPDEV</RCVPOR>
      <RCVPRT>LS</RCVPRT>
      <RCVPRN>SYSDEV300</RCVPRN>
      </EDI_DC40>
      </IDOC>
      </PPCC2PRETTICKET01>
    Thank for more ideas.
    Fabrizio

  • XML IDOC to Native IDOC Conversion

    Hi,
    We have a scenario, where we need to convert XML idoc into native idoc and write to a file. I am doing this based on
    How To Convert an IDoc-XML structure to a flat file and vice versa in XI 3.0.
    When I first executed the scenario, I was getting the following error
    Z_ABAP_MAPPING_IDOC_TO_FLAT (type SAP-ABAP, kernel error ID UNCAUGHT_EXCEPTION) An exception with the type CX_SY_REF_IS_INITIAL occurred, but was neither handled locally, nor declared in a RAISING clause Dereferencing of the NULL reference.
    After including the try-catch block, now i am just getting a blank file without any conversion.
    Can anyone help me on this?
    Regards,
    Ravi

    Hi,
    It looks to be error in ABAP mapping
    To test ABAP mapping in XI use the transaction SXI_MAPPING_TEST after creating a little scenario in the directory.
    Or even you could do this with below sample code
    Lets create one ABAP mapping class with the method IF_MAPPING~EXECUTE
    data: obj type ref to zcl_abap_mapping_test.
    data: source type xstring,
    result type xstring.
    data: param type ref to IF_MAPPING_PARAM,
    trace type ref to IF_MAPPING_trace.
    create object obj.
    try.
    CALL METHOD obj->IF_MAPPING~EXECUTE
    EXPORTING
    SOURCE = source
    PARAM = param
    TRACE = trace
    IMPORTING
    RESULT = result.
    CATCH CX_MAPPING_FAULT .
    ENDTRY.
    This is a link very useful for ABAP Mapping :
    http://help.sap.com/saphelp_nw04/helpdata/en/86/8280ba12d511d5991b00508b6b8b11/frameset.htm
    Or may be  think this exception you need to catch it in the ABAP..
    This may help u- http://help.sap.com/saphelp_47x200/helpdata/en/55/bff20efe8c11d4b54a006094b9456f/content.htm
    just cross verify with this guide-
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e3ead790-0201-0010-64bb-9e4d67a466b4
    Thanks
    swarup

  • Conversion of multiple xml idocs to flat file

    Hi,
    I did ABAP mapping to convert xml idoc to flat file by using the reference how to do abap mapping in xi3.0.pdf
    It is working for only one idoc at a time.
    If I have multiple idocs in a single xml file, the above code is not working.
    Please let me know what cchange to be done to work out for this.
    Hope am clear.
    Regards,
    Anil.

    Look For the Occurances of target Field node...It should be 1 to unbounded

  • Automate flat IDOC to XML IDOC using one interface

    Hello all,
    We are currently going through a migration process where XI will be replacing a legacy system.  As part of our testing procedure, we are using historical data pairings from the legacy system and using an automated tool to compare if the interfaces we develop in XI match.  The catch is we need the data that we are comparing in XML format for the automated tool to be able to do the comparison, and unfortunately the legacy data is a flat format.  So now I would like to automate a way to convert this data to XML format.
    Specifically for IDOCs, I would like to have an interface which picks up the flat files, transforms them to XML, and then drops them back into another file directory in the XML format.  It would need to be able to pick up any kind of IDOC (given that XI has the metadata already imported), recognize what message type it is, then do the conversion.
    I have been reading on SDN and found that there is a standard tool to do the conversion, but it appears it can only handle one kind of IDOC at a time, and it appears it only picks up one specifically named file at a time.
    Has anybody tried to implement a scenario like this?  Any help is appreciated (A walkthrough would be the best!).
    Thanks in advance,
    Mike

    Mike,
    What version of PI will you be using? PI 7.11 can now auto-convert Flat File IDocs to XML IDoc and vice versa.
    Here is the documentation:
    http://help.sap.com/saphelp_nwpi711/helpdata/en/b5/bd93642dd3410f90ebea702399fac4/frameset.htm (flat to XML)
    http://help.sap.com/saphelp_nwpi711/helpdata/en/74/a45bc07e2043fb9b63295229178903/frameset.htm (XML to flat)
    I have not tried this personally, but seems like you might be able to use a "File to File" scenario with no mapping, and use the "IDOCFlatToXmlConvertor" Module in your File Adapter Comms Channel and it may just work, giving you files that are the IDoc XML version of the flat file it is reading. It looks like it does an RFC call to the back-end SAP system where the IDocs are originally from (or could be any system as long as you know the IDocs in there are identical), and reads the IDoc metadata (which has always included flat file field offsets for each IDoc Segment Field), and applies that either to convert from flat file IDoc to XML IDoc, or XML IDoc to flat file IDoc.
    It does mention that there is a limitation that there can only be one IDoc in the source flat file - could be a problem if you have many in one file, which is pretty typical.
    Regards,
    Brendan

  • Idoc conversion rule

    Hi,
    What is idoc conversion rule? Why we need this?
    While upgrading from 4.7 to ECC 6.0 what all precautions need to be taken for the existing standard idocs and custom idocs in the system.
    Thanks & Regards,
    Soumya.

    Hi,
    ALE allows the user to perform an SAP transaction in the sending system, after-which the following steps occur:
    1 or more communication IDocs (intermediate documents: container for the application data) are created in the sending system database. An ALE distribution model, that needs to have been configured, determines which systems the IDocs are to be sent
    These communication IDocs, that contain the relevant application data of the transaction that was performed, are then passed to the ALE communication layer
    This layer performs an RFC call, using the port definition and an RFC destination determined through the customer model
    The IDocs are then transferred to the respective receiving systems. These could be SAP R/3, R/2 or external systems
    If the receiving system is an SAP system then:
    In the case of master data distribution the same transaction that was performed on the sending system is again performed on the receiving system with the data contained in the IDoc. This allows the data to go through the SAP checks before posting occurs
    In the case of transaction scenarios the relevant data is passed to the respective transactions in order to load the required application document. Eg. A PO is loaded on the sending side, yet a SO is created on the receiving system
    Master data has another difference:
    It can be set up in such a way that any changes made to specific fields in master data tables can automatically trigger off the ALE distribution process for that particular master data object
    If a master data object is created or changed on a sending system and distributed to another system the respective transaction is used to either create or change that respective master data object on the receiving system
    In general, if standard SAP can't perform the task required then neither can ALE. It doesn't add functionality, it merely decouples it and allows you to distribute it onto other remote systems.
    The Detail as described by SAP
    In the output processing one of the function modules of the application creates an IDoc, the so-called master IDoc. This IDoc is sent to the ALE layer where the following processing steps are applied:
    Outbound processing
    Receiver determination
    An IDoc is similar to a normal letter in that it has a sender and a receiver. If the receiver has not been explicitly identified by the application, then the ALE layer uses the customer distribution model to help determine the receivers for the message.
    The ALE layer can find out from the model whether any distributed systems should receive the message and, if so, then how many. The result may be that one, several or no receivers at all are found.
    For each of the distributed systems that have been ascertained to be receiver systems, the data that is specified by the filter objects in the customer distribution model is selected from the master IDoc. This data is then used to fill an IDoc, and the appropriate system is entered as receiver.
    Data selection
    Segment filtering
    Individual segments can be deleted from the IDoc before dispatch by selecting Functions for the IDoc processing -> Settings for filtering in ALE Customizing. The appropriate setting depends on the sending and receiving logical R/3 System.
    Field conversion
    Receiver-specific field conversions are defined under Functions for the IDoc processing -> Conversions.
    General rules can be specified for field conversions; these are important for converting data fields to exchange information between R/2 and R/3 Systems. For example, the field "plant" can be converted from a 2-character field to a 4-character field.
    The conversion is done using general EIS conversion tools (Executive Information System).
    Version change
    SAP ensures that ALE functions between different R/3 System releases. By changing the IDoc format you can convert message types of different R/3 releases. SAP Development use the following rules when converting existing message types:
    Fields may be appended to a segment type;
    Segments can be added;
    ALE Customizing keeps a record of which version of each message type is in use for each receiver. The correct version of the communication IDoc is created in the ALE output.
    The resulting IDocs (it is possible that several IDocs could be created in the receiver determination) are referred to as communication IDocs and are stored in the database. The dispatch control then decides which of these IDocs should be sent immediately. These are passed to the communications layer and are sent either using the transactional Remote Function Call (RFC) or via file interfaces (e.g. for EDI).
    If an error occurs in the ALE layer, the IDoc containing the error is stored and a workflow is created. The ALE administrator can use this workflow to process the error.
    Inbound processing
    After an IDoc has been successfully transmitted to another system, inbound processing is carried out in the receiver system, involving the following steps in the ALE layer:
    Segment filtering
    Segment filtering functions the same way in inbound processing as in outbound processing.
    Field conversion
    Specific field conversions are defined in ALE Customizing.
    The conversion itself is performed using general conversion tools from the EIS area (Executive Information System).
    Generalized rules can be defined. The ALE implementation guide describes how the conversion rules can be specified.
    One set of rules is created for each IDoc segment and rules are defined for each segment field.
    The rules for converting data fields from an R/2-specific format to an R/3 format can be defined in this way. An example of this R/2 - R/3 conversion is the conversion of the plant field from a 2 character field to a 4 character field.
    Data transfer to the application
    Input control
    When the IDocs have been written to the database, they can be imported by the receiver application.
    IDocs can be passed to the application either immediately on arrival or can follow in batch.
    You can post an inbound IDoc in three ways:
    by calling a function module directly: A function is called that imports the IDoc directly. An error workflow will be started only if an error occurs.
    by starting a SAP Business Workflow. A workflow is the sequence of steps to post an IDoc.
    by starting a work item A single step performs the IDoc posting.
    The standard inbound processing setting is that ALE calls a function module directly. For information about SAP Business Workflow alternatives refer to the online help for ALE programming.

  • Loading Invoice XML IDoc with digital signature via XI into R/3

    Hi,
    I received an Invoice XML IDoc with digital signature via Mail (for test purposes) and want to load it via XI into an R/3 systeme.
    My idea is to load the Invoice XML IDoc file via the File Sender Adapter into XI and send it to the R/3 system via the IDoc Inbound adapter.
    Due to the digital signature the file looks like this:
    0‚ S      *†H†÷
        ‚ D0‚ @   1 0       +      0‚ '      *†H†÷
        ‚   ‚   ‚ –0‚ ’0‚ û      etc.
    When I load the file like this with the File Sender Adapter, an error message occurs in the XI Monitoring as the XML Parser cannot read the file due to the digital signatur (as expected).
    Has anybody an idea how I can configure the File Sender Adapter Communication Channel to be able to load only the XML IDoc and ignore the digital Signature strings?
    Thanks in advance for your support.
    Alex

    BTW
    do use the second way you need:
    Security Settings for the Sender Mail Adapter
    http://help.sap.com/saphelp_nw04/helpdata/en/27/c0524257a1b56be10000000a155106/content.htm
    and
    Key Storage Service
    http://help.sap.com/saphelp_webas630/helpdata/DE/e9/a1dd44d2c83c43afb5ec8a4292f3e0/content.htm
    apart from adapter module config
    Regards,
    michal

  • Receiving binary IDOC via Queue and convert it to XML-IDOC

    Hello,
    we are focusing the following scenario:
    We receive an plain, binary IDOC in a MQSeries Queue. We want to pick it, transform it and place it into R/3 (of course using XI 3.0). Afterwards the other way around.
    I know the Howto for the ABAP mapping from XML-Idoc to plain IDOC. This may also work for our scenario. Do you agree?
    The other way around is more difficult. I assume that - since the IDOC adapter resides in the ABAP stack - we cannot re-use an existant adapter module in the JMS adapter. Right?
    I heared about JCO capabilities of "xmlizing" Idocs - but did not find hints within the javadoc. Anyway, would this really be the preferred way - writing an user exit for the adapter using JCO - to handle this? There must be a way to do it better, must it not?
    How did you guys face this problem - I think its a common one...
    Any starting points for a discussion are appreciated....
    Greets,
    helge

    Hi Helge,
    For the conversion of the incoming flat message, one could imagine a similar ABAP mapping as the one described for the XML->flat message conversion. The function module IDX_IDOC_TO_XML could be a good starting point for your search.
    To perform conversions in the Java stack (e.g. in an adapter module) might be a quite complex task since you first have to get the IDoc metadata. And there you cannot reuse existing function modules.
    Best regards
    Joachim

  • IDOC not to be converted to XML-IDOC

    Hi
    there is a setting you can make in XI so that IDOCS sent to XI from R/3 are not converted to XML-IDOC. 
    That parameter is XML_CONVERSION.
    I found out from SAP today that this will only work if you are sending from R/3 to R/3 via XI.
    But I want this to work for R/3 to ThirdParty via XI.
    So SAP are saying this will not work.
    OK - so does anybody have a simple XSLT I can use that will strip out the XML tags so I have a plain old IDOC ?

    Hi,
    1.if, so then ask him to provide SAP at target (in this case its possible)...there is no other option.(as of now SAP does't provide these kind of functionality)
    2.otherwise if he required the same structure at target then go with IDoc...PI...File scenario
    Please explain to your end user clearly about IDoc functionality..hope he will understand..
    Rgds,
    MFH

  • Split Single IDOC into Multiple IDOC's Based on Segment Type

    Hi Experts,
    I have a scenario IDOC to FILE ,  Split Single IDOC into Multiple IDOC's based on Segment Type
    Outbound:
    ZIdocName
    Control Record
    Data Record
    Segment 1
    Segment 2
    Segment 3
    Status Record
    I should get output like below
    Inbound:
    ZIdocName
    Control Record
    Data Record
    Segment 1
    Status Record
    ZIdocName
    Control Record
    Data Record
    Segment 2
    Status Record
    ZIdocName
    Control Record
    Data Record
    Segment 3
    Status Record
    Please suggest me step by step process to achieve this task.
    Thanks.

    Thanks a lot Harish for reply.
    I have small doubt. According to your reply , If we have N number of segments in single IDOC with same fields in all segments then for splitting Single IDOC into Multiple IDOC's based on Segment Type we need to duplicate N number of target IDOC tree structure.
    Is that possible to Split single IDOC into Multiple IDOC's based on Segment Type using only one Target IDOC structure without duplicating the Target IDOC structure tree.

  • XML-IDOC inbound for ECC 6.0

    Hi,
    in a ECC 6.0 only landscape we would like to process XML-IDOC in inbound. For outbound we have already create a XML-IDOC port... but I don't be able to find it for inbound.
    How can I do it ?
    Regards.
    Ganimede Dignan.

    Hi,
    it's quite simple, if you have a system base on NW 2004s or newer you have all that you need but take in mind XML-IDOC it's not a Free XML .... it's an XML structure as an IDOC.
    In WE21 TCODE you can set-up and "XML File" port or and "XML Http" port.
    In anyway you can parser each XML by ABAP custom code.
    read olso some of my old notes....
    IDOC_INBOUND_FROM_FILE => called within report RSEINB00
    IDOC_XML_FROM_FILE         => not called by any report (on release 4.6c)
    I have used fm IDOC_XML_FROM_FILE already many times to manually transfer XML-IDocs from one SAP system to another.
    Given the fact that report RSEINB00 is quite simple (see below) you could create your ZRSEINB00 for processing XML IDocs.
    The reports can be scheduled in background to process the inbound IDocs continuously.
    REPORT RSEINB00 MESSAGE-ID E0.
    * EDI inbound processing (main program to be scheduled)
    * This program processes one file with one ore more intermediate
    * documents.  When an error occurs, a message will be send via workflow
    * processing.
    * The index of the last successfully processed record of the file is
    * always written to the table EDFI2.
    * If the program is startet again for this file, the table EDFI2 will
    * be interpreted and the processing will start at the next record.
    * PARAMETERS
    PARAMETERS:
    * directory + name of file that has to be processed
      P_FILE  LIKE  EDI_PATH-PTHNAM  DEFAULT '/usr/sap/.../SYS/global/...'.
    * DATA
    DATA:
      G_MESSAGE_FIELDS LIKE EDIMESSAGE.
    * MAIN PROGRAM
    START-OF-SELECTION.
    * do inbound processing from file
      CALL FUNCTION 'IDOC_INBOUND_FROM_FILE'
           EXPORTING
                FILE_NAME            = P_FILE
           EXCEPTIONS
                FILE_OPEN_FAILED     = 1
                MARKER_TO_BE_DELETED = 2
                READ_FILE_FAILED     = 3
                IDOC_NOT_STORED      = 4
                FILE_DELETE_FAILED   = 5
                MARKER_MODIFY_FAILED = 6
                EVENT_CREATE_FAILED  = 7
                FIRST_RECORD_INVALID = 8
                INVALID_RECORD       = 9
                OTHERS               = 10.
      IF SY-SUBRC  0.
    * fill message fields for exception handling from system fields
        MOVE-CORRESPONDING SY TO G_MESSAGE_FIELDS.
    * error handling using the 3.0 business workflow
        CALL FUNCTION 'IDOC_ERROR_WORKFLOW_START'
             EXPORTING
                  DOCNUM                  = 0
                  EVENTCODE               = 'EDIM'
                  MESS                    = G_MESSAGE_FIELDS
             EXCEPTIONS
                  NO_ENTRY_IN_TEDE5       = 0
                  ERROR_IN_START_WORKFLOW = 0
                  OTHERS                  = 0.
    * do not care for exceptions here
        COMMIT WORK.
    * abend message for RFC
        MESSAGE ID     G_MESSAGE_FIELDS-MSGID
                TYPE   'A'
                NUMBER G_MESSAGE_FIELDS-MSGNO
                WITH   G_MESSAGE_FIELDS-MSGV1 G_MESSAGE_FIELDS-MSGV2
                       G_MESSAGE_FIELDS-MSGV3 G_MESSAGE_FIELDS-MSGV4.
      ENDIF.
    * end of report
    there are some function modules to accomplish this.
    IDOCS_OUTPUT_IN_XML_FORMAT
    IDOCS_OUTPUT_VIA_XML_HTTP
    for inbound processing,
    IDOC_INBOUND_XML_SOAP_HTTP
    IDOC_INBOUND_XML_VIA_HTTP
    IDOC_XML_FROM_FILE
    IDOC Adaptor,
    IDX_IDOC_TO_XML
    Extended table maintenance, to display IDOC in XML format with XSL,
    IDOC_XML_DISPLAY
    IDOC_XML_TRANSFORM

  • ABAP Mapping XML-IDoc to Flat string: missing character of segement header

    Hello folks!
    I'm using an ABAP-Mapping in order to trasform an XML-IDOC to a flat string.
    The implementation of the mapping is in accordance with the "HOW TO convert an IDoc-XML to ..."Basically it works fine except the following:
    The following line shows one Segment of an IDoc. the control record is ok.
    With '380' begins the payload of the segment. The part before includes the segment header,
    which is 63 Bytes long, which is correct.
    What we're missing, is the last character of the segement header:
    ABAP-Mapping:
    E1VDEWBGM                     01000000000325511200000020000000 380   5 (...)
    BusinessConnector:
    E1VDEWBGM                     010000000003255112000000200000001380   5 (...)
    Again: the overall length of the segment is ok, but the '1' of the field hirarchie level is overwritten.
    Any idea?

    In that case you need to extend the trace file in the Visual Admin Console...
    &#61680;     Services
    &#61680;     Log Configurator
    &#61680;     Locations
    &#61680;     Choose the location (Java package) and the tracing level (severity)
    (for example, com.sap.aii.adapter.file)
    &#61680;     Root Location > com > sap > aii > File
    &#61680;     Set the severity and choose Copy Severity to Subtree
    Check the trace file to find the field erroring this way!

Maybe you are looking for

  • Single Frame Displays on External Monitor

    I have been searching online for the past three hours, trying to find a solution to this. I have found threads describing similar problems, however, I have done everything suggested in those threads, and nothing seems to work. I am at my wit's end. T

  • DBMS_Stats package body is missing on unix install

    I ran dbmsstats.sql again after I got the following error message ORA-04068: existing state of packages has been discarded ORA-04067: not executed, package body "SYS.DBMS_STATS" does not exist ORA-06508: PL/SQL: could not find program unit being call

  • NOW behaviour in siebel Analytics 7.8

    Hi All, We have a Calculated measure column (BIRTH_age) using NOW() in rpd we have a Answer created with a filter like BIRTH_age>18 on the column  in Siebel Analytics 7.8 and a segment is created over this analysis. when we are executing update count

  • HT201317 my photostream stopped sending to my Pc several months ago, how to I get it to work again?

    My photostream works bertween my Ipad and Iphone but stopped working with my PC several months ago.   How to I get it to work between all three again?

  • Seeking explanation on the code below

    public void addListEntries(List<ListEntry> list) { for(ListEntry entry: list) { addListEntry(entry); The above method is from a sample program on using Java DB in desktop application. I need sombody to help explain the following: (1) addListEntry(Lis