How to find the ascii value in abap

Hi everyone,
i  want to get to ascii value of a given character. so wanted to know whether is it possbile to get ascii value of a character in ABAP  or not ?
if yes let us know the way to find it ...
thank you.

Hi,
Please go through this link below:
http://www.sap-img.com/abap/how-can-i-get-ascii-value-of-any-letter.htm
You can also try using FM's:
CHAR_INT_CONVERSION,
CHAR_HEX_CONVERSION
Hope it helps
Regards
Mansi

Similar Messages

  • How to find the ASCII value of '  ?

    how to find the ASCII value of ' using ASCII Function in SQL??
    while i am trying this using syntax ASCII(''') the query is terminating at the second one

    Lokanath Giri wrote:
    For your validation check this link
    http://www.techonthenet.com/ascii/chart.php
    Please don't just refer people to other non-oracle websites when the answer is so simple to give here as others have already done.

  • How to find the ASCII value for an alphabet.

    How to find the ASCII value for an alphabet.

    How can I get Ascii value of any letter
    How can I get Ascii value of any letter.  Is there any function?
    This is how you do it : 
    report demtest.
    data : c.
    field-symbols : <n> type x.
    data : rn type i.
    c = 'A'.
    assign c to <n> casting.
    move <n> to rn.
    write rn.
    This will convert 'A' to 65.
    Tom Demuyt
    How to convert ascii value to character.
    If I give input as 65 (ascill value) I want display 'A'.
    Below logic is for convert from character to ascii value , now I want to know how to convert ascii value to character.
    Naveen
    report demtest.
    *going from A to 65
    data : c value 'A'.
    field-symbols : <n> type x.
    data : rn type i.
    assign c to <n> casting.
    move <n> to rn.
    write rn.
    *going from 66 to B
    data : i type i value 66.
    data : x type x.
    field-symbols : <fc> type c.
    move i to x.
    assign x to <fc> casting type c.
    move <fc> to c.
    write c.

  • How to find the nearlest value in 1-D array ?

    Hi.. everybody..
    I need to seperate the raw data(1-D) into 2 group of array by the center value and then make the average value in each array. But I also still have the problem about if the center value is not the same of some value in the 1-D array. I cannot use the split function.
    "How to find the nearlest value to the center point that I calculated, in the 1-D array ?"
    Thanks a lot for anybody help

    In a general sense, since I'm not sure what your data values are or how far away your calculated center is from the true value, I would do it one of two ways:
    1) Use a threshold value and scan the array until the threshold is reached (assumes constantly increasing values in the array).
    2) Use either a) round to nearest integer b) round to + Infinity (round up) or c) round to - infinity (round down). If you don't have decimal values, you'll have to devide the values by a power of 10.
    2006 Ultimate LabVIEW G-eek.

  • How to find the FND_PROFILE.VALUE(ORG_ID) in custom apex schema

    Hi,
    How to find the FND_PROFILE.VALUE('ORG_ID') from dual in custom schema......
    Actually I have integrated Apex 4.2 version with EBS r12
    select FND_PROFILE.VALUE('ORG_ID') from dual ; in apps schema I m getting 198 value
    but the same query(select  apps.FND_PROFILE.VALUE('ORG_ID') from dual ) in custom schema (XXCVBB) returning null value..
    Is there  any pre steps I have to do...
    kindly provide the useful inputs to retrieve the profile value..........
    Regards,
    Pavan

    Hi,
    fnd_profile.value('ORG_ID'); will fetch you value only if there is a organization assigned to any application [or only if its  a single Org], being it custom application you should have used set policy context or mo_global.init to populate the global temporary table which will hold all the Org's which that specific user has access too.
    in your custom code use MO_GLOBAL.SET_POLICY_CONTEXT('S','ORG ID WHICH YOU NEED TO SET');
    after setting the policy context, you should be able to see value from fnd_profile.value('ORG_ID');
    Hope this Helps!!
    MO_GLOBAL.SET_POLICY_CONTEXT
    This procedure has two parameters
    p_access_mode
    Pass a value "S" in case you want your current session to work against Single ORG_ID
    Pass a value of "M" in case you want your current session to work against multiple ORG_ID's
    p_org_id
    Only applicable if p_access_mode is passed value of "S"
    MO_GLOBAL.INIT
    Purpose of mo_global.init :-
    It will check if new Multi Org Security Profile is set, to decide if new Security Profile method will be used.
    If the new MO security profile is set, then mo_global.init inserts one record, for each Organization in Org Hierarchy, in table mo_glob_org_access_tmp
    Regards,
    Yuvaraj

  • How to find as ascii value for a string or char in unicode system?

    Hello,
    How to find an ascii value for a string or char in unicode system?
    Thanks in Advance

    hi ,
    report demtest.
    data : c.
    field-symbols : <n> type x.
    data : rn type i.
    c = 'A'.
    assign c to <n> casting.
    move <n> to rn.
    write rn.
    This will convert 'A' to 65.
    Tom Demuyt
    How to convert ascii value to character.
    If I give input as 65 (ascill value) I want display 'A'.
    Below logic is for convert from character to ascii value , now I want to know how to convert ascii value to character.
    Naveen
    report demtest.
    *going from A to 65
    data : c value 'A'.
    field-symbols : <n> type x.
    data : rn type i.
    assign c to <n> casting.
    move <n> to rn.
    write rn.
    *going from 66 to B
    data : i type i value 66.
    data : x type x.
    field-symbols : <fc> type c.
    move i to x.
    assign x to <fc> casting type c.
    move <fc> to c.
    write c.
    regards,
    venkat.

  • How to find the RGB Values of a Color for Hyperion

    When customizing your Hyperion forms, we come across situations where we need the exact RGB value of a given color. This article explains a simple technique to find the RGB values using MS Paint and the Calculator applications that come as standard applications with your operating system.
    Here are the steps to find the exact RGB value of a given color.
    1) View your Hyperion form using IE, scroll down until you see the color you want to find the RGB value and press the "Print Screen" button (in your keyboard).
    2) Open MS Paint and click Edit -> Paste or simply Ctrl+V. What you saw in the browser will be copied as a new untitled image.
    3) Select the Color Picker tool and click on an area that has the color you want to match.
    4) Now go to Edit Colors... option and click on the "Define Custom Colors >>" button. The color you picked will be selected on this palette. At the bottom right hand corner you will see the Red, Green and Blue values you need. Note down the R,G,B values (given in decimal).
    5) Now we need to find out the hexa-decimal values that correspond to those decimal values. This is where we use the simple Calculator. Open the Calculator application from Program -> Accessories. Switch to the scientific mode by clicking View ->Scientific.
    6) By default it will be in the decimal number mode. Enter the R value (238 in this example) and click on the Hex radio button. The corresponding hexa-decimal value (EE in this case) will be shown in the dial.
    The selected color in this case has the same value for R, G and B. (In fact, all shades of gray has the same values for R, G and B.) Therefore, the RGB value of the background color that we need is #eeeeee. Repeat step 6 to find out the hex value for the Green and Blue elements, if they are different.
    Tip:
    If you find it difficult to pick a color, zoom the image by pressing Ctrl+PageDown or using View -> Zoom -> Custom... option.

    These tips are to find the RGB color of HFM default row where row is text and text lines in data columns are also visible to business users as Yellow as an input cell. By applying the same RGB color you can apply the same color to your data cells or rows. This post shows how to identify color from any web view-able object.
    Regards,
    Manaf

  • How to find the inserted values in alv

    Hello All,
    How to find the inserted and deleted values in ALV.
    Regards,
    lisa.

    Hi,
    copy the output table before calling set_table_for_first_display and refresh_display
    then in your event call
    CLASS lcl_alv_handler_1100 DEFINITION.                        
      PUBLIC SECTION.
        METHODS:
          handle_data_changed                                      
             FOR EVENT data_changed OF cl_gui_alv_grid
                 IMPORTING er_data_changed,
    ENDCLASS.  
    after this here you can find modified new output table
    then compare the new output table with older one
    aRs

  • How to get the ascii value of characters and numbers

    Hi,
    Can someone please tell me weater there is an inbuild function in java to get the ascii values....Suppose I want to know the ascii value of a which is 63...then how do i do it...Like if it is c or c++ we can use "toascii" function...
    Please help me with an answer...
    Thanks
    Rahul

    Thanks....This solves my problem at present as I have to do validations using ascii values.
    regards
    rahul

  • How to find the maximum value among four fields in a single record

    Hi Gems...
    I have a record in which there are 4 currency fields.
    Now i would like to know the maximum of these 4 fields.
    I tried with Max functions in which i put all the 4 values...but it is showing error like ") is missing" though it is there.
    Can we insert more than 2 values in Max function?
    Or else is there any other option to find the max value among the 4 values which lies in a single record
    Thanks
    Jiten

    Hi Anil,
    Say suppose i have a single record in which 4 premiums of a particular bond exists.
    for eg:
    Prem1      Prem2        Prem3          Prem4
    129000.00      388000.00   228000.00   14800.00
    Now this is a single record for a particular bond ... now i need to calculate the max value among these 4 premiums.
    How would we proceed to achieve this?
    Regards
    Jiten
    Edited by: Jitendra Yuddandi on Feb 3, 2009 1:04 PM

  • How to find the PREVIOUS value of a non-DB item?

    I want to do a simple thing but found it impossible.
    I want to find the previous value of a non-DB item in a form.
    I tried creating a text item and populating it using PRE-TEXT-ITEM but that does not work.
    WHEN-VALIDATE-ITEM does not work either because WVI fires only after item value has changed.
    Any suggestions will be greatly appreciated.
    Edited by: Channa on Apr 2, 2010 4:34 AM

    Channa wrote:
    I want to do a simple thing but found it impossible.
    I want to find the previous value of a non-DB item in a form.
    I tried creating a text item and populating it using PRE-TEXT-ITEM but that does not work.
    WHEN-VALIDATE-ITEM does not work either because WVI fires only after item value has changed.
    Any suggestions will be greatly appreciated.
    Edited by: Channa on Apr 2, 2010 4:34 AMPlease make it clear what is your requirement then possibly we can provide you a better answer
    You can use Global variables for to store old values also on Post-query populate a value in separate field or Parameter

  • How to round the fractional values in Abap webdynpro?

    Hi Experts,
    I have designed a screen in which I have a field called ANZHL(which is numberic field of infotype14) It is a fractional digits which needs to be rounded when it comes to display in my webdynpro application?
    Here is my code .........
    How to round the ANZHL field ?
    **if start and end dates are changed then delete the old and insert the new else just mmodify the record
        if ws_0014_temp-begda ne ws_edit-begda or ws_0014_temp-endda ne ws_edit-endda.
          call function 'HR_INFOTYPE_OPERATION'
            exporting
              infty         = '0014'
              number        = wd_this->w_pernr
              subtype       = ws_0014_temp-subty
              objectid      = ws_0014_temp-objps
              lockindicator = ws_0014_temp-sprps
              validityend   = ws_0014_temp-endda
              validitybegin = ws_0014_temp-begda
              recordnumber  = ws_0014_temp-seqnr
              record        = ws_0014_temp
              operation     = 'DEL'
              nocommit      = 'X'
            importing
              return        = w_bapireturn.
          " key                    = w_bapireturn.
          if w_bapireturn-type ca 'EA'.
            r_bapireturn = w_bapireturn.
            return.
          endif.
          ws_0014 = ws_0014_temp.
          ws_0014-endda = ws_edit-endda.
          ws_0014-begda = ws_edit-begda.
          ws_0014-anzhl = ws_edit-anzhl.
                      call function 'HR_INFOTYPE_OPERATION'
            exporting
              infty         = '0014'
              number        = wd_this->w_pernr
              subtype       = ws_0014-subty
              objectid      = ws_0014-objps
              lockindicator = ws_0014-sprps
              validityend   = ws_0014-endda
              validitybegin = ws_0014-begda
              recordnumber  = ws_0014-seqnr
              record        = ws_0014
              operation     = 'INSS'
              nocommit      = 'X'
            importing
              return        = w_bapireturn.
          " key                    = w_bapireturn.
          if w_bapireturn-type ca 'EA'.
            r_bapireturn = w_bapireturn.
            return.
          endif.
        else.
          ws_0014 = ws_0014_temp.
          ws_0014-anzhl = ws_edit-anzhl.
    Edited by: Dharani us on Oct 8, 2009 10:15 AM

    Hi,
    For that attribute, you want to display the decimal values or what.
    Regards,
    Lekha.

  • How to find the total value of the Production order

    HI ,
    I am developing one report in which , custumer have a req. to show the total value (in Dollar) of all  open production order as well as the past production order ( not DELEvered & teco ) for  the selected plant . for that i need  BAPI or table name .
    Regards
    Satish

    Hi,
    For production order nos. - AUFK or AFKO
    For production order status - JEST & to know the status eg REL etc, refer TJ02
    For costs - COSS & COEP (Pass order nos. to the field OBJNR as OR followed by 12 digit order number)
    Hope the above helps.
    Regards,
    Vivek

  • How to find the Minimum value of a Measure across a Custom Dimension

    I am having Trouble figuring the best approach for the given below scenario.
    I have a measure called Inventory which is basically by Product by Part by Geography across a Time period.
    Part dimension is 3 levels Deep.
    Part
    --Configuration_NAME
    - Part_ID
    the Requirement is to Pick the the Minimum Inventory Values of a product across the Configuration_Name and Store this information in another measure called Inventory_Min.
    here is how the data mock up looks like
    config1 - product1- Inventory - 100 (Period1)
    config2- product1-Inventory-200 (Period1)
    config3-Product1-inventory-400 (Period1)
    now the output expected is
    Config1-Product1-Inventory_MIN - 100(Period1) since for this product across 3 configs, 100 is the minimum inventory.
    I am trying to use @RANGE,@MINS but i am not sure how to tell essbase to go down the Part Dimensions, level 1 members and not across the Period.
    any help or points will be appreciated.
    Thanks,
    Sriram

    Hello,
    what about @MINSRANGE ?
    http://docs.oracle.com/cd/E17236_01/epm.1112/esb_tech_ref/minsrange.html
    Inventory_MIN = @MINSRANGE(SKIPBOTH, "Inventory" , @LIST("config1","config2","config3"))
    should give the result,
    if you FIX @RELATIVE("Part",-1) to grab level 1 members.
    and you can extend expression something like
    Inventory_MIN = @MINSRANGE(SKIPBOTH, Inventory , @CHILDREN(@CURRMBR("Part")))
    Hope it helps,
    Ahmet

  • How to find the memory values while debugging

    Hi Friends,
    In an ABAP program I have exported some values to a memory id. in debug mode where can i see these values. Could any one tell me....Helpful answers would be highly rewarded..!!
    regards,
    Ramineni.

    Hi
    In debugger you need to put the memory Id name and you will be able to see values where you export them.
    regards
    Aditya

Maybe you are looking for

  • Is there a way to create a cd or dvd of photos that can be "played" on a regular dvd player?

    I have a lot of pictures that I'd like to burn to a cd or dvd that can be "played" or "viewed" on a tv via dvd/blueray unit.  Can this be done?  If so, how?

  • Can receive, not send using Mail

    I haven't been able to send emails from Mail on my iMac (Mac OS X) since Feb. 5. I can receive, but I can only send them remotely. I haven't changed anything in my settings, signature...etc. All of the updates have been performed. The strange part is

  • Re-installing mac os x

    hi i am new to mac and i have just bought a macbook pro and a macbook. i am giving my macbook pro to my brother however it still has all my stuff on it. how can i get the computer back to the way i first got it. do i just put in the install disks and

  • My code is getting changed

    Hi - I use dreamweaver to write my code. Lately I've been tweaking some wordpress templates within dreamweaver. The templates are breaking and the solution is to use a different editor. The issue is, I like Dreamweaver and would like to use it. What

  • OBIA 7963 - HR Analytics - Customization Question

    **Issue Description:** : OOTB Headcount calculations should exclude group of people who are called as non executive directors (NED). There are no indicators/ Flag in the source system to identify who is NED in a particular point in time. There are so