cancel
Showing results for 
Search instead for 
Did you mean: 

QUERY: Batch jobs- MM/WM

former_member219179
Contributor
0 Kudos

Dear GURU's,

My requirement is how to identify the batch jobs is related to MM/Wm modules. I have a list of Batch jobs (With all details e.g Job name, Program, Frequency etc..) whihc is more than 7000 nos hence needed help from experts. Looking forward to your response.

Regards,

Kumar S

Accepted Solutions (1)

Accepted Solutions (1)

JL23
Active Contributor
0 Kudos

What is so difficult to understand in Martin's reply?

Just use one program where you know that it belong to MM and follow his example.

Lets do it with the period closure MMPV transaction which is program RMMMPERI

Use SE16N and check the 3 mentioned tables

You search the Table TADIR with the program name you know - here in the example RMMMPERI - in your case the program names from your 7000 batch jobs.

In TADIR table you find the development class, you use this value to find a corresponding entry in table TDEVC. And then you take the component from table TDEVC to find a corresponding entry in table DF14L. And from here you take the PS_POSID as result and you will know to what it belongs.

Now tell me where this was difficult?

former_member219179
Contributor
0 Kudos

Hi Jurgen,

As usual your reply always resolves my issues. This thread is an another example 🙂

Thanking You for everything.

Martin - Kindly apologize me as in the first instance I couldn't able to understand your resoponse.

Regards,

Kumar

former_member219179
Contributor
0 Kudos

Hi Jurgen,

I notice that it works for standard batch jobs and when i check for custom batchjobs in table TDEVC application componment is " blank".

Can you please suggest me how to check even for custom batch jobs as well.

Looking forward to your earliest response.

regards,

Kumar.S

JL23
Active Contributor

open SE38, enter RMMMPERI (to continue with my example) set the radio button to "Attributes" and click display.

You get a pop-up with the attributes and here double click the value in the field package (which is MG)

you get forwarded to another screen showing the attributes of the package, and in the middle you see the application component LO-MD-MM

Now re-do this for your own Z-program and see which entry is missing

Answers (2)

Answers (2)

former_member233657
Active Participant

Hi Kumar,

You can join tables TADIR-->TDEVC-->DF14L. Use for selection filed TADIR~OBJ_NAME (Program name from your list) and for output TADIR~OBJ_NAM and DF14L~PS_POSID.

PS_POSID is the component of a program.

For instance, component for program "SAPMMG01" (with is MM03) is "LO-MD-MM".

Hopefully this will help you a bit.

Kind regards,
Martin

former_member219179
Contributor
0 Kudos
Hi Martin,
Not clear with your response. Can you please elaborate in detail how to identify the batch jobs which is related to MM/WM modules.
Even discussed with my ABAPer on your input regarding merging the tables TADIR-->TDEVC but couldn't able to get proper 
reply.
Regards,
Kumar.S