XI30 - Value Mapping Group ?

Hi,
Inside XI, I need to create several conversions.
I want to use a "Value Mapping" and not a "FixValue".
I succeed with a simple test with a value mapping...
But as I need to create about 30 value mappings, I need to know exactly what is a "value mapping group" in order to integrate it correctly?
<u>Example of conversion table</u>: UnitMeasurement (like table T006B of R/3)
  <u>Source | Target</u>
   Unit1 |  U1
   Unit2 |  U2
   ...   |   ...
   Unitn |  Un
Currently inside XI30, I have created this value mapping:
  Source Agency: BS_PC (Business System for PC)
  Source Scheme: UnitMeasurement
  Target Agency: BS_R3 (Business System for R/3)
  Target Scheme: UnitMeasurement
  <u>Source Value | Target value |  Group name</u>
   Unit1       | U1  |
   Unit2       | U2  |
   ...         | ... |
   Unitn       | Un  |
Thanks.

A Value Mapping Group helps you to keep values of different systems together and it is useful, when you want to maintain values for three or more business systems.
Example: You have three business systems A B C and have different values for Company Code in each system
A    B    C
0001 T100 A-01
0002 T200 A-02
0003 T300 A-03
Now you can maintain the values as pair of agencies:
A    B    Group Name
0001 T100 T100
0002 T200 T200
0003 T300 T300
And you can maintain the values belonging to the same group:
A 0001
B T100
C A-01
You need not maintain values for groups, so leave it empty, when you have only two different columns of values.
Regards
Stefan

