Unicode changes for hex values

HI,
We are working on upgrade to ECC 6. 0 and we have the following program which we need to make unicode compatible.
In this program there is a structure which is declared as follows
data:    begin of trans occurs 0,
           x     type x value '00',
           c_00  type c value ' ',
           soh   type x value '01',
           c_01  type c value ' ',
           stx   type x value '02',
           c_02  type c value ' ',
           etx   type x value '03',
           c_03  type c value ' ',
           eot   type x value '04',
           c_04  type c value ' ',
           enq   type x value '05',
           c_05  type c value ' ',
           ack   type x value '06',
           c_06  type c value ' ',
           bel   type x value '07',
           c_07  type c value ' ',
           bs    type x value '08',
           c_08  type c value ' ',
           ht    type x value '09',
           c_09  type c value ' ',
           lf    type x value '0A',
           c_0a  type c value ' ',
           vt    type x value '0B',
           c_0b  type c value ' ',
           ff    type x value '0C',
           c_0c  type c value ' ',
           cr    type x value '0D',
           c_0d  type c value ' ',
           so    type x value '0E',
           c_0e  type c value ' ',
           si    type x value '0F',
           c_0f  type c value ' ',
           dle   type x value '10',
           c_10  type c value ' ',
           dc1   type x value '11',
           c_11  type c value ' ',
           dc2   type x value '12',
           c_12  type c value ' ',
           dc3   type x value '13',
           c_13  type c value ' ',
           dc4   type x value '14',
           c_14  type c value ' ',
           nak   type x value '15',
           c_15  type c value ' ',
           syn   type x value '16',
           c_16  type c value ' ',
           etb   type x value '17',
           c_17  type c value ' ',
           can   type x value '18',
           c_18  type c value ' ',
           em    type x value '19',
           c_19  type c value ' ',
           sub   type x value '1A',
           c_1a  type c value ' ',
           esc   type x value '1B',
           c_1b  type c value ' ',
           fs    type x value '1C',
           c_1c  type c value ' ',
           gs    type x value '1D',
           c_1d  type c value ' ',
           rs    type x value '1E',
           c_1e  type c value ' ',
           us    type x value '1F',
           c_1f  type c value ' ',
         end of trans.
Now in order to make it unicode compatible we have to replace all the declarations involving 'type x'
into  respective character  equivalents. This is usually done using the class 'cl_abap_char_utilities'
But this can be used only for a few attributes like horizontal_tab, vertical_tab,linefeed,form feed
etc. apart from these things the structure also has many declarations which are not maintained in the
above mentioned class.
For example
type x value '1D' group separator
Type x value '1E' record separator
Type x value '1F' unit separator
Type x value '11' etc are not maintained in the attributes of the class.
Do you know which class to use for these values of hex.
Assured Points for useful answers.
Thanks,
Shobana

Hi,
I got the same problem, while changing to unicode system.
Here is an example for the '1D' group separator:
data: x_1D type x value 29,           " Hex 1D = Dec 29
         x_char.
CALL FUNCTION 'SCMS_BIN_TO_TEXT'
  EXPORTING
     BIN_LINE        = x_1D
IMPORTING
     TEXT_LINE       = x_char
EXCEPTIONS
     FAILED          = 1
     OTHERS          = 2.
This works quite fine for visible and unvisible characters.
Hope I can help anyone,
ms

