I have to create an external defination which can refer the ED of IDOC .

Hi Expert ,
I have a scenario in which the source side is idoc and target side is mesaage header + idoc strucure .then we have to send the IDOC XML along with the header field to target .I am facing the problem in creation the target structure . My target strucure is :
ED_CommonMessage
    <Header>
         <field1>
         < field2>
     <field n>
</Header>
<payload>
<idoc str...>
</Payload>
I have created the XSD for header and in that under payload I am refering the IDOC XSD . I have also icluded the IDOC XSD . In Altova its coming fine .   In IR (external defination) i am exporting both the XSD (the IDOC and the Main one) . Again on IDOC ED source I am writng the main ED name also Moreover in the Main ED External Referneces the name of IDOC ED is also coming . But when in message mapping  I am opening the Main ED then the idoc structure is not coming there .only the idoc name is coming other details are missing.
PFA the XSD which I am importing as Main ED.
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:mns="marksspencer.com/is/2009/schemas/envelope/" targetNamespace="marksspencer.com/is/2009/schemas/envelope/" elementFormDefault="qualified" attributeFormDefault="unqualified">
     <xs:include schemaLocation="BLAORD_BLAORD03_ZMDE_BLAORDEXT01.xsd"/>
     <xs:element name="MnSDocument">
          <xs:complexType>
               <xs:sequence>
                    <xs:element ref="mns:Header"/>
                    <xs:element ref="mns:Payload"/>
               </xs:sequence>
          </xs:complexType>
     </xs:element>
     <xs:element name="Header" type="mns:HeaderType">
          <xs:annotation>
               <xs:documentation/>
          </xs:annotation>
     </xs:element>
     <xs:complexType name="HeaderType">
          <xs:sequence>
               <xs:element name="MessageId" type="xs:string">
                    <xs:annotation>
                         <xs:documentation>A unique identifier of the message provided by source application and should be of format.  Format should be "SourceSystemName-SystemDefinedUID"</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="CorrelationId" type="xs:string" minOccurs="0">
                    <xs:annotation>
                         <xs:documentation>Application defined correlation id - used for request response interfaces only</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="CreatedTimestamp" type="xs:dateTime">
                    <xs:annotation>
                         <xs:documentation>The timestamp of when the message was created</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="SourceApplicationName" type="xs:string">
                    <xs:annotation>
                         <xs:documentation>Name of the sending application</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="InterfaceId" type="xs:string">
                    <xs:annotation>
                         <xs:documentation>Reference to the RICEF IRI value assigned to the interface</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="InterfaceName" type="xs:string">
                    <xs:annotation>
                         <xs:documentation>Reference to the name assigned to the interface in the RICEF.</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="PayloadName" type="xs:string">
                    <xs:annotation>
                         <xs:documentation>Name of the payload type present in the message.</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="BatchMessageCount" type="xs:int">
                    <xs:annotation>
                         <xs:documentation>Number of GBOu2019s or Common Data Models present within the message.</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element name="BatchRecordCount" type="xs:int">
                    <xs:annotation>
                         <xs:documentation>number of individual business records within the batch e.g. total number of purchase orders.</xs:documentation>
                    </xs:annotation>
               </xs:element>
               <xs:element ref="mns:IntegrationExtension" minOccurs="0">
                    <xs:annotation>
                         <xs:documentation>extension area for the integration processing only</xs:documentation>
                    </xs:annotation>
               </xs:element>
          </xs:sequence>
     </xs:complexType>
     <xs:element name="IntegrationExtension" type="mns:IntegrationExtensionType">
          <xs:annotation>
               <xs:documentation/>
          </xs:annotation>
     </xs:element>
     <xs:complexType name="IntegrationExtensionType">
          <xs:sequence>
               <xs:any minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
     </xs:complexType>
     <xs:element name="Payload" type="mns:PayloadType">
          <xs:annotation>
               <xs:documentation/>
          </xs:annotation>
     </xs:element>
     <xs:complexType name="PayloadType">
          <xs:sequence>
               <xs:element ref="mns:ZMDE_BLAORDEXT01" minOccurs="0" maxOccurs="unbounded"/>
          </xs:sequence>
     </xs:complexType>
