I am working on displaying the report Variants, downloading and uploading the variants.
When i want to upload the same, i am having problems with the date and time field.
I am using RS_VARIANT_CONTENTS FM to get the variant contents.
After downloading ,for date and time fields, i need to do some sort of conversion during uploading it to SAP ( from DD/MM/YYYY to YYYYMMDD(SAP Internal format)).
To identify the parameter/selectoption field as DATE or TIME Field, i need to know the data type of the field.
Please let me know if any body know any function module which will give the data type of the paramter field by taking parameter name as input.