on 05-23-2014 6:11 PM
Hi experts,
I am attempting to run the OA_UPLOAD_AND_LINK program in the background to upload employee photos placed into a directory on a shared drive by each HR manager. When I check SM37, I see the job was cancelled and the error "Frontend parameter (parameter error)" Message no. OA501 was the reason.
If I run the program in the foreground using the same variant, I don't have any issues and the photos load just fine. Any suggestions on what parameter it's complaining about?
My goal is to schedule this program to run nightly and process any pictures in the shared drive. I'll have a second job remove the files from the shared drive at a later time.
Regards,
Garrett Meredith
FYI,
After looking at the code:
* reject process if running in background and frontend = 'X'
if sy-batch = 'X' and frontend = 'X'.
message id 'OA' type 'E' number '501' with 'Frontend'. "#EC NOTEXT
leave.
endif.
This is the code inside the program preventing it from running in the background. WHY!?! would they do this?
Regards,
Garrett
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
the report has a parameter which specifies if the files are loaded from a local pc or from the application server. If you have a variant which is working in dialog the settings in it might be in a way which defines the path for a local pc upload instead of application server upload. So you should check if the settings are actually set to application server upload and the file path is specified in the correct way (\ might need to be replaced with / depending on the OS of the application server and of course the path itself must match the application server mounts).
Kind Regards
Roman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.