반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- abap value in field Data Class error
- optional
- 쿠키의 정의
- BindingResult
- 세션이란
- 세션vs쿠키
- 구글 보안 api 활용
- .orelseThrow
- jpa
- n+1
- filter vs interceptor
- @Controller
- 필터의 정의
- 인터셉터의 정의
- 유연한 컨트롤러1 - v5
- 김영한
- spring
- springSecurityFilterChain 오류
- Testcode
- java.lang.AssertionError
- 세션의 정의
- SpringMVC
- controller
- 쿠키란
- 401오류
- spring MVC
- MVC
- 필터vs인터셉터
- Validation
- application-properties
Archives
- Today
- Total
ABAP DUMP ERROR 24시
sap (ALV Call-Screen) 본문
반응형
Screen 속에 컨테이너 속에 ALV라는 class를 주입한다.
Screen 은 첫 숫자는 100번 부터 시작한다.
static 선언
cl_demo_output=>display( itab)
Data : lcl_out type ref of cl_demo_output.
lcl_out->display( itab )
custom container 를 docking container
Call-Screen
# 꼭 저기 위에 있는 Module 주석 처리 제거하고 더블 클릭해서 생성하자.
추가
FORM set_fcat_layout .
gs_layout-zebra = 'X'.
gs_layout-sel_mode = 'D'.
gs_fcat-fieldname = 'CARRID'. "carrid필드만 나오게 하는 기능
gs_fcat-coltext = 'ID'. " 화면에는 carrid 가 id로 놔아야한다.
append gs_fcat to gt_fcat.
CLEAR : gs_fcat.
gs_fcat-fieldname = 'CARRNAME'. "carrid필드만 나오게 하는 기능
gs_fcat-coltext = 'Airline'. " 화면에는 carrcname Airline으로 놔아야한다.
append gs_fcat to gt_fcat.
CLEAR : gs_fcat.
gs_fcat-fieldname = 'CURRCODE'. "DB : CURRCODE
gs_fcat-coltext = 'Currency'. " VIEW : Currency
append gs_fcat to gt_fcat.
CLEAR : gs_fcat.
gs_fcat-fieldname = 'URL'. "DB : CURRCODE
gs_fcat-coltext = 'Airline Homepage'. " VIEW : Currency
append gs_fcat to gt_fcat.
CLEAR : gs_fcat.
ENDFORM.
체크 버튼 클릭
오류!
위의 로직은 module 에서 작성하는게 아니라 perform 안에서 정의해야한다.! //꼭 수정하기
TCODE 생성
=> NAME 입력.
--
PBO는 계속 돌게되는 오류가 발생! 따라서 set_fcat_layout 에 gt_fcat is inital 조건을 설정하면 된다.
RESIZEING.
동적 page 생성 => resizeing 허용해주겠습니다.
//나중에 팝업 사용시에는 resizing 해주면 안된다.
I
<결과 값>
리펙토링 Input 에 들어간 logic은 주석처리하고 fucntional type을 'e'로 변경시킨다.
꼭 순서대로 FREE 시키기.
docking container 로 변환하기
반응형
'[SAP]ABAP > ABAP 강의 SYNC' 카테고리의 다른 글
SAP ALV(FOR ENTRY, function 만들기) (0) | 2022.07.18 |
---|---|
SAP ALV( PERFORM , 개인 PACKAGE 만들기 CTS 코드 만들기,USER-COMMAND 만들기) (0) | 2022.07.15 |
sap (TOP include 만들기, ) (0) | 2022.07.08 |
sap workbench 14 (0) | 2022.07.07 |
sap workbench 13 (0) | 2022.07.06 |
Comments