Similar Messages

  • How can I change a hex value to normal without changing the characters

    How can I change "3932" (hex displayed string) to "39 32" (normal displayed string with space)
    Solved!
    Go to Solution.
    Attachments:
    Hex to Normal without changing value.vi ‏5 KB

    I think your VI works and if I understand what your input data looks like and the output that you want is, does it?I really can't see a better way. Does it not work for what you want? What form is the actual data in as you receive it? (not how it is displayed by the display setting of the string control) You have the string control set the “Hex display” and that may be confusing some of us as to what the actual input data is.
    And what you want your output to look like. Do you get a “stream” of bytes that are the actual numbers in the form of a string?or Do you get a “string” of ASCII char that represent numbers?
    These are two different things, but may look alike depending on the display setting of your controls are set.
     Changing the display mode of a control or indicator does not change the under lying data. It only changes the way your eye “see” it, not how LabVIEW “sees” it.  We need to know what your raw input string looks like.
    tbob's snipit assume your data is one way and your VI assumes another.
    Omar
    Omar

  • How to Convert a HEX value to CHAR value...Unicode Issue...

    Hi,
    How can I convert HEX value to CHAR value.
    The Code in <b>non Unicode</b> system is:
    DATA: t_text LIKE tline OCCURS 0 WITH HEADER LINE.
    constants:   c_hex_20a5(2) TYPE x            VALUE '20A5'.
    t_text-tdline = 'seller of the item so listed.  A legend of the Seller Code(s) is as'.
          TRANSLATE t_text-tdline USING c_hex_20a5.
    The same code give error in <b>Uni-Code</b> system:
    <b>error is "c_hex_20a5 must be an character type object (C, N, D, T or String type)."</b>
    If anyone know, what is the solution, please let me know.
    Thanks!
    Puneet.

    Hi,
    Try declaring the Hex chars using the ABAP char utilities. This is just a sample piece of code on how to declare and use:
    CLASS cl_abap_char_utilities DEFINITION LOAD.
    DATA:  ws_lf TYPE c VALUE cl_abap_char_utilities=>cr_lf.
    data:    c_newline           TYPE x VALUE '0D'.  [ it is zero D, for carriage return ]
    ws_lf = c_newline.
        CONCATENATE it_tab-maktx
                    ws_lf
                    ws_template
                    INTO it_notificatn-template.
    Hope this helps...
    Regards
    Subramanian

  • Adobe Illustrator CC 2014 not allowing me to change colors by typing in a precise hex value.

    Over the last two days, I have lost the ability to type in a hex value to the color picker to change an object's color.  Anyone else experience this and know of fixes?  I can select from the pre-made swatches or gradient-color picker field, but I need to be able to enter precise hex values per my style guide.

    JWoo,
    What happens if you use the Web Safe RGB from the Color palette flyout and insert the values there?
    For failures in general, you may try the list.
    The following is a general list of things you may try when the issue is not in a specific file (you may have tried/done some of them already); 1) and 2) are the easy ones for temporary strangenesses, and 3) and 4) are specifically aimed at possibly corrupt preferences); 5) is a list in itself, and 6) is the last resort.
    If possible/applicable, you should save curent artwork first, of course.
    1) Close down Illy and open again;
    2) Restart the computer (you may do that up to at least 5 times);
    3) Close down Illy and press Ctrl+Alt+Shift/Cmd+Option+Shift during startup (easy but irreversible);
    4) Move the folder (follow the link with that name) with Illy closed (more tedious but also more thorough and reversible);
    5) Look through and try out the relevant among the Other options (follow the link with that name, Item 7) is a list of usual suspects among other applications that may disturb and confuse Illy, Item 15) applies to CC, CS6, and maybe CS5);
    Even more seriously, you may:
    6) Uninstall, run the Cleaner Tool (if you have CS3/CS4/CS5/CS6/CC), and reinstall.
    http://www.adobe.com/support/contact/cscleanertool.html

  • Issue: Illustrator automatically changing hex values?

    Hi there,
    I have a very frustrating issue that is causing problems in our IT department. I create our UI file designs in Illustrator, then export as PNG for the developers to view. The files are saved as AI files. However, I've noticed that Illustrator seems to be changing the colours of some of my files and I cannot figure out why. The colours appear very very similar, not different enough for me to notice, until I check the hex values which are all different from what I selected in my swatches.
    Can anyone please help me figure out why this is happening and resolve our colours?
    Thanks!
    Dale

    Thanks all! I've altered/defaulted the colour settings and will now monitor the hex values. Really appreciate everyone's input, will report back to let everyone know if this is resolved or not.
    Just edited this to post another 2 issues which I feel may be related. I am now experiencing some graphics issues where if I move some elements on screen on certain files, Illustrator goes nuts and I can't resolve it. Here's an example where I've moved a grouped button design, then moved it back, but part of the group stays in the same place, static with no way of touching it. If I move a bunch of other elements around over the static area, this sometimes resolves it.
    The other problem is with font sizes. If I direct select a piece of text for example, it will tell me its a certain size, say 13pt, when in fact it's 11pt. I can resolve this only by resizing to a different size, then back to 13pt, the font size renders correctly then. On occasion, using the text tool and selecting an individual letter or the space between them, will mysteriously show the correct font size.
    Something strange is going on here! I've restarted the computer, reset the PRAM on my Mac, ran Permissions Repair too, with no avail. Illustrator is also completely up to date.
    Can anyone help please? Thanks!

  • BADI for Changing Deployment Rounding Value

    Hello All,
          During my Deployment run I need to consider the rounding value from the /sapapo/marm table and not from the product master. So I need a badi or user exit to change the rounding value for deployment run. Do let me know how I can achieve this.
    Thanks,
    Siva.

    Dear Tiemin,
           Thanks for your reply. But I need a BADI which needs to work when there is no Fair Share situation. It will be great if you provide me which suits for it.
    Thanks,
    Siva.

  • Base Value change for CST calculation

    Hi,
    I've a requirement that CST should get calculated on an assessible value and not on Net Price in the PO. e.g.
    Basic Price: 100
    BED@10%: 10
    ECess@2%: 2
    SHECess@1%: 1
    Subtotal 1: 113
    Assessible Value for CST: 90
    CST@4%: 3.60
    Total: 116.60
    How can we change base value for CST calculation in Tax Procedure?
    We are using Tax Procedure TAXINN.
    Thanks in advance.
    Regards.
    Manoj

    Hi All,
    I got the solution for my issue so closing the thread.
    I changed the Tax procedure.Add two new condition types, one for Assesseble value for CST calculation and another one which is a copy of JVCS(CST condition).In case when no assesseble value is maintained, new condition type for CST will be zero.
    Regards.
    Manoj

  • If change in PO value, need other rel stategy made for value change only

    I have customized PO Relase strategy based on value. working correctly.
    In that, if there is a change in PO value after the PO release, then Release strategy is being redetermined according to new value. But user wants that if there is a change in PO value, it should follow different rel startegy for which change value is >0 USD(not regular release startegy defined for each value range).
    For this to happen, for value change, what kind of characteristic(table field) I can use as criteria so that new release startegy can be determined for any change value after final relaese?
    Is ther any possible way to make this happen? Pl. suggest me different ways.
    Vijay

    Dear Vijay,
    In order for another release strategy to getting determined, the PO should have another set of value
    to meet the characteristic for the new release strategy or else it will use back the same release strategy
    with approval reset and management need to reapprove again the same release strategy.
    Based on your description, there is no need for another release strategy to get determined if the PO
    still contain the same set value that meet the previous release strategy . Let say you increase the
    total value of the PO, incase the release strategy still meet the current approve release, it should reset
    it again but not another release strategy that not meet with value in the PO.
    If you create another new release strategy that the criteria overlay the characteristic of this old release strategy,
    for new PO, no release strategy will be getting determine.
    Best Regards,
    Ian

  • Please, can I with help of Javascript change spot color values? for example by my color VARNISH with c:0,m:10,y:15,k:0 to make change to c:0,m:0,y:0,k:0? thank you

    Please, can I with help of Javascript change specific spot color values? for example, I have color named VARNISH with values c:0,m:10,y:15,k:0 and it would help me to make change to c:0,m:0,y:0,k:0 as a part of an action. Is it possible? Thank you

    Hi Kon Verter,
    you can change the values of your spot swatch, but you have to check many things before.
    e.g. you can do something like this:
    var Vcolor = app.activeDocument.swatches.getByName("Varnish");
    if (Vcolor.color.spot.colorType == ColorModel.SPOT && Vcolor.color.spot.spotKind == SpotColorKind.SPOTCMYK) {
        alert("Black value before: "+Vcolor.color.spot.color.black);
        Vcolor.color.spot.color.black= 0; // and so on
        alert("Black value after: "+Vcolor.color.spot.color.black);
    This will change the black value of the cmyk spot color with name Varnish to 0
    Have fun

  • Changing init-param value for servlet filter after deployment

    Is it possible to change the <param-value> of a servlet filter's <init-param> for a deployed app through Weblogic Console? Can't seem to find a place in the console where this is exposed.
    The <init-param> of course is specified in web.xml as:
    <filter>
    <filter-name>foo</filter-name>
    <filter-class>bar</filter-class>
    <init-param>
    <param-name>name</param-name>
    <param-value>value</param-value>
    </init-param>
    </filter>

    Hi,
    U can use "Plan.xml" feature provided by WLS to change the Deployment Descriptor values without Editing Physically inside your WAR or EAR or JAR application.
    Please refer to:
    http://forums.oracle.com/forums/thread.jspa?threadID=1107834
    http://weblogic-wonders.com/weblogic/2009/12/16/updating-cookiename-using-plan-xml/
    http://weblogic-wonders.com/weblogic/2010/03/14/adding-workmanager-using-plan-xml-to-a-war-file/
    Thanks
    Jay SenSharma
    http://weblogic-wonders.com (Middleware Wonders Are Here)

  • Trying to establish Colour Hex Value for edge of image

    Using style no.11 and tinkering with the colour I've created
    a couple of tiles that I can use to display as a background in my
    header and left hand column.
    I need to specify a backgound colour in my Style sheet to
    match the edge of the graphics, but I'm having a bit of trouble
    determining the Hex value of the pixels.
    I've tried looking at the file as a bitmap, but it doesn't
    seem to show hex values in this format.
    I'd be grateful If anyone can suggest the technique required
    for this process.
    Thanks,
    Myles

    Opened the Lemon image file.
    Copied the background layer by dragging it to the little folder icon at the bottom of the layers palette. (I then double-clicked on the name and called it "Image layer" you don't have to, but I like to name layers as a matter of course.)
    Selected the Background layer and filled it with white*.
    Selected the Image layer and added a layer mask by clicking on the little mask icon at the bottom of the layers palette (3rd from left).
    Took the gradient tool and chose black to white (should be the default). Drew the tool across the image to fill the mask (making sure the mask is selected in the layers palette.)
    Voilá!
    You can keep the layered image by doing a "Save for Web" which will prepare the file for the web page.
    *If your web page had a different colour you could use that here.

  • Generate change documents for characteristic value changes in material master

    Hello,
    I am currently using material class (class type: 001) and assign some characteristics to material master. I am going to create a query/custom report to track all changes in the characteristic values in that material master. However, I could not find any change document in CDHDR table.
    I have activated "Change Docs" parameter in class type 001 customizing as described in SAP note: 65124 Classification Change Documents as follow:
    Is it possible to generate change documents for characteristic values in material master?
    Regards,
    Julian

    Hi Rajen,
    Thanks for your reply. It seems that I missed one more step in the customizing. Once the multiple object is activated, I need to activate the change document parameter for each assigned object.
    Thread closed.
    Regards,
    Julian

  • APEX 4.0 -Show and able to change Primary key values for Detail

    In a Master-Detail form, is there anyway I can show and able to change/select my primary keys from a select list field? One of my primary keys on the Detail is also primary key from another table which restricts my values for this field. I was able to show the fields but I can not make changes to this field and save the changes. Is there anyway I can have both show the field and able to change field's value and save it? Please advice. Thank you very much for your help in advance.
    -Grace

    Yes AFAIK Apex (for better or worse) was designed such that the PKs are generated automatically with PL/SQL, by a trigger, or whatever other algorithm that isn't in the control of the end user. It also only seems to allow a composite PK of no more than two columns.
    My usual strategy is to:
    1. Define the PK as a number (some sort of RECORD_ID, RECORD_SEQ, whatever) and populate it via a trigger on-insert.
    2. Define the "business" PK as a separate unique index. This way the user can set and modify it to their heart's content and it also isn't limited to just two columns (if the composite key's business requirement is such that more than two columns are needed).

  • How to get the hex. value of unicode character

    Hi all
    I would like to get the hex. value of unicode and vice versa. I tried
    String name1 = new String(request.getParameter("textfield").getBytes("ISO8859_1"), "UTF-8");
    but it just get the unicode character, not the "hex value"
    pls help
    thx.
    Regards,
    Kin

    String str = "asdf";
    char c = str.charAt(0);
    System.out.println(Integer.toString((int)c, 16));
    Is that what you want? Or are you thinking "hex value" is something it's not, which is just a way of writing numbers in base-16.

  • Is there any user exit for changing V1 field value?

    Hello Expert,
    Is there any user exit for changing V1 update value?
    For example, sales order number will populate 2LIS_11_VAHDR-VBELN. If other value need to populate 2LIS_11_VAHDR-VBELN, can we use any user exit to customize the V1 routine?
    Please forget the enhancement for 2LIS_11_VAHDR. Just populate the system field VBELN.
    Thanks
    F-B-I

    Hi,
    Use the 'usual' user-exit for transactional data in R/3 EXIT_SAPLRSAP_001 (CMOD). Here your can overwrite VBELN for each extracted record with the value you want.
    Hope this helps.
    Grtx
    Marco

Maybe you are looking for

  • Oracle 9i database (9.2.0.1.0) Installation Enquiry

    Hi all, this is my first time installing oracle in my home PC coz i need to do forms and reports for my assignment but it seems that I can't get it working :( Hope that someone can give me some advice... 1. How do i config the oracle such as the tsn

  • Select list coloured based on selected value

    Hello, Could anyone please tell me if it is possible to display a LOV with a background colour based on the selected value ? In fact , I have a report with many select lists whose value can be Y,N,N/A and I would like that the corresponding LOVs have

  • Mapping of Sales Org of CRM and R/3

    Hello all, the sales org in CRM are mapped to the sales orgs in R/3 and there is data flow between R/3 and CRM.Where is the mapping done.In CRM, CRMD_ORGMAN contains org data however this is in the CRM number range.How can I find out which sales org

  • Partitioning w/Disk Utility

    I just bought SuperDuper and I'm going to clone my internal harddrive onto a firewire external that already has files on it. I'm planning to copy everything that's currently on external hd1 onto external hd 2 so I can partition external hd1 to prepar

  • Automate - presentation in photoshop CS4

    Hi all, Hoping someone can help! I use photoshop CS3 still in college but have bought photoshop CS4 for home. In college we have been taught to use automate to create presentations or digital portfolios. In the CS3 menu under automate there is an opt