</xs:schema>
Regards.
Saurabh Sharma

Hi Saurabh,
What is your target sytem?
And how you fill up the below header fields in target structure, I mean will they have fixed values or dynamic.....
<Header>
<field1>
< field2>
<field n>
</Header>
Regds,
- Gujjeti.
Edited by: Praveen Gujjeti on Mar 19, 2009 3:25 PM

Similar Messages

  • Is it possible to create a java program which can find the answer to any sudoku

    This is may sound as a beginner question but thats because i am a beginner. i have just learned the java language and now i am reading essential classes on oracle tutorials.
    anyway is this possible ? i think it is and i have been trying to do it but havent been sucessful. and if it is possible is it supposed to be easy ?
    i have been trying to do it by making a 2d array of 8 arrays having 8 ints each which is basically a sudoku. and creating a 1d array called possiblity having nos from 1 to 9. then using decision making statements and loops to eliminate the possiblities of each box and repeating until the sudoku is complete
    also if you could provide some project ideas that would be really appreciated.
    (PS i am still an intermediate at best so please dont provide very difficult project ideas)

    f1b8d129-b881-44f7-a736-5eef31471720 wrote:
    This is may sound as a beginner question but thats because i am a beginner. i have just learned the java language and now i am reading essential classes on oracle tutorials.
    anyway is this possible ?
    Yes.
    i think it is and i have been trying to do it but havent been sucessful. and if it is possible is it supposed to be easy ?
    Maybe.
    It should be easy to do a "brute force attack" to find the solution meaning that you simply try each and every possibility.
    i have been trying to do it by making a 2d array of 8 arrays having 8 ints each which is basically a sudoku. and creating a 1d array called possiblity having nos from 1 to 9. then using decision making statements and loops to eliminate the possiblities of each box and repeating until the sudoku is complete
    shouldn't there be 9 sqares with 9 fields each?
    also if you could provide some project ideas that would be really appreciated.
    But an array of primitives (int?) will not do the trick. Somehow you have to remember wich positions are fixed. and which numbers are still availabe for the current sqare.
    At your level the most obvisual approach may be a second array holding this information.
    I'd prefer to build a cusom object representing a square and another custom object to represent a field within this square with two attributes: currentNumber and isFix.
    Based on this the Sqare object could have a method to create a new combination by shifting the numbers that are not fix.
    If you need further assistance please show the code you have and what problem(s) you have with it.
    bye
    TPD

  • Brand new user I have plugged in my external Hard which I was using for my windows laptop into my IMAC and it now appears I have lost all of my files is there any way I can recover these ?

    Brand new user I have plugged in my external Hard which I was using for my windows laptop into my IMAC and it now appears I have lost all of my files is there any way I can recover these  I didn't know that you should reformat

    only if you have a backup can you recover

  • External Table which can handle appending multiple csv files dynamic

    I need an external table which can handle appending multiple csv files' values.
    But the problem I am having is : the number of csv files are not fixed.
    I can have between 2 to 6-7 files with the suffix as current_date. Lets say it will be like my_file1_aug_08_1.csv, my_file1_aug_08_2.csv, my_file1_aug_08_3.csv etc. and so on.
    I can do it by following as hardcoding if I know the number of files, but unfortunately the number is not fixed and need to something dynamically to inject with a wildcard search of file pattern.
    CREATE TABLE my_et_tbl
      my_field1 varchar2(4000),
      my_field2 varchar2(4000)
    ORGANIZATION EXTERNAL
      (  TYPE ORACLE_LOADER
         DEFAULT DIRECTORY my_et_dir
         ACCESS PARAMETERS
           ( RECORDS DELIMITED BY NEWLINE
            FIELDS TERMINATED BY ','
            MISSING FIELD VALUES ARE NULL  )
         LOCATION (UTL_DIR:'my_file2_5_aug_08.csv','my_file2_5_aug_08.csv')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    NOMONITORING;Please advice me with your ideas. thanks.
    Joshua..

    Well, you could do it dynamically by constructing location value:
    SQL> CREATE TABLE emp_load
      2      (
      3       employee_number      CHAR(5),
      4       employee_dob         CHAR(20),
      5       employee_last_name   CHAR(20),
      6       employee_first_name  CHAR(15),
      7       employee_middle_name CHAR(15),
      8       employee_hire_date   DATE
      9      )
    10    ORGANIZATION EXTERNAL
    11      (
    12       TYPE ORACLE_LOADER
    13       DEFAULT DIRECTORY tmp
    14       ACCESS PARAMETERS
    15         (
    16          RECORDS DELIMITED BY NEWLINE
    17          FIELDS (
    18                  employee_number      CHAR(2),
    19                  employee_dob         CHAR(20),
    20                  employee_last_name   CHAR(18),
    21                  employee_first_name  CHAR(11),
    22                  employee_middle_name CHAR(11),
    23                  employee_hire_date   CHAR(10) date_format DATE mask "mm/dd/yyyy"
    24                 )
    25         )
    26       LOCATION ('info*.dat')
    27      )
    28  /
    Table created.
    SQL> select * from emp_load;
    select * from emp_load
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    SQL> set serveroutput on
    SQL> declare
      2      v_exists      boolean;
      3      v_file_length number;
      4      v_blocksize   number;
      5      v_stmt        varchar2(1000) := 'alter table emp_load location(';
      6      i             number := 1;
      7  begin
      8      loop
      9        utl_file.fgetattr(
    10                          'TMP',
    11                          'info' || i || '.dat',
    12                          v_exists,
    13                          v_file_length,
    14                          v_blocksize
    15                         );
    16        exit when not v_exists;
    17        v_stmt := v_stmt || '''info' || i || '.dat'',';
    18        i := i + 1;
    19      end loop;
    20      v_stmt := rtrim(v_stmt,',') || ')';
    21      dbms_output.put_line(v_stmt);
    22      execute immediate v_stmt;
    23  end;
    24  /
    alter table emp_load location('info1.dat','info2.dat')
    PL/SQL procedure successfully completed.
    SQL> select * from emp_load;
    EMPLO EMPLOYEE_DOB         EMPLOYEE_LAST_NAME   EMPLOYEE_FIRST_ EMPLOYEE_MIDDLE
    EMPLOYEE_
    56    november, 15, 1980   baker                mary            alice     0
    01-SEP-04
    87    december, 20, 1970   roper                lisa            marie     0
    01-JAN-99
    SQL> SY.
    P.S. Keep in mind that changing location will affect all sessions referencing external table.

  • 1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    1. I have an iPod which has purchases synced with I tunes with an apple ID. I now have an iPad with a new ID for cloud. I have cloud storage capacity of 5gb which came with the iPad. How can I use one ID and store my existing music in cloud?

    HI Frostyfrog
    CHeck out iTunes Match which has an annual fee of £21 or thereabouts. You can store a maximum of 25,000 songs there and they all become available on your other kit, iPhone, iPad and iPod. I know it works as I have over 23000 songs uploaded of which only a few we're bought through iTunes.
    it works by comparing your music to the whole iTunes music dadata base so you access the same tunes that you could get from iTunes. If you have obscure stuff, it uploads your own music to the cloud as a copy.
    I Find it incredible that on my iPhone with its 16gb memory I can view almost 200 gb of music (ie my 23000 songs) and play any of them. Anything I add to iTunes becomes available via the cloud fairly quickly from a few minutes or a little longer if adding a lot.
    The first time you use it it will take quite a while to match your music if you have a lot, but after that it is all automatic. Read the stuff on the apple site. Your PC needs to be at least running Vista. I recommend it and at less than 50p a week it's good value.
    Good luck

  • How to create a Z* table which can maintain through SM30?

    How to create a Z* table which can maintain through SM30? Thanks!

    This question had been asked millions of times...you just need to search the forums...
    Quick hint...goto SE11...the utilities menu and then Table Maintenance Generator.
    Greetings,
    Blag.

  • How to export iPhoto Album in iMAC and have similar folder structure(with Timestamps) which can be viewed in finder

    How to export iPhoto Album in iMAC and have similar folder structure(with Timestamps) which can be viewed in finder
    In simple terms, I wanted to view the photos in Windows system, similar strcture of iPhotos

    If you want to copy all of your photos to a Windows machine and have them in folders representing the iPhoto Events the were in quickly and easily just do the following:
    1  - open the library with the Finder as shown in this screenshot:
    2 - COPY the Originals/Masters folder to the Desktop.
    3 - copy the Originals/Masters folder to the Windows machine.
    This will give you all of your original image file in their Event folder on the Windows machine.
    NOTE:  With iPhoto 8 or newer the Event folders in the Masters folder will be titled by date (EXIF) if imported from a camera.  If imported from a folder the event folder will have the same title as the source folder.  If imported singularly or in a group without a folder the title will be a date, either the EXIF date or import date.
    With iPhoto 7 (08) and earlier the Event folders in the Originals folder will have the same title as the Event has in the library.
    This method would be quicker but not provide the additional metadata you might have added in iPhoto like keywords, titles, descriptions that exporting out of iPhoto with Format=JPEG and the checkboxes selected to include keywords, titles, places, etc, checked.
    OT

  • I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.

    I have just purchased the new Canon 7D II.  I am using CS6 and Lightroom 5.0, neither of which can open the RAW files although I see from the list of supported cameras that the 7D II is covered.  I have updated both CS6 and LR so that is not the problem.  Not sure what to do next.

    It has been indicated that both of those cameras will be supported in the final release of Camera Raw 8.7. But there is no announced release date. There never is. I assume it will be before December 31. But that is only my guess based on the fact that the release candidate expires then.

  • Do we have any infotype which can capture the present Cost to Company (CTC)

    Dear guru's,
    Do we have any infotype which can capture the cost to company and if something is there can we utilise that in Recruitment module r/3.
    Appreciate some quick responses.
    Regards,
    Rajasekar.

    Yeah sure.. usually we dodnt have any tracing to get outgoing call.. even though we have 700 mins we use 400 in one month and 1000 in next month.. to balance this it will be very useful but from the couple of comments this app is not recemended ..and ther was not rating and contact option indeed
    anyway thanks for your time ..Please let me know if u find any app which suits my case .. thanks again!!

  • I have an Apple ID created in India. I will be living in US now on. So when I try to buy apps from here, I get a reply saying, I need to change my store to US. So do I have to create a new ID or can I in anyway continue with this same ID ?

    I have an Apple ID created in India. I will be living in US now on. So when I try to buy apps from here, I get a reply saying, I need to change my store to US. So do I have to create a new ID or can I in anyway continue with this same ID ?

    You can use the same ID but you will need a U.S. based credit or debit card account.
    This applies to the Mac App Store as well as iTunes...
    The Complete Guide to Using the iTunes Store | iLounge Article
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."

  • HT1338 I have plugged in a external drive and i get the following error message 'mount - t-ntfs-3g-o force/dev/rdisk3s1' help what does this mean?

    I have plugged in a external drive and i get the following error message 'mount - t-ntfs-3g-o force/dev/rdisk3s1' help what does this mean?

    You may be infected with malware.
    See: [[/questions/860893]]

  • I created a site in iWeb, I have a new computer. Where I can download the app to update my page on the internet.

    I created a site in iWeb, I have a new computer. Where I can download the app to update my page on the internet.

    Julianauip wrote:
    So the only way would be to buy iLife?
    If you don't have the old computer's install disks, that is indeed the case.
    Incidentally you don't need to post a duplicate response - all posters see all posts in a thread.

  • IMac (27-inch, Mid 2011) 2.7 GHz Intel Core i5 4 GB 1333 MHz DDR3 running10.10.2 (14C1514). Trying to install Windows 7 64 bit from an install disc. When attempting to create an ISO image I can save the file in disk utility but can convert cdr to iso

    iMac (27-inch, Mid 2011) 2.7 GHz Intel Core i5 4 GB 1333 MHz DDR3 running10.10.2 (14C1514). Trying to install Windows 7 64 bit from an install disc. When attempting to create an ISO image I can save the file in disk utility but can convert cdr to iso. I select the file and the hit return as in step 8 of the Creating an
    iSO image document but the box that should open to select use iso does not open. How should I proceed?

    The Mac SuperDrive built into your Mac is the Optical drive.
    1. Insert your Windows DVD in Optical drive. Disconnect any external storage.
    2. Insert a USB2 Flash drive. This will be used to hold the BC drivers.
    3. Start BCA. Check the options to download software and Install Windows. You do not need to download Windows. The BCA will download the BC drivers to the USB.
    4. Partition your drive.
    5. You can see the Windows installer screens at https://help.apple.com/bootcamp/mac/5.0/help/#/bcmp173b3bf2.

  • Which table stored the Inbound ASN IDOC # and corresponding In.B Delivery#

    Hi,
    May i know which table stored the inbound ASN IDOC# and corresponding created Inbound Delivery number??
    Thanks!!

    Dear Hoo Laa,
    You may find the Sales Organisation/Distribution Channel details in PO itself (Shipping Tab). Table where you can get Sales Organisation/Disribution Channel is EKPV.
    Regards
    Samier Danish

  • Need RFC which can post the Goods Receipt

    Hi,
    My scenario is to post the Goods receipt, by using file and after posting the Goods Receipt i want the acknowledgement whether it is successful or unsuccessful. There is an idoc MBGMCR02 which can post the Goods Receipt but application acknowledgement is not possible in file to idoc scenario, so now i am searching for a RFC so that i can handle this situation using BPM synchronous process. Kindly suggest any RFC or BAPI which can post the Goods Receipt.
    Thanks & Regards,
    Venkat

    Hi Venkat,
    As per my understanding this is a "File To (Inbound) Proxy" scenario, in which you can use the BAPI "SD_SHIPMENT_POST_GOODS_ISSUE" to do the PGI into R/3 system.
    To perform this, you can go-ahead with the steps as mentioned below:
    Source (XI) System:
    1. Create the source & target data type in XI.
    2. Do required mapping in XI.
    3. In configuration directory, use the adapter type "XI" on the receiver communication channel.
    Target (R/3) System:
    1. Call transaction "SPROXY".
    2. Create the interface class (double click on Inbound message Interface, inside your namespace in R/3).
    3. Inside the class (proxy), create an internal table to keep all the records which will be coming from XI after your mapping.
    4. Pass all the data to above create internal table.
    5. Now, call function module "SD_SHIPMENT_POST_GOODS_ISSUE" and pass all required data from ur internal table to this FM (BAPI).
    Note: Kindly read about this FM (BAPI) first in SE37 under "Function Module Documentation".
    6. Do commit work after calling the FM (BAPI).
    I hope this will help you to resolve all your queries.
    Regards,
    Sarvesh Singh

Maybe you are looking for

  • How long does it take to reformat a hard drive and do a system recovery?

    I have a Satellite 2405-S201 that was infected with a virus. I decided to use the Toshiba recovery discs that came with the computer to reformat the hard drive and restore the system to its original factory status. I started with the recovery process

  • Web-based deployments can be performed using OUI

    10.2.0.x version Want to learn more about how Web-based deployments can be performed using OUI, if someone has good article or notes.

  • Presentation from a PDF

    Greetings, We have a 320 page book which we would like to integrate into our online training. I want to do more than just embed audio into the pdf (which makes a very large file). I'd like to use some of Captivate's features. I just can't seem to fig

  • Lost all data in ical and Enourage

    Hello, I came back to my desktop this afternoon only to find that ALL my data in ical and Entourage was wiped out. I have 4 calendars in ical including the "Entourage" calendar which syncs. I have everything also set up on MobileMe which for the most

  • Need help: EXCEPTION_ACCESS_VIOLATION

    Hi, I'm using JSP, Java 1.4.2 and Weblogic 8.1. I got the EXCEPTION_ACCESS_VIOLATION and my Weblogic web server shut down automatically when I tried to load one of the JSP pages. This particular JSP is very huge and I was just using a minimal of hard