메뉴 건너뛰기

SAP 한국 커뮤니티



[추가]데이터 갱신시 특수문자 제거

얼음나라 제롬 2012.03.08 12:01 조회 수 : 13025 추천:2

데이터 갱신시 특수문자 제거하는 구문입니다..

 

저번에 어렵게 찾았는데.. 오늘도 역시나 한참 헤메다 찾았네요..ㅠㅠ

 

다들 유용하게 쓰셨으면 좋겠어요..

 

REPLACE ALL OCCURRENCES OF REGEX '[^[:alnum:]]' IN lv_text WITH ''.
특수문자 제거 옵션

======================================================================


`[:alnum:]'
Alphanumeric characters: `[:alpha:]' and `[:digit:]'.

`[:alpha:]'
Alphabetic characters: `[:lower:]' and `[:upper:]'.

`[:blank:]'
Blank characters: space and tab.

`[:cntrl:]'
Control characters. In ASCII, these characters have octal codes 000 through 037, and 177 (DEL). In other character sets, these are the equivalent characters, if any.

`[:digit:]'
Digits: 0 1 2 3 4 5 6 7 8 9.

`[:graph:]'
Graphical characters: `[:alnum:]' and `[:punct:]'.

`[:lower:]'
Lower-case letters: a b c d e f g h i j k l m n o p q r s t u v w x y z.

`[:print:]'
Printable characters: `[:alnum:]', `[:punct:]', and space.

`[:punct:]'
Punctuation characters: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ ] ^ _ ` { | } ~.

`[:space:]'
Space characters: tab, newline, vertical tab, form feed, carriage return, and space.

`[:upper:]'
Upper-case letters: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z.

`[:xdigit:]'
Hexadecimal digits: 0 1 2 3 4 5 6 7 8 9 A B C D E F a b c d e f.

======================================================================================================== 

윗 부분의 진한 부분을 변경해서 사용하시면 되요..

 

그리고 abap function으로는 "SF_SPECIALCHAR_DELETE" 을 이용하시면 될듯해요..

 

오늘도 무진장 삽질하다.. 찾았네요..^^

 

그럼 다들 행복하세요..

번호 제목 글쓴이 날짜 조회 수
» [추가]데이터 갱신시 특수문자 제거 [5] 얼음나라 제롬 2012.03.08 13025
165 어덯게 Data source 에서 HR Payroll 데이다(0HR_PY_1 ) 가져와야 하나요/ [3] 샙돌이 2012.04.25 9557
164 PSA -> DSO, DSO -> CUBE : HEX CODE [2] 십년만에 2011.07.09 7302
163 SAP BW Tables [8] 연준파파 2011.07.14 6791
162 [BW] 루틴 샘플 [11] file GETGETSAP 2011.08.08 6468
161 window 7 에서 BEX Analyzer Query Designer 으 실행이 안되네요 [3] 샙돌이 2011.08.25 6166
160 BW관련 TCODE 모음 입니다. [15] file 귤탱 2011.04.13 6075
159 windows7 64bit에서 BEX Analyzer Query Designer가 실행이 안돼요.. [4] 얼음나라 제롬 2012.02.02 5744
158 SAP EP메뉴에 연결된 Bex Application 기능관련 문의입니다 [1] file 슬러쥐 2012.05.18 5623
157 End routine, Field Routine 적용 안되는 경우 [1] 십년만에 2011.08.11 5586
156 ODS 안에 DATA 삭제 [2] 초보개발자 2012.03.12 5441
155 SAP BW(7.x) 공부하기 좋은 사이트 추천 [17] 파워몽 2010.02.18 5368
154 bw certi 취득 방법은 어떻게 되나요? 라일락 2011.03.29 5148
153 Design a successful user experience with Xcelsius dashboards [2] file 현서아빠 2010.09.26 4711
152 APO BW [2] file 현서아빠 2010.09.26 4396
151 SAP_EIM file song7450 2008.12.19 4390
150 HowTo Enable D&R between a BW characteristic and an EP Web file 모딜리아니 2009.12.04 4360
149 BW-How to Create InfoSource & InfoPackage [10] file 김태완 2007.03.09 4347
148 ERROR max no of 100 conversations exceeded 라는 에러가 뜨네요;; [3] 쥬댕이6 2012.08.07 4335
147 (ROUT) of type 'Routine' is not available in version 'A 메시지 [1] 십년만에 2011.12.12 4330