/ALV_PATTERN

Useful FM-pattern for add local class to show alv

Primary LanguageABAP

ALV_PATTERN

Useful FM-pattern for add local class to show alv.

  1. Create pattern 'ZALV_PATTERN'

alt text

  1. Write '*$&$MUSTER' for add code dynamically from function module which we are will create on next step.

alt text

  1. Create your FG ( name doesn't matter ). Inside FG create FM with mask <pattern_name>_EDITOR_EXIT = ZALV_PATTERN_EDITOR_EXIT. And table parametr BUFFER type RSWSOURCET.

alt text

  1. Past code into your new FM from zalv_pattern. Then save and activate.

  2. And now add your pattern.

alt text