Notice
Recent Posts
Recent Comments
Link
250x250
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- sap #abap #cl_gui_alv_grid #function code #alv
- sap #abap #data exists #read table #xsdbool #line exists
- abap #wildcard #와일드카드 #sql #select #where조건
- abap #sap #free #alv #clear #refresh
- abap #동적 where #동적 select
- grave #abap #sap #backquote
- sap #abap #화폐단위 #sap conversion #inr conversion
- abap #sap #sy-datlo #sy-datum #syst #system variable # 시스템변수
- abap #se39 #srepo #sap #development #compare code
- abap #sap #hotspotclick #do_sum
- abap #sap #conversion #currency #conversion_currency
- abap #sap #color #row #layout
- abap #sap #se16h #data #tcode
- sap #cts #abap #release #merge cts #request no
- abap move corresponding #abap data이동 #abap correspond mapping
- abap #initial #null #abap inital vs null
- abap #sap #sy-index #sy-tabix #syst
- abap #sap #search hlep #f4 #f4if_int_table_value_request #change column name
- open sql #sap #abap #where exists #where not exists
- abap #sql #sap #query 실행 순서 #query 작성 순서
- abap #sap #layout #layout 설정
- #apostrophe
- abap #sap #conversion #currency #cfield #waers
- abap #정규표현식 #regular expression
- abap #abap_move
Archives
- Today
- Total
0v0__DEV
[02]Search Help - Column 명 변경 (How to change the column title for custom F4 help) 본문
ABAP project
[02]Search Help - Column 명 변경 (How to change the column title for custom F4 help)
0v0_삐약 2024. 7. 17. 13:41728x90
프로그램을 개발하다 보면, 서치헬프를 생성해야 하는 일이 많다!
서치헬프에 대한 것은 차차 Basic 게시판에서 천천히 다뤄보기로 하고,
이번 글은 'Search help' 의 column명을 변경하는 방법에 대해 적는다!
서치헬프 생성할 때 주로 사용하는 펑션은 아래와 같다.
F4IF_INT_TABLE_VALUE_REQUEST | 해당하는 데이터를 Itab으로 만들어 사용 |
F4IF_FIELD_VALUE_REQUEST | 기존에 존재하는 Search hlep를 사용 |
내가 사용한 것은
F4IF_INT_TABLE_VALUE_REQUEST 이고,
![]() |
![]() |
원래 위와 같이 코딩했다. 오른쪽에 보면 Search help가 보이기는 하는데,
컬럼 명이 ChiProj.St, User field 등 이상하게 나온다. (엘리먼트 디스크립션 따라 나옴)
이 컬럼명을 변경하기 위해서 Callback_method를 추가했다.
1. CLASS - lcl_callback_method에 대해 정의
: 서치헬프 Fieldname 이 'NAME1' 일 때, 보여주고 싶은 이름(컬럼명) 지졍해주고, Outputlen 까지 지정
2. lo_callback 오프젝트 생성 및
F4IF_INT_TABLE_VALUE_REQUEST 에 callback_method 추가
결과 : 원하는대로 컬럼며이 변경되어 출력!
728x90
'ABAP project' 카테고리의 다른 글
[06] FREE 구문 (0) | 2024.08.07 |
---|---|
[05] CL_GUI_ALV_GRID 의 Attributes (0) | 2024.07.29 |
[04] Currency Conversion SQL Func (2) | 2024.07.24 |
[03] do_sum 필드 & hotspot_click Event (2) | 2024.07.22 |
[01] 타 시스템과 코드 비교 ( Compare code with other servers : SE39, SREPO) (1) | 2024.07.09 |