cancel
Showing results for 
Search instead for 
Did you mean: 

EXIT_SAPLRRS0_001

Former Member
0 Kudos
253

Hi,

I'm looking for example for BEX user exit (EXIT_SAPLRRS0_001) with step 3.

Thanks in advance

View Entire Topic
former_member324842
Discoverer
0 Kudos

Hi

i would like to share one of my real experience with you, hope it will helps you.

We have created a report which should display 'TOP N' customers in the report and should display 'TOP N' in title also.

For this we have created to variables

Variable 1 : Conditions - (Formula with user entry) - zzcv1

Variable 2 : Query properties - (Text with customer exit) - zzcv2

Then we went in to CMOD, there we had Enhancement(RSR00001) assigned to a project and it will have a functional module (EXIT_SAPLRRS0_001) and include program(RSRU01), we went inside that include program and start implementing the coding

WHEN 'ZZCV2'.

IF I_STEP = 2 .

DATA : V_TOP (5) TYPE NUMC.

LOOP AT I_T_VAR_RANGE INTO INTERN_RANGE.

IF INTERN_RANGE = 'ZZCV1'

V_TOP = INTERN_RANGE - LOW.

CLEAR L_S_RANGE.

L_S_RANGE - LOW = V_TOP.

L_S_RANGE -SIGN = 'I'.

L_S_RANGE - OPT = 'EQ'.

APPEND L_S_RANGE TO E_T_RANGE.

END IF.

END LOOP.

END IF.