How to fetch Quartile and Comp Ratio columns

Hello all
How to fetch Quartile and Comp Ratio columns which are present in Enter and maintain -> Assignment screen -> Salary screen.Are they direct columns from any table or calculation columns.
Someone please suggest me how to fetch those columns
Thanks in advance

Can anyone help me in writing a procedure/dynamic SQL to fetch the column where the junk values appears and its value. Eg: If emp table contains ID and Name columns, and ID column contains junk values, the result should be the Id column and the junk value/s. It should be dynamic because next time if the other column contains junk values(like $,%...), the query should display the other column too..1. define "junk" values.
2. usually it does not matter what values are in ID, because it is used internally by application, to maintain uniqueness or relations, not having any semantical meaning. End users usually should not see IDs, such IDs are generated automatically. There is no need to cleanse them from "junk" values.
3. If you made a typo, and you are looking for "junk" values in Name column, it is a different story. You can use TRANSLATE to search such values, as already advised, translating all "junk" characters to one "junk" character and searching for the latter.
select id, name from T where translate(name,'?@#$%^<>','~~~~~~~~~') like '%~%';
Edited by: Mark Malakanov (user11181920) on Jan 4, 2013 11:40 AM

Similar Messages

  • How to fetch  old  and  new value  from of a   field(non-key)  from LOGDATA

    Hello SDNers,
    i  m fecthing LOgdata  from  dbtlog table[in  our  case  the  log  is  not  getting  Updated  in CDHDR  and CDPOS table]
    i  m  using  the  same  logic  as  it  is  used  in  RSVTPROT
    but  the  problem  is
    "  IT  is  fetching  OLD  and  NEW VALUE  after  Update from same  field LOGDATA  of  dbtlog  table BUT  when i  used  same  logic  it  is  FEtching  only  OLD  VALUEs,
    CAN  U  GUYS  PLS  TELL  ME  HOW TO FECTH  OLD  VALUE  and  NEW  VALUE  of a PArticular  field(non-key field, fecthing  key  field  is  not an  issue) From LOGDATA  field  of DBTLOG.
    thx  a  lot  in advance
    Regards
    Kuldeep

    Hi,
    May be this link is useful to you.

  • How to fetch print and print preview variables

    hi everyone,
                          my requirement is as soon as sales order created. printout of that sales order will be taken at the same time email should be send to that particular customer.
    the problem is the email is sent as soon as we check the print preview itself.
    but the mail should be sent afte the pressing print button only.
    how to fetch print or print preview by program
    regards
    karthe

    Hi everyone,
    I have tried open form and close form
    The itcpp-tdspoolid eq '0' for both print and print preview.
    I have set the open form
    dialog = 'X'.
    have i got to set anything in open form.
    this is my open form and close form.
    CALL FUNCTION 'OPEN_FORM'
    EXPORTING
    DIALOG = 'X'
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'CLOSE_FORM'
    IMPORTING
    RESULT = itcpp
    IF SY-SUBRC ne 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    else.
    if itcpp-tdimmed eq 'X' and itcpp-TDSPOOLID ne ''.
    endif.
    regards
    karthe

  • How to get datatype and label of columns in a record group

    Hi all,
    I need to create a generic block which displays data of any query. For this, I was thinking at runtime I'll create a recordgroup. For this I was hoping to get the datatypes and label of various columns in the records.
    Please help me in this regard
    Thanks

    Hi everyone,
    Can you please tell me that Is it possible to get the datatype and name of columns of a recordgroup during run-time or not. So that I don't waste my time in searching for this solution. If you are not getting my question then please let me know but I need this help very badly.
    Thanks
    Subodh

  • How to fetch Header and Payload from a MimeMessage

    Hi,
    I have created a MimeMessage using an InputStream 'ins' like this
    MimeMessage mimeMsg = new MimeMessage(Session.getInstance(new Properties(), null), ins);This MimeMessage now looks like as shown below:
    Message-ID: <30289364.1195019945580.JavaMail.rishi@ap00475>Mime-Version: 1.0Content-Type: multipart/related;      boundary="ERCOT-XML-DATA";     Type="Application/X-ERCOT-MARKETS"--ERCOT-XML-DATAContent-Type: Application/XMLContent-Transfer-Encoding: 7bit<.....XML header....>--ERCOT-XML-DATAContent-Type: Application/XMLContent-Transfer-Encoding: 7bit<.....XML payload....>--ERCOT-XML-DATA--How can I get the above message to look like a proper MIME message (as shown below)? I tried using the method parse(), but it doesn't seem to do anything.
    Message-ID: <13665843.1194849042656.JavaMail.rishi@ap00475>
    Mime-Version: 1.0
    Content-Type: multipart/related;
         boundary="ERCOT-XML-DATA";
         Type="Application/X-ERCOT-MARKETS"
    --ERCOT-XML-DATA
    Content-Type: Application/XML
    Content-Transfer-Encoding: 7bit
    <.....XML header....>
    --ERCOT-XML-DATA
    Content-Type: Application/XML
    Content-Transfer-Encoding: 7bit
    <.....XML payload....>
    --ERCOT-XML-DATA--Also, how can I fetch the XML headers and the XML payload from this message? It would be great if you could tell me which methods in particular will be useful for this?
    Thanks,
    Rishi

    Hi bshannon,
    Here is my code. Here I am trying to create an inputstream from a mime message and vice versa. But while creating the Mime message back from the inputstream, it does not give the linebreaks. It looks like one single line of string. Also I am not sure how I can fetch the XML header and payload from this message.
    ByteArrayOutputStream bos = new ByteArrayOutputStream();
              mimeEncodedMsg.writeTo(bos);
              byte[] ba = bos.toByteArray();
              ByteArrayInputStream bin = new ByteArrayInputStream(ba);
              BufferedReader inputReader = new BufferedReader(new InputStreamReader(bin));
              StringBuffer serverResponse = new StringBuffer();
                             while ( inputReader.ready() )
                                  serverResponse.append( inputReader.readLine() );
                             inputReader.close();
    // -----------------MIME conversion to InputStream done----------------------     
              BufferedReader serverReader = new BufferedReader( new StringReader (serverResponse.toString()));
              StringBuffer servResp = new StringBuffer();
                   servResp.append( serverReader.readLine());
              serverReader.close();
              byte[] ba1 = servResp.toString().getBytes();
              ByteArrayInputStream bin1 = new ByteArrayInputStream(ba1);
              MimeMessage mimeDecodeMsg = new MimeMessage(Session.getInstance(new Properties(), null), bin1);
              mimeDecodeMsg.writeTo(new FileOutputStream("C:\\MimeTest2.txt"));Any idea why this is happening?
    Thanks,
    Rishi

  • How to fetch folders and subfolders from sharepoint document library

     I have document library with name . Under "Documents" there are some folders.Under some folders there are some subfolders.
    I need to fetch the folders in to dropdown list. IF I select some folder in dropdownlist,I need to fetch subfolders of that folder to some other dropdownlist.
    How to acheive this

    The below function get the folder name and id of subfolder where items stored folder = item.folder.  Initially it will be null.
    static
    string GetParentFolder(SPListItem itemToFind,
    SPFolder folder) 
    SPQuery query =
    new SPQuery();
    query.Query = "<Where><Eq><FieldRef Name=\"ID\"/><Value Type=\"Integer\">"+ itemToFind.ID +"</Value></Eq></Where>";
    query.Folder = folder;
    query.ViewAttributes = "Scope=\"Recursive\"";
    SPListItemCollection items = itemToFind.ParentList.GetItems(query);
    int intpartentFolderID=0 ;
    if (items.Count > 0)
    foreach (SPListItem item
    in items)
    SPFile f = item.Web.GetFile(item.Url);
    string test11 = f.ParentFolder.Name;
    intpartentFolderID = f.ParentFolder.Item.ID;
    return (intpartentFolderID.ToString());
             return (intpartentFolderID.ToString());    

  • How to Fetch Data into internal table column wise?

    The internal table contains huge set of data. Normally we fetch the data row wise using insert and select statements in work area.
    But, the requirement is on fetching the data column wise for each field from the database.
    So,can anyone help me on this issue for fetching the data column wise?

    Welcome to SDN.
    What you want to do(if I understand correctly) is not possible with the statements available to us.  You could do it, but I think it would be a lot of code and I don't think that its worth it.  Why exactly do you want to do this?
    Regards,
    Rich Heilman

  • How to fetch Positon and Job text for the employee

    Hi all,
    How can I fetch the Postion and Job text from the infotype HRP1001 contains in last fields.
    When I'm picking it takes from the last latest record, but in PA30 picks the next to the latest records some times.
    Please help me in this.
    Thank you!
    Prasad

    Hi,
    You can use standard function:
    With object id got from infotype 1001 (sobid) u can fetch descriptiosn from infotype 1000.
    data: ti_i1000 LIKE p1000 OCCURS 0 WITH HEADER LINE.
    CALL FUNCTION 'RH_READ_INFTY_1000'
          EXPORTING
            plvar            = '01'                   " Version plan usually 01
            otype           = 'C'                     " C = Funcion, S = Position
            objid            = p_objid              " Object ID function or position
            begda          = p_begda
            endda            = p_endda
          TABLES
            i1000            =  ti_i1000        " Inoftype 1000 structure
          EXCEPTIONS
            nothing_found    = 1
            wrong_condition  = 2
            wrong_parameters = 3
            OTHERS           = 4.
    Then you can use field ti_i1000-stext.
    Hope this helps.
    Daniel
    Edited by: Daniel Siñani Cardenas on Jun 30, 2009 11:05 PM

  • How to fetch username and password.

    Hi Guys,
    I have a requirement of calling a secured web service on click of a button, which required the login credentials to invoke it.
    I am able to get username by using security context, but can't fetch the password.
    Please suggest me what should I do to get the password used to login.

    Hi ,
    For getting user name you can use ADContext.getCurrent().getSecurityContext().getUserName().
    But there is no such kind of method available for password. You can follow the below link
    SecurityContext (Oracle Fusion Middleware Java API Reference for Oracle ADF Share)
    Thanks
    Prabhat

  • HT5706 how to get TV and comp working

    trying to get the UTube working on my TV and other things...

    do you experience an issue trying to get youtube working?
    to get youtube working one need a connection to the Internet
    if one connect the appetv by ethernet to a router with allow internet access this is automatic
    if one connect the appletv by wifi to a password protected network one needs to go into the settings
    and apply the wiifi network encryption password
    when there is Internet access to teh appletv there is youtube access and the other Internet services the appletv support

  • Compa Ratio- Calculation logic query

    Everytime I am changing the salary of employee in PS9.2 HCM, I am getting some different Compa-Ratio. Can anyone please explain the logic behind calculation of Compa-Rati0. I have already tried to verify by formula Actual Salary/Sal Mid Point on Grade.

    Hi,
    Thank you very much for your reply.
    I have not yet configured the matrix. But I want to know the fields and tables from which the values are fetching and compa ratio is calculating.
    I believe that compa ratio formula is Compa-ratio = (100/employment level) * (Basic salary or annual salary/midpoint).
    Now what I want to know is how the values for the fields in the formula employment level, Basic salary or annual salary and midpoint will populate while calculating the compa ratio.
    Thanks in advance.
    Regards,
    Srinivas.

  • ECM - Compa Ratio calculation

    Hi ,
    In an Abap program in R/3, how can I calculate the Compa Ratio ? Can I use a standard function module for that ? ECM is doing it for the portal ECM I-view's .
    Thank You .

    Hi Check this FM HR_ECM_CALC_COMPA_RATIO  and SAP provides in the std iviews. Select an Emp while doing the Comp Planning. There you can see your emp Com Ratio eligibilty

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How to fetch year till date value for earning for current ,last and year

    hi,
    how to fetch year till date value for earning for current ,last and year before that from payroll result
    plz reply soon,
    pratyush

    Dear Pratyush,
    Pick this from CRT.
    Use LDB PNPCE & Fire event GET PAYROLL &
    then you can pick from CRT.
    Hope this helps.
    Kindly reward in case useful.
    Regards & Thanks,
    Darshan Mulmule

  • How to fetch post goods issue date and sales order creation date

    Hi All,
    How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
    Please let me know the solution .
    Thanks in advance.

    Hi,
    Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
    after saving ur sales order...when u raise the Delivery using VL01n  w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
    You can the fetch the values using tables-  Use T code   SE12  or SE16
    Vbak-----order header
    Vbap-----order item
    Vbek-----order schedule line
    Likp-----Delivery header
    Lips----Delivery item

Maybe you are looking for

  • How to show an iview based on browser or portal language

    Is it possible to make an iview, page or workset visible for the user depending on the language he has logged on with? If he logs on with English an HTML document iview should be displayed, but if he logs on with the French language another iview sho

  • Textarea problem

    hy, people!here�s my question:I am developing a web application using apache struts.I am using the JSLT tags from struts, including <html:textarea>.But here�s the thing:when I get in the action the content of the textarea inside a string object, it c

  • Sapscript not creating spool

    Hello gurus, is it possible to create a spool, when seeing and printing the sapscript at run-time? I am using FM GET_TEXT_PRINT_PARAMETERS but is not creating any spool. Thanks in advance!

  • Two fried chargers for MacBook Pro in 2.5 years.

    I think it is a design problem Macbook 2 power adaptor.  The cord repeatedly bends in the same place causing it to short.  Is there a recall, or any assistance from Apple on replacing these

  • Cover for 20GB Zen Creative (bla

    Does anyone know where I can get some kind of case of cover for my 20GB creative zen? Amazon only seems to have cases for the micro/vision/sleek models. Any help would be welcome. Cheers, Christina