Skip to Content

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

Issue in moving files from data fodler to processed folder in background

Hi All,

I am facing one issue in moving files from data fodler to processed folder in case of background execution.

When i am executing the file in the foreground, i can move the file from Data folder to processed folder. I am using SXPG_COMMAND_EXECUTE FM to move the file from data folder to processed folder. I can see the file in processed folder once the program is executed.

But in case of executing the same program in background, it is giving me the error "Failed to move the file to processed folder" in the spool of SM37 and i can see the file still laying in data folder.

I tried to check other programs which acesses the same folder as the above program, whether they are able to move. They are able to move the file to processed fodler successfully both in foreground and background mode.

Please help me in resolving this issue.

Thanks,

Deepa

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