Idoc field structure error.

Hi,
I have a requirement like i need to add an additional field to the existing IDOC structure from where it is used for  the xslt mapping and do the remaining process.
The mapping part is one to one but i need to add an another field to the external defintion idoc.
Source is IDOC and the target structure is the same structuer that is in the external definiton.
for this i have exported the xsd of the idoc and then i have imported through External Definitions part. but if i need to add an another field to it it is not allowing to do that..
So please can anyone suggest me how to proceed..
Thanks,
Sai

Hi Sai,
i need to add an additional field to the existing IDOC structure
Is there any specific reason for usign IDOC as external definition (are you changing the occurance of IDOC)?
what is your sender and receiver system?
Are you expecting the value for this addition field to be populated by sap along with the rest of IDOC data? if yes then ,get a custom IDOC created in SAP with the required field.
Or if you want to populate this additional field in PI usign any logic (assuming you are sending to any non sap system), then you can create a new ED for the targert , just export
the ED to desktop , open with any xml editor (xml spy or microsoft  visual studio 2005) and navigate to the portion of xsd which you want to edit add the field -> reimport in PI and  use it as your target strucuture.You cannot edit ED directly in ESR.
Regards,
Srinivas

Similar Messages

  • Convert IDOC XML structure to flat file - and now?

    Hi,
    we are working with input message ORDERS05 and want to convert it to flat file.
    So we used the implementation description from "how to convert an IDOC-XML structure to a flat file....".
    Looks like this is a standard procedure described here fitting for all IDOCs.
    We followed the guide, making XI ready for Abap-Mapping, implemented the Abap class like described, added an interface mapping with source ORDERS05 to a mess.type dummy destination, added with type Abap-class the class implemented from the guide and completed the Int.Dir. implementation.
    For comparism purpose we have two systems as receiver, one with a standard flat file with regular graph.mapping in XI, one with the Abap mapping.
    Result:
    Error description in SXMB_MONI:
    Didn´t expect something like that! The IDOC was delivered successfully to the other simple flat file receiver.
    Any idea what we made wrong (we are on SP17) or if there is a standard mistake you can do when following the guide?
    Best regards
    Dirk

    Hi,
    I've got the same problem. He the solution in my case:
    The problem is:
    My IDOC has no element <STDMES>, but the method IF_MAPPING~EXECUTE from the 'HOW-TO Guide' does not check this situation:
    el_element = idocument->find_from_name('STDMES').
    ls_edidc-stdmes = el_element->get_value().
    thows the exception.
    Solution:
    make shure that the field STDMESis set or change the method to:
    el_element = idocument->find_from_name('STDMES').
    if not el_element is initial.
        ls_edidc-stdmes = el_element->get_value().
    endif.
    Best regards
    Dieter

  • Removing unused IDOC fields

    Hi All ,
    Removing unused IDOC fields using an XSLT editor is possible? If so, we can import them the IDOC as XSD correct? What will be the immediate benefit of such a tweak?
    Thanks
    XA

    Hi,
    When the Idoc definition itself is huge enough to cause the XI message mapping
    editor to consume a lot of memory and at times even end up giving an Out of Memory error, only while displaying
    the mapping. SAP recommends that a Reduced XSD feature provided by the Integration repository should be
    used in place of actual Idoc structure to avoid memory issues.
    If it is imported as an IDoc and used thereafter directly in mapping still results into an XSD of
    around more than 3 MB and causes trouble during opening of the mapping and also gives errors during mapping
    edit leaving the work in a vulnerable state.
    To overcome issues in the design editor to a considerable extent by using Reduced XSDs.
    you can find more details in Note # 709400.
    Regards,
    Harish

  • STPPOD Idoc creation status : Error in ALE Service

    Experts,
    I am trying to send GR from MM to SUS in MM-SUS Classic Scenario on ECC 6.0 Server. I have also configured Goods REceipt Notifications Functionality to sending GR from MM to SUS.
    When i am trying to send GR Idoc is generated (STDPOD) but i am getting the Error whose status - 29 in WE02 t-code :
    Status Message for Selected IDoc
    Status Text:   IDoc: 0000000000211243 Status: Error in ALE service
    T100 Text:     Entry in outbound table not found
    While i have properly configured Partner Profile for  Message Type STPPOD :
    Partner Role          Basic Type     Receiver Port           Application     Output Mode
    LS        DELVRY03       A000000018 (XI port)           GRN               Transfer Idoc Immediately
    When i try WE19 t-code for this idoc, i found  the error "Port '' does not exist in the table of port descriptions"
    while  i have already defined port (A000000018)in WE21 t-code  and this port also working fine for other messages.
    Please suggest.
    Thanks.
    Regards,
    Pawan Keshwani

    Nikhil,
    Issue is resolved it was the wiered error. As i removed LS from the field  Partner Role in STPPOD message at  partner profile(WE20) for SUS Client in ECC. Now the message STPPOD outbound message working fine.
    Thanks.
    Regards,
    Pawan Keshwani

  • Are idoc fields case sensitive?

    Hello, there has been an error during idoc processing. The trading partner field was filled in lowercase and this is bringing me error      Message no. FB279  ' Company dp0017 is not defined'. The other idocs had DP0017 filled in and were processed fine.
    Any input on this? thx.
    Edited by: Antish  Awootar on Jun 7, 2011 8:02 AM

    Hi Antish,
    It actually depends on the value that is stored in the IDOC, if the IDOC has company code in lower case then that is exactly how it will be used in the program for all purpose and no automatic conversion is applied. The below message is thrown in the FM - FI_COMPANY_CHECK This FM will look up the table T880 - If you check the entry in this table will be DP0017 and not dp0017. Hence it is throwing the error message.
    If your question is it works fine when i try in SE37 with the FM "FI_COMPANY_CHECK" or if i input "dp0017" in  WE19 or in SE11 against T880, then the reason for that is a conversion is applied automatically and it is changed to DP0017.
    To answer your question "Are idoc fields case sensitive?", it depends on the context, does it retain the case when it is filled in, yes it does.
    Regards,
    Chen
    Edited by: Chen K V on Jun 7, 2011 4:10 PM

  • To Handle Special Characters(Guideu0099 ) in MATMAS IDOC fields

    Need to handle special characters like Guide™, as an attached  superscript in MATMAS02/05 IDOC field . The field name is TDLINE in E1MTXLM segment.
    As a trial run when these special characters are pasted in the TDLINE field, it throws an error that "the input field contains prohibited characters"
    Please let me know if there is any workaround for this.

    hi
    good
    go through these links, i hope these ll help you to solve your problem.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAGTFADMLO/CAGTFADMLO.pdf
    http://www.erphome.net/wdb/upload/forum14_f_2908.doc
    thanks
    mrutyun^

  • IDOC Creation - structure has no data elements

    Hello,
    I've encounted the following situation when creating a new custom idoc:
    The structure in the data dictionary does not have any components (Data elements) associated with each field. (i.e if you view the structure using se11).  This is causing problems when trying to build ALE conversion rules using BD79 as you cannot tell which field is which for conversions with muliple conditions.
    Does anyone know how to get data elements against the fields in the dictionary structure.  Standard SAP idocs appear to have them - see E1MARCM.
    (we are using version 4.7)
    Any help would be appreciated,
    Thanks!

    Anita,
    I am assuming that although you are creating a custom idoc you are referring to  standard strucutre already existing for your segment.
    I am not very clear here, how did you create the segment. Can you clarify on the same?
    regards,
    Ravi

  • Field Selection error for movement type and G/L account

    I am currently experiencing a field selection error between movement type 601 and G/L account 7140000.  The problem field is 'Segment'.  This field is set to required for the G/L account, but it is hidden for the movement type 601. This inconsistency causes an error when posting the goods movement. According to business requirement the field must be required for the G/L account, therefore we must make this field optional for the movement type.
    However, in configuration the field segment does not appear for the movement type 601. Therefore it can not be changed to optional.
    Does anyone know a workaround other than making this field optional for the G/L account because the business requirement is to have this field as required?????
    Many Thanks

    Hi,
    On the Error message detail, system will guide you to the Configuration details for Field settings for Movement type & Account, please get in touch with your FI consultant, to make the Field selection for the account similr to that of your movement type, this is a very common issue.
    Regards
    Chandra Shekhar

  • Directory Structure Errors

    In TechTools ( came with Applecare ) i got a failed on Directory Structure, second time since owning my couple month old machine, first time apple recomended reloading.
    i dont mishandle it, dont bump, dent, etc, the laptop.
    but all of a sudden sometimes my USB keyboard/mouse wont register as being plugged in all the time / techtools HDD errors.
    only recent think if done is instal Onyx to look over the logs, and little while after ( days ) the issues started hapening,, same with last time, but didnt think it was Onyx, now im starting to wonder, anybody else have any issues like this, and Would Onyx couse it ( doubt it, but since onyx goes deep into the system, no idea )

    It is an interesting coincidence that I came across this thread today because I had the exact same issue myself last night.
    I have plenty of space available on my HDD 73.1GB.
    I downloaded the latest Onyx last night and when it starts it checks the disk. I got an error on the startup volume so I ran Tech Tools as well.
    TechTools came up with that same failed Directory Structure error.
    I next tried to reboot the comptuer holding down Apple/S and entering fsck -fy
    That resulted in errors. Tried re-running it 3-4 tims to see if it would resolve anything but got the same error with every attempt.
    I then booted from DiskWarrior and ran that. It seemed to correct a number of issues and now TechTools, Onyx, Disk Utility etc. find no problems. But it was kind of an odd occurance and interesting to find I was not alone in getting that last night.
    The odd thing though is that I also checked my Mac Pro while I was wating on this one to finish and had directory errors on that one as well so had to run DiskWarrior on both.
    I was kind of concerned about that to say the least.

  • IDOCs Packaging ... What if one IDOC is in error in the packet ?

    Hi all,
    What will happend to the rest of the IDOC in the packet ?
    Lets say, i packaged my IDOC in a bunch of 5.  The first 3 IDOCs, their payload are ok. However the 4th has a bad payload and it crash in the mapping section ...
    Does the first 3 IDOC (and the 5th one) will be sent and the one in error (4th one) will remain (in XI for mapping error) ?
    Thank.
    michel osborne

    Hi chandrakanth.k,
    Thank for your response. I have seen these blogs. I am not using the BPM.
    I am using the IDXPW + Messages filter (sxmsfilter) to packaged the IDOCs.
    I have made some tests ... wird enough ...
    test #1:
    idoc (1) - error
    idoc (2) - valid
    idoc (3) - valid
    .... etc ...
    test #2:
    idoc (1) - valid
    idoc (2) - error
    idoc (3) - valid
    test #3:
    idoc (1) – valid
    idoc (2) – valid
    idoc (3) - valid
    idoc (4) - error
    In the "test #1", idoc (2) & idoc (3) are processed correctly (idoc sent to the SAP ECC backend system). Idoc (1) is stuck in XI with errror (mapping) which is OK.
    In the "test #2", work the same as in “test #1”, idoc(1) & idoc(3) hs been delivered to the SAP ECC backend system.
    However, in the "test #3"all idoc (1, 2, 3,4) are stuck in XI ... idoc(4) in error (which is ok), idoc(1) – up to -  idoc(3) in sxmb_moni has the racing flag .... but not delivered to the SAP ECC backend system ... they have the status: Message Schedule for outbound side ....
    It seem that each time the package end with and idoc in error, the entire “batch’ get stuck in XI ….
    How can i get sent them (test case #3) !!?!?
    Thank in advance !

  • 'Structured' error handling and reentrancy

    The parentheses in the subject are due to the fact that I'm not using the Structured Error Handler reference library, but have rolled my own to do something similar but in the manner I want it to. I don't actually use the SEH (haven't even got it installed at the moment on this PC) so am not sure exactly how it works under the hood.
    I have a reasonably large application with a number of distinct parallel modules (GUI, state module, communication, motion control). The final parallel module is an error handling module. This consists of two queues - one for incoming errors, and one for outgoing actions. Errors are dequeued and their codes checked for their category (critical, warning, ignore or unclassified, for instance) and the appropriate category is returned to a local error handler via the action queue. When an error is passed to a local error handler VI, it enqueues the error to the main handler and waits for a response to that particular error.
    This all works nicely, in much the same way the SEH would do. However, with either the SEH or my local error handler method, I find myself wondering how often to place these down and the consequences of doing so. If they're non-reentrant, I imagine I may end up with lots of parallel processes sitting patiently to access the VI as it's blocked by another, causing jitter. If I go pre-allocated clone, I could potentially have many many callers using this function, which strikes me as a bit of a waste of resources. My gut feel is to go with shared-allocation clones, as the vast majority of the time it'll be no error passed through an empty case, and not to place them in absolutely every subVI - just perhaps after a state executes in the state handler, in all the parallel loops of the submodules etc.
    Just wondering what anyone else does with their error handling solution, and whether my thoughts make sense.
    CLD

    Having chatted to my friendly neighbourhood Spiderman Architect, he suggested I should probably just stop being a wimp and just use pre-allocated clones to avoid the jitter and to stop worrying about the resource hit, as you suggest
    I'll use the same code on both PC host and RT host, hence the jitter concerns on the RT.
    Thanks for the thoughts!
    CLD

  • How to fix the field level Error(Invalid Date)

    Hi All,
    Error: 1 (Field level error)
      SegmentID: ACK
      Position in TS: 5
      Data Element ID: ACK05
      Position in Segment: 5
      Data Value: 162014
      8: Invalid Date
    can anyone help me out, How to fix above error? i searched about this but only information about the error  is given and no where it is mentioned how to fix it  and how is it generated please help me out.
    Thanks,
    Nitish

    Are you sending or receiving the EDI?
    Either way, "162014" is simply not a valid EDI data format.  Dates in x12 are expressed as CCYYMMDD so December 30, 2013 would appear as 20131230.
    If you are receiving, you need to contact the sender and have them correct the output.
    If you are sending, you need to property format that date value.  For example:
    myDateVar.ToString("yyyyMMdd");

  • Turning off the structure errors in JDeveloper 10.1.3.2

    Is there a way to turn off the structure errors in for .jsp pages in JDeveloper 10.1.3.2.
    Many of the pages show "Element blah not expected" or "attribute missing"
    The app I'm working on has lots of old code from a range of developers and I really don't need to see the errors of their/my ways if they are truly no show stoppers.
    In the previous version this was not nearly as prevalent and it displays in 10.1.3.2.
    Thanks,
    LP

    Hi,
    actually previous versions didn't have error margins at all. There is no preference setting I am aware of to switch the error messages off
    Frank

  • How to map empty IDoc field

    Hi everybody!
    I want to map the value of a source field through a <b>FixValues</b> function to the target field. Unfortunately this is an IDoc field which sometimes doesn't even exist (i. e. it's not just empty - it's not even there). In this case the <b>FixValues</b> function suppresses the output, and there is <i>no</i> output - not even the <i>default</i> value of <b>FixValues</b>. However, the requirement is that I always have to generate a default output - even if the input field is empty/missing.
    Ony ideas how this could be done?
    Regards, Joerg

    Hi Himadri!
    Thanks for the quick response! I tried to create such a que. However, it doesn't remove the SUPPRESS from the queue. Here's the code:
    // Two input params: src[] and def[]
    // src contains the input queue (with SUPPRESS values)
    // dst contains (hopefully) only one value - the default value
    int n=src.length;
    result.clear();
    if (n==0) {
      result.addValue(def[0]);
    else {
      for (int i=0; i<n; i++) {
        if (src<i>.equals(ResultList.SUPPRESS)) {
          result.addValue(def[0]);
        else {
          result.addValue(src<i>);
    What am I doing wrong?
    Regards, Joerg

  • How to map Idoc fields with external file

    Hi All,
    How to map Idoc fields with external file.
    I want to check the settings where Idoc fields are mapped with external file.
    Thanks in advance.
    Regards,
    Govind.

    If you have configured a fileport where on trigger of IDOC you are creating the file, you can look at the message type documentation and get the offset values for each field in each segment

Maybe you are looking for

  • How do I close one page at a time?

    When I go from my email to a link and then can't get back to email using the back arrow I usually close that page and am back at my email. With Firefox I go to close and a message says that I am about to close 2 tabs and I have to say yes or it doesn

  • Generating Alert Message XML file and placing it in Queue

    Hello Team, I want the alert mechanism to generate the Alert file in XML format and it should be placed in the Queue it is the requirement of the client and it should be done without the help of the BPM can any one suggest me is this scenario can be

  • ITunes 6.02 Not Opening "WHAT'S GOING ON APPLE"!!!

    Sorry about the headline. Just like iTunes 6.01, iTunes 6.02 still doesnt open. Im getting tired of this, having to reinstall whenever I want to use it. I would have thought that Apple would have a fix by releasing iTunes 6.02, but I still see iTunes

  • Hanging on Power Off

    This has happened to me about 3 times. In the evening I turn my phone off and plug it in. I press and hold power off button and release after the 3 second count. The Blackberry word comes up and the phone sits there. sometimes it will disappear but y

  • I do not use iPhoto at all.

    How can I delete the photos from my HD? I am have iPhoto 8.1.2 and am running OSX 10.9.4 on my mid 2010 iMac 21.5" unit. I keep all my photos on an external drive and want to clear up the space on my computer. Can I just trash the iPhoto library and