검색결과 리스트
전체에 해당되는 글 125건
- 2017.06.12 암호화된 ABAP source 해제하기
- 2017.06.08 HANA 프로젝트 이슈 : select 구문 에러 관련(HANA, NW7.4이후버젼)
- 2017.06.08 New Open sql
- 2017.06.08 HANA에서 DB LINK 이슈 해결책
- 2017.05.19 HANA 주소 데이타
- 2017.04.20 스타크래프트 무료 받는곳
- 2017.04.19 날짜 관련 ABAP function
- 2017.04.14 gva 2000 student 2355
- 2017.04.12 SAP Buffer 초기화 T-code
- 2017.04.12 ALV 에서 프린트 할때 첫 페이지 없애기
글
암호화된 ABAP source 해제하기
https://www.daniel-berlin.de/devel/sap-dev/decompress-abap-source-code/
Decompress ABAP source code from table REPOSRC
Howdy!
If you ever wondered, where SAP stores your report source code, you probably came across table REPOSRC – but the source code is stored in a compressed format, so there's no way to get hold of it directly.
I've been trying to figure out, how this compression works for some time now… fortunately, several people dealt with the SAP DIAG protocol recently – which got me off the ground.
Algorithm
The DIAG protocol uses a form of the Lempel-Ziv (LZ) compression algorithm and a bold attempt confirmed that this is also true for the source code compression.
The code stored in REPOSRC-DATA is actually compressed using the LZH algorithm (Lempel-Ziv plus Huffman coding), which is used by the SAP DB MaxDB database too (thanks to Dennis Yurichev for the idea).
Knowing this, I wrote a decompression tool around a small portion of the MaxDB code, which also takes care of some SAP specialties:
- The 1st byte of the compressed data seems to be junk (or might have a special meaning !?)
- The first 2 bytes of the decompressed source are junk, too ?!
- Lines are terminated with character code 0xFF, which has to be adjusted
- The 1st, 3rd, 5th … decompressed byte contains NUL (not sure, why !)
The decompressed source code has a fixed line length of 255 characters (blank-padded).
Usage
- Download this archive (it contains the decompressor tool compiled for Win32 and an ABAP report to dump the binary source code). The source code is available here; you can easily compile it on Linux/BSD/Unix/Windows using the enclosed build script.
- To extract the compressed source code from SAP, use the report "ZS_REPOSRC_DOWNLOAD". It reads the DATA field from table REPOSRC for a given report and stores it in a binary file on your workstation.
- Decompress the file on the command line.
PS: Works for Kernel 7.x, no guarantee for older releases.
PS 2: The functionality on non-Unicode systems is unknown… I'll check this later.
'SAP Program > ABAP' 카테고리의 다른 글
Checkpoint group (0) | 2017.08.03 |
---|---|
Table control column enable/disable 하는 방법 (0) | 2017.06.13 |
HANA 프로젝트 이슈 : select 구문 에러 관련(HANA, NW7.4이후버젼) (0) | 2017.06.08 |
New Open sql (0) | 2017.06.08 |
HANA에서 DB LINK 이슈 해결책 (0) | 2017.06.08 |
글
HANA 프로젝트 이슈 : select 구문 에러 관련(HANA, NW7.4이후버젼)
테이블에 SINGLE 이라는 컬럼이 있을 경우, NW7.4 이젼 버젼에서는 문제 없이 동작했는데
NW7.4에서는 시스템 명령어로 등록되어 에러가 발생함
SELECT burks single from ~~
! 기호를 추가하여 다음과 같이 수정하면 에러가 발생하지 않음
SELECT burks !single from ~~
'SAP Program > ABAP' 카테고리의 다른 글
Table control column enable/disable 하는 방법 (0) | 2017.06.13 |
---|---|
암호화된 ABAP source 해제하기 (0) | 2017.06.12 |
New Open sql (0) | 2017.06.08 |
HANA에서 DB LINK 이슈 해결책 (0) | 2017.06.08 |
HANA 주소 데이타 (0) | 2017.05.19 |
글
New Open sql
'SAP Program > ABAP' 카테고리의 다른 글
암호화된 ABAP source 해제하기 (0) | 2017.06.12 |
---|---|
HANA 프로젝트 이슈 : select 구문 에러 관련(HANA, NW7.4이후버젼) (0) | 2017.06.08 |
HANA에서 DB LINK 이슈 해결책 (0) | 2017.06.08 |
HANA 주소 데이타 (0) | 2017.05.19 |
날짜 관련 ABAP function (0) | 2017.04.19 |
글
HANA에서 DB LINK 이슈 해결책
'SAP Program > ABAP' 카테고리의 다른 글
HANA 프로젝트 이슈 : select 구문 에러 관련(HANA, NW7.4이후버젼) (0) | 2017.06.08 |
---|---|
New Open sql (0) | 2017.06.08 |
HANA 주소 데이타 (0) | 2017.05.19 |
날짜 관련 ABAP function (0) | 2017.04.19 |
SAP Buffer 초기화 T-code (0) | 2017.04.12 |
글
HANA 주소 데이타
흔히 LFA1/KNA1 -ADRNR 필드로 ADRC값을 읽은것 같은데,,
데이터가 잘 안들어가 있어서 보니 BUT020-PARTNER ADDRNUMBER의 ADRC 주소를 읽어야
데이터가 잘 불러와 지는것 같습니다..
물론 더 정확하게 하려면 BAPI_BUPA_ADDRESS_GETDETAIL 바피 펑션으로..
혹시 업무 참고하셔요..
'SAP Program > ABAP' 카테고리의 다른 글
New Open sql (0) | 2017.06.08 |
---|---|
HANA에서 DB LINK 이슈 해결책 (0) | 2017.06.08 |
날짜 관련 ABAP function (0) | 2017.04.19 |
SAP Buffer 초기화 T-code (0) | 2017.04.12 |
Windows Temp Directory 가져오기 (0) | 2017.04.10 |
글
스타크래프트 무료 받는곳
'지니꺼' 카테고리의 다른 글
바탕화면 (0) | 2018.02.22 |
---|---|
abap Text 언어 변환 프로그램 (0) | 2017.08.22 |
gva 2000 student 2355 (0) | 2017.04.14 |
sap online help document (0) | 2017.04.06 |
XML Viewer (0) | 2017.03.03 |
글
날짜 관련 ABAP function
'SAP Program > ABAP' 카테고리의 다른 글
HANA에서 DB LINK 이슈 해결책 (0) | 2017.06.08 |
---|---|
HANA 주소 데이타 (0) | 2017.05.19 |
SAP Buffer 초기화 T-code (0) | 2017.04.12 |
Windows Temp Directory 가져오기 (0) | 2017.04.10 |
S4 HANA 기반 시스템 구축을 위한 가이드 (0) | 2017.04.05 |
글
gva 2000 student 2355
'지니꺼' 카테고리의 다른 글
바탕화면 (0) | 2018.02.22 |
---|---|
abap Text 언어 변환 프로그램 (0) | 2017.08.22 |
스타크래프트 무료 받는곳 (0) | 2017.04.20 |
sap online help document (0) | 2017.04.06 |
XML Viewer (0) | 2017.03.03 |
글
SAP Buffer 초기화 T-code
SAP Buffers can be reset with below commands :
1. /$SYNC - Resets the buffers of the application server
2. /$CUA - Resets the CUA buffer of the application server
3. /$TAB - Resets the TABLE buffers of the application server
Sql Table buffer clear(Performance Test 등에 활용하면 ...)
4. /$NAM - Resets the nametab buffer of the application server
5. /$DYNP - Resets the screen buffer of the application server
6. /$ESM - Resets the Exp./ Imp. Shared Memory Buffer of the application server
7. /$PXA - Resets the Program (PXA) Buffer of the application server.
'SAP Program > ABAP' 카테고리의 다른 글
HANA 주소 데이타 (0) | 2017.05.19 |
---|---|
날짜 관련 ABAP function (0) | 2017.04.19 |
Windows Temp Directory 가져오기 (0) | 2017.04.10 |
S4 HANA 기반 시스템 구축을 위한 가이드 (0) | 2017.04.05 |
Maint view event 관련 coding (0) | 2017.03.31 |
글
ALV 에서 프린트 할때 첫 페이지 없애기
data g_PRINT TYPE SLIS_PRINT_ALV.
g_print-no_coverpage = 'X'.
g_print-no_print_listinfos = 'X'.
...
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
....
is_print = g_print
....
이렇게 해주면 됩니다.
'SAP Program > ALV' 카테고리의 다른 글
Background 에서 ALV Grid 로 작업 (0) | 2017.04.12 |
---|---|
ALV Toolbar Button 을 제일 앞에 만들기 (0) | 2017.04.06 |
ALV Cell Style, Cell Color 개별 지정 (0) | 2017.03.30 |
ALV Change or method call 이후에 넣어야 하는 code (0) | 2017.03.20 |
ALV Grid Row별 색깔 지정하기 - zebra 기능 색깔 지정하기 (0) | 2017.03.16 |