cancel
Showing results for 
Search instead for 
Did you mean: 

Download SC items to excel

matias_z
Participant
0 Kudos

Hi all,

I want to have the ability to download the SC items to an excel file directly from the SC creation screen.

Then I'll edit that excle offline and create another logic to upload those items into a new SC.

Is there any standard way to do this?

If not...I could create a custom button in the standard WDA, but how do I download the item details into an excel from there?

Thanks in advance!

Matias

Accepted Solutions (1)

Accepted Solutions (1)

matias_z
Participant
0 Kudos

Solved it myself.

I created the custom button in the WDA /SAPSRM/WDC_UI_SC_DOTC_BD and to download the items I used the method:

  cl_wd_runtime_services=>attach_file_to_response(  i_filename  = 'TEMP.CSV'

                                                     i_content   = lv_table_xstring

                                                     i_mime_type = 'EXCEL'

                                                     i_in_new_window = abap_false ).

Answers (0)