Hi All,
I had requirement to change the selection screen created_at field dynamically based on the report execution date.
created_at field is of data type DEC 15.
Domain for this field is of type COM_TSTMP
The values for this field will be stored in the format as shown below
07.01.2010 12:10:13 TO 20.01.2010 15:10:13
Due to this format i cannot populate the date dynamically.
so decided to use the FM RS_CHANGE_CREATED_VARIANT to change the variant based on execution of report and trying to populate the select options.
I am populate the field created_at manually as per my requirement
and passing the values to the tables parameter vari_contents of the function module RS_CHANGE_CREATED_VARIANT.
it is resulted in runtime error saying that Unable to interpret "20180613 00:00:01" as a number.
Is there any way to overwrite the variant values for the field which is of data type DEC.
I tried many ways but the result is same.
Regards
Jai