Concatenate hex and text into text in old versions

Hello!
The code
DATA: v_hex1 TYPE x VALUE '0A',
      v_text1 TYPE char100,
      v_text2 TYPE char100.
CONCATENATE v_hex1 v_text1 INTO v_text2.
works fine on my 4.7 WAS 620 system. However, I've got complaints from other SDNers (I've posted a weblog with code) that they get systax error <i>V_HEX1 must be a character-type data object (data type C, N, D, T or String), field string).</i>
Is there an alternative, version-independant way, to concatenate hex and text into text?
My problem is that I don't have older SAP version available, so I can't test.
Thanks!
Igor

Hi Igor,
I have executed this very code on a 4.6C system and on a 4.0B system. I did not get any error. But if I change the type of v_hex to an integer, then I get the error which says the data type of v_hex should be C,N,D,T or string.
I wonder why I do not get the error even when v_hex is of type x.
Anyways, if the error does come, then may be we can use something like this -
DATA: v_hex1 TYPE x VALUE '0A',
      v_text1 TYPE char100,
      v_text2 TYPE char100.
write v_hex to v_text2.
CONCATENATE v_text2 v_text1 INTO v_text2.
This will not give you any error as such, but 0A is interpreted as a character string :-(.
=======================================
More surprisingly, if I execute your code on a 4.7 with WAS 640, I get the error you are talking about.
With some confusion,
Anand Mandalika.

Similar Messages

  • Got to end of trial period for Adobe reader XI and cannot revert back to old version or install another version b/c it says I have a newer more functional version, so now I've got no reader at all and cannot fix. Any ideas how to overcome this?.

    Got to end of trial period for Adobe reader XI and cannot revert back to old version or install another version b/c it says I have a newer more functional version, so now I've got no reader at all and cannot fix. Any ideas how to overcome this?.

    YOu need to be clear about the products you are using, so we can help you. In particular there is no trial of Adobe Reader, it is free and keeps running. Sounds like you are using some versions of Acrobat - which?
    YOu must properly uninstall the trial, don't just delete files or you may get a mess impossible to recover.

  • I have just bought a Macbook Pro and sync data from my old version onto the new one...However when I tried opening the mail client...Message window does not appear.

    I have just bought a Macbook Pro and sync data from my old version onto the new one...However when I tried opening the mail client...Message window does not appear. The old Macbook Pro I was using used Snow Leopard. Now with the new it is a Lion. Toruble now when I click onto new message window I have the spinning icon which show it is trying to load. However it fails and Im left with having to Force Quit it. How can I resolve this problem

    Tunes: How to move [or copy] your music to a new computer [or another drive] - http://support.apple.com/kb/HT4527
    Quick answer if you use iTunes default preferences settings:  Copy the entire iTunes folder (and in doing so all its subfolders and files) intact to the other drive.  Start iTunes with the option (shift on Windows) key held down and guide it to the new location of the library.
    Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list (e.g., ringtones), or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.
    Select the store on the left side of iTunes.
    Click on Purchased on the right side under Quick Links.
    You can re-download your available previous purchases.

  • TS3074 Hello anyone with Windows 7, not sure why having followed instructions above, install of latest version of itunes won't work and can no longer open old version either.  anyone help with this?

    Hello anyone with Windows 7, not sure why having followed instructions above, install of latest version of itunes won't work and can no longer open old version either.  anyone help with this?

    Hi,
    thanks for your reply.
    Yes, except n°1 - empty Temp directory, I had tried/checked all of those.
    I emptied the local temp folder tonight, but it still won't work.
    Please note: the installation doesn't give me any problem. The program was working fine, until at one point *plouf* it stopped working. I can re-install it without any problem, it just crashes when opening.
    \\edit\\ I seem to have located the problem, it's in the library files. If I re-install iTunes without my library, it works fine (though there is no music in it, yet). As soon as I import my library, or replace the My Music\iTunes folder with the old one, it stops working.

  • HT1926 I am trying to delete an old version of itunes in my ibook G4 so I can install the newest version and can not delete the old version because it says I don't have enough privileges, help?

    I am trying to delete an old version of itunes in my ibook G4 so I can install the newest version and can not delete the old version because it says I don't have enough privileges, help?

    iTunes is not installing because its incompatible with your OS. When installing the correct version the new version will update the older version, there is no need to uninstall first.
    The last version of  iTunes compatible with OSX 10.4 is iTunes 9.2.1
    You can down load iTunes 9.2.1 here:
    iTunes 9.2.1

  • Trying to update to latest Itunes. Get almost through the installation and get a message that old version of Itunes cannot be removed, contact local support group. What is up?

    trying to update to latest Itunes. Get almost through the installation and get a message that old version of Itunes cannot be removed, contact local support group. What is up?

    Download the Windows Installer CleanUp utility from the following page (use one of the links under the thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • CONCATENATE date and time into a text variable

    Hi ABAP Gurus,
      I would like to retrieve current system date and time and concatenate into a variable. I would really appreciate if someone could help me. I have the following code and i seem to get some kind of error.
    I would like my output to be like:
         "22.JUN.2006  Some Text  12:30:22"
    Code:
    data:  emtext     like TEMSG-EMTEXT.
    data:  date_output(50)  TYPE C.
        CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
           EXPORTING
               INPUT          =  SY-DATUM
           IMPORTING
                OUTPUT        =  date_output.
    SHIFT date_output RIGHT DELETING TRAILING SPACE.
      CONCATENATE date_output ': Some Custom Message '
       INTO emtext.
      Also, is there a function to convert time to text or conversion is not necessary?
    Thanks.
    Regards,
    bw_newbie

    Here is something a little closer to your requirement.
    report zrich_0001 .
    data: date(20) type c,
          time(10) type c,
          str type string.
    data: xT247 type T247.
    select Single * into xt247 from t247
              where MNR = sy-datum+4(2).
    concatenate  sy-datum+6(2) xt247-ktx sy-datum(4)
              INTO date separated by '.'.
    write sy-uzeit to time.
    concatenate date 'SomeText' time into str separated by space.
    write:/ str.
    Regards,
    Rich Heilman

  • Pages 5.0 missing connecting text boxes/Old version not in Time Capsule

              I have upgraded to Mavericks ... also Pages 5.0 ... I am prepping my year end documents and when opening the docs, notice that I have to UPGRADE the document to work with this version. Once in, I see there are many features that are broken. For me, the connected text boxes are the most disturbing problem. I wanted to open the doc with Pages 4, but that is not possible. The file has been changed. I went into Time Capsule to find the older version so that I could restore it and open it with the older version of Pages, but it's been deleted from history .... really? ... my documents have been destroyed, and the history wiped out. This is why I switced from Windows. Deep breath ... is there some help out there?

    I've tried it a couple of times now, albeit with test documents I made specially. Here are the steps again...
    Open it in Pages 5 and go to File > Revert to > Browse all versions...
    Use the Time Machine interface to restore the version before you opened in Pages 5. You'll get a repeat of the warning about how your document is going to be messed up, but you can OK that.
    Close the document.
    You should now be able to open the same document in Pages '09.

  • HT1495 My itunes won't update and I can't delete old version so that I can download the newer version.

    I can't update iTunes and I can't delete the old version so that I can download the newer version. Help!

    Do you get an error message when you try to uninstall iTunes? If so, what does it say? (Precise text, please.)

  • I loaded firefox 5, now all i have is a purple surround with a white screen, how do i get rid of this and go back to the old version of firefox????

    i was using the previous version of firefox and it worked fine,
    the new version firefox 5 came up to down load so i did this and now when i press the firefox icon all that comes on screen is a blank firefox window....purple surround with blank window..
    i have vista basic...

    Your profile might have been corrupted during the upgrade. I suggest trying a new profile. Close Firefox, then on the Windows start menu, type or paste this into the Run or search box:
    <br>firefox.exe /ProfileManager
    Create a new profile, which will be more or less plain vanilla. Assuming that works normally, you can move key settings like bookmarks from your problem profile to the new profile, see: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    If that doesn't work, here's the process to roll back.
    Due to security vulnerabilities, rolling back to Firefox 4.0.1 is not recommended. Firefox 3.6.18 would be the safer choice.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, download and save Firefox 3.6 to your desktop for future installation. http://www.mozilla.com/firefox/all-older
    Close Firefox 5.
    You could install Firefox 3.6 over it (many have reported success) or you could uninstall Firefox first. If you uninstall, do not remove your personal data and settings, just the program.
    Unless you have installed an incompatible add-on, Firefox 3.6 should pick up where you left off. If there are serious issues, please post back with details.
    Note: When you first start up, you might be in the new blank profile. In that case, close Firefox and use the profile manager to switch back to your default profile.

  • I am having trouble with the updates to firefox. Each time I start it I get a page that says proxy server refusing connections and have to reinstall the old version just to use the internet. That also removes the personas from my browser.

    I currently have version 3.0.10 and have gotten two prompts to upgrade my version of firefox and each time I do install the new version and then try to start up Firefox, I get a page instead that says proxy server is refusing connections and the only way to browse is to re-install the old version. I also have to re-install the old version at least 3 times before I can use Personas.

    In Firefox 3.6.4 and later the default connection settings have been changed to "Use the system proxy settings".<br />
    See "Firefox connection settings" in [[Server not found]]
    You can find the connection settings in "Tools > Options > Advanced : Network : Connection"<br />
    If you do not need to use a proxy to connect to internet then select No Proxy

  • Where can I get Firefox 3.6.19? I hate the new Firefox and want to reinstall my old version.

    I just downloaded and installed Firefox 4 and absolutely hate it. How can I go about reverting my version of Firefox back to the version 3.6.19 that I was previously running?

    There isn't one by that revision number. The previous secure version is 3.6.17
    To revert to that, please do the following:<br><br>
    #Go to [http://www.mozilla.com/en-US/firefox/all-older.html Download Firefox v3.6.17] and download it to the desktop.<br><br>
    #Then go to Add/Remove Programs, scroll down to "Mozilla Firefox" and remove it, choosing to keep your bookmarks, customizations etc., (''don't checkmark the box'').<br><br>
    #Then reboot and delete the folder called "Mozilla Firefox" at this location: C:\Program Files\Mozilla Firefox<br><br>
    #Finally run the installation file you downloaded to the desktop earlier.<br>
    Your bookmarks, customizations etc., are maintained in a different location and will become available to you again once you complete the installation.<br><br>
    After you complete the installation, please go to the [http://www.mozilla.com/en-US/plugincheck/ Plugins Check] page and update where necessary.
    ''However, before you go that route, here are a few tips to make FF4 look like the previous version''.<br><br>
    * Right click a blank part of the tab bar and click "Tabs on top" to remove the checkmark. Tabs will subsequently reappear below the search bar.<br><br>
    * Repeat the same steps, but click the top one called "Menu bar". This will reinstate the text links at the top.<br><br>
    * To rearrange the layout, repeat the same steps again and choose "Customize". A panel will open and while that remains onscreen, you can move elements like toolbars, buttons etc around and place them anywhere you wish. You can also drag anything you don't like into that panel and add anything you want by dragging it out of there.<br><br>
    * To replace the status bar at the foot of the page, install this add-on: https://addons.mozilla.org/en-US/firefox/addon/status-4-evar/<br><br>
    See screenshot. Both top and bottom views are FF4.

  • Centro desktop won't install over earlier palm desktop and can't un-install old version

    The Centro CD won't install the Centro Access Palm desktop
    desktop - it stops and says I must de-install existing Palm desktop as it won't upgrade the earlier version.
    Trouble is, I can't de-install Sony palm desktop. It is in c:\program
    files but doesn't appear in control panel / add remove prgrams; didn't
    allow revo to de-install it.
    I tried just plugging in the Centro but windows could find usb drivers
    (presumably)
    So i'm a bit stuck. HELP!
    Post relates to: Centro (Unlocked GSM)
    This question was solved.
    View Solution.

    That was the next step.
    I just needed to know what the OS of the PC was and the version of Palm desktop so I could tell you where to look for the correct folders.
    Here is some more info. for you.
    Click on the following link for the support page for your device on the kb.palm.com webpage.
    http://www.palm.com/us/support/centro/centro_gsm/
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc. 
    The best way to preserve your data is to export the data in each category in Palm Desktop to a seperate folder on your PC.
    Create a new folder on your PC somewhere that is convenient. Name it something like Palm Desktop Data. Click on the link below and follow the instructions on that page for the export procedure.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=28734
    Make sure you select all for the range in the export window.
    With the data saved in the folder you created, make a copy of that folder and save to a flash drive, cd-rw or external hard drive.
    Anytime you make a change in Palm Desktop, export the data that was changed to that folder and save again to the external media.
    With this process you can always import the data back into Palm Desktop anytime you have a problem with the data in Palm Desktop or if your computer/hard drive/device crashes.
    Post relates to: Palm i705

  • I hate Firefox 4! My favorite add on doesn't work, it is slow and locks up. I run Windows 7. Can I uninstall 4 and go back to the old version? If so, how?

    As a former programmer, I am dismayed that such a poor version would be released! It reminds me of dealing with Windows 98!

    I don't understand WHY they would pull support for the older version v3.6.16 when it is obvious that so many people want to go back to that version. The new version is TERRIBLE!! I am having problems with it and reading thru these posts so are a lot of people.
    I urge you NOT to pull support until you come up with a better version than this one. I plan to go back to the older version and if you pull support I will go back to internet explorer before I go to this new version of firefox. I have used firefox for years and recommended it to a lot of people but I am very disappointed in this version.

  • WSUS Server has hotfixes installed to upgrade Update Services and it's still showing old version

    I have a Windows 2008 R2 WSUS server and when I go to help and About Update Service it is showing Version 3.2.7600.226.  I have installed KB2720211 Version 3.2.7600.251 and KB2734608 Version 3.2.7600.256, they both show up under Installed Updates. 
    Is there somewhere else that would show a different Version number or am I missing something?
    Thanks

    Am 27.03.2015 schrieb ingy0309:
    I have a Windows 2008 R2 WSUS server and when I go to help and About Update Service it is showing Version 3.2.7600.226.  I have installed KB2720211 Version 3.2.7600.251 and KB2734608 Version 3.2.7600.256, they both show up under Installed Updates. 
    Is there somewhere else that would show a different Version number or am I missing something?
    In Help Menu you have the wrong informations. Pls look at this Image:
    http://www.wsus.de/images/wsus-version.png
    Maybe you have to install more Updates for coming up to Version .274:
    WSUS 3.0 (SP2):     Build 3.2.7600.226
    WSUS 3.0 (SP2) + KB2720211:     Build 3.2.7600.251
    WSUS 3.0 (SP2) + KB2734608:     Build 3.2.7600.256
    WSUS 3.0 (SP2) + KB2828185:     Build 3.2.7600.262
    WSUS 3.0 (SP2) + KB2938066:     Build 3.2.7600.274
    Servus
    Winfried
    Gruppenrichtlinien
    HowTos zum WSUS Package Publisher
    WSUS Package Publisher
    HowTos zum Local Update Publisher
    NNTP-Bridge für MS-Foren

Maybe you are looking for

  • Cant add Windows accounts to staff or admin group

    cant add Windows accounts to staff or admin group I have one Mac pro workstation on a all windows network, its added to the domain. i can give network users administrative permissions on the pc by selecting allow user to administer this computer in t

  • Several purchase requsitions from one sales order

    Hi, I am using item category TAB to create a purchase requsition from a sales order, this works fine. What I really want to do is to create one purchase requsition for each condition type of a special kind from the TAB position in the sales order. An

  • Floating song tracks

    I cant remove the floating tracks, Cant pin or unpin them, delete or anything. When I do delete the bar behind the slides just changes into another song thats in my floating tracks. How do i get rid of the floating tracks?

  • Image size pop-up menu no longer an option

    "Reduce the size of the attached images by choosing Small, Medium, or Large from the Image Size pop-up menu at the bottom of the message window. The menu appears when you drag or attach a picture to the message." I used to have this option. I just no

  • Include a .js file

    Hello, What is the syntax to include a .js file in an other .jsx file? Thanks for your help.