Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/sgudkov/alv_pattern

Useful FM-pattern for add local class to show alv
https://github.com/sgudkov/alv_pattern

abap abap-alv abap-hints

Last synced: about 2 months ago
JSON representation

Useful FM-pattern for add local class to show alv

Awesome Lists containing this project

README

        

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

1. Create pattern 'ZALV_PATTERN'

![alt text](https://github.com/Sgudkov/ALV_PATTERN/blob/master/Utilties.png)

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

![alt text](https://github.com/Sgudkov/ALV_PATTERN/blob/master/Alv_pattern.png)

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

![alt text](https://github.com/Sgudkov/ALV_PATTERN/blob/master/FM_pattern.png)

4. Past code into your new FM from [zalv_pattern](https://github.com/Sgudkov/ALV_PATTERN/blob/master/zalv_pattern.abap). Then save and activate.

5. And now add your pattern.

![alt text](https://github.com/Sgudkov/ALV_PATTERN/blob/master/add_pattern.png)