You are on page 1of 18

EHP6 for SAP ERP 6.

0
2012
English

MRP LIVE

Process Documentation
MRP LIVE

Contents

1 PURPOSE.......................................................................................................................................... 4

1.1.1 Activate Business function ‘LOG_PPH_MDPSX_READ‘ for MRP................................................5

1.1.2 Clean Up Total Requirements.......................................................................................................... 6

2 Create No range for Planned order, Purchase requisition and reservations....................................9

3 Planning file Entry in Table MDVM.................................................................................................10

4 MRP Live: Incompatible Changes.................................................................................................. 12

5 MD01n : Process MRP LIVE.......................................................................................................... 16

6 MRP LIVE PERFERMONCE LOG.................................................................................................18

Abhiyanta India Solution Pvt. Ltd. Page 3 of 18


MRP LIVE
1 PURPOSE

Using MRP Live, you can benefit from improved performance and execute the planning run in
much shorter cycles. This means that you can execute several planning runs daily providing
the MRP controller with the following benefits, for example:
 More up-to-date supply and demand information on which to base decisions.
 Faster reaction to demand changes reduces the risk of stock-outs and means that you can
reduce safety stocks.
 Match demand and supply more efficiently than was previously possible.
 Identify and react to issues faster than was previously possible.
The report MRP Live (with the technical name PPH_MRP_DISPATCHER) is a copy of the
report RMMRP000 and provides the following options for carrying out the planning run:
 MRP Live (transaction MD01N) calls MRP on HANA
 MRP Live (transaction MD01N) calls classic MRP

1.1Prerequisites

 Activate business function Performance optimization for MRP ie


LOG_PPH_MDPSX_READ

 Clean up total requiremnts.

1.1.1 Activate Business function ‘LOG_PPH_MDPSX_READ‘ for MRP

Procedure

1. Access the transaction choosing one of the following navigation options:

Option 1: SAP Graphical User Interface (SAP GUI)

SAP menu

Transaction code SFW5

Abhiyanta India Solution Pvt. Ltd. Page 4 of 18


MRP LIVE
2. Select check box planned status for business function LOG_PPH_MDPSX_READ to activate
business function.

3. Select pushbutton ‘Activate changes ‘.

4. Save.

Result

Business function LOG_PPH_MDPSX_READ activated.

1.1.2 Clean Up Total Requirements

1.2 Use

Before activating the business function, you have to make sure that you have no total
requirements in your system. Proceed as described below to deal with your total customer
requirements and your total dependent requirements.
1.3 Procedure

Procedure for dealing with total customer requirements


Originally, there were two alternative ways of transferring customer requirements from Sales
and Distribution (SD) to Material Requirements Planning (MRP): Individual requirements and
total requirements. Individual requirements are stored in table VBBE, whereas total
requirements are stored in table VBBS. Table VBBS stores the total demand for a material,
plant, and requirement date. This causes a massive amount of data to be loaded, stored, and
aggregated on the database at the same time which, on the one hand, speeds up the demand
reading process. However, on the other hand, the data involved is locked for further
processing; different sales orders requiring the same material at the same date cannot be posted
in parallel, for example. When using an in-memory database such as SAP HANA to execute
your planning run, however, total requirements are no longer necessary. Your customer
demand is aggregated individually at runtime — without having a negative impact on the
performance of your MRP.
1. Check whether you have total customer requirements in the system. Use the data
browser (transaction SE16) for table VBBS and check the number of entries in that table.

Abhiyanta India Solution Pvt. Ltd. Page 5 of 18


