07-02-2015 9:17 AM
Hi,
I have abap program for read files from application server using open dataset and post data in fbcj .
I need this program to run auomatic everyday.
when make execute in background from SE38 it creates job with schedule daily.
when monitor job from SM37 in finishes after 3 sec .
check the import in FBCJ t-code , I found no data imported from excel.
kindly help for solve this issue.
07-16-2015 11:45 AM
Dear Mona,
Kindly check with 'JDBG' transaction after going to specific job log.
And it may be any authorization issue as well,Like your id has all the rights but jobman may not have,
Kindly check with Basis team.
Regards
Ravikant
07-02-2015 9:35 AM
Hi Mona,
Kindly check whether any variant need to be assigned.
Kindly debug the same program using Background option in SE38, which helps to find out the issue.
Regards
Rajkumar Narasimman
07-02-2015 10:16 AM
yes I have variant assigned to program ,
when execute background and start immediate it works fine
but when schedule it doesn't import any data for FBCJ
07-02-2015 10:21 AM
Hi Mona,
Kindly check whether the variant is assigned in background schedule(SM36).
Regards
Rajkumar Narasimman
07-16-2015 9:51 AM
07-02-2015 9:36 AM
Hi Mona,
No job logs?
What`s happen, if you debug the background job?
regards,
Archer
07-02-2015 9:58 AM
Mona,
1.Go through the program and check the details of the file name and path.
2.Check if the path on the App server if having the file with the desired name and within the desired path and also check if the user name with which you are trying to schedule a job have authorisation to access files on App server.It is advisable to schedule job with SAP BATCH ID rather than individual User IDs.
3.Run the program in Q in foreground and understand the flow of execution.
4.What is the program or mechanism which is responsible for placing the file on the app server so that your program can read it for processing the data further.
5.If you want the job to be scheduled at regular intervals or on a specific day of the week or at a specific time then configure the job in SM36 after creating a variant with the option as "only for background processing" and "protect variant".
K.Kiran.
07-02-2015 11:06 AM
Hi Mona,
Check you background job is working fine or not.
1. Goto SM37
2. Select any of the finished job.
3. JDBG enter in T-code area.
4. It will take you a debugging mode of your program to check.
Validate your program in debugging and check the data if fetching correctly or not from AS.
Regards,
Praveer.
07-05-2015 11:19 AM
it works great in debug , I didn't find any errors stop the job.
also when make job execute immediately it works !
still wondering why the job didn't import data in schedule mode ?
07-05-2015 11:32 AM
07-16-2015 8:40 AM
this is exactly what I did , but still the job didn't work automatic :S
any advice ?
07-16-2015 9:09 AM
Logically background job does not do anything special. If your call is not trigger here means it will not trigger during manual IP30 run also. You need to investigate first what's wrong there.
07-16-2015 10:17 AM
can you explain in details ? I don't know what I should do for investigate the problem
07-16-2015 11:45 AM
Dear Mona,
Kindly check with 'JDBG' transaction after going to specific job log.
And it may be any authorization issue as well,Like your id has all the rights but jobman may not have,
Kindly check with Basis team.
Regards
Ravikant