Request to let me know replacement command for the Translate command.

Hi,
Code Inspector show that Translate command is obsolete. please let me know the alternate command to be used for the Translate.
Thanks & Regards,
Madhuri.

Hi,
no alternative command for translate , use set language before using the translate command .
Regards
Appana
Check this :
TRANSLATE c TO UPPER/LOWER CASE: Additional Information
Variants:
TRANSLATE c TO UPPER CASE.
TRANSLATE c TO LOWER CASE.
The way in which the TRANSLATE statement works depends on the R/3 logon language. In general, users log on to the R/3 System in the same language as that in which the data they want to edit was created. Logging on in the wrong language causes loss of data, unless a conversion has been defined to deal with a different language environment.
For example, if German umlauts are processed in a Russian environment, the TRANSLATE statement returns a '|' for an 'ö' and a '¶' for a 'Ö'. Such discrepancies occur in particular:
If the wrong language environment has been set inSET LOCALE LANGUAGE
If the user edits data that was not written in the logon language (without using SET LOCALE LANGUAGE)
If, for example, the data to be converted is stored in a structure struwith the language key languand the text field text, then you can work round the problem in one of two ways:
Example
DATA: BEGIN OF stru,
        langu TYPE sy-langu,
        text  TYPE sy-xcode,
      END   OF stru.
SET LOCALE LANGUAGE stru-langu.
TRANSLATE stru-text TO UPPER CASE.
SET LOCALE LANGUAGE SPACE.
This solution ensures that every conversion is made in the appropriate language. If struis an internal table, it should be sorted beforehand, to reduce the number of times the system switches between languages. Depending on the table's range, this can substantially reduce processing time, since SET LOCALE LANGUAGE has a long processing time. The runtime is similar to the runtime for SQL statements.
Example
IF stru-langu = sy-langu.
  TRANSLATE stru-text TO UPPER CASE.
ELSE.
ENDIF.
The above solution ensures that only texts created in the logon language are edited. If you want, you can bundle all other text lines in another internal table using COLLECT and then convert them using the first solution above.
Note
It is important to reset the language explicitly using SPACE, since SET LOCALE LANGUAGE also changes the system field sy-langu. Note also that a language key may not be meaningful, or a language may not be installed correctly, or you may not be able to edit data from a specific application server. In these special circumstances, the following function modules can be used:
SCP_MIXED_LANGUAGES_1_INIT
SCP_MIXED_LANGUAGES_1_SWITCH
SCP_MIXED_LANGUAGES_1_NORMAL
SCP_MIXED_LANGUAGES_1_FINISH