MRP LIVE
o If there are no entries in table VBBS, you have no total customer requirements
and therefore you do not have a problem. In this case, proceed with step 7.
o If you have entries in this table, you have total customer requirements and you
should proceed with step 2.
2. Check whether you can safely use individual customer requirements. For example, check
whether you have custom reports that evaluate table VBBS. These reports should read
table VBBE instead.
3. Check the ATP (Available-to-Promise) checking group in Customizing. The ATP
checking group defines whether total or individual requirements are created for sales
orders.
o In Customizing for Sales and Distribution, under Basic Functions Availability
Check And Transfer of Requirements Availability Check Availability Check
with ATP Logic or Against Planning Define Checking Groups, determine the
ATP checking groups with total requirements; an ATP checking group with “B”
(Totals records per day) in column TotalSales or TotDlvReqs creates total
requirements. If no checking group exists with this entry, the entries you found in
table VBBS are meaningless. In this case, proceed with step 7.
o If such a checking group exists, either delete the ATP checking groups that create
total requirements or change their TotalSales and TotDlvReqs attributes in
Customizing from “B” (Totals records per day) to “A” (Single records). This
prevents the usage of incorrect ATP checking groups in future. Proceed with step
4.
4. Create and execute the ABAP report Z_MATERIALS_W_COLLECTIVE_REQS
(transaction SE38) to determine which materials use the ATP checking group that creates
total customer requirements. This report finds all the materials with the ATP checking
group “01” that creates total requirements. Note that if you have different checking
groups that create total requirements, you have to adjust the ABAP report accordingly:
5. data:
6. ls_marc type marc.
7.
8. select matnr werks from marc into (ls_marc-matnr, ls_marc-werks)
where mtvfp = '01'.
9. write: / ls_marc-matnr, ls_marc-werks.
10. ENDSELECT.

o If the system does not find any materials, your VBBS records are meaningless. In
this case, proceed with step 7.
o If the system finds materials for which the ATP checking group is “01”, proceed
with step 5.
11. For every material found by the report in step 4, open the MRP 3 View of the Material
Master in change mode and select an ATP checking group that creates individual
requirements.

Abhiyanta India Solution Pvt. Ltd. Page 6 of 18


MRP LIVE
12. For each material, execute report SDRQCR21, “Recovery of Sales and Delivery
Requirements” to recreate the customer requirements
13. Check whether you have implemented any of the methods of the BAdI
MD_CHANGE_MRP_DATA. If you have and if the BAdI only adds data to MRP
evaluations such as MD04, re-implement your BAdI implementations in BAdI
MD_ADD_ELEMENTS.
Note

The BAdI MD_ADD_ELEMENTS is processed in MRP evaluations such as MD04 or


MD07 and is processed in the classic MRP transactions MD01 or MD02. MRP Live
(transaction MD01N) does not process BAdIs for materials that are planned in HANA
completely. Materials that require changes of the planning logic in BAdIs should be
planned using classic MRP. The classic MRP run is performed by the classic MRP
transactions such as MD01 or MD02 or if you have set the Plan in Classic MRP indicator
for the material in the report Include Material in Classic MRP (transaction
MD_MRP_FORCE_CLASSIC). Check which materials require the processing of a
BAdI during the MRP run and set the Plan in Classic MRP indicator for these materials.
Procedure for dealing with total dependent requirements
1. Now check whether you have a problem with total dependent requirements. Use the data
browser (transaction SE16) for table RQIT and check the number of entries in that table.
o If there are no entries in table RQIT, you have no total dependent requirements
and therefore you do not have a problem. In this case, proceed with step 5.
o If entries exist in this table, you have total dependent requirements and you
should proceed with step 2.
2. Create a planning file entry for every material in table RQID (transaction MD20) and set
the Net change planning and the Re-explode BOM indicators
3. If you work with repetitive manufacturing, you have to check and, if necessary, switch
off the Aggregate reqmts indicator in the repetitive manufacturing profiles in
Customizing for Production. In combination with the collective requirements indicator in
the material master, this indicator determines whether dependent requirements are
grouped to collective requirements on a daily basis.
In Customizing for Production, under Repetitive Manufacturing Control Data Define
Repetitive Manufacturing Profiles, check the Control data 2 tab for each profile to see
whether the Aggregate reqmts checkbox is selected. Remove the selection, if necessary.
4. Execute an MRP run which re-explodes all BOMs for the affected materials and creates
individual dependent requirements.
5. Create number range PP for planned orders, purchase requisitions, and reservations.

