‎2009 Apr 08 6:27 AM
Hi..
I am facing some problems. Please help with these.
1. My client is running a program in a particular server for which i do not have access to. It is a report program which is executed in the background mode on a daily basis. According to them, they have scheduled it to run on a daily basis. Now, the problem is they are not able to see that job in SM37 from the next day onwards.For Ex. They did the scheduling thing yesterday, it was there in SM37 yesterday, but they are not able to see it today, eventhough its a daily job and the parameters given in the selection screen of SM37 is perfect. I do not know, whether the jobs are actually running as per the schedule or not and i neither know whether any other jobs are also having this problem. Can someone help on this ?
2. The second problem is, this report program, when executed in background mode immediately, puts one file in application server. And once the job is executed successfully ( which can be seen in SM37 ), they can fetch this file from application server into their local drive thru another transaction. Now, the job is getting executed successfully, but the transaction is not able to fetch the file. I can't see whether the path in application server is incorrect or any whether any error is there in job log as i do not have access to this server. Is there any way to find the reason behind this ??
I am extremely confused ...
‎2009 Apr 08 6:43 AM
>
> Hi..
>
> I am facing some problems. Please help with these.
>
> 1. My client is running a program in a particular server for which i do not have access to. It is a report program which is executed in the background mode on a daily basis. According to them, they have scheduled it to run on a daily basis. Now, the problem is they are not able to see that job in SM37 from the next day onwards.For Ex. They did the scheduling thing yesterday, it was there in SM37 yesterday, but they are not able to see it today, eventhough its a daily job and the parameters given in the selection screen of SM37 is perfect. I do not know, whether the jobs are actually running as per the schedule or not and i neither know whether any other jobs are also having this problem. Can someone help on this ?
>
> 2. The second problem is, this report program, when executed in background mode immediately, puts one file in application server. And once the job is executed successfully ( which can be seen in SM37 ), they can fetch this file from application server into their local drive thru another transaction. Now, the job is getting executed successfully, but the transaction is not able to fetch the file. I can't see whether the path in application server is incorrect or any whether any error is there in job log as i do not have access to this server. Is there any way to find the reason behind this ??
>
> I am extremely confused ...
Probs 1 -> No need of server access , as i know , we just schedule BG jobs on diff app servers ,but still in SM37 we can see their logs ,status,so i think ur SM37 selections is wrong or u are running on behalf of some other users .
Probs-2--> 1. Do u have rights to access apps server ?,check /nsu53 after running the ztransaction.
2. You can check ur program where its putting that file ?.
‎2009 Apr 08 6:56 AM
Thanks Prabhu....
Prob 1->The user themselves are running the report, and its a problem which they are facing. I dont think the selection criterias are a problem, as i have seen the screenshots of the selection criteria and they look fine.
Prob 2->Prabhu.. you mean that user may not have authorization to access application server. How can this be seen in SU53. I can see something is SU53, but how would i know whether the user is authorized or not. And as far as path is concerned, i can't check that as i dont have access.
Thanks......
‎2009 Apr 08 7:12 AM
Hello S ,
probs 2-->
i mean to say is User shuld have a authorizations to create files on appserver , i think they dont have those authorizations , so to find out those missing authorizations ,we need to use tcode SU53 after running ur ztcode .
while creating fileds on appserver ,user shuld have authorizations of S_DATASET(SAP AUTH.Object).
probs 1 -> can u see job schedule details from SM37? or try to use Option called Extended Job Selections in SM37 .
regards
Prabhu
‎2009 Apr 08 7:15 AM
Hi,
Please check my post for the first problem I have given you previously..... try that... I think that should work...
for the second problem you need to sit with BASIS consultants to check the authorization for the users....
‎2009 Apr 08 7:17 AM
Well..
Sidharth,
The problem is not with scheduling the jobs... they are able to schedule.. but they are not able to see... it the next day in SM37...thats the problem....
‎2009 Apr 08 7:23 AM
Hi Prabhu..
With reference to ..
Prob 2-> I ran the report in background in development server, to which i have the access. I executed it successfully. Fetched the report thru the other transaction from the application server and downloaded it successfully. In between i kept on tryin /nSU53, but i am not able to see S_DATASET authorization object.
However i am able to see S_BTCH_ADM.... .... now where do i see this S_DATASET...??.... i want to see this in my server and get a gist of things..
Thanks loads for your help so far.....!!
‎2009 Apr 08 7:25 AM
‎2009 Apr 08 7:27 AM
Hi,
Thats what I wanted to say, it might not have been scheduled properly for it to run daily, just try scheduling it from SM36 with the steps I gave you earlier you can schedule it daily
automatically it will come every day.....
Regards,
Siddarth
‎2009 Apr 08 7:33 AM
Wel...
Sidharth.. i am not scheduling it.. the user is doing that ..... and i am pretty much sure, they would be knowing .... how to schedule a job in daily basis........... at least i hope.. so..
Regards,
Subash
‎2009 Apr 08 7:36 AM
1. No dude , u need to try with users SAP USERID , ur id may have all authorizations , u need to check users authorizations.
2.In SU53 screen , it wiill appers in red color if u dont have Authorizations of S_data or S_BTCH_ADM.
regards
Prabhu
‎2009 Apr 08 7:51 AM
Thanks a lot Prabhu..
I have a meeting scheduled tonight..... so i will have a lot more idea.. on the problem..
Thanks loads......
Will update this thread again .. tomorrow.... based on their feedback... Let's see...!!
Thanks once again..
‎2009 Apr 08 6:50 AM
Hi,
1. To schedule a Job daily go to transaction SM36,
give the job name and give the start condition,
a new popup window appears, there click on date/time and then mention them and check the checkbox
periodic job and then click on period values button and then click on daily and then click on save button..
Click on Step to proceed further and give the jobname or abap program name or which ever object you want to select for scheduling it......
This will solve your problem....
2. Check the path of the application server file in the ABAP program and compare it
with the path given in the transaction.... May be the path is not matching
Regards,
Siddarth