Posts

Showing posts from April, 2022

SAP ABAP - Add Custom Screen In MIGO Header

Image
  1. Create BAdI MB_MIGO_BADI Implementation from tcode SE19 2. Enter Implementation Name 3. Create Enhancement Implementation 4. Open Implementing Class 5. Create variable declaration on class attribute 6. Append custom structure to GOHEAD structure from SE11 save & activate structure. 7. Create custom table to store custom field data 8. Create custom ABAP program in SE38 9. create 2 sub screen for input and display   All source code custom ABAP program *&---------------------------------------------------------------------* *& Report ZMIGO_CUSTOMFIELD *&---------------------------------------------------------------------* *& *&---------------------------------------------------------------------* REPORT  zmigo_customfield . TABLES  :  gohead . DATA  cs_goitem  TYPE  goitem . *&---------------------------------------------------------------------* *& Module STATUS_8000 OUTPUT *&---------------------------------------------------------------------*

SAP ABAP - Add Custom Screen In Header VL01N/VL02N/VL03N

Image
 1. Append Structure in standard table LIKP open transaction SE11 Click Append Structure Create new append structure and activate 2. Implement BADI goto transaction SE18, select BAdI Name ->  LE_SHP_TAB_CUST_HEAD and click display Select Implementation and click create double click Name of Implementing Class -> ZCL_IM_E_SHP_TAB_CUST_HEAD    METHOD  if_ex_le_shp_tab_cust_head ~ activate_tab_page .      IF  sy - uname  =  'ABAP01' .       ef_caption      =  'KB Document' .  " screen caption       ef_program      =  'SAPLZFG_DELV' . "sapl followed by the function group created zsd537_head       ef_position     =  13 .  " tab position       ef_dynpro       =  '8001' .  " screen number       cs_v50agl_cust  =  'X' .      ENDIF .    ENDMETHOD .    METHOD  if_ex_le_shp_tab_cust_head ~ transfer_data_to_subscreen .      CALL  FUNCTION  'ZSET_DELIVERY_HEAD_SCREEN_VAL'        EXPORTING         i_likp  =  is_likp .    ENDMET