Similar Messages

  • Value Mapping Group in PI 7.1

    Hi All,
    In PI 7.1 Integration Directory there is one section as "Value Mapping Group".I suppose that it is used if and only if value mapping is used.But I am not using any kind of value mapping so can I skip that section?
    Thanks in advance.

    Hi Abhishek,
    THanks for the reply.
    I have another query. it is as follows:
    Actually I am having the Process Order coming in the source with 5 to 6 relevant fields.Out of these Process Order fields Status is one of the fields.Based on the the StatuS field the BAPIs will be called at the receiver.So can I skip Integrated Configurations as I am imposing the condition on the data in the payload(Source Structure) as Integrated configuration will not be helpful in my scenerio.?
    Or shall I skip Sender Agreement ,Receiver Agreement?
    Thanks in advance.

  • How to read Group ID from Value Mapping Context in Cache Monitoring ?

    Hi friends,
        In RWB --> Cache Monitoring --> Integration Server (Java) -> (Search for Value Mapping Groups) in this each item is identified by Value Mapping Group (GroupID, Context, Identifier/Agency, Identifier/Scheme). Either we create Value Mapping Table in ID or replicate value mapping data directly from text file/SAP table etc., in run time cache, data will be identified in this manner.
        Now, our requirement is to delete a record the Cache for a particular context. Two operations provided by XI one is 'Delete' and another one is 'DeleteGroup'. When we use either of this, we should know GroupID. Suppose, I replicated some large amount of data from my text file in Runtime Cache. Value Mapping Table is like that IN --> India, US --> USA, AU --> Australia, EG --> Egypt. Now, I am required to write a program to get the input country code from user which is going to delete in the value mapping table like IN/AU....  For this, what logic we should follow in the program is, First we scan the value mapping table and find the record (country code)  which is match with the input. Then find the GUID value for this record. Now we use the DeleteGroup Operation and pass this GUID and then delete the record.
        So, in essence, how to read the GUID from value mapping context.
        Friends, Kindly help me to do this.
    Thanks in advance.
    Jegatheeswaran P.

    Did you get the way to read group id?

  • Value Mapping in PI 7.1

    Hi All,
    Please tell me about value mapping.I have never worked on value mapping earlier.Please give me the steps to do value mapping.
    Thanks in advance.

    Hi Shweta
    Please see me answers below,
    1.Can we do the value mapping in Graphical Mapping?Is there any standard function available for that?If so what is it?
    Your question is not clear but I will answer both ways.
    If you are talking about create Value Mapping from the Integration Directory. Answer is yes. You can create value mapping groups there.
    If you are talking about using Value Mapping in the graphical tool. Answer is yes. You will only see results in runtime (up to PI 7.0). In PI 7.1 you can see results during development time, after some configurations.
    2.Do we need to maintain any value mapping table in ID?If so then where and how to create it?Where actually do we need to mention it?
    You can do it either in ID or you can upload your values into Cache via Value Mapping Replication. (Let's say in a massive way).
    In ID just create a new Value Mapping Group. That will create the values in Cache.
    In IR, in your mapping, use a ValueMapping object (found under Convertion Functions) and fill it in with the values used to create the object in the ID.
    I also have a document step by step for Value Mapping Replication if you want to.
    Good Luck.
    Luismier.
    Thanks in advance.

  • How create a Value Mapping Table in XI 3.0?

    Hi:
        I wish make a single sample scenario where receiving data must be converted according to convertion table:
      01 -
           Legacy A | Legacy B  -
    M
                 Male:              01     |    M
                 Female:            02     |    F
    And I don´t know how build it. Must I create anything in Integration Repository? (any special message mapping or function?).
    Anyone know about weblog where explain step by step for "value mapping group" and "value mapping tables" creation?
    Help me please.
    Regards!!
    David.

    Hi David,
    You can create value mapping tables in Integration Directory.
    First you have to create Value mapping group using menu Object>new>Value mapping Group
    to Display value mapping you have to use Tools--> Value mapping.
    Also refer to following link on help.sap.com
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    In IR Graphical mapping tool, use the standard function Conversions-->Value mapping.
    Hope this helps.
    Rgds,
    Sam Raju
    Message was edited by: Sam Raju
    Message was edited by: Sam Raju

  • No value mapping in Integration Directory, but they are in the cache

    Hi,
    I recently got acquainted with the fabulous world of value mappings in PI. Until now, FixValues did the trick for me, but now I have to modify the errors in someone else's work.
    I read this article:
    https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5&overridelayout=true
    and a bunch of other help.sap.com stuff and I still don't get a very specific thing in our system. When I check the cache from the runtime workbench, the values, agencies and what have you are all ok. However, when I go to Integration Directory, disregarding the fact that I don't have any values on the search helps for Agency and Scheme, which is quite weird, when I put the correct Agencies and Schemes, I don't get any value displayed, just blanks.
    Why does this happen? Is it something wrong in the PI configuration or something that I don't see any value mapping there, altough they are in the cache?
    Thanks in advance and best regards,
    George

    Hi ,
    1. Create Value Mapping directly in ID (this cannot be seen in RWB, it can be only seen in ID)  
        *Just a corection we can see the value mappings created in Integration directory in RWB in cache monitoring.*
    Just follow these steps to refresh your cache. you will no longer be able to see deleted Val mappings and newly created entries will also shown immediately.
    1) Go to integration builder -- > Administration  --> click on Runtime tab --> cache overview
    You will find 2 things over there :
    Value Mapping Group Cache
    Value Mapping Value Cache
    Refresh both of them. I hope it will work as it always work for me :).
    Thanks
    Inder

  • How to achieve transport of value mapping replication cache table values ?

    During the migration of our interface from XI3.0 to PI 7.11,
    I need to transport the value mapping replication cache table values present in cache monitoring of runtime workbench in
    XI 3.0 PRD  to PI 7.11 DEV .
    Please let me know the ways to acheive this so that I can have the same values present in PI 7.11 Value Mapping Cache table as maintained in XI 3.0.
    Please point me into correct direction.
    Regards
    PS

    Click on "Tools" option, select "Export Configuration Objects" -> "Individual Objects" -> Choose the "Value Mapping Group" type, and then select the value mappings you want to transport.

  • ABAP program and FB for value mapping replication

    Hi,
    we are using a 40B system and I want to use the value mapping replication in XI. To refill the data into the XI database I must write an ABAP and a function module to transfer the data out of R/3 into XI (via RFC). Has anybody an example how the program (and the FB) must look like? i.e I want to read table mvke and extract the materialnumber and the prodhierarchy.
    Thanks and best regards
    Arnold

    Hi Arnold,
    First you need a table type with a structure like follows:
    operation
    groupid
    context
    identifier
    agency
    scheme
    (corresponding to the Interface ValueMappingReplication)
    All used data elements should have type string or charXX
    for example: operation - char10, groupid - char32, rest - char120
    Next you create a function module with attribute 'remote-enabled module'.
    The import parameter is your new table structure.
    Next you create an ABAP program. Here an example:
    report z_value_mapping .
    tables mvke.
    data:
    p_value_mapping type zvalue_mapping,
    p_value_mapping_table type zvalue_mapping_table.
    p_value_mapping-operation = 'Insert'.
    p_value_mapping-context = 'http://xi.com/Material'.
    select * from mvke where matnr between '170' and '501'.
    check not mvke-prodh is initial.
    * Create a value mapping group to join two entries.
    * use a unique 32 digit number.
    concatenate '00000000000000' mvke-prodh into p_value_mapping-groupid.
    translate p_value_mapping-groupid using ' 0'.
    * Store the mapping source as first entry to the group
    p_value_mapping-identifier = mvke-matnr.
    p_value_mapping-agency = 'SenderAgency'.
    p_value_mapping-scheme = 'MATNR'.
    append p_value_mapping to p_value_mapping_table.
    * Store the mapping target as second entry to the group
    p_value_mapping-identifier = mvke-prodh.
    p_value_mapping-agency = 'ReceiverAgency'.
    p_value_mapping-scheme = 'PRODH'.
    append p_value_mapping to p_value_mapping_table.
    endselect.
    * Push data to XI
    call function 'Z_VALUE_MAPPING' in background task
      destination 'IS_XID'
      exporting
        value_mapping       = p_value_mapping_table.
        commit work.
    Import the RFC to the Integration Builder, create a mapping between your RFC and the interface ValueMappingReplication.
    Check this Blog for additional steps:
    /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Choose names for context, agency and scheme which are useful your scenario.
    Regards
    Stefan

  • Runtime value mapping

    hey ,
    The requirement is like  a record is being accessed from the database through a JDBC adapter into XI.In the record there are different fields concatenated as a string and these fields are to be mapped to the target side i.e Idoc which can be done by extracting the fields according to the length using substring function.Now, some src fields say   "code" "sign" "cause "
    are having some combination of values and these combinations are deciding the value of other fields Mv_TYP  MV_REAS COSTCENTER  GM_CODE MVT_ IND
    in the Idoc .i.e runtime value of these three fields is deciding the value of other fields in the Idoc.
    e.g
    Source                   
    Description  Sign  Cause Code
    1PO/STO            +   1     none
    2rvrs PO/STO   -   1     none
    3returngoods   +   1     none
    4RevrsRtrnGoods     -  1     none
    5RvrsScrap     +  1     none
    6Qty2Qlty     -  6     none
    Corresponding target
    Mv_TYP  MV_REAS COSTCENTER  GM_CODE MVT_ IND
    101     none               01     B
    102     none               01     B
    202     1072     511100          03
    201     1072     511100          03
    552                    03
    322     none               06
    How to do the value mapping so as to have the runtime value of src in the target fields in the Idoc

    Hi Indu !
    If your mapping values are fixed, and a few, you can put them manually in the Integration Repository, using the standard FixValues function within graphical mapping.
    Otherwise, you can use the ValueMapping standard function of graphical mapping to access Value Mapping Groups (loaded by hand or dynamically) in Integration Directory.
    If this kind of value mapping doesn't fit your requirements, you can call an RFC or JDBC query via an UDF to query an external data source to map src values to target values.
    Regards,
    Matias.
    ps: please award points if helpful.

  • Value Mapping causing problems in Adapter Engine?

    Hello, I was hoping someone might be able to help me with a problem we are having in our XI system.  I created a new value mapping group that has N:1 values. There are about 80 different values that I convert to 1 value.  I have been using 1:1 value mappings successfully and I tested out the N:1 scenario just fine also.  However, at the time I activated this new value mapping group, all of my resulting messages in the adapter engine are being held in a status of 'To Be Delivered'.  There are no errors in the RWB and the BASIS admin cannot find any errors in the J2EE logs.  Does any one have any ideas on possible causes for this condition?

    This problem has been corrected by a restart of the J2EE engine.  Still not certain what the root cause was, but this is the second time a restart has fixed a problem coinciding with a value mapping group object activation.

  • Value Mapping values..question

    i have been through the value Mapping documentation, and we are trying to analyze a message Map where there are value maps, However we are not able to find the value maps maintained in ID when i select the tools --> value mapping and specify the context, agency and schema for the source values and agency and schema for target values...
    Where is this table maintained, where can we view the values in it...?
    Do we need any additional permissions to view this table.
    When we test it the values dont show up in message mapping tests, however they do show up at runtime as they should..we need to edit and add some values to this table but are unable to find it...
    Preetha

    > i have been through the value Mapping documentation, and we are trying to analyze a message Map where there are value maps, However we are not able to find the value maps maintained in ID when i select the tools --> value mapping and specify the context, agency and schema for the source values and agency and schema for target values...
    >
    > Where is this table maintained, where can we view the values in it...?
    In ID under tools --> value mapping you need to create the value mapping groups and there specify the values.
    >
    > Do we need any additional permissions to view this table.
    No.
    > When we test it the values dont show up in message mapping tests, however they do show up at runtime as they should..we need to edit and add some values to this table but are unable to find it...
    You can see the value only at RunTime and not while testing in test tab in message mapping. Go to ID open your value mapping group and there you can edit or add new entrie.
    Regards,
    Sarvesh

  • Multiple source values to single target in value mapping

    Hi Experts,
    I have to acheive below thing using value mapping.
    Source                        Target
    ABC                            111
    CBA                            111
    XYZ                             222
    ZYX                             222
    When I am trying to do this in ID, It is not allowing me.
    Is there a way to do this?
    Regards,
    Prasad

    Source            Target
      ABC               111
      CBA               111
      XYZ               222
      ZYX               222
    For the above source and target you have to create 2 value mapping groups.
    In more detail I want to say is,
    1. Just create your value mapping by using Source & target Agency & Schema.
    2. Create your first value mapping group which will return the traget value as '111'.
    3. Create your second value mapping group within the same  Agency & Schema which will return you '222'.
    While creating it If get any warning just ignore it..
    Note: You can add multiple value mapping groups if you have different outputs for different sources.
    Regards,
    Sarvesh

  • Value Mapping replication from SAP

    Hi
    I have gone thru the Blogs and threads related to value mapping replication from SAP.
    Inmy observervation  http://sap.com/xi/XI/System of SAP BASIS 7.00
    still I have some doubts...
    1)what is the differnce between ValueMappingReplication(Asynchronous) and ValueMappingReplicationSynchronous .
    when we will use them.
    2) Message type ValueMappingReplication contains Operation ,GroupId,Context,scheme,agency.
    what is the meaning of Operation??
    what is the use of group ID??
    is this necessary to maintain all these values in Ztable and also source and target values ?? and use them in Abap aproxy logic??
    3) is there any Message Mapping Needed.?? and Interface Mapping Needed to implement value Mapping replication??
    but in this blog
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1301i [original link is broken] [original link is broken] [original link is broken] didnt find any interface mapping .
    4)what is the Sender Adapter type ??
    5) if I did replication from SAP..can I see the details in ID
    please guide me
    regards
    munna

    hi
    1)what is the differnce between ValueMappingReplication(Asynchronous) and ValueMappingReplicationSynchronous .
    In sync you will get the value mapping replication status back and in async you won't. In sync based on the response u can update again in case of any failure. If data size is large use async.
    2) Message type ValueMappingReplication contains Operation ,GroupId,Context,scheme,agency.
    what is the meaning of Operation??
    The operation that you are going to perform. Below is the operations list and the contents to be set in the message for the same
    Insert = all fields must be set;
    Delete =all fields must be set;
    DeleteGroup = fields GroupID and context must be set;
    DeleteContext = field Context must be set;
    DeleteContextGeneric = Context contains the starting part for the context to be deleted
    what is the use of group ID??
    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.
    is this necessary to maintain all these values in Ztable and also source and target values ?? and use them in Abap aproxy logic??
    no. system creates the value mapping table. you can take it frm there. no need of any ztables.
    3) is there any Message Mapping Needed.?? and Interface Mapping Needed to implement value Mapping replication??
    You will be sending the value mapping data from a sender system. If it can sent in the same format not required, otherwise you will have to.
    4)what is the Sender Adapter type ??
    Any adapter...depends on the sender system.
    5) if I did replication from SAP..can I see the details in ID
    You can see it in Cache monitoring in RWB.
    for more details refer
    http://help.sap.com/saphelp_nw70/helpdata/EN/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    rgds
    Arun

  • Value Mapping Replication - XIVMService.execute() search using wildcards

    Hi, i'm replicating value mappings to IS' cache.
    Replication works fine. Using RWB i'm can list all the data in the Value Mapping Groups cache. I can also perform a loose search entering something like "12*" in the 'Value' field and the result contains all the mappings having 'Value' staring with "12".
    The problem arises when i try to do the same search with
    XIVMService.executeMapping
    because it just tries to do an exact search insluding the wildcard as the source value. Has anyone tried this? I need help urgently, otherwise i'm afraid i'll have to change my solution radically.
    Thanks in advance
    Nicolá

    >I can also perform a loose search entering something like "12*" in the 'Value' >field and the result contains all the mappings having 'Value' staring with "12".
    Are you doing this to manually search for the value in the RWB or is it in the Runtime.
    > The problem arises when i try to do the same search
    > with
    XIVMService.executeMapping
    because
    > it just tries to do an exact search insluding the
    > wildcard as the source value. Has anyone tried this?
    Where are you trying this search? What i mean to ask is in the runtime ? Are you using some UDF/ Java code to read the data from the value mapping table?
    If my answer/ question is completely off track , I would really like to know what you are trying here
    Regards
    Bhavesh

  • Value Mapping Clarification

    Hi All,
    I have a question on value mapping.We have created a Value Mapping and maintained a GroupName for it.
    Now we want to change the Source and Target Value and delete old values.So,do we need to create a new GroupName after changing Source and Target Value or will this work with Old GroupName also.
    Regards,
    Sahana

    Hi Sahana,
    Not sure what you meant by
    Now we want to change the Source and Target Value and delete old values.So,do we need to create a new GroupName after changing Source and Target Value or will this work with Old GroupName also.
    Adding or removing values in a value mapping group should be straight forward and you can use the same group name.
    Regards,
    Mark

Maybe you are looking for