on 06-14-2011 2:01 PM
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,
Ali
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use this line as the fieldname that you need is given in a system-variable.
l_t_range-fieldname = i_fieldnm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
May be ..u haven't mapped the field(for which u are trying to write the code ) in the transformation.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.