Abhiyanta India Solution Pvt. Ltd. Page 7 of 18


MRP LIVE

2 Create No range for Planned order,


Purchase requisition and reservations

Use

No range objects are need to be maintain to run MRP live. Which define unique planned receipt
generated with MRP live.
The number range objects are: BANF (purchase requisitions), PLAF (planned orders), and RESB (material
reservations/dependent requirements).

Procedure
1. Access the transaction choosing one of the following navigation options:

Option 1: SAP Graphical User Interface (SAP GUI)

Abhiyanta India Solution Pvt. Ltd. Page 8 of 18


MRP LIVE

SAP ECC Menu

Transaction code SNRO


2. Start transaction SNRO, enter objects BANF, and choose the Ranges button.

3. Select change intervals


4. On another screen maintain no range; ensure no range will not overlap with other one.
5.
6. Select back button, choose NR status.
7. Maintain NR status as initial no of number range.

8. Create no with no range PP which is especially reserved for MRP live on HANA.

9. Save no range.
10. Repeat above procedure for object PLAF & RESB

Result

No rage for planned receipt of MRP elements created.

Abhiyanta India Solution Pvt. Ltd. Page 9 of 18


MRP LIVE

3 Planning file Entry in Table MDVM


Use:

Performance of reading DBVM is better than MDVM table.

Only planning file entry in table DBVM is supported for MRP LIVE.

Prerequisite:

Execute transaction code OM0F to convert planning file entry from table MDVM into DBVM

Procedure
1. Access the transaction choosing one of the following navigation options:

SAP Graphical User Interface (SAP GUI)

SAP ECC menu

Transaction code OM0F

2. Select conversion Indicator as X

3. Execute

4. Save

Result

The following tables are converted: MDVM/MDVL into DBVM/DBVL & KDVM/KDVL into KBVM/KBVL.

Abhiyanta India Solution Pvt. Ltd. Page 10 of 18


MRP LIVE
During the conversion, a plant MRP area is created for every plant.

4 MRP Live: Incompatible Changes


The following tables contain a list of the incompatible changes that you must take into account
when working with MRP Live.

Functions Not Supported Reason How to Upgrade

BAdIs no Longer Supported MRP Live (transaction For such materials, you have to
MD01N) does not process force the MRP Live run to call
BAdIs for materials that are classic MRP by setting the Plan
completely planned in SAP in Classic MRP indicator in
HANA. transaction
MD_MRP_FORCE_CLASSIC.

Total Requirements not Total requirements were used Before activating the business
Supported for performance reasons function, make sure you have
which is now no longer no total requirements in your
Total customer and total necessary. system
dependent requirements are
not supported.

Abhiyanta India Solution Pvt. Ltd. Page 11 of 18


MRP LIVE

Functions Not Supported Reason How to Upgrade

Planning Horizon This planning run type was a After the upgrade, a new report
performance measure only is available to carry out MRP
MRP Live does not support which is now no longer Live. The new report does not
net change planning in the necessary. offer this planning run type.
planning horizon. The
planning horizon is ignored.

Planning File Entries in Table Performance of reading Run report RMDBVM00 if it


MDVM DBVM is much better has not already run before.
because it has a proper key.
Only planning file entries in
table DBVM are supported.
Planning file entries in table
MDVM are no longer
supported.

Planning Sequence of Plants Table T439C only allows you The MRP logic determines the
to define the planning planning sequence of plants
Table T439C has been sequence of locations not automatically. There is no need
decommissioned. location materials. With the to define a planning sequence
sequence defined in table in a table. No special activities
T439C you cannot support are necessary.
the stock transfer of different
materials in different
directions between the same
two locations.

