Structure / value mappings

What is the differene between structure mapping and value mapping ?

Hi midhun,
Value Mapping concentrates on the actual values that are being mapped.
Sometimes the requirement is like although source and target strcutres are similar, values need to be translated into another set and then mapped.
Value mapping is used when both sender and receiver treat the same object differently,it is achieved by making a value mapping table.
e.g. we have an element called <TravelClass> in both source and target element.
Now assume that source message uses codes such as 1, 2 etc. for this element. However, the target mmay expect strings values such as 'business', 'economy' etc. for this element.
In such cases, we use value mapping. Essentially we achieve the following translation:
1 -
> business
2 -
> economy
In graphical mapping we have a standard function called ValueMapping to define a simple table like one above.
Finally, the term 'Functional Mapping' is given only to confuse the people
http://help.sap.com/saphelp_nw2004s/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm  -
value mapping
Structure Mapping is not very much concerned which values are being mapped. It is more concerned about the structure of source and target elements.
It can be of two types (these don't have formal names as such)
1) Mapping values of some source elements to some target elements
e.g. source has element <fname> which is directly mapped to element <FirstName> in the target.
2) Mapping values after changing the element structure
e.g. source is
<name>
<fname> --- </fname>
<lname> --- </lname>
</name>
And target is
<fullname> --- </fullname>
So here we concatenate source elements and map to target.
Regards
srinivas

