Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Custom Exit help needed

HI ,

I have developed a custom exit , to restrict based on USER who logs in and gets detais for him from my two ODS in the report

the code is some thing like this

FOR I_STEP = 2 .

select zempno from /bic/azhrpe00100 into table itab1 where /bic/zspnm = sy-uname.

select zempno from /bic/azhrpe00100 into table itab2 where /bic/zspnm = sy-uname.

CLEAR L_S_RANGE.

loop at itab1 into temp_zempno1.

L_S_RANGE-LOW = temp_zempno1.

L_S_RANGE-SIGN = 'I'.

L_S_RANGE-OPT = 'EQ'.

APPEND L_S_RANGE TO E_T_RANGE.

EXIT.

ENDLOOP.

CLEAR L_S_RANGE.

loop at itab2 into temp_zempno2.

L_S_RANGE-LOW = temp_zempno2.

L_S_RANGE-SIGN = 'I'.

L_S_RANGE-OPT = 'EQ'.

APPEND L_S_RANGE TO E_T_RANGE.

EXIT.

ENDLOOP.

SORT E_T_RANGE.

DELETE ADJACENT DUPLICATES FROM E_T_RANGE.

ENDIF.

this is my code , when i debug i can see E_T_RANGE getting the values , for the STEP 2 , but i am getting this error

<b>Error: Error for variable in customer enhancement ZEMPLO</b>

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question