Where we use Conversions? like Fixed Value and Value mapping? and use of th

where we use Conversions? like Fixed Value and Value mapping?
and what is the use of that....

Hi
Have a Look at this
/people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
Value mapping is used to map different representations of an object to each other.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
You can do value mapping both in IR and ID
IR: Message Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/43/c4cdfc334824478090739c04c4a249/content.htm
/people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
ID: Tools --> Value Mapping
http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/content.htm
Value mapping replication: For uploading data from tables, excel sheet etc. into XI
http://help.sap.com/saphelp_nw04/helpdata/en/2a/9d2891cc976549a9ad9f81e9b8db25/content.htm
Value mapping
/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/sap.user72/blog/2005/12/06/optimizing-lookups-in-xi
/people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
Thanks

Similar Messages

  • Where we use Conversions like Fixed Value and Value mapping?

    where we use Conversions? like Fixed Value and Value mapping?

    Mostly say when u have a scenario like converting a value in the source to a another in
    target. Say in source it might me KM but in target u might need Kilometers and u hav multiple entries like this.
    Ref:
    http://help.sap.com/saphelp_nw04/helpdata/en/13/ba20dd7beb14438bc7b04b5b6ca300/frameset.htm
    https://www.sdn.sap.com/irj/sdn/xi-elearning

  • Table lookup instead of fixed value mapping

    Hi Folks,
    My current scenario is that I have used fixed value mapping to map a single target field.  These details are actually maintained in the TP_Code table in R3 (a sample table).
    TradingPartner:SAP:Short Text
    PA:PA:Package
    PL:PAL:Pallet
    The table contains 20 entries.
    I am thinking that fixed value mapping is not a good option since there might have future changes in the TP_Code table.
    Is rfc lookup a good option?  But I am not sure which rfc to use and if there is any udf availble to be used in parsing the xml payload.
    Please advise.
    Thanks a ton!

    Thanks so much for the links!
    I managed to use and run the RFC lookup to an R3 table using JCo.  However, I am not getting the right result.
    I am getting the result in this format -> 800,PA,PAC,Package
    The correct output is PAC which is the third node.  Could this only be achieved by using java tokenizer?
    The code that I have used is as follows:
    Import com.sap.mw.jco.*;
    //write your code here
    String DBTABLE = a;
    String WHERE_CLAUSE = b" = ""'"c"'" ;
    String sapClient = "xxx";
    String hostName = "nnnxxx";
    String systemNumber = "xx";
    String userName = "nnnnn";
    String password = "******";
    String language = "EN";
    JCO.Repository mRepository;
    JCO.Client mConnection = JCO.createClient(
                   sapClient,
                   userName,
                   password,
                   language,
                   hostName,
                   systemNumber );
    // connect to SAP
    mConnection.connect();
    // create repository
    mRepository = new JCO.Repository( "SAPLookup", mConnection );
    // Create function
    JCO.Function function = null;
    IFunctionTemplate ft = mRepository.getFunctionTemplate("RFC_READ_TABLE");
    function = ft.getFunction();
    // Obtain parameter list for function
    JCO.ParameterList input = function.getImportParameterList();
    // Pass function parameters
    input.setValue( DBTABLE, "QUERY_TABLE");
    input.setValue( "," , "DELIMITER");
    //Fill the where clause of the table
    JCO.ParameterList tabInput = function.getTableParameterList();
    JCO.Table inputTable = tabInput.getTable("OPTIONS");
    inputTable.appendRow();
    inputTable.setValue(WHERE_CLAUSE,"TEXT");
    mConnection.execute( function );
    JCO.Table valueSet = function.getTableParameterList().getTable("DATA");
    String resultSet = valueSet.getString("WA");
    mConnection.disconnect();
    return resultSet;

  • Fixed value mapping

    Any one there to explain me what is fixed value mapping Coz when i used LOOK UPS , they told me you can used fixed value mapping instead of it , as i was having only to values , please send me a detail explanation abt it thanking you
    sridhar

    There is a lot of difference between fixed value mapping and Lookup:
    Fixed value mapping is used when you need to populate the some differnt target value based on some inpur value.
    Take example
    I have used fixed value M:
    My input is ABC
    Now for this input I wanted to poupulate some different values.
    Suppose when A comes in File it should map the target value to America.
    When B come it should map to Belgium
    and C -> California
    Now come to Looup:
    What is Lookup and why we need:
    Within an XI mapping it is a common requirement to be able to perform data lookups on-the-fly. In particular, there may be a need to look up some data that is maintained in an R/3 application.
    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 material number from table MARA.
    • Look up cost center budget.
    • Look up employee information.
    • Look up unit-of-measure (UOM) information from table t006a.
    • 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.
    This is a form of value transformation.
    The "value mappings" offered by XI are not adequate in this case, since the data would have to be manually entered in the Integration Directory.
    There are two ways in which we can do lookup:
    • Call lookup method from GUI mapping.
    • Call lookup method from XSLT mapping.
    I think u got ur answer
    Thnx
    Chirag

  • Fix Value Mapping Problem

    Hi All
    I am doing a fix value mapping for a perticular field.I am getting a value say Y001 from the client system which i convert it to Z001 in my system. I tested the XML in the message mapping test tab.It is giving proper result.But at the output file i am getting the same value of Y001 instead of Z001.Can anyone please provide any inputs on this.
    Thanks
    Amit

    HI,
    Please chek the imput values..
    Sure if you fix the value in Fix Value mapping then you will get the resukt value otherwise empty.
    Please see the below links
    value mapping - /people/sreekanth.babu2/blog/2005/02/23/value-mapping-replication
    Value mapping /people/sukumar.natarajan/blog/2006/10/23/accessing-value-mapping-defined-in-directory-using-java-functions
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    /people/community.user/blog/2007/01/08/valuemapping-using-the-graphical-mapping-tool
    /people/alessandro.guarneri/blog/2006/03/27/sap-xi-lookup-api-the-killer
    https://www.sdn.sap.com/irj/sdn/advancedsearch?query=value%20mapping%20in%20xi&cat=sdn_weblog
    Regards
    Chilla..

  • Conversion exits before value mapping in AIF

    Hi All
    I'm trying to use conversion exits before mapping in define value mapping, where I want to truncate leading zeroes in the source field before the value mapping is executed.
    I'm using the conversion exit 'ALPHA' (internal->external) to achieve this, but the leading zeroes do not get truncated. Below is an example-
    Conversion Exit: ALPHA
    Data Element for conversion:
    Direction: Internal->External
    Source Value: 0000012345
    Expected Value after conversion: 12345
    Actual Value after conversion: 0000012345
    A similar issue Error in reading a value from database table is noted here, however note 1892571 that is suggested does not seem to resolve the issue I'm facing.
    Am I missing something here?
    Regards
    Chandra

    Hi Glenn Bumanlag,
            I think the values that you have given for source values (Agency and scheme)
    and Target values (Agency and scheme) may be mismatching so kindly chek that...even i got the same error in the past..........
    If you the this problem kindly change it accordingly and also refresh the cache once you that with this.........
    Kindly follow the below mentioned link and check if you have followed these steps.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00ee347e-aabb-2a10-b298-d15a1ebf43c5
    Thanks
    Sai     
    PS: kindly reward points if helpful

  • How to perform fixed value mapping in XSLT?

    Hi All,
    Kindly guide me to do a XSLT mapping for fixed values (done in graphical mapping)
    eg: if  Band         Role
                A             JSE
                B               SE
      and so on.
    Kindly help me out to implement the above logic using xslt.
    Thanks
    Deepika

    Hi,
    Please find the links below.
    xpath functions in xslt mapping
    Design time Value-mappings in XSLT
    File to Multiple IDocs (XSLT Mapping)
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/01a57f0b-0501-0010-3ca9-d2ea3bb983c1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9692eb84-0601-0010-5ca0-923b4fb8674a
    Regards,
    Phani

  • XI Fixed Value Mapping - Mass function?

    Is there a quick way to upload 350 fixed value to value mappings in XI 7.0 (or 3.0)??
    Short of pasting in one entry at a time!
    Is SAP going to develop a more user friendly alternative to this painstaking task?

    > Hi,
    >
    > >>>>Is there a quick way to upload 350 fixed value to
    > value mappings in XI 7.0 (or 3.0)??
    > Short of pasting in one entry at a time!
    >
    > if you talk about fixed values (in message mapping)
    > then
    > you need to go one by one I'm affraid
    >
    >
    > >>>>Is SAP going to develop a more user friendly
    > alternative to this painstaking task?
    >
    > who knows... maybe in next relase
    >
    It is fixed values in mapping!
    I was afraid of that...  I had been putting off the inevitable!
    Is there anyway we can put forward a request (for change) to SAP to change this in a later release??
    This is not the first time I have had to this, and I am sure, it won't be the last, or that I am the only person who has had to do this!

  • Fixed Values and Value Mapping

    Hi Experts,
         I hav a doubt regarding these to funnctions in Messege mapping. In both teh functions , we can change a value coming from Load to some thing else.
    Like
    A=1
    B=2
    C=8.
    The difference i hav noted is the in case of fixed values, we can assign the valsues in the messege mapping itself, and in case  of value mapping it is assigned in the value mapping table  in integartion directory, and thsi can be seen through  Runtime Workbench in Cache Monitering. . Apart from that there seems to be no big significat difference in the application .
    Pls correct me , if I ma missing out something.
    Pls tell me if both hav the same functionality, why were these 2 functions made , any 1 of them, preferably Value Mappimg Function could hav been enough.
    Regards,
    Arnab.

    Hi
    Fixed value mapping is Message mapping Specific
    But Value mapping allows u to create a Schema and group .
    Value mapping functionality will be well understood in large integration where many mapping programs using same conversions.
    Maintain advantage is maintance is easy with value mapping because if any chnages in value , just ID change is enogh no need to go mapping but this is not with fixed value
    For instance if u r using Fixed value in 50 mapping programs u need to change in all
    But if u r using Value mapping just one ID
    Which one u prefer
    all based upon u r landscape for mapping
    Srini

  • Urgent: Performance problem with where clause using IN and an OR condition

    Select statement is:
    select fl.feed_line_id
    from ap_expense_feed_lines_all fl
    where ((:1 is not null and
    fl.feed_line_id in (select distinct r2.object_id
    from xxdl_pcard_wf_routing_lists r2,
         per_people_f hr2
    where upper(hr2.full_name) like upper(:1||'%')
              and hr2.person_id = r2.person_id
    and r2.fyi_list is null
              and r2.sequence_number <> 0))
    or
    (:1 is null))
    If I modify the statement to remove the "or (:1 is null))" part at the bottom of the where clause, it returns in .16 seconds. If I modify the statement to only contain the "(:1 is null))" part of the where clause, it returns in .02 seconds. With the whole statement above, it returns in 477 seconds. Anyone have any suggestions?
    Explain plan for the whole statement is:
    (1) SELECT STATEMENT CHOOSE
    Est. Rows: 10,960 Cost: 212
    FILTER
    (2) TABLE ACCESS FULL AP.AP_EXPENSE_FEED_LINES_ALL [Analyzed]
    (2) Blocks: 8,610 Est. Rows: 10,960 of 209,260 Cost: 212
    Tablespace: APD
    (6) TABLE ACCESS BY INDEX ROWID HR.PER_ALL_PEOPLE_F [Analyzed]
    (6) Blocks: 4,580 Est. Rows: 1 of 85,500 Cost: 2
    Tablespace: HRD
    (5) NESTED LOOPS
    Est. Rows: 1 Cost: 4
    (3) TABLE ACCESS FULL XXDL.XXDL_PCARD_WF_ROUTING_LISTS [Analyzed]
    (3) Blocks: 19 Est. Rows: 1 of 1,303 Cost: 2
    Tablespace: XXDLD
    (4) UNIQUE INDEX RANGE SCAN HR.PER_PEOPLE_F_PK [Analyzed]
    Est. Rows: 1 Cost: 1
    Thanks in advance,
    Peter

    Thanks for the reply, but I have already checked what you are suggesting and I am pretty sure those are not causing the problem. The hr2.full_name column has an upper index and the (4) line of the explain plan shows that index being used. In addition, that part of the query executes on its own quickly.
    Because the sql is not displayed in an indented format on this page it is a little hard to understand the structure so I am going to restate what is happening.
    My sql is:
    select a_column
    from a_table
    where ((:1 is not null) and a_column in (sub-select statement)
    or
    (:1 is null))
    The :1 bind variable is set to a varchar2 entered on the screen of an application.
    If I execute either part of the sql without the OR condition, performance is good.
    If the :1 bind variable is null with the whole sql statement (so all rows or a_table are returned), performance is still good.
    If the :1 bind variable is a not-null value with the whole sql statement, performance stinks.
    As an example:
    where (('wa' is not null) and a_column in (sub-select statement)) -- fast
    where (('wa' is null)) -- fast
    where (('' is not null) and a_column in (sub-select statement) -- fast
    or
    ('' is null))
    where (('wa' is not null) and a_column in (sub-select statement) -- slow
    or
    ('wa' is null))

  • Checking domain fixed values

    I have a screen field in a dynpro where the domain has a fixed value range. The values shows up in the F4 help, but I can't figure out the best way to validate it in the PAI short of hardcoding, which I'd like to avoid.
    Take for example a domain with possible values 'A', 'B', 'C', '1', '2' or '3'. These values pull through to the search help but I also need to validate manual user input against this list.
    I understand the DDIC attribute for a screen element can do this, but that's not an option in this case as the name of the field does not match the name of a dictionary field. Any other suggestions?
    Thanks

    >
    Chris wrote:
    > I have a screen field in a dynpro where the domain has a fixed value range. The values shows up in the F4 help, but I can't figure out the best way to validate it in the PAI short of hardcoding, which I'd like to avoid.
    >
    > Take for example a domain with possible values 'A', 'B', 'C', '1', '2' or '3'. These values pull through to the search help but I also need to validate manual user input against this list.
    >
    > I understand the DDIC attribute for a screen element can do this, but that's not an option in this case as the name of the field does not match the name of a dictionary field. Any other suggestions?
    >
    > Thanks
    If this field should only contain values from the domain fixed value range, why don't you make it into a drop down listbox field?  This would make manual input impossible and all they can do is select values from the drop down list.

  • Message Mapping - fixed values - not mapping

    Hi
    i have a simple fixed values mapping that is not producing anything.
    the input value can be 'Y' , 'N' , or a blank.
    The fixed value mapping is setting these input values to 'Yes', 'No', and 'No'
    however when i test this, nothing is getting mapped to the output record for this field.
    can someone tell me why?
    many thanks,
    Julia

    Hello,
    What happens when you use this logic?
    Source -> mapWithDefault: -> fixValues -> Target
    Configuration for fixValues would be:
    DefaultValue: No
    BehaviourLookUp: Use Default Value
    key             value
    Y                Yes
    Hope this helps,
    Mark

  • Where do you go to fix a macbook pro wobbly screen?

    My macbook pro screen keeps wobbling where do i go to fix it and how?

    Nearest Apple store.
    http://www.apple.com/retail/locator/
    Best.

  • 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

  • Value Mapping replication GUID Logic

    HI,
    We are doing Value Mapping replication from ECC table entries to Pi Runtime Value Mapping cache.
    We are generating the Group ID required for Value Mapping from ECC.
    Here we are confused with the logic for GUID Generation.
    At first I thought the driving factors are -- if there is already an entry for the same Source Agency, Source Scheme, Target Agency, Target Scheme and Target Value then it should go in the same group id, else a new gr id needs to be generated.
    However it looks like that is incorrect.
    Can somebody help us on what should be the logic for generating group id for Value mapping replication.
    We have the scenario where the same source Agency, Scheme ,Value maps to multiple target Schemes... and it is not working if we have different Group ids...
    Thanks,
    Himadri

    > We have the scenario where the same source Agency, Scheme ,Value maps to multiple target Schemes... and it is not working if we have different Group ids...
    If you want to have multiple targets, then you have create pairs with unique GUID
    like this:
    A - 1 GUID X
    A - 2 GUID Y
    A - 3 GUID Z
    The standard value mapping function does not work, when you have multiple targets. It will not return an entry.
    You have to create a UDF for this purpose. You need to identify which target do you want to select from different values.
    An UDF could look like this extract:
    IFIdentifier source = XIVMFactory.newIdentifier(source_context,source_agency,source_scheme);
    IFIdentifier target = XIVMFactory.newIdentifier(target_context,target_agency,target_scheme);
    IFRequest request = XIVMFactory.newRequest(source,target,sourceValue);
    try{
      IFResponse response = XIVMService.executeMapping(request);
      if (response.countTargetValues() > 0){
        String[] targetValues = response.getTargetValues();
    // take first value of result
         return targetValues[0];
    This example is taken from PI 7.1
    Edited by: Stefan Grube on Oct 22, 2010 9:32 AM

Maybe you are looking for

  • How do I extract photos from a 'bricked' iPhone 5s?

    So having only owned my BRAND NEW iPhone 5s for only three months it has decided to give up - it is suffering from what seems to be a common issue where simply resetting the device causes the phone to enter a endless loop of restarts with a blue scre

  • How to add my Epson 322 to iMac with WiFi

    I am not able to connect a new Epson E322 printer to my iMac uing WiFi. The printer shows my router, recognises it, asks for and gets the password, then requests I set up the iMac but there is no link I can find on it to link a printer. Anybody have

  • Function Modules to Execute Report Painter Report

    Hi Experts, May I know if there is any way to execute the GR55 Report Painter reports, and get the report result back as a table? I need this to write a program to export the result to a external system. Many thanks!!! Regards, Chris

  • Looking to create fully editable PDF files with background images

    Hello and thank you, I create menu's and flyers for a group of restaurants. I need to make text editable PDF menus with background images. I believe Livecycle is able to do this, but would really like to hear it from someone who knows for sure. Again

  • Mac Mini - best option for adding video streaming to existing HDTV setup?

    Hello, new to the Forum but not to Macs - currently enjoying my 1yr old iMac, far cry from original 128k Mac I bought in 1984... I am interested in adding streaming video capability to my home theatre setup, which consists of a Pioneer PRO-FHD1 50" (