Getting physical path from logical path
I am using the FM FILE_GET_NAME to get the physical path for a given logical path which I have specified within the FILE transaction.
The code works fine when I run the program in foreground but it doesn't work when I run it in background.
Can anyone advise on why this is and how I can get this to work correctly in background aswell as foregroud.
The ultimate goal is to be able to poll a directory on the SAP server (which could be windows or unix) and to process the files in there.