Value Mapping is unble to pick up the correct value.

Hi,
I am facing issue with value mapping in inbound scenario,where we check the value of field receiver and compare it with value mapping data,but value mapping does not replicated etc.
Best Regards,
Akshay Jamgaonkar.

Can you please explain it bit more?
Thanks,
Hetal

Similar Messages

  • How to pick up the last value of the input string

    Hi there,
    I have a requirement in which I have to pick up the last value of the input string.
    I don't know the field length, it could be 10 line, it could be 4 line and it could be even 1 line.
    Another problem is that the field contains all the alphanumeric values so the sort function is not working.
    I believe I need to write a UDF but not sure exact what and how.
    Can some body please help me solving this issue.
    Input.
    1.Abc
    2.abc123atxx.com
    3.(980)771-2341
    4.
    5.518VR50V58AD10DSAYBDSAFDSIEGHA:1
    In that case I only need to pickup the last value i.e. 518VR50V58AD10DSAYBDSAFDSIEGHA:1
    Output
    518VR50V58AD10DSAYBDSAFDSIEGHA:1
    Note:
    1. Length is unknown
    2. Alphanumeric data
    Thanks,

    Hi karthick Lakkar,
    Thanks for your quick response but unfortunately I am getting mapping exception.
    What I did is create a UDF with 2 input
    INPUT
    a string
    b string
    and then this code
    int Length=Integer.parseInt(a);
    int requiredLength=Integer.parseInt(b);
    if(Length<=requiredLength)
    return(a);
    else
    return a.substring((Length-requiredLength),Length);
    I am wondering about the input as well.
    At present I am doing
    KTEXT + KTEXT --- UDF
    + does represent concat, means same input will go to the UDF
    This is the error which I am getting
    Exception:[java.lang.NumberFormatException: For input string: "Kevin Farrar"] in class com.sap.xi.tf._MM_XXXXXXXXXXXXXX_ method calculate[Kevin Farrar, Kevin Farrar, com.sap.aii.mappingtool.tf7.rt.Context@6dbf19db]

  • How to filter certificate templates in Certificate Authority snap-in with the correct values

    How to filter certificate templates in Certificate Authority snap-in with the correct values
    I have a 2012 R2 server running Microsoft Certificate Authority snap-in.
    I want to do a filter on a specific Certificate Template which i know exists in the 'Issued Certificates' folder.
    All the documentation i can find seems to suggest i copy the certificate name and use this in the View Filter.
    1). I add the 'Certificate Template' option into the Field drop-down.
    2). I leave the Operation as the '=' symbol
    3). I paste in just the name of the template in question. for example: 'my computers'
    The search results always come back blank 'There are no items to show in this view.' even when i know there are many instances of this template. I've tried on a win 2008 server and same issue.
    Is there a correct value to enter for the Certificate Template name?
    Can this be done easier using certutil commands?
    When i run the certutil tool i can confirm i have several issued templates. Certutil -catemplates -v > c:\mytemplate_log.csv
    Anybody know what i'm doing wrong?
    I seem to be getting nowhere with this one.

    > But its important you are using the template name, not the display name
    this is incorrect. OIDs are mapped to *display name*, not common name (it is true for all templates except Machine template). That is, in order to translate template name to a corresponding OID, you need to use certificate template's display name. And, IIRC,
    template name in the filter can be used only for V1 templates. For V2 and higher, OID must be used.
    My weblog: en-us.sysadmins.lv
    PowerShell PKI Module: pspki.codeplex.com
    PowerShell Cmdlet Help Editor pscmdlethelpeditor.codeplex.com
    Check out new: SSL Certificate Verifier
    Check out new:
    PowerShell FCIV tool.

  • I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    I would like to know how i can create a bell graph with out using sub VIs, the data that i created consists in 500 readings with values of 0 to 100, i calculated the mean value and standard diviation. I hope some one can help me

    Here's a quick example I threw together that generates a sort-of-bell-curve shaped data distribution, then performs the binning and plotting.
    -Kevin P.
    Message Edited by Kevin Price on 12-01-2006 02:42 PM
    Attachments:
    Binning example.vi ‏51 KB
    Binning example.png ‏12 KB

  • How do I display the correct value when using SELECT_LIST_FROM_QUERY

    I have an updatable report that displays the possible values for a field.
    I'm using HTMLDB_ITEM.SELECT_LIST_FROM_QUERY, so obviously I have to process the record manually.
    However, I need the trick to display the correct value as selected before processing the records.
    I appreciate your help.
    Thanks
    Juan

    Thank you.
    So, I just need to put the field name in the second argument.
    I have it working now.
    Thanks again
    Juan

  • Control not outputting the correct value

    Hello,
    I have a producer consumer architecture with a queue to pass values. I want to push a new value onto the array using "Insert into Array" when a button is pressed, but when I do the previous value is being read the first time and the correct value on the second press.
    I'm self taught and it's my first time using the queue so maybe something I'm not seeing/thinking about there?
    Version 8 VI Attached.
    Do this to see the problem:
    1. Run
    2. Click "Master Read"
    3. Change "Value"
    4. Click "Master Read"
    5. Click "Master Read"
    Any help is appreciated including block diagram critique.
    Thanks!
    Solved!
    Go to Solution.
    Attachments:
    Untitled 1.vi ‏16 KB

    It all depends on how you change the value of "Value". If you use the increment and decrement buttons it works as you expected.
    If however, you type in a new value and click the button without clicking somewhere else first, it doesn't work - and here's why:
    When you type in a value that modified value doesn't show up in the code untill the control loses "key focus". The problem is that clicking the button does cause the numeric input to lose key focus but only after the code has responded to the mouse up event.
    To fix the problem put a property node in the mouse down event to set the numeric's KeyFocus property to false before the value is enqueued.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • COPA Derivation Rules are not assigning the correct values

    COPA Derivation Rules are not assigning the correct values when we process billing documents in batch.  We currently have derivation rules defined to take the ship to country and refer to custom tables were we identify custom geographic groups (INT/DOM and EAM, AP, etc.).  The derivation rules work accurately when the billing documents are created individually, and more than 75% of them are accurate when generated in batch, but in some circumstances, it populates the derived values with the wrong field and we can not identify where or why that's happening.  It looks like it may have something to do when the ship to customer number account group is different, but that's not consistent..  Does anyone know how or where these values get populated, or have any ideas why incorrect values are appearing sporadically throughout the billing run?  Thanks!!!

    Leigh,
    Apparently the function module is changing the values for some billing docs. Check one of the following user exits, if it gets triggered and the values are changed:
    COPA0001  Enhancement for derivation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEDRCOPA_001
    COPA0002  Enhancement for valuation in Profitability Analysis (CO-PA)
    Function Module: EXIT_SAPLKEAB_001
    COPA0003  Enhancement for assignment to profitability segment (CO-PA)
    Function Module: EXIT_SAPLKEAK_001
    COPA0005  Enhancement for actual data update (CO-PA)
    Function Module: EXIT_SAPLKEII_001
    Function Module: EXIT_SAPLKEII_002
    Award suitable points if the above helps. You can also reach me at [email protected]
    Thanks
    Ajay

  • Collections.emptyMap() isn't picking up the correct type

    I've got the following code:
    public String toString(Map<String, String> args);
    public String toString()
      return toString(Collections.emptyMap());
    }this gives me a compiler error:
    Cannot find symbol: toString(java.util.Map<java.lang.Object,java.lang.Object>)
    In other words, it is picking up the wrong generic types. If, however, I use the following code:
    public String toString()
      Map<String, String> t = Collections.emptyMap();
      return toString(t);
    }it works fine. Any ideas why?
    Thanks,
    Gili

    Cannot find symbol:
    toString(java.util.Map<java.lang.Object,java.lang.Obje
    ct>)
    In other words, it is picking up the wrong generic
    types. Apparent the compiler is not infering the types from the method parameters. I'm not sure that this is the correct behavior, but it would seem to me that it would be difficult to implement this kind of type inference correctly.
    If it did infer the type from the method declaration, then if you later add a toString(Map<Object, Object>) what should the compiler do? Should it change which method is called? This would be create a binary compatiblity issue which I think was intentionally avoided.

  • Mapping, pointing an incorrect url to the correct one?

    Hi All,
    Im in a desperate need to point, map, or do something to make one url go to the correct one. So basically, there have been 3,500 copies of flyers printed and gone out with an error on the url! Is there anyway to make the browser automatically open 'www.britanniastone.co.uk/tradequestions.html' when the url 'www.britanniastone.co.uk/tradequestions' is typed into browser??? Its is missing the html part of the url on the flyer.
    Really really appreciate some help!!

    <meta http-equiv="refresh" content="0; url="http://www.britanniastone.co.uk/tradequestions.html" />

  • Query does not retrieves the correct values

    Hi,
    pls look into the code.
    clear: wf_etenr,
             vbep.
    To get the Scheduled Loading date and Scheduled Arrival Date.
        SELECT MAX( etenr ) FROM  vbep INTO wf_etenr
                            WHERE vbeln = tvbdpl-vgbel
                            AND   posnr = wl_posnr.
        IF sy-subrc EQ 0.
          clear vbep.
          SELECT SINGLE * FROM vbep         "R02
                 WHERE vbeln = tvbdpl-vgbel "R02
                  AND posnr = tvbdpl-vgpos  "R02
                  AND etenr = wf_etenr.
          IF sy-subrc EQ 0.
    when i see the values at dictionary level using the same wher conditions are mismatching with the query excution result in the program.
    here in the second query ( SELECT SINGLE * ) it giving the wrong results .
    if i compare the results at table level ,some of the field values are missing after excuting the above second query.
    pls can any one give me ur suggestion on this !
    rgds
    sanjay reddy

    Hi,
    are these the same?
    wl_posnr and tvbdpl-vgpos
    try
    SELECT SINGLE * FROM vbep
    WHERE vbeln = tvbdpl-vgbel
    AND posnr = wl_posnr
    AND etenr = wf_etenr.
    IF sy-subrc EQ 0.
    to make somewhat consistent querys.
    regards
    Message was edited by: Zlatko
            Zlatko Stracenski

  • Drill-down and how to change to the correct value in the dashboard title

    Good Morning,
    I have a problem on the presentational side, which some of you might have seen as well.
    My dashboard page looks like this:
    Dummy Prompt 1: YearFrom
    Dummy Prompt 2: YearTo
    Prompt 3: Item
    All three prompts have a presentation variable to show their respective value in the title of the dashboard page.
    Below the prompts is the report, which is filtered by the three prompts and contains a column "year" with the option to drill-down.
    When I drill-down on a "year" value, a column "month" appears and shows the values of the year by month.
    Problem : After the drill-down the title still displays the old "YearFrom" "YearTo" values and not the year I drilled-down on
    Question: How to I change the title to the correct year?
    Optional: In the drilled-down report I would like to hide the column "year".
    Every idea is appreciated
    Turalf

    hi, with JSF 2 you got the ajax tag, just tried it and it works fine :)
    <h:inputText id="myinput" value="#{back.name}">
        <f:ajax execute="@this" event="keyup" render="outtext"/>
    </h:inputText>
    <h:outputText id="outtext" value="#{back.name}"/>or before JSF 2
    <h:outputScript name="jsf.js" library="javax.faces" target="head"/>
    <h:inputText id="myinput" value="#{back.name}" onkeyup="jsf.ajax.request(this, event, {render: 'outtext'}); return false;"/>
    <h:outputText id="outtext" value="#{back.name}"/>The name property is a simple String in the bean.
    Hope this helps
    Edited by: hereps on Aug 21, 2010 7:18 AM

  • Error :Value of restricted LOV parameter not among the selectable values

    Hi,
    I am designing a report which has two layouts. I have a parameter :P_Reason_code which is applicable to only one layout.
    There is a repeating frame in my first layout which should display only if :P_Reason_code value is 'Y'.
    I have wriiten a format trigger for this repeating frame saying the repating frame should return true if :P_Reason_code value= 'Y'.
    else, it should return false meaning it shouldnt display.
    :P_Reason_code is an optional parameter when i run it at the oracle apps front end.
    The problem that i am facing is that when i run the report for the second layout by not providing value for the parameter :P_Reason_code
    , it errors out saying "REP-0788: Warning: The value of restricted LOV parameter P_REASON_CODE is not among the selectable values.'
    I tried creating another user parameter P_REASON_CODE1 and putting a trigger in the After parameter form trigger saying
    if P_REASON_CODE is null then
    P_REASON_CODE1 :='Y';
    P_REASON_CODE := P_REASON_CODE1;
    ELSE
    P_REASON_CODE1 := P_REASON_CODE;
    P_REASON_CODE := P_REASON_CODE;
    END IF;
    But still it doesnt seem to work.
    What could be the issue?
    Can anyone help?

    try setting the default-value for the parameter to Y (or whatever value is in the LoV defined for the parameter).
    Is there a parameterform used for the report. If not remove the LoV from the parameter.

  • Value of an operation parameter depending on the characteristic value

    Hi,
    Is it possible to set the value of the Normal Duration (or any other parameter of the operation) depending on the value of one characteristic?
    For example: The value of my characteristic A is 2, so I want to set Normal Duration = 10*(Value_of_A) = 20 for the first operation of the standard network. Is it possible in standard SAP???
    Thanks in advance,
    Luis.

    Your question is quite clear, Please go this links may be helpful.
    Tcode realted to variant configuration
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/bc/f48e3823f46f51e10000009b38f842/frameset.htm
    Help materal  related to variant configuration
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/92/58c3fc417011d189ec0000e81ddfac/frameset.htm
    Regards
    Nitin
    Edited by: Nitin  Patoliya on Dec 3, 2008 9:56 AM

  • Values added into arraylist are override with the last value

    Hi,
    I am running a very simple java program.
    Here is the sample program.
    CustProfAccountFid fid = new CustProfAccountFid();
    for(int i=0;i<cp104Result.size();i++ ){
    Hashtable cp104ht = (Hashtable)cp104Result.get(i);
    fid.setFidSeqNumber((String)cp104ht.get("x"));
    fid.setFidType((String)cp104ht.get("z"));
    fid.setFidName((String)cp104ht.get("c"));
    fid.setFidText((String)cp104ht.get("v"));
    custProfAccountFidList.add(fid);
    Here cp104Result and custProfAccountFidList, both are arraylist.
    I want to get all the values added to the arraylist.But the problem is when loop continues the arraylist values get
    override by the last value.
    As a result i get 5 or 6 same values in the arraylist.
    Please help me out for the solution.
    Thanks in advance.

    for(int i=0;i<cp104Result.size();i++ ){
        CustProfAccountFid fid = new CustProfAccountFid();
        Hashtable cp104ht = (Hashtable)cp104Result.get(i);
        fid.setFidSeqNumber((String)cp104ht.get("x"));
        fid.setFidType((String)cp104ht.get("z"));
        fid.setFidName((String)cp104ht.get("c"));
        fid.setFidText((String)cp104ht.get("v"));
        custProfAccountFidList.add(fid);
    }

  • Vector did not retrun the correct values.

    in my class the vector use BigDecimal not bigInteger. but my problem now is that my vector retruns the first value stored in vector until the loop completed.
    the following is print statment while I add to the vector:
    while (rs.next())
         CustNum=rs.getBigDecimal("CustNum");
         CType = rs.getString("TYPE");
         row.addElement(CustNum);
         row.addElement(CType);
         ret.addElement(row);
         System.out.println(CustNum);
    ***********1119
    ***********2220
    ***********3331
    but in my JSP:
    Vector v = new getNumber().getCustNumber();
    Iterator i = v.iterator();
    while (i.hasNext()) {
    Vector row = (Vector)i.next();
    Object CustNum = row.get(0);
    Object name = row.get(1);
    system.out.println(CustNum);
    that retrun the wrong result:
    ***********1119
    ***********1119
    ***********1119

    As warnerja said, you apparently only have multiple references to the same 'row' in your 'ret' Vector.
    If your code in your post is exactly your actual code, then you are adding the same Vector to 'ret' multiple times. That Vector will have two values (CustNum and CType) for each row.
    So, your 'ret' will have three elements, each with six elements (I separated the elements with commas):
    ret.get(0):   ******1119, Type1, ******2220, Type2, ******3331, Type1
    ret.get(1):   ******1119, Type1, ******2220, Type2, ******3331, Type1
    ret.get(2):   ******1119, Type1, ******2220, Type2, ******3331, Type1Each element of 'ret' is identical--you have three copies of the same Vector.
    In your loop to populate 'ret', initialize 'row' to a new Vector at the beginning of each loop iteration. Also, you may want to try using ArrayList instead of Vector. You probably don't need the synchronization that Vector gives. Even if you do need synchronization, use Collections.synchronizedList(new ArrayList()).

Maybe you are looking for