Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

gui_download

i was using FM gui download, and everything is fine.

Question is how to gave new name for every new downloaded record.

Eg. ABC_1.txt ; ABC_2.txt; ABC_1.txt;......ABC_n

Tags:
Former Member
replied

use Concatenate to generate the file name and use a count variable.Increase the count for every loop pass...

loop at table.

count = count + 1

concatenate 'ABC_' count '.txt' into wf_filename.

Download this file

endloop

Or you can also use NUMBER RANGE object to generate a new number everytime you want to download a file.

Instead of declaring the count variable and incrementing it. Use the Number range object.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question