Search This Blog

Showing posts with label BADI. Show all posts
Showing posts with label BADI. Show all posts

Thursday, January 26, 2012

Modify COOIS

Notes on how to add custom ALV fields to COOIS and handle custom double click event.

Objects to modify:
BAdI:

  • WORKORDER_INFOSYSTEM

Tables:

  • CT_IOHEADER-CI_IOHEADER
  • T354T
  • T354S
Program:
  • RCOTX000



Steps:

  1. Add custom fields to appropriate structure (i.e. CI_IOHEADER)
  2. Create BAdI implementation for WORKORDER_INFOSYSTEM (i.e. ZCL_IM_PP_HEADER)
  3. Edit appropriate method w/in the implementation (i.e. modify_table_layout)
  4. Handle Events
    1. Modify table T354T and T354S
  5. Modify field catalog
    1. execute RCOTX000 for appropriate structure (i.e. IOHEADER or IOOPER)