Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Class enhancement of CL+SALV_EXPORT_XML_DIALOG - as overwrite method .

mm_biswajit
Explorer
0 Kudos
455

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.

4 REPLIES 4

Sandra_Rossi
Active Contributor
0 Kudos
387

By debug, did you make sure that l_default_file_name was changed to the new value you have assigned?

mm_biswajit
Explorer
0 Kudos
387

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

0 Kudos
387

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.

Sandra_Rossi
Active Contributor
0 Kudos
387

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? 😉