Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

background job

Former Member
0 Likes
825

Hi all

when i m running one program in foreground its working fine.

but when i run it as a background job its giving error .this is because its not uploading the nodetypes(gui_upload) which i am uploading it from presentation server.

can u plz let me know why its happening such.

Hi all

when i m running one program in foreground its working fine.

but when i run it as a background job its giving error .this is because its not uploading the nodetypes(gui_upload) which i am uploading it from presentation server.

can u plz let me know why its happening such.

6 REPLIES 6
Read only

Former Member
0 Likes
796

Hi,

Check whether you have given correct filepath in variants declared for background job.

If that is not the problem then Paste the error message here for further analysis.

*Always reward points for helpful answers

Regards,

Amit

Read only

Former Member
0 Likes
796

hi

you cannot use gui_upload for background job.

for background job you should use application server and using open dataset,read dataset and close dataset.

thanks

Read only

Former Member
0 Likes
796

better u use ws_upload

Read only

Former Member
0 Likes
796

Hi soni,

i dont know exactly y it happens like that,

but i had face this problem, at tat time the problem is with 'ENTER'( I havent recorded properly, ( y i havent get problem while running in foreground means at that time manually iam entering thats y there is no problem in foreground.

but when coming to Background. without manuall interfiare, it wont processing,

so in my case i have verified recording steps and inserted perform statements for enter.

i dont know might be ur case also is same like this( try to check ur recording steps(perform statement once)

its just try...

Reward points if helpful.

Thanks

Naveen khan

Message was edited by:

Pattan Naveen

Read only

Former Member
0 Likes
796

Hi,

When running in backgroung load the file from application server.For all background jobs you cannot upload/download anything from/to presentation server.

Hope it helps.

Read only

Former Member
0 Likes
796

Hi,

GUI_UPLOAD cannot be used in background application .

ws_upload is obsolote.

please use class CL_GUI_FRONTEND_SERVICES.

in that ther eis a method FILE_OPEN_DIALOG try to use and see.

Please let me know the result.

Regards,

sasi