Hey guys,
I have created a report.
When I have executed it and want to save it, I end up always in somewhere in my repository.
Is it possible to say, that I always start at a specific location, when I can save my report. And if this is not the right location, I can navigate through the repos.
Do you know, how I can achieve this?
Thank you :)
Did you tried as recommended by Siddharth.
Standard NAV will always save in any UNC path.
Hello Malue1991
you can save your Report as PDF file or any other format. Please consider below syntax to save report as PDF file.
Syntax :
YourReport.Saveaspdf('Path\fileName.pdf');
Example :
TestRep.SaveAsPdf('D:\ReportData\AL Files\Test.pdf');
TestRep is a variable of type Report, please consider below line.
TestRep: Report "Sales Order";
Ok and how is it achievable? Do you know an example in the standard, where I can have a look?
Yes this is achievable , you can give user setup where the concerned person can define the location and on that location you can save the File.
Where can I find the code, which saves the report?
Please share the code you are using to save the report.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156