09-26-2005 11:27 AM
Hi,
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.
Thanks,
Manjunatha.T.S
09-26-2005 11:40 AM
Hi
You can try to use the fm RS_SELECTIONS_DESCRIPTION or
RS_VARIANT_SELECTIONS_DESCR
Max
Message was edited by: max bianchi
09-26-2005 11:40 AM
Hi
You can try to use the fm RS_SELECTIONS_DESCRIPTION or
RS_VARIANT_SELECTIONS_DESCR
Max
Message was edited by: max bianchi
09-26-2005 11:46 AM
09-26-2005 11:48 AM
You can use RS_SELSCREEN_INFO. Pass the program name and get back all the parameters / Selops. Later read this internal table with the parameter name and get the type of it in FIELD-INFO-DTYP. It will "DATE" or 'TIME".
Cheers
09-26-2005 11:53 AM
Hi,
RS_COVERPAGE_SELECTIONS :Returns an internal table that contains a formatted list of all the selection parameters entered for a report. Table is ready to print out.
RS_REFRESH_FROM_SELECTOPTIONS :Get the current contents of selection screen
RS_VARIANT_CONTENTS : Returns the contents of the specified variant in a table.
Thanks&Regards,
Ruthra.R
09-26-2005 12:15 PM
Hi Everybody,
THanks for the quick VALUABLE information. I think, the function modules that you guys have provided will solve my problem.
THis was really very HELPFULL information for me.THanks for the information.
Regards,
Manjunatha.T.S