Similar Messages

  • How to use Value Mappings for simple translations?

    Hello,
    I want to use Value Mappings for simple translations in mappings, e.g. from IDoc to Inhouse structures.
    For example unit of quantity:
    IDOC    -->    INHOUSE
    PCE               P
    ABC               A
    How can I use Value Mapping for this? What should be used as Agency, what should be used for Scheme? What about groups? I tried the following: I created a new Value Mapping in Integration Directory:
    - Source Agency: DELVRY05
    - Source Scheme: MENEE (IDoc field name)
    - Target Acency: INHOUSE_DESADV (Name of structure)
    - Target scheme: UNIT (Name of field)
    Then, in the table, I added several lines for translating PCE to P and ABC to A and so on. But I have to define a group name for each line. I used INHOUSE. But than I get one INHOUSE group for each line.
    This seems very complicated for simple translations from A to B. I don't want to use FixValue in Message mappings.
    Any help appreciated.
    Thanks,
    Christoph

    Hello,
    @pavan kumar: Thanks, but I know all Blogs about Value Mappings. That does not help me. And I refer to PI 7.1.
    Lets get it very simple: I want to have exactly the same functionality of "FixValues" as ValueMappings. In 7.1, I need to define a Group for every row / line in the conversion table (e.g. for units of measurement conversion between IDoc and FlatFile). That does not make sense for me, as the Group is always the same, e.g. "Unit of measurement". So I will get dozens of same groups called "Unit of measurement".
    I don't really understand the concept of Groups. Maybe this is just not appropiate for my intenses? Maybe the Group has to be defined as one specific value of Unit of measurement, e.g. "pieces"?
    CHRISTOPH

  • Where to look for all value mappings being used in ID

    Hi All,
              Where to look for all value mappings being used in ID?
    XIer

    Hi,
    Let me re-frame it, Do u want to know where all the value mappings(created in ID) is used in Mapping Program of IR, isn't it?
    If yes, then it's not possible( as far as  I know).
    raj.

  • Transporting Value mappings

    Hi,
    We are using the Value Mapping replication functionality to maintain Value Mappings in a PI 7.1 system.
    How do we transport the values we maintain from Dev to QA and beyond? Will these be visible to transport in the Integration Directory, or should we look at transporting the source data (and then re-replicating in PI)?
    Cheers
    Manish

    > What we are struggling with is... do we transport the data across to the other environments, or do we manually re-enter and replicate in each environment? Transport of a table will probably work with an initial load, but what about delta changes that occur to the data? They are trickier to manage.
    You have to transport the ABAP report and Ztables if any. We do not trasport the data accross other environments. Once you transport the report just run it, the data will automatically come itno run time workbech under cache monitoring.
    >It would be so much easier if the Integration Directory allowed transport from one PI environment to the next for data maintained via the replication mechanism.
    >
    You can transport from ID only when you are using the value mapping group.
    > However, there is an even broader issue here... as a post-go-live policy, do we ask the business users to maintain the data in Dev and transport them across the landscape, or do we allow them to maintain values directly in production?
    The data in Dev & Production is never same so you will not transport it from Dev to PRD, so end user should maintain the correct data into production system.
    Regards,
    Sarvesh

  • Value Mappings and Mapping lookups?

    Hi Experts,
    I've came across a thread on SDN which is mention below.
    value mapping
    can anyone explain me what is value mapping and fix mappings and why we need them and wht is mapping lookups?
    plz refer some weblogs which can explains in detail about  value mappings, fixed mappings and mapping lookups?
    pts will b rewarded
    thanks
    Faisal

    Hi,
    Hope this information is useful to you..
    Value Mapping Blogs.
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Mapping look up API
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/xi-code-samples/mapping%20lookups:%20RFC%20API.pdf
    what is lookups
    Lookups are used to identify / request the data from mapping , i mean interupting the process and looking for data which was stored in some where and get that data and comback to process and continue with that data.
    why we can use for lookups.
    We will use these type of lookups in Message mapping for refering DB Lookup for data base which is not SAP, RFC lookups for SAP data
    Look up tables
    In the error handling topic we have seen the different validations which need to be performed on file.
    This can be done through Lookup.
    Some use cases:
    • Look up employee information.
    • Lookup for raising an alert.
    The purpose of the lookup may be:
    • To perform application-level validation of the data, before sending it to the backend.
    • To populate fields of the XML document with some additional data found in the backend application.
    There are two ways in which we can do lookup:
    • Call lookup method from GUI mapping.
    • Call lookup method from XSLT mapping.
    Some useful blogs...
    /people/shabarish.vijayakumar/blog/2006/02/13/unable-to-open-iresrid-xipipi-71-updated-for-pi-71-support
    Lookup - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    SOAP Lookup - /people/bhavesh.kantilal/blog/2006/11/20/webservice-calls-from-a-user-defined-function
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0
    Lookup’s in XI made simpler - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    How to check JDBC SQL Query Syntax and verify the query results inside a User Defined Function of the Lookup API -
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    /people/prasad.illapani/blog/2006/10/25/how-to-check-jdbc-sql-query-syntax-and-verify-the-query-results-inside-a-user-defined-function-of-the-lookup-api
    Lookups - /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Lookups - /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    http://help.sap.com/saphelp_nw04/helpdata/en/cf/406642ea59c753e10000000a1550b0/content.htm
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    Lookups with XSLT - https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8e7daa90-0201-0010-9499-cd347ffbbf72
    /people/sravya.talanki2/blog
    /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    /people/sravya.talanki2/blog/2005/12/21/use-this-crazy-piece-for-any-rfc-mapping-lookups
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    /people/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
    /people/morten.wittrock/blog/2006/03/30/wrapping-your-mapping-lookup-api-code-in-easy-to-use-java-classes
    Thanks,
    Satya..
    Reward points if it is useful..

  • Ant Deployment of ESB DVM (domain value mappings)

    Is there way to deploy domain value mappings stored as xml-files to the ESB using an ant-script?

    Hi Sjoerd,
    I tried to use the ESB client API but got this error when running my ant-task.
    07/10/31 10:46:08 org.apache.commons.fileupload.FileUploadBase$InvalidContentTypeException: the request doesn't contain a multipart/form-data or multipart/mixed stream, content type header is application/x-www-form-urlencoded
    07/10/31 10:46:08 at org.apache.commons.fileupload.FileUploadBase.parseRequest(FileUploadBase.java:294)
    07/10/31 10:46:08 at org.apache.commons.fileupload.servlet.ServletFileUpload.parseRequest(ServletFileUpload.java:116)
    07/10/31 10:46:08 at oracle.tip.esb.dvm.configuration.servlet.command.AbstractDVMCommand.getMultipartItems(AbstractDVMCommand.java:44)
    07/10/31 10:46:08 at oracle.tip.esb.dvm.configuration.servlet.command.ImportDVMCommand.execute(ImportDVMCommand.java:44)
    07/10/31 10:46:08 at oracle.tip.esb.configuration.servlet.CommandServlet.doJob(CommandServlet.java:109)
    07/10/31 10:46:08 at oracle.tip.esb.configuration.servlet.CommandServlet.doPost(CommandServlet.java:76)
    07/10/31 10:46:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
    07/10/31 10:46:08 at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    07/10/31 10:46:08 at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)
    07/10/31 10:46:08 at oracle.security.jazn.oc4j.JAZNFilter$1.run(JAZNFilter.java:396)
    07/10/31 10:46:08 at java.security.AccessController.doPrivileged(Native Method)
    07/10/31 10:46:08 at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    07/10/31 10:46:08 at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:410)
    07/10/31 10:46:08 at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:623)
    07/10/31 10:46:08 at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    07/10/31 10:46:08 at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    07/10/31 10:46:08 at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    07/10/31 10:46:08 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/10/31 10:46:08 at java.lang.Thread.run(Thread.java:595)
    Here is my code:
    HashMap<String,String> requestProps = new HashMap<String,String>();
    requestProps.put("zipFile", "DVM-SID-MRTrans-InteractionStatus.xml");
    requestProps.put("importMode", "overwrite");
    ConsoleClient client = ConsoleClientFactory.getConsoleClient(getHost(), getPort(), getUsername(), getPassword());
    client.perform("ImportDVM", requestProps);
    I decompiled the ESB client API and saw that the contentType is hardcoded to application/x-www-form-urlencoded
    Any idea to solve this?
    Regards, Harald

  • Value Mappings?

    Hi All,
    I refered the following scenario /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    Value Mapping. In section
    9. Enter the values for Source and Target. i want to know the following values automatically created for the Agency or do we need to create them manually. as i followed the same steps and noticed that the values are automatically created and i didn't added any values. How system would create such entries. and wht is the need of Group name column in value mappings.
    Regards
    Sami

    Hi Abdus,
    You have to manually specify the values at the run time.
    Group Name :
    Displays the different representations of an object.
    A value mapping group is identified uniquely by a GUID. You can also assign a name to a value mapping group. This does not have to be unique.
    The following information is displayed in the Display Value Mapping Group editor:
    ·        The editor header displays the ID (GUID), name, and description of the group.
    ·        The following information is displayed in a table in the work area for each representation:
    ¡        Agency
    ¡        Identification scheme
    ¡        Value
    ·        The name of the group is displayed on the tab page index in the object editor. The system displays the GUID if you have not assigned a name to the group.
    Reward points if this helps
    Regards
    Vani.
    Edited by: Vani on May 19, 2008 4:42 PM

  • Value mappings help

    Hello
    I am trying to use value mappings in one of my scenario. My problem is for few of the source values I am having a similar target value.
    e.g.
    100 XYZ
    101 ABC
    102 ABC
    103 ABC
    104 DEF
    Now my problem is in value mappings its not allowing me to enter duplicate values. I also tried to use different groups but no use.
    Any idea how we should develop mappings in this case?
    Thanks in advance
    Regards
    Rajeev

    Hi Rajeev,
    it actually is possible to create the value mappings you need. For that you need to do the following in the integration directory:
    1. Start the value mapping maintenance (<i>Tools --> Value Mapping</i>)
    2. Select <i>Value Mapping Agencies</i> and enter your agencies
    3. Maintain your mapping <b>without</b> the duplicates.
    4. Start the value mapping maintenance again, but this time with the option <i>Value Mapping Group Selected By</i>. You can either use <i>Group Name</i> (if you have maintained groups) or <i>Representation</i> for those values where you need to maintain duplicates.
    5. Enter your duplicates (you will receive a warning, asking you if you want to create a duplicate - Confirm this with Yes).
    This feature is available as of some SP (I am just not sure which one).
    Regards,
    Claus

  • How to display structure value

    hi
    i want to disply structure value should be come as column in alvgrid.
    now i am getting structure value in grid as row.
    for example now getting
    article no
    color
    size
    but i want to display this above in grid like
    article no     color        size
    thanks .

    READ - EACH READ WILL GET ONE RECORD FROM THE DATASET. IN BINARY MODE IT READS THE LENGTH OF THE FIELD AND IN TEXT MODE IT READS EACH LINE.
    READ DATASET <FILE NAME> INTO <FIELD>.
    then use
    FOR DOWNLOADING, USE GUI_DOWNLOAD RATHER THAN WS_DOWNLOAD.
    <b>
    Please reward if useful...</b>

  • How to get STPOV structure values using BOM number and Plant number

    hello All,
    could you please help me out
    'How to get  STPOV structure values using BOM number and Plant number'
    is there any function module where can i give input as bom and plant number .
    waiting for your response.
    regards
    srinivas

    I did a quick where-used lookup in SE11 on the structure STPOV in function module interfaces and came up with the following:
    Function Module                             Short Description                                          
    CK_F_TOTALCOST_COMPUTE                                                                      
    CS_ALT_SELECT_COUPLED_PRODUCT                                                               
    CS_WHERE_USED_CLA                Bills of material; class use                               
    CS_WHERE_USED_CLA_ANY        Bills of material; direct class use or via other class     
    CS_WHERE_USED_CLA_VIA_CLA        Bills of material; class use via classes                   
    CS_WHERE_USED_COP                                                                           
    CS_WHERE_USED_DOC                Bills of material; document use                            
    CS_WHERE_USED_DOC_ANY:Bills of material; direct and (indirectly) document use via
    CS_WHERE_USED_DOC_VIA_CLA        Bills of material; document use via classes                
    CS_WHERE_USED_KNO                Bills of material; use object dependency                   
    CS_WHERE_USED_MAT                Bills of material; where-used list                         
    CS_WHERE_USED_MAT_ANY:Bills of material; where-used list as article or class item
    CS_WHERE_USED_MAT_VIA_CLA        Bills of material; where-used list via classes             
    EXIT_SAPMC29M_001                BOM; Article Where-Used List   
    It appears that this structure is primarily used for where-used look-ups for components within the BOM.  I don't know if any of these are what you're in need of.
    Hope this helps,
    Mark Schwendinger

  • Recordset Structure value

    Hi !
    I need to enter a value for the number of records in the Recordset Structure in the Content Conversion Parameters of the File Adapter. The records should be atleast one with a possibility of more than one records ....... in other words - one or more than one records. I do not want to enter 'fieldName, ' as '' could also equal zero records. What would be the correct syntax ?
    Cheers,
    Ashok.

    File adapter or <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm">Sender</a> or <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm">receiver</a> ?
    If it is of type sender, you have to put the name of the recordset  and ",*"
    Regards,
    Sandro

  • How to read a table/structure value in a container from a Z program

    Experts,
    I have a WF with one of the container element is a multiline table element of the strucuture BSEG. Now I have a report where given a WID, i need to read the contents of this structure from the workflow container and display in ALV grid.
    I'm using the FM SAP_WAPI_READ_CONTAINER or SWW_WI_CONTAINER_READ to read the container. No issues till here now.
    I'm able to read the contents of the attributes that are simple without being in a structure/table.
    But, how do i read the values from the table/structure in the container from this FM?
    I see lots of threads talking about SWC_GET_TABLE or something like that. But I don't know whether and how to use it in my scenario. Any sample programs will be greatly appreciated.
    Thanks,
    Sam

    Hey,
    No issues. I sorted out myself. Glory to God in the Heavens!
    -Sam

  • Printing Nested Structure values

    Hi
    i have two structures and i want to print those values using c#..  I have parent structure which has 5 properties on it and inside that having another child structure which refers 5 properties on it. so now i want to print the values for both structure
    ?Can you help me out ?

    You should use classes instead of structures.  Here is one method
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    namespace ConsoleApplication1
    class Program
    static void Main(string[] args)
    test t = new test();
    Console.WriteLine(t.Print());
    public class test
    int a;
    int b;
    test2 c;
    public string Print()
    string results = "";
    results = string.Join(",", new string[] { "a = " + a.ToString() + ", ", "b = " + b.ToString() + ", ", c.Print() });
    return results;
    public class test2
    int d;
    int e;
    public string Print()
    string results = "";
    results = string.Join(",", new string[] { "d = " + d.ToString() + ", ", "e = " + e.ToString() + ", " });
    return results;

  • Get CK11N cost structure value is incomplete

    Dear friends,
    I use BAPI_COSTESTIMATE_GETEXPLOSION, BAPI_COSTESTIMATE_GETDETAIL, BAPI_COSTESTIMATE_ITEMIZATION to get CK11N data; I found the data is incomplete.
    The Reason is BOM structure, BOM is recursive, like this:
    Level1 FERT 1
    Level2 HALB1   RAW1
    Level3 HALB12 RAW2
    Level4 HALB123 HALB12 (here set recursive)
    BAPI_COSTESTIMATE_GETEXPLOSION can explosion the Level4 HALB123,but canu2019t  explosion level4 HALB12,then I also use HALB12 run BAPI again,
    The data  is not equal CK13N .and I checked BOM with PP consultant, He said, BOM is correct.
    How Can I get the recursive BOM cost value?
    Thx
    Edited by: sun on Nov 25, 2011 2:42 AM

    Activate Cost component structure using Tcode OKTZ.

  • My case structure values chnged form words to numbers.

    I have a case structure and the values changed to numbers, also i am not sure why it is not cycling through? any help would be appreciated.
    Attachments:
    version2.vi ‏121 KB

    You have too many cases (167) That is a number you can't maintain.
    The reason you get a numeric as datatype and not an enum is because you should change the enum into a type def control.
    To do this right click the instance left of the while loop->Create control. On the control on the front panel right click->advanced->Custimize control and set the control to type-def (see attachment).
    Then save this control, and use this everywhere.
    But first limit you cases, or use a plain string to explain the state...
    Ton
    Message Edited by TonP on 10-16-2006 08:05 AM
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!
    Attachments:
    labviewTD.PNG ‏6 KB

Maybe you are looking for

  • Change color on button down instead of skinning?

    You can change a buttons look as follow <mx:Button label=""         upSkin="@Embed('images/text_button_up.png')"         overSkin="@Embed('images/text_button_over.png')"         downSkin="@Embed('images/text_button_down.png')"         disabledSkin="@

  • Do I need Acrobat 9?

    I've got Acrobat 7. I will be making use of the PDF 7 print driver to generate an imposed PDF from InDesign's Print Booklet. Then I will need to do simple edits to the PDF before printing. I don't really need multimedia capabilities. I'm doing nothin

  • Database 817 is not starting on computer restart

    Hi all .. I installed an Oracle server ver. 817 on Windows 2000 server. The problem is when I restart the computer ,after instalation, and I try to logon to database from SQL-PLUS I get the following errors: ora 01034 - Oracle not available ora 27101

  • Changing x axis range in charts

    I have a line chart where the last entry on x axis is the "now" function. It will not display today's date as last category Any help

  • V440 & Linux

    Does the V440 run/ support Linux? If so, which versions of linux are compatible? Just redhat and suse or do others work as well? Any information and details would be greatly appreciated. thank you