Skip to Content

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

assign date value to a variable using mask


i am doing a program that read some file but the name of the file is dynamic base in a config table where i put the path, some prefix and subfix and a date mask

now i want convert any give date to the date format ( date mask ) that i get when i fetch the data form the config table something like this

select single * from config_table wa_something 
where key1 = something

write sy-datum using mask wa_something-datemask to vFinalvar.

but that not work , not sure if i explain right... but i will thanks any help

Thanks in advanced

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