Another XI Mapping Question

In drag and drop (simple) mapping, one source results in 3 target messages that are all the same. What is the problem?

Hi Tariq,
   In target look the type of field while you design in DT. so you can see the Error.
Regd's
Hari

Similar Messages

  • Another Google Maps question

    When planning a route using google maps on my iphone it only lets me input the start and end points, is there any way of creating a route via multiple points?
    Cheers, Toby

    You can plan a route using google maps on a computer, with multi points, and sent it via the email link which is top of map to your phone.
    From the email on the phone , click on the link it should open up google app with the route.
    Also you get a list of directions in the email.
    Google map app is not that great, same for google maps in safari on the iphone.
    mapquest is no good for people in the uk

  • Another color management question

    Hi folks,
    Apologies for yet another color management question, but Im getting very confused and could do with some help. I use a Canon 10D and Canon 30D. Ive come to LightRoom from Pixmantec Raw Shooter.
    As Ive gotten more serious about producing high quality images for both the web and as prints, I thought Id invest in the Colorvision Spyder2 calibration product. So my monitor is now calibrated (quite a difference from what I was seeing!) and I have a calibration profile applied.
    My needs are pretty obvious I want my images to look the same wherever theyre viewed including exported files (such as JPEGs) whether this be on my monitor (in LightRoom, a web browser, Paint Shop Pro, whatever) and on a printer.
    Perhaps Im getting confused because Im trying to compare what LightRoom does with what RawShooter does.
    In RawShooter, when exporting from RAW to JPEG, I can specify the RGB Working Space Im using and then select my monitor profile. I think that what happens is that the export mechanism takes this profile into account and, low and behold, the JPEG looks fine when viewed in any web browser - the colours are exactly the same as in RawShooter. In Paint Shop Pro they look fine too unless I enable Color Management in which case (Im guessing) the monitor profile is, essentially, applied twice! But the upshot is I seem to get the results I want.
    What I cant figure out is how I do this in LightRoom. I can make the same adjustments to the RAW image as I did in RawShooter, but there doesnt seem an option for me to select my profile on export to JPEG only the standard 3 color spaces. Anyway the result is a JPEG that looks somewhat different when viewed in a web browser, or Paint Shop Pro with Color Management turned off. However, if I turn Color Management on in Paint Shop Pro, then it looks fine. So Im assuming that my profile isnt accounted for when exporting JPEGs from LightRoom.
    So any pointers or explanations would be really appreciated. I also acknowledge that this is my first foray into color management, and feel free to tell me to go and read some introductory article (link please!) and then come back with a sensible question if thats whats needed!
    Thanks in advance.
    - Pete

    Lightroom color management.
    a.) Monitor profile used: The profile set as the default in your operating system (e.g. Windows xp). (your monitor profile software usually does this when you calibrate/profile your monitor).
    b.) Working space: ProPhotoRGB
    c.) Export color space: You can choose one of the following sRGB; Adobe RGB or Pro Photo RGB.
    There is no option (afaik) to change a.) or b.) the option you choose in c.) will affect how the exported image will be displayed in color managed applications or non-color managed applications.
    Non-color managed applications are not able to display Adobe RGB or Pro Photo RGB correctly. I guess if you wish a consistent display of your images in color managed and non-color managed applications then the only common factor is sRGB and you should export your images in sRGB color space.
    The benefits of the other expanded color spaces are in printing and you also would have to get this end of your color management correct. Printing profiles to match your printer and each paper being used etc.
    Until you can get this all sorted out you will get better results from sRGB, this is also applicable when using most commercial printing services.

  • CRMXIF_REL_SAVE_M01 - Mapping Question

    Hello All,
    I have a mapping question, hope some one can answer my question. Please see the link first and the see my question
    http://www.flickr.com/photos/8764045@N06/4265246260/sizes/o/
    I'm mapping the CRM IDOC to the JDBC Call. I have small problem here. All the target fields are Mandatory 1..1 .
    I will explain with an example:
    I have field from source E102BUS_EI_STRUC_TEL_DATA/COUNTRY mapped to target field.
    I used Map With Default so that even if the values are not there frm the source the target field will be mapped with blank.
    But the problem is the parent node for E102BUS_EI_STRUC_TEL_DATA is E102BUS_EI_BUPA_TELEPHONE is 0.999999 , so sometimes that segment is not coming. In this case Map with Default won't work. Map with Default willl work only if the Parent node is present.
    If you ask me to do Exists node function on E102BUS_EI_BUPA_TELEPHONE and then apply Map with Default, then even this won't work.
    Apologize if I confused you guys. Please let me know if you need more clarification.
    Thanks!
    Raj.

    Hi Raj,
    Try to do a mapping like this
    E102BUS_EI_STRUC_TEL_DATA(context E102S_EI_BUPA_TELEPHONE_CON)--mapwithdefault-->then
    E102BUS_EI_BUPA_TELEPHONE-->exists------------------------------------------------------------------>if---->splitbyValue
    let us say this output (the output of splitbyvalue) as 'VALUE'
    VALUE-----------------------------------------------> then
    VALUE|-->count--->greater----------------------->if----->targetField                            
          Constant(0)---->              Constant(blank)-->else
    Regards
    Suraj

  • A top difficulty mapping question

    Hello
    dose anyone can give solution for this mapping question?
    soruce :
    <header>header</header>
    <item>
         <A>a1</A>
         <B>b1</B>
         <C>c1</C>
    </item>
    <item>
         <A>a2</A>
         <B>b2</B>
         <C>c2</C>
    </item>
    <item>
         <A>a3</A>
         <B>b3</B>
         <C>c3</C>
    </item>
    target:
    <header>header</header>
    <item>
         <A>a1,a2,a3  .....</A>
         <B>b1,b2,b3  .....</B>
         <C>c1,c2,c3  .....</C>
    </item>
    The numbers of item is not fixed,it is unbounded.
    so the target line length is not fixed at design time
    welcome any hits,
    Thanks !!
    BR,
    Jeffrey

    Hi,
    Use cache parameter as Context.
    public void add_element(String[] a,ResultList result,Container container)
      //write your code here
    String c = "";
    int i;
    for(i= 0 ; i < a.length; i++)
             c = c + a<i> ;
             if(i != (a.length-1))
                  c = c + ",";
    result.addValue(c);
    A(src)-->removecontext->UDF--->A(tgt)
    B(src)--->removecontext->UDF--->B(tgt)
    C(src)--->removecontext->UDF--->C(tgt)

  • Another mapping question

    Hi,
    I need help on mapping. I have a target field vbeln (with SAP delivery number), with this delivery number I need to get all delivery items. How can I get them?
    Points will be rewarded.
    Cheers.

    HI Wong,
    The usage of If-Else statements are possible, but if you have multiple line items then probably you need to use Advanced UDFs to recover all the line Items from the queue.
    In UDF use below logic,
    Cache parameter -- Queue
    Header -- VBELN ---> A
    LineITEM - VBELN ---> B
    LineItem-details --> C
    //Write your code
    for(int i = 0; i<B.length; i++)
    if(A[0]==B<i>)
    result.addValue(C<i>);
    Use above UDF for all line Item fields
    Thanks
    swarup

  • Mapping - Questions

    Hi,
       I have few basic questions regarding mappings.
       1)  I think we can do everything by using Graphical Mapping. Then what is the purpose for Java, XSLT and ABAP mapping? Please give me an example for this...
       2) Which mapping will give better performance? Is there any comparison document available in SDN?
      Appreciate your help!
    Thanks,
    Vivek

    hi,
    Mapping Techniques
    XI provides 3 standard ways of interface mapping between source and target.
    Graphical mapping
    Java Mapping
    XSLT Mapping
    Two more additional mapping types can be activated in XI by making changes to the exchange profile. Those two mappings are
    ABAP mapping
    XSLT mapping with ABAP Extensions
    Graphical Mapping
    Graphical mapping is a common approach followed by everyone for generating desired target structure. It involves simple drag-n-drop to correlate respective nodes (fields) from source and target structure. It hardly involves coding. (Exception - User defined functions). But sometimes with graphical mapping it is difficult to produce required output. For example ... text/html output, namespace change, sorting or grouping of records etc.
    ABAP Mapping
    A person comfortable with Object Oriented ABAP can go for ABAP mapping instead.
    Java Mapping
    Java Mapping uses 2 types of parsers. DOM and SAX. DOM is easier to use with lots of classes to help you create nodes and elements, but , DOM is very processor intensive.
    SAX parser is something that parses your XML one after the other, and so is not processor intensive. But, it is not exaclty easy to develop either.
    XSLT Mapping
    One can also think of Java mapping as another option but it is a bit complex and required knowledge of Java. In such cases, XSLT mapping can be the best approach to meet the requirements.
    check these links too..
    Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/b78d406b305537e10000000a1550b0/frameset.htm
    For Java Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/e2/e13fcd80fe47768df001a558ed10b6/frameset.htm
    For XSLT Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/73/f61eea1741453eb8f794e150067930/frameset.htm
    Error handling in XSLT Mapping:
    http://help.sap.com/saphelp_nw04/helpdata/en/8a/7672f7d7e444439fd7024f806221a4/frameset.htm
    You can also refer some How to guides:
    XI New Mapping Features article,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi%203.0%20new%20mapping%20features%20article.evn
    Generic XSLT Mapping and Sample Code,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi%20code%20samples/generic%20xslt%20mapping%20and%20sample%20code.pdf
    How to use ABAP-MApping in XI3.0,
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/3.0/how%20to%20use%20abap-mapping%20in%20xi%203.0.pdf
    Thanks,
    Vijaya.

  • Another message mapping complex issue  part 2

    Hi All.
    In addtion to my previous question , thers has been another requirement.
    I have to map one field on the condition of another field
    the new source can be like this
    <Header>
    <seg24>
    <matpos>10</matpos>
    <seg12>
    <matdesc>red</matdesc>
    <length>100</length>
    </seg12>
    <seg12>
    <matdesc>green</matdesc>
    <length>200</length>
    </seg12>
    <seg12>
    <matdesc>black</matdesc>
    <length>300</length>
    </seg12>
    </seg24>
    <seg24>
    <matpos>20</matpos>
    <seg12>
    <matdesc>green</matdesc>
    <length>200</length>
    </seg12>
    <seg12>
    <matdesc>black</matdesc>
    <length>300</length>
    </seg12>
    </seg24>
    <seg24>
    <matpos>30</matpos>
    <seg12>
    <matdesc>red</matdesc>
    <length>500</length>
    </seg12>
    <seg12>
    <matdesc>green</matdesc>
    <length>800</length>
    </seg12>
    <seg12>
    <matdesc>black</matdesc>
    <length>900</length>
    </seg12>
    </seg24>
    <seg24>
    <matpos>80</matpos>
    <seg12>
    <matdesc>red</matdesc>
    <length>400</length>
    </seg12>
    <seg12>
    <matdesc>green</matdesc>
    <length>800</length>
    </seg12>
    <seg12>
    <matdesc>black</matdesc>
    <length>900</length>
    </seg12>
    </seg24>
    <LineItem>
    <Itempos>30</Itempos>
    <Itempos>10</Itempos>
    </LineItem>
    <LineItem>
    <Itempos>20</Itempos>
    <Itempos>80</Itempos>
    <Itempos>90</Itempos>
    </LineItem>
    </Header>
    seg12 is a sub segment of seg 24
    the target can be like this
    <Target>
    <field1></field1>
    <field2></field2>
    <targetitempos></targetitempos>
    <targetlength></targetlength>
    </Target>
    I have to create one <Target> node for each LineItem, in this case 2 <Target> node and map the first found <Itempos> to targetitempos
    I have only to map the <lenght> to <targetlength>.if the <matdesc> is red.
    for this I have to compare the Itempos and matpos.
    first map <LineItem> -
    > <Target>
    then
    <Itempos>  -
    > split value  targetitempos
    so far so good but my problem is when mapping the <length>
    if <matdesc> is red
    and
    if Itempos (sort ascending )eq matpos
    then
    <length> -
    > <targetlength>.
    the result I am getting is 2 <Target> node
    <Target>
    <targetitempos>30</targetitempos>
    <targetlength>500</targetlength>
    </Target>
    which is correct
    but the second one is getting the targetlength from another <matpos> and putting it into the <Target> node with the <targetitempos> 20 , which is the first position of <Target> node 2
    <Target>
    <targetitempos>20</targetitempos>
    <targetlength>400</targetlength>
    </Target>
    now <matpos>20 in seg 24 does nor have any lenght neither any seg12 but it is taking it from  another <matpos>
    I have really tried with many options without help
    Please suggest and many thaks.

    Hi Samer,
    This is due to you haven't check the condition for matdesc = "red" & if it "red" doesn't exists map blank.
    for below iteration where matpos = 20 but there is no matdesc with 'Red'.
    </seg24>
    <seg24>
    <matpos>20</matpos>
    <seg12>
    <matdesc>green</matdesc>
    <length>200</length>
    </seg12>
    <seg12>
    <matdesc>black</matdesc>
    <length>300</length>
    </seg12>
    </seg24>
    Thanks,
    Jyoti

  • Mapping question using @OneToOne @PrimaryKeyJoinColumn

    I am trying to create a simple web application to maintain a ContractAssignment table.
    Created an EJB from this table with @Id of contractNumber.
    public class ContractAssignment .....
    @Id
    @Column(name = "CONTRACT_NUMBER",
    nullable = false,updatable=false)
    private String contractNumber;
    @OneToOne @PrimaryKeyJoinColumn
    private Contract contractInfo;
    I need contract info that exists in multiple tables so I created a view called Contract.
    Created an EJB for this view with @Id of contractNumber.
    public class Contract ......
    @Id
    @Column(name="CONTRACT_NUMBER", nullable = false,updatable=false)
    private String contractNumber;
    I will only be maintaining the ContractAssignment EJB.
    The Contract EJB will NOT be maintained by this app.
    It will only be used to obtain valid contract numbers that can be used in ContractAssignment maintenance.
    It will also be used to display contract information when maintaining the ContractAssignment.
    Is this the right way to map the relationship?
    Another question. I've created a search page to look up ContractAssignments.
    For some reason, the SQL generated is joining the table to itself.
    Not sure if this is because of incorrect mapping (described above).
    SQL that was generated:
    SELECT t0.CONTRACT_NUMBER, t0.DESCRIPTION, t0.CONTRACT_START_DATE, t0.IMS_STATUS
    FROM CONTRACT_ASSIGNMENT t0,
    CONTRACT_ASSIGNMENT t1
    WHERE (CONTRACT_NUMBER = ?)
         bind => [1234]
    from the following OQL:
    select o from ContractUserAssignment o where ocontractNumber like :contractNumber
    What is causing the incorrect join?
    Thank you for any help.

    All - Thanks much.. Here is my requirement that is no solved by regular mapping
    <Root>
    <Recordset>
      <Ordheader>
        <ord>
        <ord_type>
      </Ordheader>
       <Ord_line>
         <ord>
         <Linnum>
       </Ord_line>
      </Recordset>
    <Recordset>
      <Ordheader>
        <ord>
        <ord_type>
      </Ordheader>
       <Ord_line>
         <ord>
         <Linnum>
       </Ord_line>
    </Recordset>
    <Root>
    As you see above, each recordset has order transaction. One Root message can contain multiple of these. So, when I map to the IDOC, I want to filter out any ord_type <> XX.
    If I use regular graphical map, it only looks at first recordset and accepts all or rejects all.
    I need to use UDF. In the UDF, what comes in as input ? Resultset is output -correct ? Now how do I usse graphical mapping with UDF to generate the correct target info

  • Another external drive question

    As I mentioned in an earlier post, I've partitioned my WD 500 GB firewire 800 external drive into three partitions. My intention was to obtain a bootable backup in the first partition (100 GB) and have the other two as supplemental strorage for future use (200 GB and the remaining approx. 165 GB). After performing an immediate backup of the Macintosh HD into the first partition, I read that a "duplicate", not "backup" was required for boot purposes.
    I'd really appreciate some suggestions here from those with more experience in these matters. My internal 500 GB HD has approximately 28 GB of used capacity currently (this will grow, of course, over time). Should I have created a partition for a bootable start up and "duplicated" the internal HD? Then, should I use a second partition for normal backups? What size should these partitions be configured to allow for maximum future storage, without pushing the limits on the backup/startup partitions? And finally, what are the steps to re-configure the external to achieve my desired intentions?
    This is a lot of question, but I certainly appreciate the guidance provided me thus far in my early days of Mac enjoyment. Thanks.
    iMac 24 2.33/3G Ram/500G HD/7600GT/BT K/M /WD 500GB FWHD   Mac OS X (10.4.9)  

    Hello! Sounds like you have thought it out well. All you need now is to clone your main drive so it will be bootable. You can do that using CarbonCopyCloner, SuperDuper, or you can use the Apple Disk Utility you already have. A lot of people use SuperDuper and others swear by some of the others. Below are listed Kappy's steps to do it using the disk utility. I use several bootable backups just for peace of mind. I generally clone to one and then the other so if something happens during the cloning (such as a power outage) I'll still have a drive that works. I usually make a clone about once a month and then backup any important documents every day to a flash drive, cd/dvd, or another hard drive volume. Once you make a clone you should always boot from it to make sure it's booting ok. Sometimes a clone will fail to boot. I also HIGHLY recommend obtaining and using DISKWARRIOR. Diskwarrior is the "gold standard" for disk drive directory maintenance which is the leading cause of hard drive problems. Using DW about once a month or after any force shutdown, forced re-start, or power outage will head off most disk problems. Tom
    Kappy's Steps to Produce a bootable clone
    Prep external FW drive:
    1. Open Disk Utility from the Utilities folder.
    2. Select the backup or destination volume from the left side list.
    3. Click on the Erase tab in the DU main window. Set the format type to Mac OS Extended (journaled, if available) and click on the Erase button. This step can be skipped if the destination has already been freshly erased.
    4. Click on the Restore tab in the DU main window.
    5. Select the backup or destination volume from the left side list and drag it to the Destination entry field.
    6. Select the startup or source volume from the left side list and drag it to the Source entry field.
    7. Double-check you got it right, then click on the Restore button.
    8. Select the destination drive on the Desktop and press COMMAND-I to open the Get Info window. At the bottom in the Ownership and Permissions section be sure the box labeled "Ignore Permissions on this Volume" is unchecked. Verify the settings for Ownership and Permissions as follows: Owner=system with read/write; Group=admin with read/write; Other with read-only. If they are not correct then reset them.
    For added precaution you can boot into safe mode before doing the clone.

  • Yet Another Hard Drive Question from a Mac Newbie

    I apologize in advance for the length of this post -- as I state in the subject line, I am a complete Mac newbie.
    I just took delivery yesterday on a new (early 2008) Mac Pro. I purchased and installed an additional 8GB RAM, and ordered it with a 500GB HD (Seagate, it looks like) and purchased two 750GB Hitachi HDs for bays 2 and 3. I will be doing a fair amount of photo editing, and also plan to partition the OS drive to run XP using bootcamp, but also plan to use VM Fusion.
    I am thinking of partitioning the boot drive with 250GB for OS X and apps, 150 GB for XP and apps, and ~66 remaining possibly to be used as scratch memory for CS3, though it sounds like this may not be enough. The bay 2 Hitachi would be used for all my user data (photos, music, docs, etc.) bay 3 would be for backup initially, possibly using Time Machine? (other recommendations welcomed). As space becomes an issue in the future, I will invest in a fourth internal HD, and at least 2TB external HDs for backup.
    Does this seem like a reasonable plan? If so, how do I go about formatting the drives and installing boot camp, Fusion, etc., and in what order? Also, how best do I organize my existing files from my current Windows machine as I copy them to the new user data HD, so they can be accessed as needed by both OS X and XP?
    Thanks for your help.

    I like the boot volume to never get beyond 50% used. Enough room for burning dual-layer DVDs can be 50GB for best results. And to force the system to use the first outer tracks.
    I hope you are concurrently zeroing both drives. SoftRAID is my choice for driver for RAIDs and you can cancel safely at any time. There are also excellent tools for checking sectors and mapping out bad blocks.
    I put Vista on its own 10K Raptor. I had it on the boot drive but I am always changing my mind, my drives and setup. Vista needs at least 40GB and that is with all my major documents and files on another drive which holds 150GB out of 450GB.
    You set the preference for what drive to use as scratch in CS3 or other programs. And you want to disable Spotlight indexing on any scratch or editing partition. Scratch can be a drive, a volume, a stripped array. Any 'normal' partition though don't use the default (journaling) feature is all.
    How large? I'd have to see and know how large files, work flow, and how long you work between projects. The nice thing, erase the scratch volume between projects but it is possible to use 300GB when you work on 1.5GB files and above.
    One early Mac Pro owner wasn't able to work as they wanted until they had 10-12GB RAM, boot RAID0, and RAIDs for scratch and data (saving 2GB files and not having to wait forever, which even a minute can feel like forever).
    Disk Utility: Partition. You can even partition 2+ drives, just make them the same, and first create 2 partitions (100GB on each?) and then stripe the first "Untitled 1" of each into 100GB x n array. Stripe or mirror the "Untitled 2" or leave those are two unique non-RAID volumes. Sounds harder than it is.
    Scratch = temp space and designed to not be saved, to be erased as needed.
    SoftRAID.com 3.6.6 makes it easy to create, delete, erase volumes and arrays as needed. Leopard has improved on non-RAID but not with RAIDs (for those that change their minds).

  • Many-to-many mapping question

    Hi,
    I'm working with two classes Car and Customer. The Car class has a Vector of Customers and the Customer class has a Vector of Car. Both are related by a many to many mapping.
    I have noticed that I have to set one of the vector to read only to avoid the error message "More than one writable many-to-many mapping can not use the same relation table" in the mapping workbench.
    I can understand that but is there a way to work around, I mean to be able to add a car to a customer and add a customer to a car with the both vectors?
    Is there something to do with the cache?
    I use Vector for the collection or Map class, have I to do otherwise?

    Hello Vladislav, I understand your first question in this thread, but I'm not sure I follow the rest, so let me respond to your first post:
    "I have noticed that I have to set one of the vector to read only to avoid the error message "More than one writable many-to-many mapping can not use the same relation table" in the mapping workbench.
    I can understand that but is there a way to work around, I mean to be able to add a car to a customer and add a customer to a car with the both vectors?"
    The issue here is that with a Many to Many mapping the mapping is responsible for writing to the association table. So, you have a "CAR_CUST" association table. Imagine you add a Car "101" to a customer "501" and the requisite customer "501" to that car "101" in your object model. Then the association table should only be updated once, with an entry of "101, 501". But since the M-M is mapped in both directions, you need to tell TopLink which of these to consider as the "master" when updating the database.
    If you didn't make one of the M-M mappings "read only", then TopLink would insert "101, 501" twice in the association table, and then at a later date you would see that the customer 501 had two 101 cars!
    We do have a feature that allows for TopLink to maintain bidirectional relationships such that if you add or remove a target from one relationship, TopLink will automatically add/remove it from the opposite direction. In my opinion this is lazy programming! A good Java developer should insist on keeping his model up to date on his own. This feature was added because it's part of the EJB spec, not necessarily because it's a good idea ;)
    - Don
    Is there something to do with the cache?
    I use Vector for the collection or Map class, have I to do otherwise?

  • Mapping question

    Hello,
    I have a rather simple question regarding a mapping.
    Lets say my input message is as following:
    <mes1>
       <seg1>
          <name1>Peter</name1>
          <street1>HighCrt</street1>
       </seg1>
       <seg2>
          <name2>Vlad</name2>
          <sub2>Trickst</sub2>
       </seg2>
       <seg2>
          <name2>Rinaldo</name2>
          <sub2>fiave</sub2>
       </seg2>
    </mes1>
    My output should be:
    <out>
       <put>
          <name>Peter</name>
          <name>Vlad</name>
          <name>Rinaldo</name>
       </put>
    </out>
    So my output field "name" should created in case I have a "name1" field in the source message and additionally it should be created for every "seg2" element that is present in the source message and it should be filled with the value of "name2".
    How can I in the mapping trigger that the "name" element of the output message will be generated for each of the two described elements of the source message?
    Best Regards,
    Peter

    Hi,
    Could be possible using user defined function.
    Create a user defined Function with  cache = context
    public void createNodeName(String[] a,String[] b,ResultList result,Container container){
    if ( a.length > 0 )
      result.addValue ( a[0] ) ;
    for ( int i = 0; i < b.length; i++ )
         result.addValue ( b<i> );
    in Mapping use
    1. name1 as first argument
    2. name2 with removeContext as second argument

  • Another check box question

    For some reason all my songs have become unchecked. I don't know why. Is there an easy way to recheck them all. Rather than having to click in every box? It seems that because the aren't checked Genius will not recognize them. They were all working until today.
    Thanks in advance

    Flushkie wrote:
    I copied 250 gig of music from my old pc hard drive to my desktop. I just imported them to iTunes by adding them to my library. Now that the music is all in iTunes, I can delete the large music file on my desktop?
    This is another topic that should have it's own thread.
    To answer your question. It depends on if you had <iTunes/Preferences/Advanced/Copy files to iTunes Media folder when adding to library> checked. If the files were copied then you have duplicates and the files on the desktop can be deleted. If the files were not copied then the files on the desktop ARE your music files.
    Tracy

  • ABAP Mapping Questions

    Hi,
    I am trying to get my head around ABAP mappings and have a few questions.
    In the below code sample which I find in every example and blog it talks about specific steps -
    *initialize iXML, * create iXML factory object, * create streamfactory object, * create input stream object, * initialize the input xml document, * parse the input xml document
    In these steps the code is always exactly the same so my question is are these just standard steps that are implemented every single time an abap mapping is used and hence only standard lines that never have to be changed or will they be different depending on the mapping.
    I am trying to work out where I will begin my coding.
    So would somebody be so kind as to give me a brief explanation of the above mentioned steps.
    Thank you
    METHOD if_mapping~execute.
    * initialize iXML
      TYPE-POOLS: ixml.
      CLASS cl_ixml DEFINITION LOAD.
    * create iXML factory object
      DATA: ixmlfactory TYPE REF TO if_ixml.
      ixmlfactory = cl_ixml=>create( ).
    * create streamfactory object
      DATA: streamfactory TYPE REF TO
      if_ixml_stream_factory.
      streamfactory = ixmlfactory->create_stream_factory( ).
    * create input stream object
      DATA: istream TYPE REF TO if_ixml_istream.
      istream = streamfactory->create_istream_xstring( source ).
    * initialize the input xml document
      DATA: idocument TYPE REF TO if_ixml_document.
      idocument = ixmlfactory->create_document( ).
    * parse the input xml document
      DATA: iparser TYPE REF TO if_ixml_parser.
      iparser = ixmlfactory->create_parser(
      stream_factory = streamfactory
      istream = istream
      document = idocument ).
      iparser->parse( ).

    Hi,
         The above lines you mentioned deal with initialization of the iXML parser for parsing through the XML payload, so they would remain the same for all mapping where you are parsing the input payload.
    The coding for you specific mapping will begin after this, something like :
    * Implements the DOM generating interface to the parser
      iparser->parse( ).
      emp_node_collection = idocument->get_elements_by_tag_name_ns( name = 'Order' ).
      emp_node_length = emp_node_collection->get_length( ).
      emp_node_iterator = emp_node_collection->create_iterator( ).
    where you start reading the xml node values.
    Hope this helps.
    Regards

Maybe you are looking for