cancel
Showing results for 
Search instead for 
Did you mean: 

Creation of MRP Batch job

former_member219179
Contributor
0 Kudos

Hello PP Sapperu2019s

I need to create a MRP batchjob for one of my plant u2013 9030.I need to know the below highlighted details,

Job name : MRP Plant 9030

*Programname : *

*Variant: *

Frequency : Daily

Timing : 01.00 (during the night)

Step user :

Please help me to proceed with creation of MRP batchjob.

My requirement is to run MRP every night that reschedule the purchase order and create new purchase requestion in Total Horizon.

Need any further input please let me know.

PS:I also refer MDBT for the MRP jobs whihc already created for some other plants but seems to be different from the above requirement.

Cheers,

Kumar.S

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kumar

Program Name: RMMRP000

Variant : you can keep "MRP Plant 9030" as variant name

For frequency and Timings, you can select the variant and go to the Schedule button. There you can make settings for frequency as well as time.

You can create this background job either in MDBT or SM36 transactions.

Regards

Bala

former_member219179
Contributor
0 Kudos

Hi Bala,

Thanks for your reply.

Can you please help me what kind of variant selection will suit my requirement so that will maintain while creation of variant like,

Processing key

Create purchase req

Schedule lines

Create MRP list

Planning mode

Scheduling

Planning date

So that the same i will try in Quality and later imlement in Prodution.

Cheers,

Kumar.S

Former Member
0 Kudos

Hi,

you can use this MRP parameters.....

Processing key NETCH Net Change in Total Horizon

Create purchase req. 2 Purchase requisitions in opening period

Delivery schedules 3 Schedule lines

Create MRP list 1 MRP list

Planning mode 3 Delete and recreate planning data

Scheduling 1 Determination of Basic Dates for Planned

former_member219179
Contributor
0 Kudos

Hi,

Thnks for the rely.

I have maintain the same as you mentioned but except Planning mode u2013 1/Whether this will give any impact you feel.Please let me know.

Cheers,

Kumar,S

Former Member
0 Kudos

Planning mode as 1 is enough. If in your business context BOM / Routing keeps changing often, then depending on the frequency of change you might want to consider having a weekly or a monthly MRP job with planning mode as 2. As regards to planning mode 3, it is seldom ever required, unless you for some reason want to delete the entire planning data & re-create them back.

Hope it clarifies.

Former Member
0 Kudos

Hi,

As Vivek said, planning mode 3is used to delete the entire planning data & re-create newly. This is the impact of Planning mode 3.

former_member219179
Contributor
0 Kudos

Hi Vivek,

Thnks for your input,Now i have created and scheduled the batchjob in Qulaity please let me know what are the parameters now i need to check in Quality like job is running fine or not .....

Please provide your inputs so that i can contact my users and check the same.

Cheers,

Kumar.S

Former Member
0 Kudos

Check the runtime of the job, should be within the defined limits for background jobs defined by basis people. Also ensure the job completes successfully, if not check the reason for termination.

The above are just basis checks, you can ask your basis people to help you with it. From a MRP job perspective, check if there any group-8 messages i.e. termination, if there is check & correct the reason for the same. Also execute MD21 report to see if any material still has a flag for MRP (note this check you do immediately after MRP run & if there is a flag check MD05). Also analyze the results via MD06.

The above should give you a fair idea about the outcome of the MRP run, the remaining needs to be checked & analyzed by the respective MRP controllers.

former_member219179
Contributor
0 Kudos

HI Vivek,

Thanks once again for your valuable inputs.Will check the same with users / MRP controlers and revert back with my inputs.

But the problem is I have scheduled the batchjob at 1 CET in night so i could not check immmedaitely after MRP run any other alternative inputs from you.

Cheers,

Kumar.S

Former Member
0 Kudos

The checking of planning file is just as a check n balance kind of approach, its not like you have to do it.

Anyway the key things to verify would be the background job nor the MRP run for any material terminates. Since you say it is the first time you're doing it, you may ask your basis person to include your email id in the job, so that you can get a spool (check with your basis person for this).

former_member219179
Contributor
0 Kudos

Hi vivek,

I have checkd in SM37 and observed that batchjob has finished sucessfully within time limitis.

As you said today i have checked the termination messages in Md05 for two materails and observed that two materails MRP type is related to APO hence i think this could not be an issue.Please comment on this.

Also i have executed MD21 after MRP run and couldnt track the MRP flag activation what you are refering for the two materials whihc is apperaring in MD21.Request you to comment on this also.

Cheers,

Kumar.S

Former Member
0 Kudos

In MD05 for the materials which have a termination system would let you know the reason as to why it has terminated, so analyze the same & it will be clear.

As regards to MD21, you should notice that the planning file entry for those 2 materials which are terminated are not cleared, meaning the next MRP run will try to plan these materials.

Anyway the above are the tasks of the MRP controller.

former_member219179
Contributor
0 Kudos

HI Vivek,

i observed today that yesterday MRP run batchjob has taken too much of time ie, it is not with in time limits.How to analyze this case please suggest.

Also tell me in genrela if any batchjob not run with in time limits wat are all the check i need to perfrom.

Cheers,

Kumar.S

Former Member
0 Kudos

For the job which you refer to, go to the spool & study the section 'Runtime statistics'. It will let you know which section took how much time & based on that you would be able to infer what has caused the delay & thereby take suitable actions.

Also note, there is no generic rules as such, each case has to be analyzed if there is a delay. But in general it is better to ensure your planning file entries are consistent, processing key - NETPL or NETCH & planning mode is 1.

I guess this thread has gone way beyond the initial posting, so for any further analysis on this MRP job I would strongly suggest that you sit down with the MRP controller & analyze the same. I am quite sure it shouldn't be difficult in interpreting the results.

Good luck.

former_member219179
Contributor
0 Kudos

Hi Vivek,

Thanks for your excellent support.We have scheduled the batchjob finally there where minor problems and it has been rectified now.

Vivek - You are awesome

Requesting your help in future also.

Cheers,

Kumar.S

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Find the link and revert me.

http://www.sapfunctional.com/PP/MRPRun/Index.htm

Regards,

Ravi