Skip to Content

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

problem with the routine in DTP filter

Hi experts,

i am faced a problem in the routine of filter in the DTP.

I am trying to write a small code in the routine of the filter to the fiscyear, but i see the following generated code, wenn

i create the routine:

  • TABLES: ...

  • DATA: ...

$$ end of global - insert your declaration only before this line -

  • -------------------------------------------------------------------

  • Fieldname =

  • data type =

  • length = 000000

  • -------------------------------------------------------------------

form compute_

So as you see there is no generated field in the part of

Fieldname =

and also

form compute_

so that i am not able to start to write the routine.

Has anyone an idea what the problem here is?

Thank you all in advance.

Best Regards,



Just click on save buttion go back and come into routine again, field name will be generated.

this is internal table you need to fill l_t_range

  • passing the current year to calander year

v_year = sy-datum(4).

l_t_range-fieldname = 'CALYEAR'.

l_t_range-low = v_year.

l_t_range-sign = 'I'.

l_t_range-option = 'EQ.

and then system given code will be there with index check.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question