Value Mapping - Best Strategy

Hi,
There are several strategies fo Value mapping
1) Fixed values (e.g. constants in Graphical mapping)
2) Value mapping on Jave stack via VM tables
3) SAP tables created in SE11 and RFC the data from calls from the Java stack
Surely the best strategy is 3) even though it is not the most efficient purely for the fact to have easy visibility of your integration data. e.g. via SM30 or custom transaction to view integration value mappings. If anyone has a different view on this I would to hear from them or possibly suggest an alternative.

Hi,
the best strategy is dependend from your requirements:
- Fixed values could be used if the values never change
- Value Mapping with groups in IB Directory is usually the standard
- If you want to use authorizations of ERP backend you can go for Value Mapping Replication (more efforts).
- You can use as well included textfiles, lookups and what else can store data...
Regards,
Udo

Similar Messages

  • Value Mapping in BPM

    We are using Value Mapping in XI 3.0 in the integration builder under the configuration.
    Value Mapping is not working during the transformation step in BPM. See help.sap.com under transformation step: http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Does anybody have a solution for executing the value mapping in this case.
    Thanks in advance,
    Glenn van Kamperdijk

    Dear Stefan,
    What if you do want to use value mapping in a ccBPM? What values should be entered at:
    Source Values For Agency?
    and
    Target Values For Agency?
    Best regards,
    Roelof Jan

  • Best strategy for variable aggregate custom component in dataTable

    Hey group, I've got a question.
    I'd like to write a custom component to display a series of editable Things in a datatable, but the structure of each Thing will vary depending on what type of Thing it is. So, some Things will display radio button groups (with each radio button selecting a small set of additional input elements, so we have a vertical array radio buttons and beside each radio button, a small number of additional input elements), some will display text-entry fields, and so on.
    I'm wondering what the best strategy for tackling this sort of thing is. I'm sort of thinking I'll need to do something like dynamically add to the component tree in my custom component's encodeBegin(), and purge the extra (sub-) components in encodeEnd().
    Decoding will be a bit of a challenge, maybe.
    Or do I simply instantiate (via constructor calls, not createComponent()) the components I want and explicitly call their encode*() and decode() methods, without adding them to the view tree?
    To add to the fun of all this, I'm only just learning Faces (having gone through the Dudney book, Mastering JSF, and writing some simpler custom components) and I don't have experience with anything other than plain vanilla JSP. (No EJB, no Struts, no Tapestry, no spiffy VisualDevStudioWysiwyg++ [bah humbug, I'm an emacs user]). I'm using JSP 2.0, JSF 1.1_01, JBoss 4.0.1 and JDK 1.4.2. No, I won't upgrade to 1.5 (yet).
    Any hints, pointers to good sample code? I've looked at some of the sample code that came with the RI and I've tried to navigate the JSF Blueprints stuff, but I haven't really found anything on aggregating components into a custom component. Did I miss something obvious?
    If this isn't a good question, please let me know how I can sharpen it up a bit.
    Thanks.
    John.

    Hi,
    We're doing something very similar. I had a look at the Tomahawk Date component, and it seems to dynamically created InputText components in the encodeEnd(). However, it doesn't decode this directly (it only expects a single textual value). I expect you may have to check the request yourself in decode().
    Other ideas would be appreciated, though - I'm still new to JSF.

  • Value Mapping Log in Server

    Hi,
    Whenever we execute the sceanrio with the value which is not specified in our Value Mapping Table we are getting this following error in our Log.
    The error is attached below.
    Error During value mapping Thrown: com.sap.aii.ibrun.server.valueMapping.DBValMapPersistor$NoGuidException: Context = http://sap.com/xi/XI, agency = Slot, scheme = Appointment, and value = ALLDAY not found at com.sap.aii.ibrun.server.valueMapping.DBValMapPersistor.getGroupIdEx(DBValMapPersistor.java:656) at com.sap.aii.ibrun.server.valueMapping.DBValMapPersistor.findMappings(DBValMapPersistor.java:553) at
    Can you please me in this situation as it si bit important.
    Is there any way that i can make this error not shown in the server log.
    Thanks
    Suja

    Hello Suja,
    you have to change the settings in the log configurator. Set the locations
    com.sap.aii.ibrun.server.valueMapping and com.sap.aii.mappingtool.flib3.ValueMapping
    to severity "Fatal". After this these errors should not be inserted into the default trace anymore.
    Best Regards,
    Lars

  • Difference of FixValues and Value Mapping in Message Mapping

    Hi
    I would like to know the exact difference between the "FixValues" and Value Mapping. And the Scenarios of usage.
    If i use Value Mappings, value mappings more for fixed values or can they be used for business data that will change ?
    If the flow is from "Non SAP to SAP System" then if i maintain the "Value Mapping Tables" in Message Mapping, Do i need to maintain the same Value Mapping tables on SAP System. If this is the case, it will be over head of maintaining on both sides.
    More thankful if you clarify my doudt.
    Regards
    Shailaja

    Hi,
    your question is best explained in the following link(PDF).
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    Its given in the 75th page.
    >>If the flow is from "Non SAP to SAP System" then if i maintain the "Value Mapping Tables" in Message Mapping, Do i need to maintain the same Value Mapping tables on SAP System.
    I think this is not needed.its not needed to maintain value mapping tables in SAP system.
    hope this helps.
    regards,
    P.Venkat

  • Problem in value mapping in POSDM configuration!

    Hi Experts,
                              I am sending data from POS to POSDM. I hav used standard name spaces like GM store Connectivity, BI and Store Connectivity 2.0. I hav also done settings in ID . Made a File adapter and RFC adapter and RD, ID, SA and RA settings.
    Data from Sourse: GMTLogTransaction_out is going to the RFC :/POSDW/CREATE_TRANSACTIONS_EXT  .
    So I hope users can Understand I hav used standard mapping.
    Now the issue is in the source structure a perticular field called TENDER ID is mapped with Target Field :Tender Code.
    But there is a value mapping in between.
    The name of the source Agency is IXREtailPOSLogRetailTransactionTenderID  and schema is IXRetailPOSLogRetailTransactionTenderIDSchema  and 
    The name of the Target  Agency is POSDWTENDERTYPECODE  and schema is POSDWTENDERTYPECODESCHEMA.
        And the Value mapping Context is : http://sap.com/xi/XI.
    The problem is I can see this , but I cant assign any value as it is in disabled mode in Messege mapping.
    Again In the ID I cannot see this Value mapping , which I expected to see and maniputale.
       experts, please tell me hw to I use this  manipulate / incert some values so taht the input when 01 becomes 3101 at output.
    If any doubts/ querioes, pls revert back.Please note , I am using all standard components in IR.
    Regards,
    Arnab .

    Hi Arnab / Abhijith,
    I am also going to work on the similar kind of requirement which u guys  have worked.
    Pos( third Party)->PI>POSDM-->IS-Retail ( Inbound)
    IS-Retail-> PI->POS( third Party) ( Outbound)
    Appreciate if you could help me with some clarifications..
    1) What transactions we can update to POSDM..?
    2) Does we need to POST all POS transactions first to POS DM and then IS-Retail ( Inbound).?
    If that is the case, once transactions posted in POSDM, does we need to do any settings to post idocs automatically to Retail system .. (OR) do we need to develop interface again from POSDM>PI>IS-Retail.( please clarify).
    Please suggest .. is it feasable to post only Non aggregated data directly to POSDM and Aggregated Sales ,FI , GRNs to directly to ECC.( Based on client requirement ).
    Awaiting for your suggestions.. Please suggest the best appraoch
    Thanks & Regards,
    Suman

  • 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

  • XSLT call Value Mapping

    Hi Folks,
    please, i need a step by step Solution for calling Value Mapping with XSLT Mapping Program.
    best regards Michael

    XSLT call Value Mapping
      Maintain the value mapping using the option available in the Integration directory. The following values should be entered for maintaining the value mapping. In the XSLT Mapping use the Java function “Valuemappingaccessor”  to read the values from the table.
    Class ValueMappingAccessor
              This class is used read the Value mapping stored in the Integration server (Java Cache). Class has a method getValueMapping. The Class is imported into the SWC Eyyy_xxxx under namespace “http://xxx.ash.com/COMMON/Common”
    Method public static String getValueMapping(String srcContext, String dstContext, String srcAgency, String srcSchema, String dstAgency, String dstSchema, String key, Map inputParam, String throwException)
    Paramters     Description
    srcContext     Source context in the Integration server (Java Cache) under which, the value is stored.
    For example, if the source values are stored using standard Value mapping table in the ID, then use source context as http://sap.com/xi/XI
    dstContext     Destination context in the Integration server (Java Cache) under which the value is stored
    For example, if the source values are stored using standard Value mapping table in the ID, then Target context as http://sap.com/xi/XI
    srcAgency     Source Agency,  a unique identifying value,  value to be used is not yet decided.
    srcSchema     Source Schema, For example this can be source field name
    key     Source field value, that is required to determine the target, In the figure 1 shown below, We need to send ‘IN’ to get ‘India’
    dstAgency     Destination Agency, a unique identifying value, value to be used is not yet decided
    dstSchema     Destination Schema, For example this can be target field name
    inputParam     Mapping transformation constants, to write the trace into the header of the message
    throwException     An indicator to throw an exception, if the value is not found in the cache. If the parameter is set to “true” or “TRUE”,   an exception is raised & message fails in the mapping step of the Pipe line.
    Returns the value, that is stored in the Value mapping context for the given parameters
    If the value mapping is maintained using Integration Directory value mapping, then we need to call the value mapping function as follows
    If  it has to be called using XSLT Mapping., then the sample code shows how to use the java class the java class “ValueMappingAccessor”.
    <?xml version="1.0"?>
    <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:ns0="http://www.ashok.com/idoctofile/employee" xmlns:ValueMap="java:com.xxx.yyy.ValueMappingAccessor">
        <xsl:param name="CountryCode">
            <xsl:value-of select="ns0:MT_EMPDETAILS/Country"/>
        </xsl:param>
        <xsl:param name="inputparam"/>
        <xsl:template match="/">
            <ns0:MT_EMPADDRESS xmlns:ns0="http://www.ashok.com/idoctofile/employee">
                <EmployeeNo>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/EmployeeNo"/>
                </EmployeeNo>
                <FirstName>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/FirstName"/>
                </FirstName>
                <LastName>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/LastName"/>
                </LastName>
                <Address1>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/AddressLine1"/>
                </Address1>
                <Address2>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/AddressLine2"/>
                </Address2>
                <City>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/City"/>
                </City>
                <State>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/State"/>
                </State>
                <Country>
                    <xsl:if test="function-available('ValueMap:getValueMapping')">
                        <xsl:value-of select="ValueMap:getValueMapping('http://sap.com/XI/xi', 'http://sap.com/XI/xi', 'Canonical','Country', 'KCRS', 'Country', $CountryCode, $inputparam, 'TRUE')"/>
                    </xsl:if>
                </Country>
                <ZipCode>
                    <xsl:value-of select="ns0:MT_EMPDETAILS/Zipcode"/>
                </ZipCode>
            </ns0:MT_EMPADDRESS>
        </xsl:template>
    </xsl:stylesheet>
    If the values are maintained using Value mapping replication technique
    Edited by: Ashok Reddy Thatigutla on Feb 15, 2008 9:43 AM
    Edited by: Ashok Reddy Thatigutla on Feb 15, 2008 9:44 AM
    Edited by: Ashok Reddy Thatigutla on Feb 15, 2008 10:06 AM

  • 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

  • What is the best strategy to save a file in client computer

    I want to save some information in a file in client computer. What is the best strategy to do? There are some ways I can think about. But none of them is good enough for me.
    1. I gave all-permission. So, I can actually write what I want. But, in order to make the program runs on all platform/all client computers, I can't make any assumptions on file system of client computer. So, this is not good.
    2. I can write a file into .javaws directory. But, how can I get file path for this directory? JNLP API does not give this path to us. I can't think a way to get this path for all client computer (WIndown, Mac, Unix).
    3. To write as a muffin. Seems fine. But, I often change server and path. So, once I changed server, the client will loss the file saved since muffin is associated with server and path.
    4. I can just open one file with on path. I think J2SE will treat this file platform dependently. For example, for W2K this file will be put into Desktop. This is bad.
    Any better idea?

    In the past I have used the Properties class to do things like this. Using load and store, you can read and write key=value pairs.
    I store the file in the user.home directory. You can use System.getProperty("user.home") to get this location.
    No guarantees, but I thought that this user.home property was good for any OS with a home directory concept. If that turns out not to be true, maybe the System property java.io.tmpdir would be more consistent across platforms. This, of course, would be subject to delete by the OS/administrators.
    -Dave

  • Value mapping with BPM

    Hi Experts
    How to do value mapping with BPM.
    I tried searching for blogs in SDN but i didnt get any solution
    Regards
    Sowmya

    Hi,
    Your question is not very clear. Let me know how you want to use Value mapping?
    You can implement value mapping in two ways..
    1. Value Mapping Replecation Method, in which we create ABAP program (outbound proxy) in R3 which selects data from R3 tables and sends into XI, and which get stored in XI JAVA Cache untill you run the ABAP program next time which is very rare. This kind of method is best when you have large amount of R3 data.
    2. If you have some data which is used just to varify the conditions at run time then in that case we go for Value Mapping creation in Integration Directiory. Below mentiond blog will give an idea how to use Value mapping in ID.
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    Value Mapping is used in Graphical Mapping which gives the value at run time only, so you cannot test it in TEST Tab of message mapping.
    So as per you question, BPM can come into picture later on after you maintain the value mapping in ID and do the corresponding mapping in IR.
    Regards,
    Sarvesh

  • Field mapping and value mapping - Basic

    Hi,
    Assuming I have a repository containing a main table with 3 fields
    1)Product
    2)Description
    3)Manufacturer (lookup field)
    When i map the source file to the destination repository
    1) i map fields product and description of the source file and destination repository.
    2) map the manufacturer field between the source file and destination repository.
    3)Value map the contents of the manufacturer field between the source and destination.
    If i have a  source file like this.
    Product                                         Description                                Manufacturer
    a                                                         a                                              Hindustan lever
    b                                                         b                                              Hindustan lever
    a                                                         a                                              P&G
    b                                                         b                                              P&G
    Since i have made the manufacturer field a lookup field, it can hold the lookup values Hindustan lever and P&G.
    what happens to prduct ? i have made only a field mapping. Will the values a & b be stored in the destination repository this way?
    Is a value mapping required for product as well to hold both the values?
    Please help
    Thanks,
    Vignesh

    Hi Vignesh,
    You do not have to value map it. Import managerwill automatically assign both the values to product a and b. Basically it is set in the configuration options of the import manager. There is a setting "merge source records based on matching field". If that option is set to yes,  both the values will be assigned to product a and b respectively.
    Best Regards,
    Dheeraj

  • Best Strategy for Integrating Crystal/Business Objects with OpenACS Environment

    Post Author: devashanti
    CA Forum: Deployment
    I'm working for a client that uses AOL server and OpenACS for their web services/applications. I need suggestions on the best strategy to integrate a reporting solution using Business Objects XI. Ideally I'd like to send an API call from our web application's GUI to the Crystal API with report parameter values to pass into specific reports called via the API - I can get it down to one integer value being passed - or if this is not possible a way to seamlessly, from the end user perspective, move into a reporting module. We are using an Oracle backend database. I'm experienced with creating stored procedures and packages for reporting purposes.
    Although I have many years of experience integrating the Crystal active X controls into n-tier client server applications, the past few years I have had little opportunity to work with Business Objects and the newer versions of Crystal or web based solutions with Crystal Reports. I signed up to try out crystalreports.com, but I doubt my client will find this solution acceptable for security reasons as the reports are for an online invoicing system we are developing. However we can set up a reports server in-house if necessary, so it gives me some testing ground.
    Can anyone provide suggestions for a doable strategy?

    Please post this query to the Business Objects Enterprise Administration forum:
    BI Platform
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all BOE queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding,
    Ludek

  • Mapping Best Practice Doubt

    Dear SDN,
    I have a best practice doubt.
    For an scenario where it is needed to mapping a value to another value, but the conversion is based on certain logic over R/3 data what is the recommended implementation:
    1.  Use Value Mapping Replication for Mass Data   or
    2.  Use XSLT ABAP Mapping calling an RFC ??
    Best regards,
    Gustavo P.

    Hi,
    I would suggest you use XSLT ABAP mapping or,
    Use the RFC LookUp API available from SP 14 onwards to call the RFC from your message mapping itself.
    Regards
    Bhavesh

  • Information on  CRM Value Mapping

    hello.......
    I need to give presentation on CRM Value Mapping.
    I would be very thankfull, if any one tell me
    what is CRM Value mapping?
    Whats the use of it?
    If you have any material on CRM Value mapping...
    Best Regards
    RAJ

    Value Mapping function
    Executes a value mapping for the value I entered. In the function attributes, assign the both input value I and source value O to a representation in the value-mapping table. In this way, you can assign source and target structure fields to a representation. You complete the value-mapping table on the configuration maintenance screen in the Integration Builder. Since these entries are not available at design time, the mapping result is just an estimate when you test the message mapping.
    for more information click here
    http://help.sap.com/saphelp_crm60/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
    Reward points if helpful
    cheers
    Manohar

