Problem with extension of idoc in XI

Hello All,
I've extended an Idoc in R/3 with new segment.
That new idoc extension i've mentained in t/code IDX2
Also, i've imported the new extended idoc in XI in IR.
Next i've done the related mapoping for the new segment in IR.
In ID, do i need to change the old idoc name with new extension idoc which i'm using in the Receiver Agreement
After doing all these above modifications..i've receving the below mentioned error message
- <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_METADATA</SAP:Code>
  <SAP:P1>I::000</SAP:P1>
  <SAP:P2 />
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText />
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>Error: I::000</SAP:Stack>
  <SAP:Retry>M</SAP:Retry>
  </SAP:Error>
Pls. let me know how i need to proceed further.
Thanks in advance!!!
Regards
Prasad

Hello Prasad,
Go through these discussions....
<IDOC_ADAPTER> ATTRIBUTE_IDOC_METADATA
Re: ERROR: "IDOC_ADAPTER" / "ATTRIBUTE_IDOC_METADATA"
File2IDoc Adapter Error
Hope the above links are very helpful to you..
Thanks,
Satya Kumar

Similar Messages

  • Problem with HR inbound IDoc

    Hi,
    I have a problem with processing inbound IDocs from an external payroll system to infotype 0008.  The process is quite simple; salary changes from the payroll system is recorded to the corresponding employee's infotype 0008.  When testing I noticed that that the new record is recorded as is.  For example if there is already an existing record with the validity dates 01.01.2010 - 31.12.9999 and the new record in the IDoc is 01.01.2011 - 31.12.9999, the new record is written as is.  I would expect the system to delimit the old record correctly - similar to what would happen if you maintain records online.  There is no error checking or any kind of processing done by the system. 
    I did some debugging and found out that the function module linked to process code HRMD writes the information directly to the database.  If this is a standard way of doing this, it is really unusual.
    Has anybody else encountered this?  Any pointers?
    Thanks.
    Edited by: Theo Droste on Jan 20, 2011 11:56 AM

    Hi
    This is correct, the ale programme writes the data directly to the database, I have faced this isssue on occassion. I once raised an oss message on this as well, and sap confirms this is what happens. If it is a sap to sap ale, it somehow seems to work, - this could be because the outgoing idocs are created by sap itself  but if it is a non sap to sap ale the onus is on us to ensure that the external system sends the correct data to sap in the way we intend it to be displayed.
    that is how it has been in my experience. It is unusual, but apparently not impossible. Please let us know if you find out anything different.

  • 10.1.3 problem with extensions.

    C:\jdev\1013p\jdev\lib\ext\bc4j_junit_addin.jar!\meta-inf\jdev-ext.xml
    I have general problem with extensions in the new developer preview.
    At start up time, they all give error messages like this.
    Error: <Line 3, Column 21>: XML-24534: (Error) Element 'feature' not expected.
    Error: <Line 22, Column 14>: XML-24521: (Error) Element not completed: 'extensions'
    C:\jdev\1013p\jdev\lib\ext\junit_addin.jar!\meta-inf\jdev-ext.xml
    Error: <Line 3, Column 21>: XML-24534: (Error) Element 'feature' not expected.
    Error: <Line 66, Column 14>: XML-24521: (Error) Element not completed: 'extensions'
    JDeveloper starts OK, but the extensions don't work properly. JUnit appears in the New... menu, but doesn't display any sub-items. Jalopy (the newest one) appears in the preferences page, but causes the code editor context menu not to display.
    I've run jdev.exe but there are no additional messages in the console window.
    Windows XP SP2 Pentum M, 1GB RAM

    Hi Jim,
    Are you dropping 9.0.5 extensions into 10.1.3? You need to get 10.1.3 compatible extensions. Also, there are now two separate locations for extensions:
    ${jdev.home}/jdev/lib/ext : for "backward compatible" jdeveloper extensions (extensions from 9.0.5 and prior will probably work if dropped here, but may be affected by API changes... usually those extensions will need to be recompiled against the 10.1.3 extension API)
    ${jdev.home}/jdev/extensions : for new JSR-198 compliant extensions.
    For JUnit, it's best to either install using Help->Check for Updates..., or download the 10.1.3 zip files manually and extract them into ${jdev.home}/jdev/extensions. The bc4j junit extension will not work in the 10.1.3 preview, because there is no ADF.
    Thanks,
    Brian

  • Problem with Extensis plug-in with Adobe CS6

    I have a Mac running version 10.8.5 OS X and I also have Adobe CS6. I recently update Suitcase Fusion to their newest version (Suitcase Fusion 5) and since then I've been having a lot of problems with CS6. Every time I start the program it gives me the message: "The Extensis plug-in could not locate a running copy of the FMCore application. Auto - activation plug-in functionality will be disabled". I'm not sure how to fix this, so I would appreciate any help!

    What does Extensis say?
    From where I sit, the error message is telling you that you only updated the plug-in but not the application itself.  But only Extensis can clarify that.

  • DW CS4 with Windows 7 - problems with Extension Manager

    Hi
    I am new to this forum and have searched to see if anybody else has had this issue but can't find it.
    I have recently installed CS4 on a Windows 7 laptop. I had originally downloaded and installed it on an XP laptop where it was all fine.
    I had some problems with installation with the unlocking of the serial number on the new laptop - this was resolved by Adobe support.
    However now I am trying to install extensions and get the message that the Extension Manager is unavailable and I have to re-install.
    I have tried to contact Adobe using the Support portal but my post has been there for 4 days and I have had no response. I have just tried to call and after 12 minutes of being on hold - when the wait time was supposed to be 1 minute - I gave up.
    Can anyone help with this. Does this mean an uninstall then re-install again? In which case I will have the same serial number issue that I had before. Or is there any other way I can install the Extension Manager?
    Would really appreciate any help.

    I had a somewhat similar experience with the 4.2.1 upgrade with my computer. With my Q6600 running at 3.2 GHz, Vista x64 and with PPro CS4/4.1 update, I ran the PPBM4 benchmark and scored an 83.8. I then installed Win 7 x64, clean install etc… and re-ran the PPBM4 benchmark, with the same 4.1 update and with all system configurations the same as before, my score improved to 68.8, fantastic! I was very impressed with Win 7 x64.
    This was short-lived because I updated PPro from 4.1 to 4.2.1, re-ran the PPBM4 benchmark and my score fell to 83.1 seconds, not impressed with the 4.2.1 update as far as this benchmark was concerned. I replaced the Q6600 with a Q9450, also over clocked to 3.2 GHz and with Win 7 x64, ran the PPBM4 benchmark and scored a 68.1; I got back everything I had lost in system speed from the 4.2.1 update plus some.
    The Q6600 does not have the SSE4 instruction set while the Q9450 does. Perhaps the 4.2.1 update benefited CPU’s with SSE4 while those CPU’s without it, took a performance hit, just a guess.

  • Problems with extension of generic abstract class

    Hello,
    I'm having some problems with the extension of a generic abstract class. The compiler tells me I have not implemented an abstract method but I think I have. I have defined the following interface/class hierarchy:
    public interface Mutator<T extends Individual<S>, S> {
         public void apply( T<S> ind );
    public abstract class AbstractMutator<T extends Individual<S>, S> implements Mutator<T, S> {
         public abstract void apply( T<S> ind );
    }Now I implement AbstractMutator as such:
    public class BinaryMutator extends AbstractMutator<StringIndividual<Integer>, Integer> {
         public void apply( StringIndividual<Integer> ind ) { ... }
    }The compiler says:
    BinaryMutator.java:3: ga.BinaryMutator is not abstract and does not override abstract method apply(ga.Individual<java.lang.Integer>) in ga.AbstractMutator
    Why does it say the signature of the abstract method is apply(Individual<Integer>) if I have typed the superclass as StringIndividual<Integer>?
    Thanks.

    Yes, but the abstract method takes an arg of type <T extends Individual>. So it takes an Individual or a subclass thereof, depending on how I parameterise the class, right? StringIndividual is a subclass of Individual. So if I specify T to be StringIndividual, doesn't the method then take an arg of type StringIndividual?

  • Problem with non-updated idocs

    Hi,
    we have a problem after upgrading from 3.5 to 7.0. Lots of extractors end
    in an error-message concerning non-updated idocs. Every day several
    extractors have this problem. This are not always the same extractors. As
    a result we must repair many extractions manually.
    I know the procedure of how to repair, but I want te know how I can prevent
    extractors from running into this problem in the first place.
    Any suggestions?
    This is the problem-message that we get...
    Non-updated Idocs found in Source System
    Diagnosis
    IDocs were found in the ALE inbox for Source System that are not updated.
    Processing is overdue.
    Error correction:
    Attempt to process the IDocs manually. You can process the IDocs
    manually using the Wizard or by selecting the IDocs with incorrect
    status and processing them manually.

    It has been happening on our env as well (BI 7.0 SP 12), time to time one load or the other gets into this problem and it waits yellow for few hrs before turning red.
    I can correct the IDOC and move on or run the load again it works fine.. but the process chain gets held up not going to the next stage for hrs..
    any resolution on your problem..
    thanks
    Mayil

  • Problems with processing outbound IDocs in background processes

    Hello everybody,
    I have a question for working with ABAP-PSS Ports.
    The behvaiour is that I want to send master data, for example customers, to a function module. This function module works like an converter which process and writes the files in the filesystem.
    Following situation:
    - I have defined a partner System with different message types, for example DEBMAS and everthing what is necessary to replicate data to partner systems.
    - I have defined also a Port like ABAP-PPS Port for calling my own function module.
    - If I runs the program I process only 50 Idocs per process because otherwise i can happen that there are to many look entries in the system and the job crashs. (For example all customers are around 50000 Idocs).
    Now my problem is that the worker for processing idocs starts each process in the foreground and in parallel.
    But this is very strange! Because then all dialog processes are reserved and the system will be very slow!
    How can I configure the Port or what have I to implement in my fucntion module to start processing in background (this is the very important point) and maybe allow the program only to use one or two process at the same time?
    I have found on the function module EDI_DOCUMENT_CLOSE_PROCESS which I the parameter "Background". What thas this mean? I have set B for this but it has no effect!
    Regards
    Christian

    I know that for inbound interface it is possible to define if in foreground or background and if parallel processing is allowed.
    Who knows how I can do this also for outbond?

  • Strange problem with Extension Mobility and Click to Call

    Can anyone explain how is it possible ? Any ideas, guys?
    CUCM 7.1.3
    PC1 with IP comm. and user1 is logged in to Extension Mobility + Click to Call. User1 can make a call using Click to Call.
    PC2 with IP comm. and user2 is logged in to Extension Mobility + Click to Call. User2 can't make a call using Click to Call.
    The following error appears on the PC2 screen:
    "The call failed. Please ensure you are logged into your Extension Mobility device. If the problem persists contact your phone administrator"
    Here is the log from PC2:
    2010-02-03 12:49:46,781 [16] INFO  - 1 devices returned from ParseDevices
    2010-02-03 12:49:46,781 [16] DEBUG - 0) MY IPC - Cisco IP Communicator - SEP0022680B43E9
    2010-02-03 12:49:48,703 [1] DEBUG - entering FindCallRecord - 26468949
    2010-02-03 12:49:48,703 [1] INFO  - matched tag with call record - 26468949
    2010-02-03 12:49:48,703 [1] INFO  - action - new call: ct:Click to Call;rt:20100203-12494870;pn:26468949;pt:;cn:desk phone ct:;desk phone rt:;desk phone pn:;desk phone pt:;soft Phone cn:soft Phone ct:;soft Phone rt:;soft Phone pn:;soft Phone pt:;soft Phone cn:
    2010-02-03 12:49:48,734 [1] DEBUG - ClickToCallDialer  server and port10.100.3.1:8443
    2010-02-03 12:49:48,734 [1] INFO  - make call through WD - 26468949
    2010-02-03 12:49:48,734 [1] INFO  - MakeCall: user(a.koltalo) to(26468949) with profile(a.koltalo;Extension Mobility Phone;;True)
    2010-02-03 12:49:51,859 [1] ERROR - make call failure through WD - CALL_FAILURE_ERROR
    2010-02-03 12:49:51,859 [1] DEBUG - entering WriteRecord - 26468949
    2010-02-03 12:49:51,859 [1] INFO  - record already exists, go through records to remove matched record - C:\Documents and Settings\Jevgenij\Application Data\Cisco\Click to Call\Data\Outbound\26468949.xml
    2010-02-03 12:49:51,859 [1] DEBUG - entering ReadRecord - C:\Documents and Settings\Jevgenij\Application Data\Cisco\Click to Call\Data\Outbound\26468949.xml
    2010-02-03 12:49:51,875 [1] DEBUG - push call record into stack
    2010-02-03 12:49:51,875 [1] DEBUG - write record into file
    2010-02-03 12:49:51,875 [1] INFO  - outbound call record changed, fire event to notify
    2010-02-03 12:52:08,484 [17] DEBUG - ClickToCallDialer  server and port10.100.3.1:8443
    2010-02-03 12:52:08,593 [17] DEBUG - entering QueryDevices - 10.100.3.1 - a.koltalo
    2010-02-03 12:52:08,656 [17] INFO  - return success from GetDevices -
    User2 moves from PC2 to PC1 - run IP comm. do loggin to Extension Mobility and run Click to Call with his credentials. User2 can make a call using Click to Call
    User1 moves from PC1 to PC2 - run IP comm. do loggin to Extension Mobility and run Click to Call with his credentials. User1 can't make a call using Click to Call
    PC2 and PC1 - have the same configuration and software installed, both PCs are on the same LAN subnet. There are no any firewalls between PCs and CUCM server.

    Sounds like a possible permissions issue on the workstation to me.  Have you tried configuring one of your test users as the local admin on the workstation?

  • Problems with PORDCR101/2 IDOC Type

    Hi All,
    I am new to SDN so not sure of the protocol so please bear with me.
    I am trying to use IDOC type PORDCR101 to create purchase orders.
    In the segment E1BPMEPOHEADER I have mapped the the DOC_TYPE to NB (with the corresponding E1BPMEPOHEADERX set to X)
    But I am still getting a strange error message
    Document type ZU not allowed with doc. category F (Please check input)
    ZU is a bespoke requestion that exists in the system, but nowhere is this mapped. The standard NB Purchase order type exists in the system.
    If anybody can shed some light, I can provide the complete mapping if this is useful.
    thanks
    Shashi

    Hi G.Ganesh Kumar,
    The partner profile in WE20 the Partner Type is set correctly, the inbound parameters have message type PORDCR1 set correctly with the BAPI process code.
    I have no problem generating the idoc, I get the error 51 with the above description when the idoc tries to post.
    Shashi

  • Problem with creation of IDOC Segment Type

    Hi,
    I tried to create IDOC Segment Type Z1LFA1 but error
    prompted "Structure Z1LFA1 already exist.".
    I tried deleting it at se11  but prompted
    "You cannot edit object R3TR TABL Z1LFA1 with the
    standard editor"                          
    and at sm30-TADIR, but prompted
    with "Cannot delete object directory entry, object exists."
    How will go about this??
    Please help!
    Thanks!

    hi,
    yup, tried doing that on we31 but the segment does not exist yet.
    we're currently upgrading from 4.6 to ecc, I think the structure
    was tranferred to our ecc client but the idoc segment and idoc type were not. I'll just have to transport it then.
    Thanks!

  • Problem with an Receiver Idoc adapter

    Hi.
    We have just went from XI 3.0 to PI.7.10.
    The Receiver idoc adapter is set up in the same way as it was in XI.
    The problem is when two different interfaces runs at the same time I got data into the DC40-record which not belongs too this idoc but from an another interface/idoc.
    The idocs are different messagetypes.
    In this case the field MESCOD which belongs to one of the idocs also appered in the idoc where the field MESCOD not should be used.
    Any idea whats wrong ?
    /Per-Arne

    Thanks.
    Checked sxmb_moni as you said.
    In the OutboundBinding-node I can see the right idocadapter is used
    where 'Apply Control Record Values from Payload' is enabled.
    <SAP:ChannelName>IDOC_INBOUND_U01_110</SAP:ChannelName>
    In the IdocOutbound-node I can see the message code 'EXT' which should'nt be there.
    - <SAP:IDocOutbound xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <SAP:TABNAM>EDI_DC40</SAP:TABNAM>
      <SAP:MANDT>001</SAP:MANDT>
      <SAP:DOCREL>710</SAP:DOCREL>
      <SAP:DOCNUM>0000000000033474</SAP:DOCNUM>
      <SAP:DIRECT>2</SAP:DIRECT>
      <SAP:IDOCTYP>OILLDD01</SAP:IDOCTYP>
      <SAP:CIMTYP />
      <SAP:MESTYP>OILLDD</SAP:MESTYP>
      <SAP:MESCOD>EXT</SAP:MESCOD>
    Too be more specific about the interface.:
    I got one file in from a file adapter and out of that file I produce two idocs into R3 whit
    two different idocs-adapters.
    I think you are right about that the configuration may be mixed up.
    Any idea of what I can do?
    It may be an PI 7.10 bug ?
    Shall I delete all config objects and so set config up from scrach again ?
    /Per-Arne

  • Problem with import of IDOC fromSAP 3.1i to PI 7.0

    Hi ,
    I have an IDOC as ZXYZ.ORDERS01 in SAP R/3 3.1i System, I am unable to import the IDOC in PI7.0
    Let me know the process to import that idoc.
    ( I am Doing IDOC to File and file to IDOC Scenario )
    Regards,
    Edited by: TomShey on Sep 22, 2010 6:27 PM

    Hi,
    We also had same problem of unable to import IDOC structures automatically from SAP 3.1I to XI/PI, as the support of this feature as mentioned by SAP starts from version >= 4.0.
    Please find the prerequisite as mentioned in help.sap.com
    Prerequisites
    The SAP system from which you want to import the RFCs or IDocs must contain function modules for calling metadata. You can import RFCs and IDocs from SAP Release 4.0 and higher. The table below gives an overview of the required support packages:
    (http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm)
    So as per my experience, I could identify three options after indepth investigation.
    1. Recreate the IDOC structures in another SAP system which is of latest version >= 4.0 may be IDES, and then import the structure in IR for further developments. This is the option we are using for our developments now.
    2. Get WSDL of the IDOC structure by creating manually the structure using XML Enterprise edition using the complete syntax or xpath and import as external definitions and use it in mapping.
    3. Re-create the IDOC structure in XI system itself and try to use it.
    Let me know if this helped you.
    Regards,
    Bindu

  • Problem with SAPServerHost - Receiver Idoc

    Good afternoon!
    I am using the component SAP.Net Connector to receive IDOC's from the SAP, for this I created a Windows Service and in the OnStart event I create the SAPServerHost object that will go to talk with the SAP (through the transaction sm59, for example).
    It happens that some times the SAP does not obtain to see this object, thus being does not obtain to send the IDOC's for windows service.
    Thank you.
    Danilo Santos de Oliveira

    The SAPServerHost itself doesn't register at the SAP gateway. The actual SAPServer-inherited instances do so. You create them and attach them to the SAPServerHost. The host can control the state of the servers that it hosts, e.g. it can stop, pause and continue them.

  • Problem with Context in IDoc

    Hi Experts,
    I have the following source fields:
    1 <Recordset>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D1<Data>
          </Record>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D2</Data>
          </Record>
    2 <Recordset>
          <Record>
             <LineIdentifier>ITEM</LineIdentifier>
             <Data>D3<Data>
          </Record>
    Target : 2 Idocs to be created!
    For each recordset, an IDoc needs to be created. For Idoc 1, there should be 2 segment of E1EDP01 to be created(coz 2 ITEM) and Idoc 2, there should be 1 segment of E1EDP01).
    I have done it as follows:
    Check if LineIdentifier (context is recordset)  = ITEM then map Record to UDF createItemrecord as follows
    for(int i =0; i < record.length; i++)
         result.addValue(record<i>);
    Then map it to RemoveContext and SplitByValue. The result is Idoc 1 has 1 segment of E1EDP01 (Value D1) and IDoc 2 has 1 segment of E1EDP01 (value D2).
    The expected result is => Idoc1 -> E1EDP01(D1) and E1EDP01(D2) and Idoc 2 -> E1EDP01(D1) and E1EDP01(D3)
    Please explain how this can be achieve.
    thanks a lot.
    Rewards guaranteed!!!
    Regards,
    Tush
    Edited by: Tush Mangad on Aug 14, 2008 8:53 AM

    I have found that XSL mapping does this quite well
    An example to create Sales Order IDocs
    Note that square brackets in the generate statement have been interpreted by this editor as a strikethrough
    Input file
    <?xml version="1.0" encoding="UTF-8"?>
    <input>
         <row>
              <ordernum>ORD1</ordernum>
              <orderitem>ITEM1</orderitem>
              <data>ABC</data>
         </row>
         <row>
              <ordernum>ORD1</ordernum>
              <orderitem>ITEM2</orderitem>
              <data>DEF</data>
         </row>
         <row>
              <ordernum>ORD2</ordernum>
              <orderitem>ITEM1</orderitem>
              <data>GHI</data>
         </row>
    </input>
    XSL
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <xsl:output method="xml" indent="yes"/>
         <!-- -->
         <xsl:template match="/">
              <CRMXIF_ORDER_SAVE_M01>
                   <xsl:apply-templates select="//input"/>
                   <!--  -->
              </CRMXIF_ORDER_SAVE_M01>
         </xsl:template>
         <!-- -->
         <xsl:template match="input">
              <xsl:variable name="sales_order" select="//row"/>
              <xsl:for-each select="$sales_order">
                   <xsl:if test="generate-id(.)=generate-id($sales_order[ordernum=current()/ordernum])">
                        <!-- New Order Number -->
                        <xsl:if test="position()!=1">
                             <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/E101CRMXIF_BUSTRANS<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                             <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/IDOC<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                        </xsl:if>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>IDOC BEGIN=<xsl:text disable-output-escaping="yes">&quot;</xsl:text>1<xsl:text disable-output-escaping="yes">&quot;&gt;</xsl:text>
                        <EDI_DC40 SEGMENT="1">
                             <TABNAM>EDI_DC40</TABNAM>
                             <MANDT>010</MANDT>
                             <DOCREL>620</DOCREL>
                             <STATUS>30</STATUS>
                             <DIRECT>1</DIRECT>
                             <OUTMOD>2</OUTMOD>
                             <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                             <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                             <SNDPRT>LS</SNDPRT>
                             <RCVPRT>LS</RCVPRT>
                        </EDI_DC40>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>E101CRMXIF_BUSTRANS SEGMENT=<xsl:text disable-output-escaping="yes">&quot;</xsl:text>1<xsl:text disable-output-escaping="yes">&quot;&gt;</xsl:text>
                        <!-- Build Sales Order BUSTRANS data -->
                        <xsl:call-template name="bustrans_Template">
                             <xsl:with-param name="bustrans" select="current()"/>
                        </xsl:call-template>
                        <!-- Build Sales Order BUSTRANS_ITEM data -->
                        <xsl:call-template name="bustransItem_Template">
                             <xsl:with-param name="bustransItem" select="current()"/>
                        </xsl:call-template>
                   </xsl:if>
                   <!-- -->
                   <!-- Same Order Number - multiple items encountered -->
                   <!-- Build Sales Order BUSTRANS_ITEM data -->
                   <xsl:if test="generate-id(.)!=generate-id($sales_order[ordernum=current()/ordernum])">
                        <xsl:call-template name="bustransItem_Template">
                             <xsl:with-param name="bustransItem" select="current()"/>
                        </xsl:call-template>
                   </xsl:if>
                   <!-- -->
                   <xsl:if test="position()=last()">
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/E101CRMXIF_BUSTRANS<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                        <xsl:text disable-output-escaping="yes">&lt;</xsl:text>/IDOC<xsl:text disable-output-escaping="yes">&gt;</xsl:text>
                   </xsl:if>
              </xsl:for-each>
         </xsl:template>
         <!-- -->
         <xsl:template name="bustrans_Template">
              <xsl:param name="bustrans"/>
              <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
              <!-- Business Transaction: Sales -->
              <E101CRMXIF_SALES_X SEGMENT="1">
                   <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                   <DATAX>X</DATAX>
                   <E101CRMXIF_SALES SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                        <!-- Sold-To Party's External Reference -->
                        <PO_NUMBER_SOLD>
                             <xsl:value-of select="ordernum"/>
                        </PO_NUMBER_SOLD>
                   </E101CRMXIF_SALES>
              </E101CRMXIF_SALES_X>
         </xsl:template>
         <!-- -->
         <xsl:template name="bustransItem_Template">
              <xsl:param name="bustransItem"/>
              <!-- Business Transaction: Item -->
              <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                   <OBJECT_TASK>I</OBJECT_TASK>
                   <!-- Item Number in Document -->
                   <ITEM_NUMBER>
                        <xsl:value-of select="orderitem"/>
                   </ITEM_NUMBER>
                   <!-- Product ID -->
                   <PRODUCT_ID>
                        <xsl:value-of select="data"/>
                   </PRODUCT_ID>
              </E101CRMXIF_BUSTRANS_ITEM>
         </xsl:template>
    </xsl:stylesheet>
    Result
    <?xml version="1.0" encoding="UTF-8"?>
    <CRMXIF_ORDER_SAVE_M01 xmlns:fo="http://www.w3.org/1999/XSL/Format">
         <IDOC BEGIN="1">
              <EDI_DC40 SEGMENT="1">
                   <TABNAM>EDI_DC40</TABNAM>
                   <MANDT>010</MANDT>
                   <DOCREL>620</DOCREL>
                   <STATUS>30</STATUS>
                   <DIRECT>1</DIRECT>
                   <OUTMOD>2</OUTMOD>
                   <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                   <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                   <SNDPRT>LS</SNDPRT>
                   <RCVPRT>LS</RCVPRT>
              </EDI_DC40>
              <E101CRMXIF_BUSTRANS SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
                   <E101CRMXIF_SALES_X SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                        <DATAX>X</DATAX>
                        <E101CRMXIF_SALES SEGMENT="1">
                             <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                             <PO_NUMBER_SOLD>ORD1</PO_NUMBER_SOLD>
                        </E101CRMXIF_SALES>
                   </E101CRMXIF_SALES_X>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM1</ITEM_NUMBER>
                        <PRODUCT_ID>ABC</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM2</ITEM_NUMBER>
                        <PRODUCT_ID>DEF</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
              </E101CRMXIF_BUSTRANS>
         </IDOC>
         <IDOC BEGIN="1">
              <EDI_DC40 SEGMENT="1">
                   <TABNAM>EDI_DC40</TABNAM>
                   <MANDT>010</MANDT>
                   <DOCREL>620</DOCREL>
                   <STATUS>30</STATUS>
                   <DIRECT>1</DIRECT>
                   <OUTMOD>2</OUTMOD>
                   <IDOCTYP>CRMXIF_ORDER_SAVE_M01</IDOCTYP>
                   <MESTYP>CRMXIF_ORDER_SAVE_M</MESTYP>
                   <SNDPRT>LS</SNDPRT>
                   <RCVPRT>LS</RCVPRT>
              </EDI_DC40>
              <E101CRMXIF_BUSTRANS SEGMENT="1">
                   <APPL_SNAME>CRMXIF_BUSTRANS</APPL_SNAME>
                   <E101CRMXIF_SALES_X SEGMENT="1">
                        <APPL_SNAME>CRMXIF_SALES_X</APPL_SNAME>
                        <DATAX>X</DATAX>
                        <E101CRMXIF_SALES SEGMENT="1">
                             <APPL_SNAME>CRMXIF_SALES</APPL_SNAME>
                             <PO_NUMBER_SOLD>ORD2</PO_NUMBER_SOLD>
                        </E101CRMXIF_SALES>
                   </E101CRMXIF_SALES_X>
                   <E101CRMXIF_BUSTRANS_ITEM SEGMENT="1">
                        <APPL_SNAME>CRMXIF_BUSTRANS_ITEM</APPL_SNAME>
                        <OBJECT_TASK>I</OBJECT_TASK>
                        <ITEM_NUMBER>ITEM1</ITEM_NUMBER>
                        <PRODUCT_ID>GHI</PRODUCT_ID>
                   </E101CRMXIF_BUSTRANS_ITEM>
              </E101CRMXIF_BUSTRANS>
         </IDOC>
    </CRMXIF_ORDER_SAVE_M01>

Maybe you are looking for

  • Who do I talk to about my product idea for iPhones ?

    Can anyone suggest the process of working with apple on an accessory for the iPhone. I do not expect to make millions and millions off this idea but at the same time don't want apple to say... "That's a stupid idea" then go and release it themselves.

  • Logic pro x splitting keyboard

    Can anyone help me set me setup keyboard,  Trying to set up so it plays strings on left side and guitar on right hand side. System logic pro X Keyboard m audio keystudio Tried looking on YouTube: cheers mark

  • "The iPhone "iPhone" could not be restored. An unknown error ocurred  (-1)."

    I'm receiving this message when I try to restore my iPhone 3gs Can someone help me with this? and put the iPhone back to work. Thanks

  • Help with soft like skype

    Does blackbeery have a program/software like skype. I really need a soft to call to others computers from my blackberry 8310. Just sign session and call a contact who stay in his computer. Thanks for all. Alberto from argentina.

  • I have problem with my iphone4s .how to restore it

    the iphone could'nt start normally when i connect the USB to the itunes it seems recognized to the itunes and telling me the iphone inrecovery mode and needs to restore the iphone, during the restoring operation a pop up windpw appears to tell me tha