Save SAP file with current date and month year

hello friends I need a tip on how to save my generated SAP file with current day and year?

Hi @pauloengenharia5,
use this, It will set current date and time
System.DateTime.Now.ToString(“dd-MM-yyyy hh:mm:ss”)

Hi @pauloengenharia5
→ First, take assign activity with below expression

Variable of type string TodaysDate = dateTime.Now.ToString("dd-MM-yyyy")

→ Use Typeinto or set text activity to enter the file name in SAP. Pass the file path like below

"C:\Users\ABC" & TodaysDate & ".xlsx"

→ Change file extension according to requirement

hi my friend, you can use
“yourFileName”+”_”+system.DateTime.Now.ToString(“dd_yyyy”)+”.yourFileExtension”