Creation Indicator for Simplification of the After the upgrade, a new report
Purchase Requisitions procurement process. The is available to carry out MRP
reason for using planned Live. The new report does not
The creation indicator for orders in the external support the creation of planned
purchase requisitions is not procurement process was to orders for external
available in MRP Live. MRP separate responsibilities. The procurement.
Live always creates purchase purchaser was responsible for
requisitions for external purchase requisitions and the If you require planned orders for
procurement. It does not production planner for external procurement, you have
support the process where planned orders. The to use classic MRP.
planned orders are created conversion of planned orders
first that have to be converted into purchase requisitions
into purchase requisitions transferred responsibility
later. from the production planner
to the purchaser. This process
is no longer required.

Creation Indicator for There is no conversion of No upgrade activity necessary.


Delivery Schedule Lines purchase requisitions into
delivery schedule lines.

Abhiyanta India Solution Pvt. Ltd. Page 12 of 18


MRP LIVE

Functions Not Supported Reason How to Upgrade

The creation indicator for Therefore an MRP run that


delivery schedule lines is not does not create delivery
available in MRP Live. MRP schedule lines, renders
Live always creates delivery delivery schedules useless.
schedule lines if the
material’s source list entry
tells MRP to do so.

Destinations for Parallel Destinations can be Define server groups.


Processing determined automatically
using server groups. There is
For MRP Live, destinations no need to define them
for parallel processing no separately
longer have to be defined in
table T462A. The
Customizing activity Define
Parallel Processing in MRP is
no longer necessary.

Subcontractor Planning Subcontractor MRP areas You have to activate


Segments support all features of subcontractor MRP areas by
subcontractor planning creating an MRP area of the
Subcontracting is only segments. This is an attempt type subcontractor for every
supported with explicit MRP to reduce redundant features. subcontractor. Then you have
areas (BERTY 03). to assign every subcontracting
Subcontractor planning part and every vendor that
segments (PLAAB 26) are requires the part to the MRP
not supported. area.

Different System Behaviour Reason How to Upgrade

MRP List For performance reasons. The same information is


available in the
No MRP list is created for the stock/requirements list. Use
MRP Live run with the this list instead.
exception of termination
MRP lists for materials with
inconsistent data.

Deletion of Planned Orders For performance reasons. This Nothing to be considered during
and Purchase Requisitions means that planners should the upgrade.
be aware of the fact that
MRP Live deletes planned planned order numbers or
orders or purchase purchase requisition numbers
requisitions created by an could change more
earlier planning run and frequently than in the past.
creates new ones – if they

Abhiyanta India Solution Pvt. Ltd. Page 13 of 18


MRP LIVE

Functions Not Supported Reason How to Upgrade

were not firmed and if the


quantity or date has to be
changed.

Maximum Number of Classic MRP: The planning Nothing to be considered during


Purchase Order Proposals run is terminated when the the upgrade.
number of purchase order
Difference in behavior with proposals per date is
regard to the maximum exceeded and a relevant error
number of purchase order message is displayed.
proposals per date (which is
maintained in the MRP Live: Here, the system
customizing transaction creates as many purchase
OMI8). order proposals as is defined.

Reorder Point Planning with For performance reasons. Depending on your current
External Requirements selections in Customizing, note
the following:
In Customizing for MRP, you
can define that external  If both indicators are
requirements are to be selected, no change.
included in the planning run
for reorder point planning. In  If only order reservations
classic MRP, you can are selected, no change
differentiate between the for classic MRP, but in
external requirements for MRP Live on HANA, the
order reservations and for system will behave as if
plant maintenance orders or both indicators are
networks. In MRP Live, this selected and include the
differentiation is no longer external requirements for
valid and the system only both order reservations
takes the order reservation and plant maintenance
indicator into account. orders or networks in the
planning run.
 If only plant maintenance
