To find out whether a character is of Single byte or Double bytes

hi,
is there any built-in class to find whether a character is a single byte or double byte. is there any method to do so?? If possible can someone provide a sample code snippet to do a check for single byte and double byte characters.
thanx in advance.....

If you are asking what size the char primitive is, it's 16 bits.
If you want to know the numerical value of a char, you can cast it to an int and compare it to 255 to see if it fits in 1 byte.

Similar Messages

  • How to find out whether USER-EXIT is active or not

    Hello!
    How can I  find out whether USER-EXIT is active or not ?
    I set a break-point at these points and nothing happens
    if I want save my daocument ???
    Why
    PERFORM USEREXIT_SAVE_DOCUMENT.
    PERFORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    Ragards
    Ilhan

    Hi Ilhan
    The easiest way, I guess, is by going to transaction SMOD, sticking in your enhancement name and pressing the test button.
    When placing breakpoints, don't use <b>Breakpoints > Breakpoint at > Statement...</b> and enter
    PERFORM USEREXIT_SAVE_DOCUMENT
    because you won't get any hits since the function module names are stored dynamically.
    Rather use <b>Breakpoints > Breakpoint at > Function Module...</b> and enter
    USEREXIT_SAVE_DOCUMENT
    for a better chance of hitting the breakpoint.
    Cheers
    Lyal
    Message's terrible grammar was edited by:
            Lyal Schumann

  • How to find out whether a particular changed by some user

    Hi gurus,
                I am just trying to figure it out how to find out whether a particular user has changed a particular table or not. In other words table changes history. If any of you know about it please let me know.
    Thankyou
    Jason

    Jason,
      Ajay mentioned changes to Table not for Data. If you are looking for Changes to Table Data... you need to check System Log SM21. check for that perticular period.
    Nagesh Ganisetti.
    Assign points if it helps.

  • How to find out whether the system user is a vendor or a purchaser

    Hi,
    I am working in SRM 5.0. I have a requirement that some fields of Bid invitation can be visible by purchaser but not to bidder.
    How to find out whether the system user (user id though which system logged in) is a vendor or a purchaser. Kindly help me to resolve this issue.
    Sushmita Singh

    check his role.
    is surrogate bidding available for that bidder.
    via surrogate bid , purchaser can submit bid on behalf of the bidder.
    masa is correct
    pposa_bbp - search via user . so he might be  a purchaser.
    maintain business partner -supply your bidder bp number -edit
    go to bidder data .Under bidder data you must flag "PERMIT PROXY BIDDING"
    regards
    Muthu
    br
    muthu

  • Imp:How to find out whether client authentication Enabled on the Web Server

    Hi,
    I am trying to find out whether the Client Authentication Enabled on the Web Server or not.
    Reason for doing this, if we have two certificates in the key store which will authenticate the Web Server, JSSE Authentication will always take the first cert from the keystore. If the first Certificate is Expired, it will fail while doing the HandShake.
    So if I can find out whether Client Authentication is Enabled or not, then I can prompt a dialog for the user to select the Certificate for the Hand Shake.
    Thanks in advance for any Response,
    Krish.

    AUTH_TYPE will tell you only if it SSL or not. It won't say whether the Client Certificates Required for SSL Connection.
    Also, AUTH_TYPE is not part of the Http Headers.
    If there is any other solution, greatly appreciated.
    Thanks
    Krish.

  • How to find out whether a material code in SAP has any transaction history

    Hi Guys,
    I want to find out whether a material code in SAP has any transaction history or not. In other words, I want a list of all those materials, division-wise, which have not been subjected to any sort of transaction in SAP till date , i.e., lying unused.
    Can any of you in help me out regarding this matter ?
    Regards,
    Anirban

    hhi
    go to se16
    table         MBEW  and field LBKUM for total stock
    from here u can conclude for the zero stock material
    or try this
    S_ALR_87012963 - Material Where-Used List
    regards
    kunal

  • How to find out whether a program is running in Hyper-V virtual machine or not?

    If I want to make a program which only running in Hyper-V virtual machine, how can I find out whether
    the program is running in Hyper-V  virtual machine or not?

    https://gallery.technet.microsoft.com/scriptcenter/Determine-if-a-computer-is-cdd20473
    http://social.technet.microsoft.com/wiki/contents/articles/942.hyper-v-how-to-detect-if-a-computer-is-a-vm-using-script.aspx
    http://www.grouppolicy.biz/2014/01/how-to-target-group-policy-to-virtual-computers/
    Mike Crowley | MVP
    My Blog --
    Baseline Technologies

  • Is there a way to find out, whether the student or the full version is currently installed?

    Hi everyone!
    First of all: Merry Christmas!
    A longer text with some background information is following. My question will be at the bottom.
    My computer is a good boy and it didn't disappoint me for quite a while now.
    I had once installed the student version (german) of CS3 extended on this one.
    Then, after having removed the student version some time later when needed, I have re-installed the full version.
    This time, however, it was in english and it wasn't the extended version either.
    After the software has accepted my serial id, I was quite content. It felt much better in english and I was able to use photoshop to the fullest once again.
    Today, I have gotten my hands on the upgrade version to CS5 (again in english and not extended, but that's all I need).
    After the installation guide has told me, that there are no programmes installed which are compatible to the upgrade, I was confused.
    I have realised that my current CS3 version was still the extended one, even though it was in english and it wasn't the student version either (at least, that's what I believe, because there were no "activate"/"deactivate" buttons in the help menu where it used to be in the german student version before).
    So while doing an upgrade to CS5, I had to chose CS3 extended from the list and had to type in the old student's version serial number.
    Nothing else worked, even though I've tried to chose the CS3 version in combination with the other serial number, which belong to the full version both.
    Now to my question:
    Is there a way to find out, whether the student or the full version is currently installed?
    (Other than looking at the box of course, that would be quite trivial. I am worried if the installation guide hasn't removed all components thoroughly.)
    Thanks in advance,
    Happy holidays,
    Jeff

    Thanks for the reply!
    That's what I thought as well. However, that wasn't the case. Whether it's the educational or the full version, both splash screens looked the same.
    At least for the CS3 version.I know how I was quite confused about that in the past when I'd realised that.
    The CS5 splash screen didn't say anything about a student version, but I was able to deactivate the application. I thought this was possible for the student version only.
    I've tried using the adobe clean program like suggested, but that didn't work either. The installation guide of CS5 still didn't bother asking for an older version.
    I.e.: It still used the educational serial number from before.
    After reinstalling windows on my pc, the installation guide finally wanted to know about my CS3 again.
    However, it told me, that the serial number of the full version in combination with CS3 is not valid. Just like it did before.
    Maybe it's because the full version was made in the USA and the CS5 upgrade version was made in Austria - Ireland?
    That would be really frustrating.

  • Query to find out whether bios password is enabled or disbaled.

    Hi All,
    Can any 1 help me identify the table to find out whether BIOS Password is enabled or disabled. Please provide the SCCM Table name. Thanks.

    To my knowledge, there is no existing standardised way to do this, because it is a hardware-specific feature, which can only be offered by the hardware manufacturer, and then only if the manufacturer develops/provides a suitable WMI Provider to do so.
    Then if so, you would need to enable custom WMI class inventory via ConfigMgr HINV.
    So, you would need to check with the manufacturer of your hardware, to confirm if they offer these features.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Query to find out whether a table is sub-partitoned , composite type one

    Could you please let me know the query to find out whether a paritioned table
    is
    1). composite paritioned one.
    2). sub-paritioned one.
    I find that there are 2 cols in all_tab_partitions view, which lets me know
    1). COMPOSITE VARCHAR2(3)
    To find composite paritioned one or not.
    2). SUBPARTITION_COUNT NUMBER
    To find whether a table is sub-paritioned one or not.
    Any light on the above topic is highly appreciated.

    So it seems you've found the answer yourself?
    with »user_tab_partitions« and »user_tab_subpartitons« you'll get all the neccessary information you are looking for.

  • How to find out, whether win 2003 is sick ?

    Hello together,
    I am running some SAP NW 7.0  Application-Server (Java+Abap) on Windows Server 2003  64bit in front to a central instance on a host  IBM System i with DB2.
    I don't have much knowhow in Windows Servers and want to know, how can I find out whether the windows server is running good.
    On which values (perhaps Task Manager) should I keep an eye on?
    best regards
    Carsten Schulz

    HI,
    you can get all information i.e memory,cpu,hdd space by running st06 /st06n
    How to watch the net speed to the central instance?
    i can't get exactly what you want to know
    but you can perform developer trace on work process running on application server using sm50 -> process ->trace -> display file look for error.
    you get buffer related info. by running tcod -st02  if required you can change the relavant parameter in instance profile
    you can get memory consume by user tranasaction  by running sm04 ->goto->memory
    you can get responce time of application server by smlg -> goto -> load distribution
    regards,
    kaushal

  • How to find out whether material is tie to a BOM

    Hi everyone,
    I would like to know how do i find out whether a particular material is tied to BOM (as in is it part of a BOM structure)?

    Hi Bernard,
    You can use this FM <b>CS_WHERE_USED_MAT</b>.
    call function 'CS_WHERE_USED_MAT'
      exporting
       datub                      = sy-datum
       datuv                      = sy-datum
       matnr                      = wa_matnr
       werks                      = wa_werks
      importing
        topmat                     = i_topmat
      tables
        wultb                      = i_wultb
        equicat                    = i_equicat
        kndcat                     = i_kndcat
        matcat                     = i_matcat
        stdcat                     = i_stdcat
        tplcat                     = i_tplcat
      exceptions
        call_invalid               = 1
        material_not_found         = 2
        no_where_used_rec_found    = 3
        no_where_used_rec_selected = 4
        no_where_used_rec_valid    = 5
        others                     = 6.
    Hope this will help.
    Regards,
    Ferry Lianto

  • How to Find Out whether Standard IDOC is Availabl for  Transaction ?

    Hi,
        We are having SAP implementation 4.7E IS-OIL. We would like to know how to find out whether is there any Standard IDOC is Available for the SAP Transaction.
    Particularly for IS-Oil related transaction. e.g Load Confiramtion. T-code - O4G1.
        From a Given Transaction code is there any link which can tell whether IDOC is Present or not.
         Kindly help me.
    Regards,
    Umesh

    check for transaction....we41 and we42..
    check for proper process code...then check in we57,we81 and we82..
    also u can search in google..
    UMESH note that u need some fucntional exp for working in IDOC...try to crack yr head ..give time..n u ll get to know the things soon..as there is no defined standards to work in idocs..
    for more info u can ask me for [email protected]
    best regards
    Message was edited by:
            Madan Gopal Sharma

  • How to find out, whether an input document of a process is IRM-protected?

    Having an LiveCycle process with an input variable of type document.
    How to find out, whether the document is a standard PDF or an IRM-protected PDF?
    Thanks,
    Dilettanto

    Really no way to tell from a given PDF-file, whether it is IRM-protected?

  • How to find out, whether any invoice is having header text or not.

    HI all,
    How to find out, whether any invoice is having header text or not. wheich table we have to refer.
    Thanks
    mahaboob

    Hi,
    You need to use FM READ_TEXT.
    First you have to determine what text Object/ID/Language you want to read (you can have N text objects for an invoice header).
    The easiest way to do this is to have an example document with the text you want to read.
    For example in VF03.
    1-Goto->Header->Header Texts.
    2-Click on the text you want to read
    3-Double click on the text (Right side box) This will take you
    4-Goto->Header
    This will give you the data you need to use in the READ_TEXT F.M.

Maybe you are looking for