메소드 파라미터가 매우 많습니다.

필수는 없고 모든 파라미터가 선택사항이라 필요에 따라 조합하여 사용합니다.

입력 파라미터 설명
유형1: BO IV_BO_KEY BO Key
IV_BO_NAME BO Name. 입력시 내부에서 BO Key로 변환
IV_BO_CATEGORY BO Category. TOR,TRQ,FA 의 경우 필요함. 생략시 자동 찾음.
IV_CHANGE_MODE Mode (빈값: display, C: create, U: change)
IV_KEY BO 데이터 Key
IV_SRC_INST_KEY create mode 에서 원본 데이터 키 지정
IV_TCM_TEMPLATE scale,rate,tccs 에서 템플릿 사용시
IV_REF_CREATE_MODE create mode 에서 reference mode 지정
IT_BO_DATA Shared Memory에 write
IV_SKIP_INITIAL_SCREEN Initial Screen 건너뜀
유형2: FPM IV_TARGET_APPL FPM Appl.
IV_CONFIGURATIONID FPM Config.
유형3: URL IV_EXTERNAL_URL External URL
공통 IT_PARAMETERS 추가 파라미터
IV_INPLACE_NAVIGATION 빈값: 새창으로, X: Inplace

 

 

사용 예

사용 예
예제1: TOR Key로 조회
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key      = /scmtms/if_tor_c=>sc_bo_key
    iv_bo_category = /scmtms/if_tor_const=>sc_tor_category-freight_unit
    iv_key         = lv_tor_key
).
예제2: TOR ID로 변경
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key      = /scmtms/if_tor_c=>sc_bo_key
    iv_bo_category = /scmtms/if_tor_const=>sc_tor_category-freight_unit
    iv_key         = /scmtms/cl_tor_helper_root=>return_key_for_torid( lv_tor_id )
    iv_change_mode = /bofu/if_fbi_runtime_c=>sc_change_modes-change
).
예제3: TRQ 생성
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key          = /scmtms/if_trq_c=>sc_bo_key
    iv_bo_category     = /scmtms/if_trq_const=>c_trq_category-forwarding_order
    iv_change_mode     = /bofu/if_fbi_runtime_c=>sc_change_modes-create
    iv_src_inst_key    = lv_fwq_key
    iv_ref_create_mode = /scmtms/if_ui_trq_c=>sc_action_param-ref_create_mode-fwo_from_fwq
).
예제4: schedule Key로 조회
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key = /scmtms/if_fo_schedule_c=>sc_bo_key
    iv_key    = ls_item-sched_key
).
예제5: location ID로 조회
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key     = /scmtms/if_location_c=>sc_bo_key
    it_parameters = VALUE #(
      ( key = 'LOCATION' value = ls_stop-log_locid )
    )
).
예제6: resource ID로 조회
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key     = /scmtms/if_resource_c=>sc_bo_key
    it_parameters = VALUE #(
      ( key = 'RESOURCE' value = ls_item-res_id )
    )
).
예제7: product(material) ID로 조회
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key     = /scmtms/if_mat_c=>sc_bo_key
    it_parameters = VALUE #(
      ( key = 'PRODUCT' value = ls_item-product_id )
    )
).
예제8: BP ID로 조회
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    iv_bo_key     = /bofu/if_bupa_constants=>sc_bo_key
    it_parameters = VALUE #(
      ( key = 'PARTNER' value = lv_bp_id )
      ( key = 'ROLE' value = lv_bp_role )
    )
).
예제9: order document 조회
/scmtms/cl_ui_navigation=>start_navigation(
  EXPORTING
    it_parameters = VALUE #(
      ( key = /scmtms/if_ui_cmn_c=>sc_wd_parameter-base_btd_tco
        value = ls_docref-btd_tco )
      ( key = /scmtms/if_ui_cmn_c=>sc_wd_parameter-base_btd_id
        value = ls_docref-btd_id )
    )
).
예제10: 스탠다드 worklist(POWL) 참고
/SCMTMS/CL_UI_ACTION_TOR->HANDLE_ACTION

+ Recent posts