cancel
Showing results for 
Search instead for 
Did you mean: 

Variable

Former Member
0 Kudos

Hi All,

We have created 3 customer exits for quarter, YTD and inception to date and used the same exits in our query.It was working well.

Due to some reasons, we have deleted the data and reloaded it again. but now the variables are not working.(If we remove the variable from restriction we are getting some data. if we put it again no data is coming) We didnt change any thing in the query.

How to solve this issue?

.

Regards,

Dev

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

the problem is solved, as said by Pradhiba there is no data in one of fields on which the variable is depending and for the same the data is been loaded and now the variable is working and able to restrict data.

Former Member
0 Kudos

check the data.. is your data target having data for the values restricted by the variables?

Former Member
0 Kudos

Hi,

Thanks for your reply.

yes, we have the data for the values restricted by the variables.\

Regards,

Dev

Former Member
0 Kudos

Hi all,

As said below we are not getting the data for the variable,but we have the data in system and the code of the variable is as below ,please us in solving the problem

WHEN 'NONRAJ_INCEP_2_DATE'.

IF I_STEP = 2.

LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE

WHERE VNAM = 'VAR_ENTERFISCYEAR'.

EXIT.

ENDLOOP.

IF SY-SUBRC = 0.

L_SUBRC = SY-SUBRC.

L_FISC_YEAR = LOC_VAR_RANGE-LOW.

ENDIF.

LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE

WHERE VNAM = 'VAR_POST_PERIOD'.

EXIT.

ENDLOOP.

IF SY-SUBRC = 0.

L_SUBRC1 = SY-SUBRC.

L_FISC_PERIOD = LOC_VAR_RANGE-LOW.

ENDIF.

IF L_SUBRC = 0 AND L_SUBRC1 = 0.

CONCATENATE '2005' '001' INTO L_S_RANGE-LOW.

CONCATENATE L_FISC_YEAR L_FISC_PERIOD INTO L_S_RANGE-HIGH.

L_S_RANGE-SIGN = 'I'.

L_S_RANGE-OPT = 'BT'.

APPEND L_S_RANGE TO E_T_RANGE.

ENDIF.

ENDIF.

Regards

Dev