Maybe you are looking for

  • WRT610N, Xbox Live, Moderen Warfare 2 and nothing but trouble !!

    I have been having problems over the last few months with constant drop outs on Xbox live and now specifically MW2. I have tried every option I can think of in the settings (Xbox and Linksys WRT610N) but no luck. I thought I would share my story in h

  • Calling excel to open csv file created by export within same process

    Hello All, I'm very new to apex and never done any javascript. My company is trying to convert this old forms programmer. What I'm trying to do for a client is to open excel with a specific template I've created that will format the data from a csv f

  • HP 8600 Officejet Pro stuck on layout setting of long-edge binding (duplex printing)

    My HP 8600 Officejet Pro 8600 is stuck on a layout setting for printing of long-edge binding (duplex printing). It's conected to a mac running OSX 10.8.4 Any suggestions? Thanks

  • Database EM not working

    hi EveryBody... i am unable to connect to the Oracle Database using Enterprise managaer in 10g, when i am writing http://172.20.262.27:1158/em it is throwing The page cannot be displayed output using Oracle 10g Release 2 on Hp-itanium please Help me

  • Row hiding in Jtable

    Hi Group, I have a custom table renderer in which I have to make some of the rows in the table as invisible depending upon the row value. I tried by taking the each value in a string and making it invisible using component.setVisible(false). But stil