출처 : http://hohojj.egloos.com/1381557
이상하게도 ABAP workbench에 sql query tool이 빠져있음.
마침 Jayanta Narayan Choudhuri 라는 인도분이 만든 yes4sql이라는 query 툴이 있어서 개인적으로 유용하게 사용하던 중 몇몇 아쉬운 점을 고쳐서 사용하게 되었고 성능이 나쁘지 않은 듯해서 원저작자인 Mr. Choudhuri의 동의하에 소스 수정본을 공개하기로 함.
Ridiculously there's no SQL query tool in ABAP workbench.
I was trying to find solution, because standard se16 isn't enough in the field. (Lots of join and join, aggregation, ...)
Finally I found "yes4sql". It's so cool and smoothly works. But there was little lack of functions.
It didn't support aliasing, some aggregate functions, '*', implicitly listed select clause, and some other features.
Especially, increasing the number of columns in select clause makes the response time slower and slower.
So I tried to add more functionality. And here's first release of myself.
The original author, Jayanta Narayan Choudhuri, thankfully agree to distribute it freely.
I'm trying to make it robust, and so far so good. But anyone who find the bug post it here. Don't hesitate please.
ABAP source and screendd
How to make ui (screen 100)



Screen capture




Sample queries
select distinct
a~bustransid
b~item_number
count( distinct a~position_amt )
max( distinct a~position_amt )
sum( a~position_amt )
from trdv_trans_flow as a
left join tracv_accitem as b
on a~bustransid = b~bustransid
where a~bustransid in ( select bustransid from trdv_trans_flow )
group by a~bustransid b~item_number
select count( * )
from trdv_trans_flow as a
join tracv_accitem as b
on a~bustransid = b~bustransid
where a~bustransid in ( select bustransid from trdv_trans_flow )
select * from trdv_trans_flow as a
left outer join tracv_accitem as b
on a~bustransid = b~bustransid
where a~bustransid in ( select bustransid from trdv_trans_flow )
select trdv_trans_flow~bustransid flow_number from trdv_trans_flow inner join tracv_accitem as a
on trdv_trans_flow~bustransid = a~bustransid where item_number = 1
댓글 11
-
[퐈]박
2009.12.22 23:31
-
Risky
2009.12.23 03:15
좋은 정보 감사합니다.
4.6c는 yes4sql 오리지널만 가능한것 같아요. ^^;;;
-
썬
2009.12.23 20:10
옷 좋은 정보 감사합니다.
-
G.A.S
2009.12.24 18:56
이거슨 무슨에 쓰는 소스인거죠? -ㅇ-;;
-
Mike
2010.01.06 18:42
유용한 자료 감사합니다. -
ydoory
2010.02.07 08:57
뭔지는 자세히 모르겟지만 좋은 자료 감사합니다.
-
고담
2010.04.20 18:03
어떻게 사용해야 하는건가요???? 궁금합니다. ㅜ
-
KKGGTT
2010.04.21 22:45
무슨자료인지 모르겠습니다.
-
hooni
2010.06.24 17:27
오렌지, 토드와 같이 쿼리문을 바로 테스트 해볼수있는...
SAP상에서 쿼리문을 날려볼수있게 해주는 겁니다.
-
북극곰
2011.01.26 02:10
감사합니다^^ -
LeeMin
2012.03.26 22:59
감사합니다~
번호 | 제목 | 글쓴이 | 날짜 | 조회 수 |
---|---|---|---|---|
1084 |
ABAP교재 올립니다1.
[37] ![]() | 케리언 | 2010.02.02 | 10925 |
1083 |
ABAP Tips
[22] ![]() | 별이 | 2010.01.24 | 9393 |
1082 |
abap_report 자료
[28] ![]() | 뜨거운감자 | 2010.01.12 | 6537 |
1081 |
<img src=d.gif>문법[추천:e-abap]
[25] ![]() | 꼬마쿠키 | 2010.01.12 | 8180 |
1080 |
용어정리
[10] ![]() | 꼬마쿠키 | 2010.01.12 | 6742 |
1079 |
초기화
[5] ![]() | 꼬마쿠키 | 2010.01.12 | 6288 |
1078 |
파일 업로드
[5] ![]() | 꼬마쿠키 | 2010.01.12 | 11083 |
1077 |
T Codes Details
[8] ![]() | 꼬마쿠키 | 2010.01.12 | 5197 |
1076 |
날짜관련 유용한 fucntion입니다
[9] ![]() | 꼬마쿠키 | 2010.01.12 | 6443 |
1075 |
ALV 활용해 보기 메뉴얼입니다.
[38] ![]() | 미스터비인 | 2010.01.05 | 6575 |
1074 |
변환 프로젝을 위한 소스에서 한글찾아내기
[6] ![]() | 미스터비인 | 2010.01.05 | 8827 |
1073 |
<img src=good.gif>디버깅 에 관한 자료입니다.
[43] ![]() | indianhead | 2010.01.04 | 8835 |
1072 |
Function 관련 자료입니다.
[13] ![]() | indianhead | 2010.01.04 | 7714 |
1071 |
BDC 실습 자료입니다.
[30] ![]() | indianhead | 2010.01.04 | 8464 |
1070 |
BDC 관련 자료입니다.
[25] ![]() | indianhead | 2010.01.04 | 7931 |
» | SQL 실행 프로그램 [11] | 열공아밥 | 2009.12.22 | 69871 |
1068 |
Report 프로그램 교육자료입니다.^^
[21] ![]() | indianhead | 2009.12.22 | 7621 |
1067 |
New abap 에디터소개
[11] ![]() | 열공아밥 | 2009.12.21 | 8819 |
1066 |
LSMW 활용자료
[20] ![]() | 대게 | 2009.12.16 | 9953 |
1065 |
ABAP_QUERY_교육
[22] ![]() | 불루마린 | 2009.12.16 | 8093 |
좋은 정보 감사합니다...