or networks is selected,
no change for classic
MRP. However, these
external requirements will
no longer be included in
the MRP Live on HANA
run. To include these
external requirements,
select the order
reservations indicator.

Processes Not Supported by Reason How to Upgrade

Abhiyanta India Solution Pvt. Ltd. Page 14 of 18


MRP LIVE

Functions Not Supported Reason How to Upgrade

MRP Live

Multi-Level, Make-to-Order Multi-level, make-to-order Use MRP Live for the top-level
Planning planning was a performance material and include the BOM
measure only which is no components in planning.
Multi-level, make-to-order longer necessary.
planning (transaction MD50)
is not optimized for MRP
Live.

Individual Project Planning Individual project planning Use MRP Live for the top-level
was a performance measure material and include the BOM
Individual project planning only which is no longer components in planning.
(transaction MD51) is not necessary.
optimized for MRP Live.

5 MD01n : Process MRP LIVE

Use

Using this Tcode user can take planning run.

Procedure:

Abhiyanta India Solution Pvt. Ltd. Page 15 of 18


MRP LIVE

1. Access the transaction choosing one of the following navigation options:

SAP Graphical User Interface (SAP GUI)

SAP ECC menu

Transaction code MD01n

2. The initial screen is subdivided into three sections:


1. The section Planning Scope contains the following fields:
o Plant

o Material

o Product Group

o MRP Controller

o Regenerative Plng.

2. The section Included in Planning section contains the following options:


o BOM Components

o Stock Transfer

(Note: If you leave this checkbox blank, the system only plans the locations of
the plants that you selected in the Planning Scope section. If you want to plan the
selected plants plus their supplying plants, you must select this checkbox.)
3. The section Control Parameters contains the following options:
o Planning Mode

o Name for Performance Log

(Note: If Regenartive checkbocx is selected, the system plans all plant materials irrespective of
whether they have been changed in some way relevant to planning since the last planning run. If you
leave this checkbox empty, the system executes a net change planning meaning that only the
materials that have been changed in some way relevant to MRP since the last planning run are
included in planning.

MRP Live does not support net change planning in the planning horizon. The reason for this is that
this type of planning was originally provided as a performance measure only. Instead of planning the
complete horizon, the system only carries out MRP for a shorter period of time. This performance
measure is no longer necessary with MRP Live.)

Abhiyanta India Solution Pvt. Ltd. Page 16 of 18


MRP LIVE

3. Execute.

Result

Sytem wil execute MRP Run with MD01N.

Log will diplay for same.

(Note
Authorization Information
MRP Live only plans the component materials or supplying plants if you are authorized to plan
the component material or the material in the supplying plant. If you are not authorized, the
system only creates dependent requirements or stock transfer requirements and planning file
entries. )

6 MRP Live Performance Log


Use
The MRP Live Performance Log (with the technical name PPH_MRP_PERF) provides you
with performance information for your MRP Live runs. For example, you can see how many
materials were planned altogether, how many were planned in MRP Live on HANA and how
many were planned in classic MRP including information on how long the planning run took.

Procedure
1. Access the transaction choosing one of the following navigation options:

SAP Graphical User Interface (SAP GUI)

SAP ECC menu

Transaction code SE38 (Program PPH_MRP_PERF )

Abhiyanta India Solution Pvt. Ltd. Page 17 of 18


MRP LIVE
2. Enter Programe name PPH_MRP_PERF

3. Execute

4. Enter Name of Performance log

5. Execute.

Result

System will display MRP live performance log.

(Note : To access more detailed performance information for each low-level code planned, double-click
the appropriate row. Or select the appropriate row and choose the Details button. The system displays
the screen entitled MRP Live Performance Log per Low-Level Code. Here, the system lists the results
of the planning run for each low-level code and displays a large number of detailed key performance
indicators.)

Abhiyanta India Solution Pvt. Ltd. Page 18 of 18