CHECK THE  APPEARANCE OF CHARS

DEAR ALL!
HOW CAN I TEST WITH ABAP THE APPEARANCE
OR EXISTENCE OF EITHER / OR . OR -
I INTEND TO FIND OUT WHETHER A CHAR VALUE
HAS THESE CHARS '/' OR '.' OR '-'
REGARDS
ILHAN

hi,
do this way ...
if v_strring ca '/.-'.
  write : 'Success'.
else.
  write 'Failed'.
endif. 

Similar Messages

  • FM to check the correctness of a timestamp.

    Hello,
    Can any one tell me how to check if the incomming timestamp is in correct format or not?
    Lets say if the incomming timestamp is not in the standard format 'YYYYMMDDHHMMSS'  i should rise a error.
    there are cases where the input format is comming as HHMMSSYYYYMMDD then which should be validated.
    Thanks,
    Ravindra.

    Hi,
    You could check the first 4 chars of the timestamp to see if they are a valid year. This approach will fail if hour is 19 or 20 in which case you should analyse further characters.
    You could define different string patterns for year, month, day, hour, minute and second and then do string comparison with the different "parts" for the timestamp.
    If any of these checks fail then you don't have a valid timestamp.
    Cheers.

  • How do i fix my wifi if it connects and the bars are blue but no check sign appears next to the wifi name and does not connect to the internet???

    How do i fix my wifi if it connects and the bars are blue but no check sign appears next to the wifi name and does not connect to the internet???

    Did you already try to reset the iPod by holding the sleep and home button for about 10sec, until the Apple logo comes back again? You will not lose data.
    If this does not work, try to reset the network settings in Settings/General/Reset. After that you'll have to put in the passwords for all known networks again.
    More troubleshooting can be found here:
    iOS: Troubleshooting Wi-Fi networks and connections

  • The "Without Qty Posting" check box appears disabled in A/P and A/R credit Memo Rows

    Dear All,
    The "Without Qty Posting" check box appears disabled in A/P and A/R credit Memo Rows even when set visible and active in the form settings. Please advice. SAP Business One version 8.82 PL 13
    regards
    Deb

    Hi,
    Please check:
    The field is available only in the following
    cases:
    1. A/R credit memos not based on other documents or
    2. A/R credit memos based on an A/R invoice or
    3. A/R credit memos based on an A/R reserve invoice, for which items have been delivered, and
    4. if non-drop-ship warehouses are used
    Thanks & Regards,
    Nagarajan

  • How to make a check box appear to the user when he does a specific action

    hi all
    i have created a check box and i want if the user does not do a specific action the check box appears ?

    so sorry i ment a frame with an error message
    remember my last program about randomization
    i want if the user did not enter the first name
    a message appear to warn
    and if he did not enter the second name
    a message appear to warn
    here i created a created a second frame to appear as
    awarning message
    and the action to allow the error frame to appear
    else
    c2.setVisible();
    but the compiler didnot recognized c2
    is that not legal to create two objects from
    container c2=getcontentpane();
    i want to understand this problem
    and making my code right
    and making my code right
    Code:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import java.awt.event.*;
    class MyMatching extends JFrame
         final JTextField txt1=new JTextField("Name1",10);
         JLabel lbl3=new JLabel("Love");
         final JTextField txt2=new JTextField("Name2",10);
         JButton btn=new JButton("Result");
         JTextField txt3=new JTextField("%",5);
         JTextArea ta=new JTextArea(10,40);
         ImageIcon img=new ImageIcon("D:\\Mastering Java\\Java Projects\\Icons\\alert_lrg.gif ");
         JLabel lbl=new      JLabel(" Do You Love Computer Science?",img,JLabel.LEFT);
         JPanel pnl1=new JPanel();
         JPanel pnl2=new JPanel();
    JPanel pnl3=new JPanel();
         MyInner inner;
         MyMatching()
              setupGUI();
         private void setupGUI()
              setSize(500,300);
              setTitle("Love Matching v1");
              Container c=getContentPane();
         Container c2=getContentPane();
              c.setLayout(new BorderLayout());
              pnl3.setLayout(new BorderLayout());
              pnl1.setLayout(new FlowLayout());
    pnl1.add(txt1);
    pnl1.add(lbl3);
    pnl1.add(txt2);
    pnl1.add(btn);
    pnl1.add(txt3);
    pnl2.add(ta);
    c.add("North",pnl1);
    c.add("Center",pnl2);
    lbl.setIcon(img);
         pnl3.add("Center",lbl);
         c2.add(pnl3);
    setVisible(true);
    inner=new MyInner ();     
    btn.addActionListener( inner);
    // txt1.addActionListener( inner);
    // txt2.addActionListener( inner);
    class MyInner implements ActionListener
    public void actionPerformed(ActionEvent e)
    if(!txt1.getText().equals("Name1") && !txt2.getText().equals("Name2"))
         if (e.getActionCommand().equals("Result"))
    //First process
    int random= ((int)(50*Math.random()))+50;
    txt3.setText(random+"%");
    //second process
    String msg[ ]={"Love Can Touch Us One Time And Last For The Life Time\nYou Are A True Lovers.","Your Feelings Are Different \nYou Should Forget it."
    ,"Love Is A Passion\nYou Must Be More Romantic.","You Are An Angel\n But Your Lover Is A Liar."
    ,"You Must Think Deeply Before That Choice\nLove Is Not An Entertainment.","Do Not Lie To Your Hart\nYou Still Love Your First Lover."
    ,"You Cannot Love Again\nYour First Lover is So Lovely And Cannot Be Forotten."};
    ta.setText( msg[((int)( msg.length*Math.random()))] );
    /* breaking up the code
    double random = Math.random();
    int index = (int) (msg.length*random);
    String message = msg[index];
    ta.setText(message);*/
    ta.setForeground(Color.RED);
    else
    c2.setVisible();
         public static void main(String[]args)
              MyMatching mtch=new MyMatching();
    }

  • My mac is running slow, the spinning beach ball constantly appears. it seems that when i am in the apple store with fast wifi its a bit better. genius at the apple store checked the hard drive, it's all fine. what can it be?

    my mac is running slow, the spinning beach ball constantly appears. it seems that when i am in the apple store with fast wifi its a bit better. genius at the apple store checked the hard drive, it's all fine. what can it be? can it be a software issue with the wifi?
    also i noted that it has only been doing this since quite recently, before it was fine
    please help!

    First, back up all data immediately, as your boot drive might be failing.
    Step 1
    This diagnostic procedure will query the log for messages that may indicate a system issue. It changes nothing, and therefore will not, in itself, solve your problem.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Triple-click anywhere in the line below on this page to select it:
    syslog -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|find tok|n Cause: -|NVDA\(|timed? ?o' | tail | open -ef
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). I've tested these instructions only with the Safari web browser. If you use another browser, you may have to press the return key.
    The command may take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear.
    A TextEdit window will open with the output of the command. Normally the command will produce no output, and the window will be empty. If the TextEdit window (not the Terminal window) has anything in it, stop here and post it — the text, please, not a screenshot. The title of the TextEdit window doesn't matter, and you don't need to post that.
    Step 2
    There are a few other possible causes of generalized slow performance that you can rule out easily.
    Disconnect all non-essential wired peripherals and remove aftermarket expansion cards, if any.
    Reset the System Management Controller.
    Run Software Update. If there's a firmware update, install it.
    If you're booting from an aftermarket SSD, see whether there's a firmware update for it.
    If you have a portable computer, check the cycle count of the battery. It may be due for replacement.
    If you have many image or video files on the Desktop with preview icons, move them to another folder.
    If applicable, uncheck all boxes in the iCloud preference pane. See whether there's any change.
    Check your keychains in Keychain Access for excessively duplicated items.
    Boot into Recovery mode, launch Disk Utility, and run Repair Disk.
    If you have a MacBook Pro with dual graphics, disable automatic graphics switching in the Energy Saverpreference pane for better performance at the cost of shorter battery life.
    Step 3
    When you notice the problem, launch the Activity Monitor application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Activity Monitor in the icon grid.
    Select the CPU tab of the Activity Monitor window.
    Select All Processes from the View menu or the menu in the toolbar, if not already selected.
    Click the heading of the % CPU column in the process table to sort the entries by CPU usage. You may have to click it twice to get the highest value at the top. What is it, and what is the process? Also post the values for User, System, and Idle at the bottom of the window.
    Select the Memory tab. What value is shown in the bottom part of the window for Swap used?
    Next, select the Disk tab. Post the approximate values shown for Reads in/sec and Writes out/sec (not Reads in andWrites out.)
    Step 4
    If you have more than one user account, you must be logged in as an administrator to carry out this step.
    Launch the Console application in the same way you launched Activity Monitor. Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Select the 50 or so most recent entries in the log. Copy them to the Clipboard by pressing the key combinationcommand-C. Paste into a reply to this message (command-V). You're looking for entries at the end of the log, not at the beginning.
    When posting a log extract, be selective. Don't post more than is requested.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some personal information, such as your name, may appear in the log. Anonymize before posting. That should be easy to do if your extract is not too long.

  • When connecting to itools an error appears that please check the asccernity please check the itunes seetings

    when connecting to itools an error appears that please check the asccernity please check the itunes seetings plz tell me to coonect it

    when connecting to itools an error appears that please check the asccernity please check the itunes seetings plz tell me to coonect it
    iPhone 4S, iOS 7.0.6

  • Hello Mac heads.! I just downloaded Onyx for tiger.  All went well.  But I try to launch onyx from my applications and it doesn't offer checking the S.M.A.R.T. status so I can check my disk.  Everything else appears.  Uninstall only, forums, website etc.

    Hello Mac heads.! I just downloaded Onyx for tiger.  All went well.  But I try to launch onyx from my applications and it doesn't offer checking the S.M.A.R.T. status so I can check my disk.  Everything else appears.  Uninstall only, forums, website etc.

    I think you should get Applejack...
    http://www.macupdate.com/info.php/id/15667/applejack
    After installing, reboot holding down CMD+s, (+s), then when the DOS like prompt shows, type in...
    applejack AUTO
    Then let it do all 6 of it's things.
    At least it'll eliminate some questions if it doesn't fix it.
    The 6 things it does are...
    Correct any Disk problems.
    Repair Permissions.
    Clear out Cache Files.
    Repair/check several plist files.
    Dump the VM files for a fresh start.
    Trash old Log files.
    First reboot will be slower, sometimes 2 or 3 restarts will be required for full benefit... my guess is files relying upon other files relying upon other files! :-)
    Disconnect the USB cable from any Uninterruptible Power Supply so the system doesn't shut down in the middle of the process.

  • Hello, I have try to install Snow Leopard but when I am checking the section"about this computer" is show me the same soft OS x 10.5.8. Is it that normal or it must appear a different soft there. Please also advice what to do, because I have tried twice.

    Hello, I have try to install Snow Leopard but when I checking the section"about this computer" is show me the same soft OS x 10.5.8. Is it that normal or it must appear a different soft there. Please also advice what to do, because I have tried twice.
    Thanks

    These places,
    MacBook Pro
    https://discussions.apple.com/community/notebooks/macbook_pro
    https://discussions.apple.com/community/mac_os?view=discussions 
    http://www.apple.com/support/macbookpro
    You need to buy 10.6.x DVD or flash drive (w/ Lion or Mountain Lion).
    Check Apple Store or call.

  • If someone is checking the yahoo mail from my computer, their ID appears if the first letter of my ID is the same with theirs. How can I delete their history logging on my computer?

    If someone is checking the yahoo mail from my computer, their ID appears if the first letter of my ID is the same with theirs. How can I delete their history logging on my computer?

    thank you, Matt :)
    you really helped me!

  • HT1338 During the iPhoto slideshow of an event, photo appears blank/black. When I check the photos it is there.

    During an iPhoto slideshow of an event one or more photos appear as blank/black. When I check the photos they are there.
    Why is iPhoto not showing these photos?

    Hello damageed,
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iPhoto 6 and later: Rebuilding the iPhoto library
    http://support.apple.com/kb/HT2638
    Best of luck,
    Mario

  • HT1600 I have only updated my Apple TV this evening. But I have a USB image coming up on my screen. The blue light is flashing. Ive checked the box and there appears to be a 'small' usb port under the hdmi slot. Have I doine something wrong?

    I have only updated my Apple TV this evening. But I have a USB image coming up on my TV screen. The blue light is flashing. Ive checked the box and there appears to be a 'small' usb port under the hdmi slot. Have I done something wrong?

    Something has gone wrong - the AppleTV needs to be restored by connecting to a computer running current iTunes version using a microUSB to USB lead.
    AppleTv2 does not require power when doing this.
    Select the AppleTv Device on teh left in iTunes and restore to current firmware.
    AC

  • The "about:tabs" message always appears. The close button appears inactive so checking the "don't show this again" option doesn't work.

    I am running Firefox 3.6.13 under windows/xp. All of a sudden, when opening a new tab the "about:tabs" message comes up all the time. I checked the box labeled "do not show this message again" but the "close" box seems to be inactive. Pressing it has no affect so apparently the option to suppress the message is not set. The new tab must be closed manually.

    I lost several App Icons after install of 3.0 upgrade. Facebook, Tweetie, Birdhouse and a few others are no longer on the home screen, but they do sync through iTunes and I can access them if I move the home screen to the right (to show the spotlight search screen) and I can open them, the icons just won't show up. It is very inconvenient, hope Apple creates a fix for this soon.

  • So just today I was going to check the time on my iPod Touch 4th Gen, and I noticed that the lock button was not functioning, on closer inspection, it appeared as it had just gotten stuck in the pushed position.

    This afternoon I was doing things and needed to check the time, I pressed the lock button so it would show the time, but the button would not press. I looked closly and saw the button was stuck as if it was pushed and didn't come back out. I CANNOT lock my iPod using the button.
    More details:
    -4th gen. iPod touch
    -Small dent near lock button
    -32GB
    -2 Years old.
    PLEASE HELP

    First, have you looked at the previous discussions listed on the right side of this page under the heading "More Like This"?
    Next
    - Make an appointment at the Genius Bar of an Apple store. Maybe they can unstick it
    Apple Retail Store - Genius Bar                          
    If they can't
    Apple will exchange your iPod for a refurbished one for $99. They do not fix yours.
    Apple - iPod Repair price              
    A third-party place like the following maybe less. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens
    Fix it yourself if you are up to it
    iPod Touch Repair – iFixit

  • I checked the wrong box on for a website I use frequently and now recieve the message "Access to xpcom is denied. Set "signed.applets.codebase_principal_support=true" in about:config"; how can I change this?

    I am tech challenged. I know this is probably a setting that just needs to be changed but I have idea on how or where to go to change it. It appears to be a security setting - I checked the wrong box on a firefox popup regarding access. The site is grammarly.com and when I attempt to paste my copy to be grammar checked it won't allow me to do so, and I get the above quoted message. Please help!

    You can check the file prefs.js in the profile folder to see if you find any lines referring to that website and remove those capability.principal.codebase lines.
    *http://kb.mozillazine.org/prefs.js_file
    *http://kb.mozillazine.org/Profile_folder_-_Firefox
    Help > Troubleshooting Information > Profile Directory: Open Containing Folder

Maybe you are looking for

  • Unable to change Country Region until credit used, but unable to update credit card as no longer valid

    Hi, Please help. Im trying to change my app store from Autralia to New Zealand.  It is telling me i need to spend the credit on my itunes account before i can make this change.  So i went to make a purchase, however my Credit Card details need updati

  • Alpha Channel in Quicklook

    I would like to view videos i have with alpha channel in quick look but my quick look will not show me alpha. it substitutes it with black. I have seen it on other computers but have never been able to have it on mine... any suggestions? thanks.

  • Calling a report from another program

    Hi friends, I want to run an existing  report from one function module and I need the output in an internal table for further processing.But I don't want to change the called program for any export to memory.How can we do it ? Thanks in advance, Joby

  • SAP XI training from Siemens - Bangalore

    Hi All, I am planning to attend SAP XI training provided by Siemens. The course details are to cover TBIT40, TBIT41, TBIT43, TBIT44. I would like to get  a feedback on, how effective is this training is to start working on the project? as currently I

  • Does webDynpro allows us to include a link in the message?

    Hi All, Is there any possibility to pass links in webDynpro messages? Thanks in Advance, Praveen