How to include a variable into the file name for an Excel export from SAP

Hello,
I need to know how to include a variable into a file name. I need to add the previously inserted variable (SAP entity Number) to the file name of an Excel workbook exported from SAP.

Many thanks!

image

Hi Fabio,

I think the best way for you to achieve this is through string concatenation.

"export" + variableName + ".xlsx"

Hope this helps.

Thanks a lot Sebastian, that worked perfectly! Have a good one!
Fabio

1 Like

Glad it worked @Fabio_Di_Turi!

If you can flag the question as solved :white_check_mark: that will be great.

Then other users will know which replied to for the answer .

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.