‎2008 Jul 07 12:06 PM
Hello,
Is there any method to get the runtime type of a variable defined in the program.
Eg
Data: LV_date type d.
Runtime I want to know the type of lv_date.
Thanks,
V
‎2008 Jul 07 12:11 PM
‎2008 Jul 07 12:08 PM
Hi,
Goto table tab in debug mode and double click on variable u will get the details.
Regards,
Prashant
‎2008 Jul 07 12:10 PM
Hi,
Goto table tab in debug mode and double click on variable.
Regards,
Prashant
‎2008 Jul 07 12:11 PM
‎2008 Jul 07 12:11 PM
hi ,
references. The DESCRIBE FIELD statement returns various type attributes of variables at run time .
regards ,
sandeep patel
‎2008 Jul 07 12:12 PM
Use DESCRIBE FIELD statement.
like:
data: l_typ type char1.
DESCRIBE FIELD v_date
TYPE l_typ.
Regards,
Joy.
‎2008 Jul 07 12:14 PM
Hi
REPORT yh1140_sample .
DATA :
w_i TYPE i,
w_c.
DESCRIBE FIELD w_i TYPE w_c.
WRITE :
w_c.
Regards
Pavan
‎2008 Jul 07 12:15 PM
hi
One method is debug and find double click the variable u ll get
second is use Use DESCRIBE statement
Amit