2023 Feb 01 10:06 AM
Hi expert,
I am facing an issue at the time of class enhancement for suggesting default file name at the time of download report into excel file instate of suggest EXPORT as SAP Default.
I do enhancement in CL_SALV_EXPORT_XML_DIALOG Class- in DOWNLOAD Method by orver write method by doing below changes in code to assignment into filename as unique at every time.
concatenate sy-uname '_' sy-tcode '_' sy-datum '_' sy-uzeit into l_default_file_name .
CONCATENATE l_default_file_name '.' l_default_extension INTO l_default_file_name.
instate of below SAP Standard code-
* concatenate 'export.' l_default_extension into l_default_file_name.
After doing the same and activate , but changes not been effected.. please suggest what to do.
2023 Feb 01 10:30 AM
By debug, did you make sure that l_default_file_name was changed to the new value you have assigned?
2023 Feb 02 4:32 AM
Can any one suggest, Which Class is used to Assign File Name as EXPORT at the time of Download any ALV Report to Excel File ? in SAP
2023 Feb 02 7:44 AM
Please use the COMMENT button for comments, asking for complements, adding details, replying to a comment or a proposed solution or to the OP question, etc., ANSWER is only to propose a solution, dixit SAP text at the right of the answer area.
2023 Feb 02 7:46 AM
I will answer your new question asked 3 hours ago ("Which Class is used to Assign File Name as EXPORT at the time of Download any ALV Report to Excel File ?") only after you have answered mine (I'm just asking for some details). Or should I consider you don't want any help from me? 😉