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

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

  • 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..

  • 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

  • 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

  • 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 serch help issue in webdtnpro ABAP interactive form

    Hi Experts,
    Iam facing an issue with value search help filed in Adobe interactive form using webdynpro native .
    if i click on button search help is working but after selecting value in popup is not populating in respective field .
    Please guide me on this.
    Thanks,
    Pavan

    Hi Pawan,
    Where you able to resolve the issue, if yes can you please share with me the details.
    Regards,
    Pranay

  • Restricting values F4 help in selection screen-Urgent

    Hi,
    can anyone pls tell how can I ristrict the values for search help in any field in selection screen.
    please tell me the way to hide some values in F4 help in selection screen so that user can not see those data for selection.
    Regards

    i think u can not hide the data.........
    create own f4 help............restrict the data and then pass it the f4 internal table....
    fro exp;;;;;
    types : begin of ty_tab,
              post_code1 like adrc-post_code1,
             end of ty_tab.
      data : it_tab type ty_tab occurs 0.
      data : lt_field type table of dfies,
             lw_field type dfies.
      select post_code1 from adrc into corresponding fields of table it_tab.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
          exporting
            retfield        = 'POST_CODE1'
            dynpprog        = sy-repid
            dynpnr          = sy-dynnr
            dynprofield     = 'LI_LIST1'
            value_org       = 'S'
          tables
            value_tab       = it_tab
         field_tab       = lt_field
          exceptions
            parameter_error = 1
            no_values_found = 2
            others          = 3.
      if sy-subrc <> 0.
        message id sy-msgid type sy-msgty number sy-msgno
                with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      endif.
    Regards
    Anbu

  • Value Mapping -- Help needed.

    Hi experts,
    I have a scenario ,
    I have 2 fields in my source structure and based on these two fields,i need to fetch 8 field values from a table to map into idoc control record.
    The table might be in SAP or in Legacy
    If it is a Ztable in SAP, how can I achieve this?
    If it is in Legacay , how can I achieve this?
    My client told us to do this through Value mapping?
    Please help me in acheiving this.
    Thanks in advance.
    Regards
    Krupa.

    Hi,
    Use the RFC Lookup API to call an RFC from the mapping and get the values from the Table in the R3 system . Look into this document by Michal to understand RFC lookup,
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a03e7b02-eea4-2910-089f-8214c6d1b439
    Else, use value mapping as shown in this blog,
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    Regards
    Bhavesh

  • 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

  • Access Present Textfield value in Help Text

    Hi
    I have a Text item and I wanted to access the Value of that text item in the text field property "Help Text". How I refer present focused textfield value in their "Help Text" property.
    Regards
    Kiran Akkiraju

    Kiran,
    The current value in session state of the item is available using &ITEM. notation (note trailing period). For example in the help text for item P1_X you can type:
    Current value of this item is &P1_X..
    Scott

  • How to pass value to help F4_TVKWZ_WERKS ?

    I have a select-option that refers to a field which is linked to a help standards (F4_TVKWZ_WERKS).
    SELECT-OPTIONS: FOR p_werks tvkwz-Werks.
    The match-code, however, expects to receive input and also the field VGORG e VTWEG.
    How do I pass these fields?
    Thanks for your help!

    REPORT ztest .
    TABLES tvkwz.
    SELECT-OPTIONS: so_werks FOR tvkwz-werks.
    DATA: l_shlp    TYPE shlp_descr,
          l_wa      LIKE LINE OF l_shlp-interface,
          l_ret_val TYPE ddshretval OCCURS 0 WITH HEADER LINE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR so_werks-low.
      CALL FUNCTION 'F4IF_GET_SHLP_DESCR'
        EXPORTING
          shlpname = 'F4_TVKWZ_WERKS'
          shlptype = 'SH'
        IMPORTING
          shlp     = l_shlp.
      LOOP AT l_shlp-interface INTO l_wa.
        IF l_wa-shlpfield  EQ 'WERKS'.
          l_wa-valtabname = 'TVKWZ'.
          l_wa-valfield   = 'WERKS'.
        ELSEIF l_wa-shlpfield EQ 'VKORG'.
         l_wa-value = '0001'. "l_VKORG.    <==== Pass the values here
        ELSEIF l_wa-shlpfield EQ 'VTWEG'.
         l_wa-value = '11'. "l_VTWEG. <==== Pass the values here
        ENDIF.
        MODIFY l_shlp-interface FROM l_wa.
      ENDLOOP.
    * Process standard searchhelp
      CALL FUNCTION 'F4IF_START_VALUE_REQUEST'
        EXPORTING
          shlp          = l_shlp
        TABLES
          return_values = l_ret_val.
      LOOP AT l_ret_val.
        IF l_ret_val-fieldname EQ 'WERKS'.
          so_werks-low = l_ret_val-fieldval.
          APPEND so_werks.
        ENDIF.
      ENDLOOP.

  • Issues while joining two tables as the joining column has duplicate values - Please help!

    Hi,
    I have a table A -which has few columns including a Amount column - I am joining this table A to Table B. The joining column in B has duplicates.  So, the number of records are getting more after the joining. As per the requirment when I create a table
    after joining the tables and count the salary clumn, there is a difference in the counting. How can I solve this? Can you please help me?
    Here is the DDL and sample values
    create table #student (sid int, name varchar(10),salary int)
    create table [#address] (sid int, city varchar(10),grade char(1),lineneumber int)
    insert into #student values (1,'sachin',8000)
    insert into #student values (2,'Dhoni',2000)
    insert into #student values (3,'Ganguly',7000)
    insert into #student values (4,'Kohli',1000)
    insert into [#address] values(1,'mumbai','A',1)
    insert into [#address] values(1,'mumbai','B',2)
    insert into [#address] values(1,'mumbai','C',3)
    insert into [#address] values(1,'mumbai','D',4)
    insert into [#address] values(2,'JARKHAND','D',3)
    insert into [#address] values(2,'JARKHAND','D',4)
    SELECT S.SID,NAME,salary,CITY ,grade,linenumber
    into #FINAL
    FROM #STUDENT S
    LEFT JOIN #ADDRESS A
    ON S.SID=A.SID
    SELECT SUM(salary) FROM #FINAL
    --44000
    Final result should be 18000 , but it is coming as 44000. can you please help me to get the correct result - what do i do in the joining?
    In my real project, i have 5 tables joining, each table have more than 30 columns and few joining tables joining column have duplicates. I have simplified the issue so that i can ask the question clearly. So,while answering, please consider that also in mind.
    thanks in advance for your help!

    SELECT S.SID,NAME,salary,CITY 
    into #FINAL
    FROM #STUDENT S
    LEFT JOIN (SELECT DISTINCT sid,city
    FROM #Address) A
    ON S.SID=A.SIDthis will do a join on student table and city table with unique sid and city name so adddress selection will be sid city1 mumbai2 jarkand

  • Value Set help

    Hi,
    We have the below requirement.
    Concurrent program has below parameters.
    1. EMPNO
    2. ENAME
    If we enter the employee number value in the first parameter, second parameter has to show the employee names related to that employee number.
    If we dont enter any value in the first parameter, second parameter shuold show all the employee names in the employee table.
    Could you please help me how to achieve this?
    Thanks
    Kumar.

    Please refer to the link:
    http://www.applikast.net/technical/concurrent-programs/enabling-disabling-concurrent-program-parameters
    if you are on Release 12 please refer to the concurrent program PO: Generate%ASL%Sourcing%Rules%
    There is a good implementation of dependent value sets over there.
    Edited by: Pathfinder on Oct 7, 2011 1:23 AM
    Edited by: Pathfinder on Oct 7, 2011 1:24 AM
    Edited by: Pathfinder on Oct 7, 2011 1:24 AM

Maybe you are looking for

  • Creating a Web Service Proxy for a transaction with Microsoft Visual Studio

    Hi experts out there, I have created a simple transaction which I'd like to call as a webservice. Getting the WSDL from an authenticated browser (from which I started the xMII Workbench) works fine. But when I try to create a Web Reference within my

  • My calendar items are not syncing via iCloud.

    My calendar items are no longer syncing from my iPhone to my iMac via iCloud.  In Settings - iCloud, my iPhone says that Calendars are syncing.  iTunes on my iMac says the same thing.  On my iMac, iCloud settings won't let me check Calendars, though.

  • Full package name?

    All, I am very new to Javadoc. I would like to know how (if possible) to eliminate the full package name from any descriptions. For example, if I have a method that returns a Hashtable, the Javadoc that gets generated looks like this: public static j

  • Developer 6i in Windows 2003? - Urgent-

    Hi friends, I have th efollowing doubt: I have a Windows 2003 OS with a 9.2.0.6 Oracle DB. I need to install Developer 6i with a CD (Forms y Reports 6i Release 2 for MS Windows 95/98/NT) Do I need any patch to run Forms and reports in W2003? I supose

  • Impossible to save an image in applet?

    I have been working on saving an image in Java applet for a week. But I failed to generate new image file on the disk. I'm using Java SDK1.4.0_03 and JAI 1_1_1_01. I found a topic "JAI TIFF Encoding Problem" mentioned that it should give permission t