SAP后台作业:它是如何运行的?

发布于 2024-08-04 13:57:46 字数 332 浏览 3 评论 0原文

我必须将 SAP 后台作业(应付帐款的 ABAP 报告)移至 Cronacle,但不知道如何在 SAP 中停止该作业,以便我可以开始使用 Cronacle 计划运行它。

该作业每天早上 7:15 由用户 SAPSYS 在 SAP 中运行,但如果您使用 SM37 查找它,则没有为其安排时间,也不是由事件触发的;此外,其状态为 SCHEDULED。

我让 Cronacle 团队按职位编号进行搜索,但他们找不到任何指向该职位的脚本。如果您查看已完成的作业,就会发现它安排在每天上午 7:15。此外,没有列出前任或后继职位。

是否有可能是从另一份工作开始的?怎样才能找到而不删除这个呢?

I have to move an SAP background job (ABAP report for A/P) into Cronacle and can't figure out how to stop the job in SAP so I can start running it with the Cronacle schedule.

The job runs in SAP from user SAPSYS every morning at 7:15am, but if you look it up with SM37, there is no time scheduled for it and it's not triggered by an event; also, its status is SCHEDULED.

I had our Cronacle team search by job number but they couldn't find any scripts pointing to that job. If you look at the finished job it shows that it's scheduled daily for 7:15am. Also, there is no predecessor or successor jobs listed.

Is it possible that it's being started from another job? How do I find out without deleting this one?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

九公里浅绿 2024-08-11 13:57:46

一些建议。

  1. 如果您不想删除已安排的作业。尝试重命名它,看看它是否仍然运行。
  2. 确保您用于 sm37 的用户拥有后台管理的完全授权。
  3. 先前的作业可以安排、发布和创建以及任何新作业。查看有问题的作业之前正在运行什么。
  4. 深入查看开发痕迹。他们有时会暗示系统中正在发生的事情。

Some suggestion.

  1. If you don't want to delete the scheduled job. try to rename it, and see if it still runs.
  2. Make sure that the users you are using for sm37 has full authorization for the backround administration.
  3. A previous job can schedule and release and create and whatever a new job. Look at what is running before the problematic job.
  4. Look deeply at the dev traces. They somtimes hints about what is going on in the system.
旧竹 2024-08-11 13:57:46

除了显式创建新作业的先前作业之外,还可能由另一个作业中计划的 ABAP 程序手动创建该作业。在功能模块 OPEN_JOB 上执行 where-used 并查找 Z* 或 Y* 程序可能会给您提示。

另一件事:这个预定的作业是否真正执行过(即之前是否有任何同名的“已完成”作业)。计划作业只有在首次发布后才会运行。因此,如果它从未运行,它可能已经过时了。

In addtion to a previous job creating the new job explicitly it is also possible that the job is created manually by an ABAP program that is scheduled in another job. Doing a where-used on the function module OPEN_JOB and looking for Z* or Y* programs may give you a hint.

Another thing: Is this scheduled job ever actually excecuted (i.e. are there any previous "FINISHED" jobs with the same name). A Scheduled job will not run unless it is first released. So if it never runs it may be obsolete.

御弟哥哥 2024-08-11 13:57:46

感谢您的回复!事实证明这是一个“新手无知”的案例。当使用 SM37 查看职位时,我忘记将搜索日期延长到第二天。我不知道为什么它不显示当天发布的作业,但将其延长到第二天就会显示。这是我永远不会忘记的教训!

Thanks for the responses! It turned out to be a case of "newbie ignorance." When using SM37 to view the job I neglected to extend the search date to the next day. I don't know why it doesn't show the released job for the current day, but extending it to the next day showed it. That's a lesson I won't forget!

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文