Hi Experts,
I have a requirement to create a customer exit variable for the requirement as follows on a date field,
I step =2
1.read table for this variable if an entry for this variable is there
2.when we dont enter any date all the data for the date should be picked up,
3.if we enter a particular date, then the customer exit should insert one more entry which should say,
date = Blank and date greater than whatever date entered
I am new to the ABAP hence finding it difficult to get it in the code format,
I have the below standard code which we use , I would like to get suggestions from you how can I get the above requirement modifying the existing code below,
WHEN 'ZDATE'.
IF I_STEP = 2.
CLEAR: LS_RANGE, LV_GJAHR.
READ TABLE I_T_VAR_RANGE
WITH KEY VNAM = 'ZDATE'
INTO LS_VAR_RANGE.
IF SY-SUBRC = 0.
LS_RANGE-SIGN = 'I'.
LS_RANGE-OPT = 'GT'.
LS_RANGE-LOW = '2000001'.
CONCATENATE LS_VAR_RANGE-LOW '012' INTO LS_RANGE-HIGH.
APPEND LS_RANGE TO C_T_RANGE.
CLEAR: LS_RANGE.
ENDIF.
ENDIF.
Appreciate the quick help,
Thanks and Best regards,
Kiran