Application Development 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: 

file path problem in background job spool

Former Member
0 Kudos

Hello ,

i have probelm in file path of the background job in spool.

i have selection screen

Radiobutton : p_local

parameter: path1.

Radibutton: p_applicatioserver

parameter: path2.

if i keep program in background job, it will alwas take second option.

Now user selected first option and executed job in abckground. File stored in the spplication server with corect file path name. (path2)

But when i go to sm37 entered job name and checked the spool, it gives me the file path name path1. but i need the file path1 in the background spool. my question whether i need to change the file path name in program or whether i have to change the setting

Regards,

zub

3 REPLIES 3

Former Member
0 Kudos

Have you tried using a variant?

Former Member
0 Kudos

First of all, local is not an option in background job; you can only save to the apps server, and your program should take that into consideration by checking for sy-batch = 'X', for example. You should be checking in your at selection-screen to be sure the user has not chosen local path and file and background job.

Former Member
0 Kudos

Thanks.. problem solved myself. Data is passing to pool through program.