How to identify there is no translation value in Value Mapping

Hi ,
  I am using value mapping to translate one of the fields of data. Whenever the input has a translation value, the output is the translated value. But when there is no translation value for the given input in the runtime cache, the output is the input itself. But my requirement is to either error out or send a blank value as output when it doesnt find a corresponding translation value for the given input.
Example:(A,1)(B,2)(C,3) are the values present in the value mapping runtime cache. When the message looks for value mapping for A , as expected it gives an output of 1. Similarly for B and C.
But if the input is "Z", the output is "Z" since there is no lookpu value fo r"Z",which is an anamoly.
Please let me know if you had a prioir experience on this issue and a solution to this.
Thanks,
Valli.

U can call value mapping functionality in UDF. Write a UDF with VM parameters.... Validate in the Source Value( U can also raise exception in the UDF).
Here is the link...
[http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/value/api/XIVMService.html|http://help.sap.com/javadocs/NW04/current/pi/com/sap/aii/mapping/value/api/XIVMService.html]

Similar Messages

  • SD PRICING: How to identify the last call of a Condition Value Formula

    Hello  Experts.
    I'm working on a condition value formula, and because a Group Condition, I need to do a calculation in the last call of the formula. The formula is called 5 times and I couldn't identify any flag to diferentiate the last 3 calls.
    I could use a counter in a static variable per position, but I think there must be another way to identify the last call.
    Thanks in advance and best regards
    Matías

    Hi,
    Define a counter say w_ii type I in your routine.
    Whenever you enter the routine  use 'IMPORT' to get the last value of w_ii. If sy-subrc ne 0 its first time so increment the counter w_ii = w_ii + 1 & 'EXPORT' it. If sy-subrc = 0 check the value of w_ii to decide if it's the last time.If yes do whatever you want to do
    else increment w_ii i.e. w_ii = w_ii + 1 & 'EXPORT' it which in turn will be used during next 'IMPORT'.
    I hope this helps,
    Regards
    Raju chitale

  • Using javascript in PDF how to identify insatnces of field on all pages

    Hi,
    I am creating a PDF document with report kind strcuture,so that if i have a field in 1 Page (Header section ) then the field will also be there on Page 2 (Header section ) and so on for all pages.
    I am basically creating from a tool.So if i have text field on Page 1 with name 'text1' then on Page 2 it has a name say 'text1_osi21' kind.
    What i need is how to identify or get all the occurences of my desired field on all pages.
    I also tried with getField('text1.0') kind but it wont work since for the second,thrid ... instances of the field its appending a value 'osi#'.
    Also tried using 'rect' properties but we cant gurantee about the position of the desired field to remain same on all pages.
    Please help with any clue
    Thanks & Regards
    nitin

    I can do it with the word  template builderbut not with the layout editor. Is there a way to achieve the same result with the bi layout editor?

  • How to identify multiple checkbox selected in JSF

    Hi All,
    My scenorio is.
    I am diplaying records on page using <h:dataTable>
    I have one column in dataTable which contains checkboxes which I displayed as,
    <h:selectBooleanCheckbox id="abc" />
    Also I have button on page.
    I want to select 2 check boxes & then click onto button then that 2 records should get deleted.
    how to identify that 2 checkbox selected ?
    can anybody help ?
    Thanks
    Sandip

    Hi BalusC
    Thanks for your reply.
    Is there any other approach to do this ?
    because as per your approach my code will not work because you are using seperate bean.
    If i try to compare your code with my code then I have to do changes in my entity bean which is not possible.
    So is there any other way ,
    If I want select more than 1 checkbox & delete those records of selected checkboxes .
    i.e. I want to find which checkboxes selected on JSP page sothat I will get those selected value on Java side & will delete that record from java side.
    Please help.
    I am not finding any solution to this.
    If any code then it will be a great help for me.
    Thanks
    Sandip

  • How to identify the change in the field of a screen

    Hello,
    In a program , i have a screen 100 with some PBO logic and PAI. sample of PAI code
    chain:
    structure-A,
    structure-*,
    module check_mandatory_fields
    module return: ( this will set screen to 0 and then leave statement)
    endchain
    in one of the subroutines we have
    if sy-batch is initial
    call screen 102.
    else
    endif.
    perform ...
    perform ...
    The issue is for some records the processing goes to the PAI of the screen and then returns to the calling program correctly, However few cases it never enters the PAI, there by goes to the main routine which calls this FM.
    Questions
    1. How do I identify there is a change in the structure-A or Structure-B values. Beacuse if check the values are the same.
    2. How do i force it to always enter the PAI irrespective of the change.
    Thanks and regards,
    Shylaja

    Hello Siva,
    Thanks for the reply.
    Currently the issue there is no change in any of the fields. I think thsi is the reason why the PAI is not called. Only in the PAI we have set screen to 0 and leave.
    Without any change in the screen elements how do i force it to enter the PAI
    or
    when i call a screen statement as Call 102, how do i ensure that it returns to the call routine back irrespective of the PAI being executed.
    thanks and regards,
    Shylaja

  • How to identify toll free numbers in CUCM

    Hi 
    I am new to this Cisco VOIP system.
    My Company has many toll free numbers. I need to know where can I find the toll free number details. I had a request today to alter few settings in them. But I dont know what to do and where to do. 
    Eg : 800326xxxx is the number. Request is - When people call in, they have to press 1 for billing and 2 for sales and 3 for enquiry and 4 for voice mail. 
    How do I go for it. Where should I start. 
    Again As I am new, I really appreciate if someone could explain how to identify these toll free numbers in this cisco system and help me in this request with simple steps and simple english. THanks.
    Deva

    Usually the toll free number resides at the service provider and they just translate that number into one of your DIDs.   You can either look through documentation or call the service provider to ask which 1800 numbers map to which DIDs.   From there it sounds like you'll need to investigate call handlers in your voicemail system correlated to that DID.

  • How to identify the trailing spaces in a column

    Hi,
    How to identify the trailing spaces in a column.
    for ex: empno char(5) and i enter 333 then there will be 2 spaces remaining. How to identify that two spaces

    One method...
    ME_XE?create table test1 (some_char char(5));
    Table created.
    Elapsed: 00:00:00.11
    ME_XE?
    ME_XE?insert into test1 values ('HI');
    1 row created.
    Elapsed: 00:00:00.07
    ME_XE?insert into test1 values ('HI HO');
    1 row created.
    Elapsed: 00:00:00.07
    ME_XE?select * from test1 where trim(some_char) <> some_char;
    SOME_CHAR
    HI
    1 row selected.
    Elapsed: 00:00:00.14
    [pre]                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to identify/remove kexts labeled as kernel_task that consume too much resources

    Hi all,
    I am using Mac Os X 10.6, on a 2010 macbook pro 17" with latest updates as of 09 05 2011
    I am using memory intensive applications for scientific purposes, and I am quite unhappy with one kernel extension that consumes more than 600 mb of real memory.
    It is most probably a driver,
    but I do not know how to identify which driver it is, and how to remove it.
    does Mac Os provide anything like modprobe modtools etc? Or even anything that resembles windows device driver managment in XP is welcome. 
    Best,
    OBM

    Sorry, the activity monitor and top are bit too vague for the problem at hand.
    This kernel_task, is a container for all the kernel extensions, right?
    It is strange, the amount of memory reported by kextstat does not match with this value,
    only if all 147 of them was using 4 mb of memory (as I've told, those are the only 2 6 digit numbers, most of them
    are 4 digit numbers, so it is impossible) I would have a figure close to it.
    So do you mean there is something I can not see that consumes this memory?
    These are the internal kexts which are "internal" and size information is not available, can it be a virus or something?
        1   86 0          0          0          com.apple.kpi.bsd (10.7.0)
        2    4 0          0          0          com.apple.kpi.dsep (10.7.0)
        3  112 0          0          0          com.apple.kpi.iokit (10.7.0)
        4  118 0          0          0          com.apple.kpi.libkern (10.7.0)
        5  101 0          0          0          com.apple.kpi.mach (10.7.0)
        6   33 0          0          0          com.apple.kpi.private (10.7.0)
        7   55 0          0          0          com.apple.kpi.unsupported (10.7.0)
        8    0 0          0          0          com.apple.kernel.6.0 (7.9.9)
        9    0 0          0          0          com.apple.kernel.bsd (7.9.9)
       10    0 0          0          0          com.apple.kernel.iokit (7.9.9)
       11    0 0          0          0          com.apple.kernel.libkern (7.9.9)
       12    0 0          0          0          com.apple.kernel.mach (7.9.9)
    For the sake of completeness, this is the output from top:
    0-     kernel_task  2.7  05:00:25 77/4 0    2    1667+ 38M+   0B     586M+  97M+   3113M+ 0     0     running  0    1788588    344    2004230579+ 1935476674+ 0          0           1062169040+

  • How to identify manual journal entries

    Hello,
    In the GL tables, GL headers and GL Lines, how can we identify if a journal entry is an automated entry or a manual entry.
    That is, entries can be made into the General ledger through Interface programs or other import methods. We describe them as Automated.
    And if journal entries are made directly into the GL, how to identify them against the automated ones.
    I need to know from a backend perspective, i.e which column in which GL table specifies if an entry is a manual or an automated journal entry.
    For Ex: In the GL_JE_Headers table, the JE_Source and the JE_Category mentions from where the source is.
    Like, JE_Source is Payables and Je_Category can be Purchase Invoices or Payments.
    Looking at the above line, we can identify that this is an automated entry from Payables.
    How to identify the manual entries.
    Your help is greatly appreciated.
    Thank you
    Bob

    Hi Bob,
    In the GL_JE_HEADERS table, column JE_SOURCE would have value as "MANUAL", this indicates that journal is created manually in General Ledger module and not imported from subledgers ....There is no indicative column for us to identify whether it is Automatic or Manual .... values such as MANUAL and RECURRING indicates entries that were created directly in General Ledger Module...
    Also in the GL_JE_LINES table, for GL_SL_LINK_ID and GL_SL_LINK_TABLE coumns, the column values would be NULL/Blank, since these columns normally contains reference to the base transaction in the subledger ....for a manual transaction there wont be a reference to subledger, hence they would remain as blank ..
    Regards,
    Ivruksha

  • How to Identify Delta Field in DS

    Hi Gurus,
      1. My understanding is if a field in datasource(DS) is
      set as Delta, whenever that field value changes in DS
      then the delta process will initialize. (please correct
      me if i am wrong) Do we need to replicate everytime
      the field value is changed so that the value is updated
      in the data target, if so is there a process to
      automate it...  
      2. Can someone tell me how to identify Delta Field in a
      DS for example in 0FI_AP_4. i tried to search for it in
      help.sap.com but all i could find is that 0FI_AP_4 is
      delta capable but couldn't find which field is set to
      delta...
    Thanks,
    SM

    Sri Mal,
       1. Yes, there should be one field enabled enabled for delta.
       2. no need to replicate every time when ever data changes. we need to replicate when DS changed. i mean not business data, if meta data changes we need to replicate the DS. let us assume you made one field for selection and one field as hide. then  you need to replicate this.
      3. OFI_AP_4 is standard DS. you can't enable delta for this one if SAP didn't provide that. we need to active data for this. in the SAP Documentation you can see whether it is delta capable or not.
    comming to 0FI_AP_4, IT IS DELTA CAPLABLE.
    Hope this helps.
    All the best.
    Regards,
    Nagesh Ganisetti.

  • Why Tran.Request is not generated in some cases?How to identify such case ?

    Hello Support,
    In some cases
    Eg;
    1. Defining number ranges we normally do not create a Transport Request.
    2. Maintaining characteristics values for each characteristic incase of Release Strategy
    Is there any method by which we can find out the areas where we are not required to create Transport Request? If Yes , please let me know the steps involved in identifying the same .
    Also let me know what do you mean by open Client . Thanks in advance.
    Regards
    Ramesh Ch

    Hi Juergen ,
    Is there any method by which we can find out the areas where we are not required to create Transport Request? ( How to identify the areas where Transport request is not generated ) .
    If Yes , please let me know the steps involved in identifying the same .
    Also let me know what do you mean by open Client . Thanks in advance.
    Regards
    Ramesh Ch

  • How to create surrogate key in dimension without unique value

    Hi, I have a dimension where there is no column with unique value. I want to add a surrogate key to replace the existing primary key which is derived from concatenating 3 columns(e.g. 'A'||'B'||'C'). I'm thinking of using sequence. But this won't allow me to link the dimension to fact table. How do I come up with surrogate key under this situation? Thanks. ~Tracy

    I'm actually trying to accomplish something similar myself.
    In my sources I've got two sorts of customers, ones that are directly reported, and ones whose information is provided with sales records (this is stored in module ODS).
    Of course identification is different, but in the datamart (module DWH) I'm sort of forced to use an equivalent way of loading (due to the way it first used to work). To accelerate lookups on dimensions, I copy the ODS surrogate key to DWH dimensions, but this does not work for the 'inbuilt' customers because they do not have a surrogate key in the ODS.
    They DO have means of unique identification, and at first I thought I could concatenate these (also 3) columns to use as identification code. Unfortunately this is VARCHAR2, where the surrogate key is (naturally) NUMBER.
    So now it looks like I'm forced to first build a table in ODS especially for these 'inbuilt' customers and assign a surrogate key (by sequence) to it, this way it conforms to how 'normal' customers are loaded into DWH.
    I guess you'll have to pull of the same trick, i.e. create a table with either only the 'translation' of D-code to a surrogate key or all information that is fed into the dimension, which then can be used as a lookup or as complete source when loading data into your datamart.
    Good luck, Patrick

  • How to identify the environment (database) Apex is running on?

    Hi
    We are going to have 3 environments here: Development, Test and Production (separate databases/servers for each one). As usual, the development process will move applications from Dev -> Test -> Prod.
    On my Apex 3 applications, I would like to visually identify, in some way, to which environment I am currently connected. For instance, displaying the name of the environment on the page header.
    My problem is how to identify what environment Apex is running on. Is there any Apex instance-level property where I can set a string and display it in my applications? Or something like that?
    What is the best way to achieve this? Any suggestions welcome.
    Thanks,
    Luis

    Luis,
    another option is to check the http environment to get this information.
    This is what we use in one of our applications:
       FUNCTION get_environment
          RETURN VARCHAR2
       IS
       BEGIN
          IF LOWER (OWA_UTIL.get_cgi_env ('SERVER_NAME')) IN
                          ('development.opal-consulting.de')
          THEN
             RETURN c_development;
          ELSIF LOWER (OWA_UTIL.get_cgi_env ('SERVER_NAME')) =
                                                       'test.opal-consulting.de'
          THEN
             RETURN c_test;
          ELSE
             RETURN c_production;
          END IF;
       END;Unfortunately, this doesn't work with Oracle XE, thus you might be better off checking the value of: OWA_UTIL.get_cgi_env ('HTTP_HOST')
    Anyway, I would also rather suggest using the table based approach, I use it in most applications now. This way you are more flexible. You can simulate all different settings in the same schema. Also, you can install development and test in the same database.
    Regards,
    ~Dietmar.

  • How to identify the missing reecords once load was performed

    hi experts
    if  load was performed and we found some missing records are there how to identify them and how to populate them again. if the records are only few we can manually find them and selecting and info package level in data selection we can send them but if they are millions of records how to identify them and how to solve this kind of issue.
    is there any solution for this apart from data reconsillation
    thanks in advance

    Hi,
    Generally who is accessing the reports(End users) , those only can findout that if any data is missing in the data load and showing any wrong data.
    They will know and compare the data in R/3 inform to BW team , what they got wrong data insted of Original data.
    According to that we need to Analyse the data flow BW >>> R/3 -( Top to bottom we need to check all the data targets by giving the missing values)
    To see the contents we use the T.code is : LISTCUBE ( Here you can see the content and request IDs and source) , according to the we need to analys and find , whether problem is occured
    LIST CUBE : To see the contents of data targets in BW side
    In the below cases data will show wrong in the reports
    1. If the data was not loaded into BW side.
    2. Even if the data is loaded into BW side, Some times Due to the incorrect rotines/update rules the data might be showing wrong in the reports.
    3. If any issue with varibles/ C.KF's/ R.K.Fs used in the reports, the data will show wrong due wrong calculation.
    4. if any wrong selection in the varibles also will show Wrong data.
    So, we need to analys all these things and compare with R/3 data,
    First we need to check the data in BW Intial load data target by comparing the R/3 data source with extract checker (RSA3)
    RSA3 : Extract checker in R/3 side
    in some cases, you need to check the data base tables if the datasource is Generic
    RSO2 (T.code) - To display Generic data source and findout the tables.
    After Analysis, if you find out that if any data is missing from the source system , you need to run Repair Full request, which is not effect previous delta
    Repair full request :
    Go to info package :>> setting as Full insted of delta
    change the setting in menu >> Check mark for repaire full request
    Selection : Give the selection for missing record in the infopackage in selection Tab
    After this you will get the as per your selections, without distrubing your delta load >> next you can run your delta load as usal
    I hope it may help you to analys the issue.
    Regards.
    Rambabu
    Edited by: Rambabu velanati on Mar 24, 2011 12:32 PM

  • How to identify whether a TCode is for SAP query or for a customized TCode

    Hi,
    We have a list of TCodes starting with Y_*
    Some of these TCodes could be related to SAP Queries and some could be real custom transactions. How do I find out which one of those are related to SAP queries and which ones are related to custom SAP transactions?
    I have already checked table TSTC for the program names of these Transactions, but the program name field (PGMNA) is blank. Also in TCode SE93 the transaction mentioned is START_REPORT. Also for some, when I go to the transaction (Y_*) and then environment->status to check the program name the values found are something like AQ11FI==========F10A==========.
    Please help on how to identify whether a TCode is actually for an SAP query or for a customized transaction.
    Thanks in advance.
    Mick

    Thanks Anil.
    In TSTC, the filed for program name is blank. Therefore I would have to go to each and every transaction (I  have around 250 Y_* TCodes with me) and then to environment->status to get the program name and then check whether it is A......
    Is there any easier way to know whether a TCode refers to an SAP query or a custom developed transactions/program.
    Mick

Maybe you are looking for

  • 7.3.1 album art issue is fixed

    I just converted lossless files to AIFF and back again. The album art stayed connected the whole way. This is fixed behavior from 7.3. Thank you Apple.

  • Using Iphone 4S as an Ipod in car

    In my car I have a USB connector that I use to connect to my Iphone 4S.  This both charges the phone which is great but more importantly it allows me to use the cars In Car Entertainment system to go through my music.  I also connect the phone to the

  • Saved gradient settings in PS CS6 64 bit go missing. . .

    I'm working on Sepia Toning some images. I have several base starting settings that I need to choose from then modify. One of the tools I'm using is a Gradient Map layer and I use Photoshop CS6 Extended. After saving them, my gradient settings in PS

  • Does anyone know where i can enquire quotes for a charitable organisation ?

    I had intially sent an email to [email protected] two weeks ago however they havent got back to me. I was wondering is there any other contact address i could enquire prices from ? One where i could get a quick reply as we are looking for IT equipmen

  • Output video too big: 42 MB/min

    Hi everyone. I'm a beginner with Premiere Pro, and I'm struggling on reasonably reducing the size of my export video and maintaining quality. I've tried H.264, FLV, WMP and Quicktime (see attached image). The source video is quite simple (see attache