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

Dump in Background Scheduling

former_member194152
Contributor
0 Likes
720

Hi all,

I am using FM 'FILE_GET_NAME' to retrieve path from application server and then i read and write on that file.

Further my problem is this when i execute program in forground it is running fine but when i am scheduling it to background so it give dump with DATASET_NOT_OPEN.I have checked all varriant for foreground and background but still i face same problem.

Please help me in this regards

Thanks

Gagan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
628

DATASET_NOT_OPEN error is bcz the file which you are trying to open using OPEN DATASET either doesnt exists on the specified path or you dont have necessary authorization to access the same.

4 REPLIES 4
Read only

Former Member
0 Likes
629

DATASET_NOT_OPEN error is bcz the file which you are trying to open using OPEN DATASET either doesnt exists on the specified path or you dont have necessary authorization to access the same.

Read only

former_member194152
Contributor
0 Likes
628

Hello prashant,

Thanks for reply,that i know but with same username i can run program in foreground without dump.

is there any additional authorization required for forground and background processing.

Read only

Former Member
0 Likes
628

Hey, Gagan.

You canot activate FILE_GET_NAME in background mode, it requires user's interrupt.

Activate it according to sy-batch (eq X at background mode), meaning that if sy-batch is empty activate it and if it equals X initilize the file path with a default file without any user's interuction.

Best Regards,

Rebeka

Read only

0 Likes
628

hi Rebeka....

Thanks for the answer actually i am using tcode SM36 to schedule in background so in this case how i activate function module based on sy-batch.....please send steps...

Thanks

Gagan