Similar Messages

  • I bought iPhone 3GS(Used) recently and updated ios 6.1.3 my iPhone is taking blurry Pictures through basic default Cam app.Can anybody please let me know any solution for this?

    I bought iPhone 3GS(Used) recently and updated ios 6.1.3 my iPhone is taking blurry Pictures through basic default Cam app.Can anybody please let me know any solution for this?

    Basic troubleshooting steps right out of the user guide are restart, reset, restore from backup, restore as new.  If you've been through ALL the steps and you still have the problem, then you'll need to bring your phone to Apple for evaluation.

  • I purchased an additional audio function for the apps "baby monitor"today, but this function didn't work on my ipad. Grateful if you would let me know how to refund the cost.

    I purchased an additional audio function for the apps "baby monitor"today, but this function didn't work on my ipad. Grateful if you would let me know how to refund the cost.

    Refund
    http://www.apple.com/emea/support/itunes/contact.html

  • Replacement program for the Ipod Nano 1st generation

    I am attempting to get to the replacement program for the Ipod Nano 1st generation, but whenever I attempt to access the program I am redirected to an adapter replacement program. Did I miss the opportunity to replace the Ipod?

    No, you didn't. I just bought an iPod nano 1st gen off of Craigslist and immediatly I went to the iPod replacement program website and requested a new device. I just don't know if I will receive the older 6th Generation or the newer 7th generation.

  • Please let me know how to see the details related to the Key figure used

    Hi,
    Basic key figure BHSL-I belonging to the table GLPCT is used in the one of the reports created using the Report Painter.
    Please let me know how to see the details of the BHSL-I key figure.
    Details I am looking for is, how the field BHSL-I is getting populated I mean from which field/fields combinations and what is the formulae involved in the calculation of the key figure.
    Please let me know if any documentation exists about the key figures.
    Thanks in Advance.
    Madhuri.

    What model year is it? If older than a 2011 model, and even some early 2011 models, you will need the original install discs that came with it.
    If older than a 2011 model then you use the Online Internet Recovery system to erase the drive, format it Mac Extended and then reinstall OS X.
    To access that online recovery system at startup hold down the Command + Option/Alt + r key and keep them held down until you see a globe on the screen.

  • Help needed I updated my ipad2 with iOS5 but few of my dashbaords are not working now can any one let me know how to downgrade the OS

    Help needed I updated my ipad2 with iOS5 but few of my dashbaords (HTML5) are not working now ,can any one let me know how to downgrade the OS as we have a meeting coming up .. its urgent

    Downgrading the iOS is not supported. If you are using Safari this try clearing its cache via Settings > Safari.
    If that doesn't work then try closing Safari completely and then re-open it : from the home screen (i.e. not with Safari 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Safari app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
    A third option is a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Where can I purchase a replacement CD for the Airport Express Base station A1264?

    Where can I purchase a replacement CD for the Airport Express Base station A1264?
    I'd like to sell my Airport Base Station, but I believe I need a CD with the software on it for the new owner. Anyone know where I can find one?
    Thanks!
    Meredith

    I doubt it is available.. and since a new Mac doesn't even have an optical drive.. there is no need whatsoever today for the cd.. it is all available in the OS or download. In fact the stuff on the cd will now be totally out of date.

  • Please let me know how to do the trackpad test

    please let me know how to do the trackpad test

    What model year is it? If older than a 2011 model, and even some early 2011 models, you will need the original install discs that came with it.
    If older than a 2011 model then you use the Online Internet Recovery system to erase the drive, format it Mac Extended and then reinstall OS X.
    To access that online recovery system at startup hold down the Command + Option/Alt + r key and keep them held down until you see a globe on the screen.

  • R12-Please let me know how to change the product status

    Hi,
    We are looking to change the "INV" product status from "shared" to "Fully installed".Please let me know,how to change the same.

    Hi,
    Did you verify the current status of the product?
    Note: 443699.1 - How to check if certain Oracle Applications product/module is implemented?
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=443699.1
    You can change the status of the product from shared to installed from OAM > License Manager. Once the product is installed, run the following via adadmin for this product (optional but recommended).
    - Generate message files
    - Generate forms files
    - Generate report files
    Regards,
    Hussein

  • Pls help me in sending sequential responses for the different commands.

    Hi all
    pls help me in  sending sequential responses for the different commands. For example,i have to send the response1 for command1 then again host wll send the some other command ,say command 2  after receiving response 1,then again i have to respond to the corresponding command.i m using the pci-6221 card not tradition DAQcard.
    regards,
    nitin

    Hi,
    you need to be more specific. What is your setup?
    Obviously, what you need is a command parser. Look this article for the basics. I know it is meant for RT but the concept is there.
    Not sure it will help with so few infos: http://zone.ni.com/devzone/conceptd.nsf/webmain/CD63FD0F746B17A686256F090065F572
    Dai
    Dai
    LV 7.1 - WIN XP - RT - FP

  • Recording your own commands for the Voice Over Utility

    To Record your own commands for the Voice Over Utility?
    Is this possible?
    How?
    thanks

    If you simply want to change the command used, or add an extra command that does the same thing, you just need to know that the file names are used as the name of the commands for Speakable Items.
    If you open system preferences, the speech pane, select "Speech Recognition" at the top and then "Commands" on the next line there's a button there - it's labeled "Open Speakable Items Folder". Click on that and it shows you a folder containing all the global commands. If you want to change one of these, you can edit the file name. It's probably safer if you duplicate the file ("duplicate" from the context menu) and then change the name of the copy, so the original is still there in case of mishaps! I'm not sure if a comma in the file name would work but I suspect it wouldn't - none of the commands there have commas in them.
    If you want to change a command in a specific application then open the "Application Speakable Items" folder and explore from there.
    Another thing which might help is to go back to System Preferences and click on the "Global Speakable Items" in the command set list and then click the "Configure" button. There's an option there which will make more variations on the commands work.
    The most complicated way is to write your own new speakable items. This gives you the most flexibility but also you need to learn some AppleScript to enable you to do it. If you want to learn AppleScript, check out the AppleScript resources - it does lots more than just speakable commands and the general resources should help you most.
    Best of luck!
    Ricky

  • After syncing a replacement iPad for the first time, my apps have a "waiting " on the screen I can access them but not on opening screen

    After syncing a replacement iPad for the first time, my apps now have a"waiting" message . I can still access from settings but not on the opening app page

    Try this  - Reset the iPad by holding down on the Sleep and Home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons. (This is equivalent to rebooting your computer.)
    Check your settings. The iPads have a small switch on the right edge. It can be used as a rotation lock to keep the screen from automatically reorienting itself as you move around, but you need to have the tablet’s settings configured properly. That same switch, right above the volume buttons, can also be set to function instead as a mute button to silence certain types of audio.
    If the switch is set to work as a mute button, you can change its purpose to “screen-rotation lock” by tapping the Settings icon on the home screen. On the Settings screen, tap General on the left side, and on the right side of the screen flick down to “Use Side Switch to.” Tap to select Lock Rotation or Mute to set the button’s function. Even if you set the side switch for your preferred use, you can still mute the Mini or lock the screen. Just double-click the Home button, and when the panel of apps appears along the bottom edge of the screen, flick the row from left to right with your finger. Tap the icon on the far left side of the row to either lock the iPad’s screen or mute the iPad’s alerts, notifications and sound effects. Music, podcasts and video are not muted unless you turn the volume all the way down.
    iPhone: Can't hear through the receiver or speakers
    http://support.apple.com/kb/ts1630http://support.apple.com/kb/ts1630
    http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/http://www.atreks.com/app-no-sound-on-ipad-4-%E2%80%93-what-to-do/
    To solve some sound problems, just follow these simple steps
    1. Go to Settings
    2. Tap on General
    3. Tap on Reset
    4. Tap on Reset All Settings
    You may need to delete the game app and redownload (you won't be charged).
     Cheers, Tom

  • NI4882 equivalent command for the IVI formatted488IO ReadList command.

    I need an NI4882 equivalent command for the IVI formatted488IO ReadList command.
    This is what I have:
    using Ivi.Visa.Interop;
    using Ivi.Driver.Interop;
    formatted488Class = new FormattedIO488();
    formatted488Class.WriteString("LDATA");
    object response = formatted488Class.ReadList();
    What I need is an equivalent when instead of the IVI DLLs (Ivi.Visa.Interop and Ivi.Driver.Interop), I want to use NationalInstruments.Common, NationalInstruments.NI4882 and NationalInstruments.VisaNS.
    I.e.:
    NI4882.Device.Write("LDATA");
    and then call:
    NI4882.Device.ReadString() or NI4882.Device.ReadByteArray()
    Problem is I don't know how many bytes or strings are to be read, and even if i knew it would not help because it would still not behave the same way as IVI's Readlist.
    Can anyone point me in the right direction?
    Thanks,
    Cris

    Yes, I was using ReadString. Unfortunately, it only returns 128 values of 1000, which is what I need. If you do not specify the number of values to read, i.e,. ReadString(int numberOfBytes), it assumes a default number of 128. However, I found a solution which is more of a workaround. I read the first 128 values, and it so happens that the instrument returns as a first value the number of values to be read (1000). So I read the rest of the values in a loop. Not elegant, but it seems to work for me.

  • What is the default key command for the COMMAND key?I seem to have changed it somehow along the way and now when I push the command key it hides all windows or shows desk top I need to correct this as soon as possible-.any ideas?

    What is the default key command for THE COMMAND (apple) key? I seem to have changed it somehow along the way and now when I push the command key (only) it hides all open windows and shows the desk top and when I push it again it shows all windows again...I need to return to default A.S.A.P. just this one key...Any ideas? Thanks in advance...

    Go to
     > System Preferences > Keyboard
    Click on the 'Keyboard' tab and hit the 'modifier keys...' button. You can see and change the defaults there.
    As I'm not sure if all the labels are the same in Lion, he's a screenshot from Snow Leopard. It should be similar enough:

  • One of my friend stole my iphone 5 and he knows my password for the phone but he's not using wifi or the sim network cause he knows that I enabled find my iphone and I wanna lock it or burn the phone he is using my pictures

    one of my friend stole my iphone 5 and he knows my password for the phone but he's not using wifi or the sim network cause he knows that I enabled find my iphone and I wanna lock it or burn the phone he is using my pictures and he has shared most of my pictures and the find my phone says it will erase the phone once it will be contact to the internet
    what about if he didn't? what to do pls I need to lock the phone as soon as possible am living in saudi arabia and we dont have apple store here to support me I need to contact anyone in apple store so I can give him the serial numbere and IMEI so they lock the phone with out waiting him to contact to the internet
    I made a report but the problem is it was stolen from of my best friends and I dont know which one we were 4 persons in my house so I dont know which one exactly but it seems I was unlucky to chose them as best friends and trusted them for 2 years and now he's shairing my privte pictures which has dameged my life and if the goverment saw my pictures they will but me in jail for those pictures which is noraml gay pictures but our country difficutl pls any one help me

    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

Maybe you are looking for