Search Help List 옵션 변경

Search Help List 출력 방식을 변경할 수 있음 1. 예시 2. 메뉴-도움말-설정 3. F4 도움말

더보기 댓글 남기기

Search Help Exit Function “F4IF_SHLP_EXIT_EXAMPLE”

테이블을 참조하여 Search Help를 만들때, Exit 로직을 추가하기 위해 사용하는 함수.   Exit 함수 추가 방법 1. F4IF_SHLP_EXIT_EXAMPLE Copy 2. 해당 Event에 로직 추가 [#M_Select로직|접기|   IF callcontrol-step = ‘SELECT’.    RANGES: lr_job FOR zta0bipc3120-job.    DATA: lt_3120 TYPE TABLE OF zta0bipc3120 WITH HEADER LINE.     LOOP AT shlp-selopt INTO ls_selopt.      CASE ls_selopt-shlpfield.        WHEN ‘JOB’.          lr_job-sign   = ls_selopt-sign.          lr_job-option = ls_selopt-option.          lr_job-low    = ls_selopt-low.          lr_job-high   = ls_selopt-high.          […]

더보기 댓글 남기기

Custom Search Help (CL_GUI_ALV_GRID)

ALV Grid 화면에서, 실제 코딩을 통해 Search Help를 만드는 방법.   1. fieldcatalog 추가  – Edit/f4availabl = ‘X’   2. Set Event Handler [#M_소스코드 보기|접기| DATA: go_grid              TYPE REF TO lcl_def_grid.DATA: go_event_receiver TYPE REF TO lcl_def_receiver.   CALL METHOD go_grid->register_edit_event    EXPORTING      i_event_id = cl_gui_alv_grid=>mc_evt_modified.   CALL METHOD go_grid->register_edit_event    EXPORTING      i_event_id = cl_gui_alv_grid=>mc_evt_enter. * Event Handler 등록  CREATE OBJECT go_event_receiver.  SET HANDLER :   go_event_receiver->handle_on_f4_1st     FOR go_grid. […]

더보기 댓글 남기기

Standard Search Help 이용하기

1. *internal table made to populate the value of werks when pressing f4 DATA: BEGIN OF IT_FINAL OCCURS 0,       WERKS TYPE MARC-WERKS,       END OF IT_FINAL. DATA: IT_RETURN LIKE DDSHRETVAL OCCURS 0 WITH HEADER LINE. PARAMETERS: P_WERKS(10) TYPE C. AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_WERKS.   SELECT  WERKS FROM MARC   INTO TABLE IT_FINAL.   CALL FUNCTION ‘F4IF_INT_TABLE_VALUE_REQUEST’     […]

더보기 댓글 남기기