Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
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. __.____._ | _.____.__ |