Mapping multiple tags

Hi,
I am dealing with a mapping challenge. I have my incoming message
<address>
<name1> A</name1>             (occurrence is 0:1)
<street1>ABC Street</street1>
<name2>P</name2>
<street2>PQR Street</street2>
<name100>X</name100>
<street100>XYZ Street</street100>
</address>
to be mapped to:
<address>
<name> A</name>               (occurrence is 0:unbounded)
<street>ABC Street</street>
<name>P</name>
<street>PQR Street</street>
<name>X</name>
<street>XYZ Street</street>
</address>
Is this possible without duplicating subtrees?
Teresa

Hi Teresa,
You sender is 0..1 and your target is 0..unbounded. So map directly one to one. There should not be any issues. So if you have your source then target segment will be mapped else it will not be mapped. Straight forward.
Also can you put a sample input xml and sample xml output with full example and atleast with three records.
Regards,
---Satish
Edited by: Satish Reddy on Mar 16, 2010 2:20 PM

Similar Messages

  • JDBC to IDoc ( error when mapping multiple JDBC records to IDoc)

    Hi,
    I am working on JDBC to IDoc scenario, I have declared row as 0 to unbounded and by default the IDoc structure is 1..1.
    Inorder to map multiple rows from JDBC to get multiple IDoc's, I have changed the occurrence of IDoc in "Messages" tab of Message mapping to 0 to unbounded.
    I have mapped "row" to "IDoc".
    When I test the mapping, it works fine, giving the same number of IDoc's with that of row.
    When I test end to end, in SXMB_MONI, it gives me following error:
    <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_RUNTIME</SAP:Code>
      <SAP:P1>MSGGUID 54A3A64E895D48EC3F20C69FEFE2E82B: Tag found instead of tag IDOC BEGIN=</SAP:P1>
    can any one help me out with this.
    Thanks in advance.

    Hi Jwalith,
    Check this blog from Michel
    The specified item was not found.
    Make sure that you changed occurance as per this blog.
    hope this is helpful
    regards,
    Venkat.

  • How can I activate multiple tags at one time?

    How can I activate multiple tags at one time?

    I'm pretty sure you can run this on a sub tree of /etc/tags
    http://dev.day.com/docs/en/cq/current/wcm/page_publish/tree_activate.html

  • Can we have a multiple TAGS in single line.Pls let me know

    Hi Team,
    Can we have a multiple TAGS in single line.Ie 2 open tags and 2 close tags in XML..Pls let me know

    chk this xml file
    <ns0:Test1>  
    <Address><street>LinkinPark</street><city>Paris</city></Address>
    </ns0:Test1>
    But I am not sure whether u can have any value for parent node in 7.0 for like node Address... only child nodes can have value..
    It can be done in 7.1
    Regards,
    Syed

  • Mapping multiple Siebel BC's to a single OPA entity

    My colleague referred me to this forum, so glad to know there's support for such niched technology.
    Wondering if anyone has tried mapping multiple BC's to the same OPA entity using IO?  This is not possible via BO Mapping due to user-key constraint on Entity Name.  However, thought this may be achievable w/ IO Mapping by defining IO Component user property.
    The goal is to create multiple instances of an OPA entity based on different Siebel components.  Initial attempts resulted in the last IC processed overwriting previous entity instances collected.  Not sure if I missed additional development steps but wanted to verify w/ everyone before seeking alternative solution.
    Thanks for sharing any advise or ideas.
    Kevin

    Hi Kevin, welcome to the forums.
    With IO mappings you can map different Integration Components (ICs) into the same OPA entity under certain conditions.
    The most typcial case of this is when you want to map the attributes of a child (ic) into the same entity that its parent is mapped to. The most important thing here is that there must be only one child otherwise it will not be clear which child to use to populate the attributes.
    You can do this by specifying the following User Properities on the Integration Component that you want to merge with its parent
    name: OPAEntity  value: the OPA Entity that the Integration component should be mapped to
    name: OPAParent value: the OPA Entity that will by the parent of the above property. If the entity specified in "OPA Entity" is global this property is not necessary
    See "Integrtion Object User Properties" in Oracle Policy Automation Connector for Siebel Developer's Guide
    Example
    We have a mapping for the Employee Business object as an IO mapping (I'll use the "Employee Interface" IO). This Integration object has a subcomponent "Personal Address". We want to map both the Employee and Personal Address components to the global entity.
    Because Employee is the top level component of the IO, it will be mapped to global by default.
    To map Personal Address component to attributes int the global enity, I only need to set the User Property "OPAEntity" to "global". Attributes will be mapped automatically if name matches can be found, otherwise I can specify the attributes using the OPAAttribute property.
    Note: this only works when there is one (or none) Personal Addresses for the Employee, if an attempt to load an employee with more than one Personal Address is made, the attributes of Personal Address is unknown.
    Hope this helps
    Cheers
    Frank

  • In XI Mapping multiple fields mapping to single target field.

    Hi Friends,
    In XI Mapping multiple fields mapping to single target field.
    For example my requirement is :
    Source Fields:(This RFC BAPI Structure)
    Empno                0-1
    EmpName           0-1
    Address             0-1
    Taget Field is:
    Details               0-1
    The above three fields passed to the Details Field. Here i am using Concat function
    But i have one query on that on,Every field having "line Break" required.
    Can you please help me out above this requirement.
    Thanks in Advance,
    Sateesh N.

    If you want a line break between the three fields, then try
    passing a,b,c to the udf and in the udf you would have
    return a+"\n"+b+"\n"+c;

  • Writing to multiple tags with the same name

    Hi,
    I am writing to multiple tags with the same name but in different groups. I have noticed only the tag from the first group gets updated. How can I write to a tag in a specific group in this scenario?
    Regards,
    Chanti.

    Heres what I found.
    When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<Group>.<TagName>", the outcome was "Message
    Could not add "<Group>.<TagName>" to the response list.
    Message
    No tags selected."
    When I tried "http://<server>:<port>/XMII/Illuminator?Server=<Name of the TAG dataServer>&Mode=CurrentWrite&TagName=<TagName>", it seemed like it worked fine.
    Any thoughts?

  • Mapping Multiple Source fields to Single Target Fields with differnt Values

    Hello Friends,
    I am having a senario  where I have to mapped multiple fileds from source str. to same Idoc Fields with ( differnt default values )
    E.g Source Str.
    - ShopNO
    - OrderTyp
    Has to mapped to Idoc Str E1EDK14-Orgid.
    E.g Mapping:
    So when ShopNo will mapped to E1EDK14-Orgid the default value should be "MOP" & E1EDK14-Qualf should be 019
    and when OrderType will be mapped to E1EDK14-Orgid the default value should be "STD" & E1EDK14-Qualf should be 012
    So I tried of using node "UseOneAsMany".....but there I cant define the vaule of field orgid, and seconly how to specify the values of field Qualf?
    Do i need to write my own specify function ? or I can sovle this issue using standard avaiable functions ?
    Regards,

    Hi Ravi,
    Thanks for your reply....
    I am facing following problem... when I try to duplicate the segment and do mapping....... and then when I save, I got following error msg:
    The source or target structure has been changed or could not be found in the Integration Repository. The mapping definition contains elements or attributes that do not exist in the changed structure. The relevant entries will be deleted
    Target structure has no such path: /ZARVO_ORD/IDOC/E1EDK05[1]/KSCHL. Skipping mapping
    Target structure has no such path: /ZARVO_ORD/IDOC/E1EDK05[1]/KRATE. Skipping mapping
    Any suggestion ?
    in other words, when I do duplicate it creates me the segment, but when I save it, it gets disappered .........
    Regards,
    Edited by: Shah H on Oct 26, 2009 3:17 PM

  • Inventory Count (1 material under 1 loc have multiple tags)

    Hi,
    SAP standard inventory count is 1 material 1 location can only have 1 physical document. But our scenario is based on the tag number (which means there will be different tag number for the same code), and our tag number does not have any linkage to the SAP standard inventory count program. This is because even in the same location, our material will be at different places, and we might use more than 1 tag for the same material.
    For example our scenario (1 loc 1 material multiple tags):
    Tag No      Material Code
    CA00001     CPS756
    CA00002     CPS756
    CA00003     CPS518
    CA00004     CPS518
    CA00005   CPS518
    CA00006   CPS632
    Whereas the SAP standrd program is (1 loc 1 material 1 line item):
    100000182     1     CPS756
    100000182     2     CPS518     
    100000182     3     CPR632
    This will help a lot to ease the entering as the user just need to enter the count according to the tag number, and also reduce any typo error. And if we enter according to SAP method, we will have to sum up the total of all the same code, then only enter the count qty.
    Kindly please advise.

    Hello Sim,
    There are several possibilities you can think about,
    1. If you are considering your tags as a batch number then you can put the material number and batch number while creating Physical Inventory.
    2. If materials are in different places then you can consider these different places as a different storage location.
    3. You can manage your stock with Warehouse mangement functionality (This will be the best option, but will be required to activate warehouse management and lots of data conversion activities).
    Hope this helps.
    Regards,
    Arif Mansuri
    Award if answer is helpful.

  • Sql*loader map multiple files to multiple tables

    Can a single control file map multiple files to multiple different tables? If so, what does the syntax look like? I've tried variations of the following, but haven't hit the jackpot yet.
    Also, I understand that a direct load will automatically turn off most constraint checking. I'd like to turn this back on when I'm done loading all tables. How/when do I do that? I can find multiple references to 'REENABLE DISABLED CONSTRAINTS', but I don't know where to say that.
    TIA.
    LOAD DATA
    INFILE 'first.csv'
    TRUNCATE
    INTO TABLE first_table
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (a,b,c)
    INFILE 'second.csv'
    TRUNCATE
    INTO TABLE second_table
    FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
    (x,y,z,xx,yy,zz)
    etc.

    Here you go what you want..
    http://www.psoug.org/reference/sqlloader.html
    LOAD DATA
    INFILE 'c:\temp\demo09a.dat'
    INFILE 'c:\temp\demo09b.dat'
    APPEND
    INTO TABLE denver_prj
    WHEN projno = '101' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    INTO TABLE orlando_prj
    WHEN projno = '202' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    INTO TABLE misc_prj
    WHEN projno != '101' AND projno != '202' (
    projno position(1:3) CHAR,
    empno position(4:8) INTEGER EXTERNAL,
    projhrs position(9:10) INTEGER EXTERNAL)
    Thanks
    Aravindh

  • Multiple tag fields in page properties dialog

    Is there a way to have multiple tag fields in the page properties dialog and have them work with the default TagManager API?  From what I've tried so far it looks like anything that is not in the root jcr:content node of a page or asset doesn't apply the cq:Taggable mixin to it.  We are trying to spread out our structure of tags across fields so that authors don't have to navigate through multiple heirarchies. We are worries about that list becoming unwieldly to manage.
    I'm not against doing some customiziation but it looks like the TagManager will only utilize fields named cq:tags in its query.

    Hi,
    According to your post, my understanding is that you want to add multiple editable fields in the page in SharePoint online 2013.
    Here is a solution for your reference:
    1. We can create a Custom List and add some fields in it.
    2. Create a Datasheet View in this List.
    3. Add this Custom List(as an app part) into the page you want.
    4. Edit this App Part and set its view as Datasheet View.
    If I misunderstand what you mean, please provide more details on your requirement(picture would be better).
    Best Regards,
    Dennis Guo
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Map XML tag to an object style

    Hi everyone!
    I am not sure this is the correct place to post it, but i didn't find any "tagging" department of the forums.
    I do import some XML into ID document.
    Text nodes of my XML are imported properly, and i can map any tag of XML to one of the paragraph or table styles.
    But, when i import any images (or another ID documents) with <... href="..." />, how can i map that tag to an object style?
    ///////////// It would be very helpful for example when i'm going to set the stroke of 1pt to all of inline images of text frame.
    Please any feedback would be helpful.
    Alex.

    I will try to give an example, just to give a kick start ........... you need little bit of tweaking to meet your actual requirement:
    suppose you have an xml element "tag" having an attribute "@href" with object style name defined as  it's value. 
    <tag href="object_style_name">
    "object_style_name" is a object style and should exist in your document. To map the tag with the corresponding object style value you can use XMLRules in JS:
    //NOTE: NOT TESTED, BUT SHOULD WORK
    #include "glue code.jsx"
    main();
    function main(){
    if (app.documents.length != 0){
    var myDoc = app.activeDocument;
    var myRuleSet = new Array (
    new findObjAttribute("//*[@href]")
    with(myDoc){
    var elements = xmlElements;
    __processRuleSet(elements.item(0), myRuleSet);
    else{
    alert("You have no document open!");
    exit();
    function findObjAttribute(XPATH){
    this.name = "findObjAttribute";
    this.xpath = XPATH;
    this.apply = function(myElement, myRuleProcessor)
    //Just to check whether the collect element is selected
    var elmName=myElement.markupTag.name;
    var styleName=myElement.xmlAttributes.itemByName("href").value;
    with(myElement){
    try {
    applyObjectStyle(myDoc.objectStyles.item(styleName), true);
         } catch(e){};
    return true;
    HTH,
    Pankaj Chaturvedi

  • String should select multiple tag's

    Dear All
    my issue is , This is a form tag enquiry form query whcih should retrieve multiple tag number's, but it is showing only one tag number for the below query.
    :tag_no      := x.tag_number; on this para meter is should select all the tag number's from the request number.
    :description := x.item_desc
    :current_location := x.move_location ;
    :last_location := x.tag_location ;
    :mcr_no      := x.request_number;
    :technical_data := x.technical_data;
    my concern is that it should select as many as tag's assosciated with the request number's
    :tag_no      := x.tag_number; it is showing only one tag, how should i change so that it display all the tag number's.
    regards
    arifuddin
    Edited by: user11309801 on Feb 12, 2011 11:37 AM
    Edited by: user11309801 on Feb 12, 2011 12:05 PM

    It is always helpful to provide the following:
    1. Oracle version (SELECT * FROM V$VERSION)
    2. Sample data in the form of CREATE / INSERT statements.
    3. Expected output
    4. Explanation of expected output (A.K.A. "business logic")
    5. Use \ tags for #2 and #3. See FAQ (Link on top right side) for details.
    Also see the third post in this thread:
    {thread:id=2174552}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • LSMW - ME21 How to map multiple line items

    Hi all,
    I am using LSMW tool with batch input recording technique to create POs via ME21. I have defined source structures as HEAD with POSI as its subordianted structure. This settings worked perfectly for one single item line. However, it created a new transaction for each line item in the file. I did some searches in this forum and I noticed that someone suggested to dynamically set the line positon at the processing points. I tried a few times and could not get it work. Anyone knows how to map multiple items in LSMW, please help.
    Here is part of my recording:
    EKPO-EMATN(01)                 000995NM
    EKPO-MENGE(01)                                 1      RM06E-EEIND(01)                2006.04.27             EKPO-NETPR(01)                             10         EKPO-WERKS(01)                 0001                   EKPO-LGORT(01)                 0001      
    My input file looks like this:
    H  77777400  NB2006.05.140001001T
    L000995NM00000000052006.05.15         1000010001CAON
    L000998NM00000000052006.05.15         1000010001CAON
    H  77777400  NB2006.05.140001001T
    L000995NM00000000052006.05.15         1000010001CAON
    Thanks!

    Hi
    If you have used a b.i. recording, all abap code is inserted in std table /SAPDMC/LSGBDC.
    The program to generate the B.I. session is automatically created when you run "Create Batch Input Session" step.
    What means the numbers of items you can insert depend on the totals of items you have used while creating your b.i. recording:
    If you have simulated to insert only one item, you'll be able to insert only one item in your project.
    So you should simulate to insert severals items not only one, but I think it should be better you use a std method to create PO by LSMW:
    - Std B.I: object 0085, method 0001 (RM06EEI0);
    - BAPI   : object BUS2012, method CREATEFROMDATA1
    Max

  • ELM 1:N Can we Map Multiple Contact Persons for an Org

    I want to upload Multiple contact persons for an organization.
    Using ELM Mapping tool can we map multiple contact persons for an organization?
    orgID  name  persID  Name   CP_FUNCTIONKEY    CP_FUNCTIONNAME
    9          abc     9          Pers1             01                            Head of CAD
                          9         Pers2             02                            Head of Civil
    Thanks,
    Ramesh

    I found the way the mapping file should be.
    Entry 1: Organisation A, Person A-1
    Entry 2: Organisation A, Person A-2
    Entry 3: Organisation B, Person B-1
    Entry 4: Organisation C, Person B-1
    During mapping, the content of the fields ORG_NAME1, ORG_NAME2, ORG_NAME3, ORG_CITY, ORG_POSTL_COD1, POSTL_COD2, and ORG_STREET are used by the system to determine identical organizations within the list. The content of these fields must be identical for all records that belong to one organization.
    Thanks,
    Ramesh

Maybe you are looking for

  • HT2534 Is there a way to make an account now(Nov. 2013) without a card?

    I want to make an account for free apps, but it dont get the option for no payment. What do I do?

  • Consolidate two companies in XL reporter

    Good afternoon everyone: I would ask if anyone has knowledge as is the process of creating a report that I consolidate two companies that are registered by SAPBO XL reporter or another type of query. Thank you very much

  • "Request not updated" message misleading

    It seems that if I use a DTP using FULL extraction mode, the request in the PSA shows the status "Request not updated in any data target". This is not strictly true because it has been updated, only via FULL instead of DELTA.  I can appreciate that t

  • Ipad screen not working. what do i do?

    hi, my ipad screen just stopped working. i have a 1st generation ipad and i am afraid the apple store won't be able to replace it. do you think they will? is there anything else i can do? thank you, yellow_lamp

  • How to use GZip propperly?

    I have been trying to make a program that zips a whole file at a time, I heard Gzip can do it, but the Java help thing does not show how to implement GZip here is where I am so far am I going in the write direction? Also is there a good Java book, wi