We have added search box. Key in SAP issue keyword to search
TopBottom

Announcement: wanna exchange links? contact me at sapchatroom@gmail.com.

RE: [I] [sap-dev] Finding Special Character and Space from a String Field

Posted by Admin at
Share this post:
Ma.gnolia DiggIt! Del.icio.us Yahoo Furl Technorati Reddit

Reply from soldner on Jan 27 at 11:14 AM
There is a program, DEMO_REGEX_TOY that you can use to test the REGEX expression.

To test this I created a test report and entered stuff in p_code.

'123456asdADBhaslk*LP' : sy-subrc = 0

'ABE 12345**/' : sy-subrc = 0

'AbcdefghiJk123345678' : sy-subrc = 4

REPORT z_swo_regex.

PARAMETERS p_code LIKE likp-traid.

FIND FIRST OCCURRENCE OF REGEX '[^A-Z,0-9]' IN p_code IGNORING CASE.
IF sy-subrc = 0.
WRITE: / 'OOPS - bad input'.
ENDIF.

---------------Original Message---------------
From: Emmett Ballard
Sent: Friday, January 27, 2012 10:04 AM
Subject: [I] Finding Special Character and Space from a String Field

if a cn `[alnum]`.

 
Reply to this email to post your response.
 
__.____._
Manage Settings | Unsubscribe | Create FAQ | Send Feedback
  
Copyright © 2012 Toolbox.com and message author.
Toolbox.com 4343 N. Scottsdale Road Suite 280, Scottsdale, AZ 85251
soldner  

achievements
 
Mark as helpful
View this online
Ask a new question
 
In the Spotlight
Earn Recognition for Your Contributions at Toolbox for IT. Gain Points for Community Achievements

_.____.__

0 comments:

Post a Comment

T r a n s l a t e to your language