Sap MM
Sap MM
In summary:
Landscape: is the arrangement for the servers
IDES: is purely for education purpose and is NOT INCLUDED in the landscape.
DEVELOPMENT: is where the consultants do the customization as per the company's requirement.
QUALITY: is where the core team members and other members test the customization.
PRODUCTION: is where the live data of the company is recorded.
A request will flow from Dev -> Qual -> Prod and not backwards.
1. Development Server: - Once the BBP gets signed off, the configuration is done is development
server and saved in workbench requests, to be transported to Production server.
2. Quality Server: - Test the customization by project team and business users.
3. Production Server: This is the last/ most refined client where the user will work after project GO
LIVE. Any changes/ new development is done is development client and the request is
transported to production.
These three are landscape of any Company. They organized their office in these three way. Developer
develop their program in Development server and then transport it to test server. In testing server
tester check/test the program and then transport it to Production Server. Later it will deploy to client
from production server.
Negative Testing – Whenever a new change is moving to existing live system running with business
transaction, testing to be performed to ensure the new change won’t impact the existing business
process.
SAP R/3 (Real Time 3-Tier Architecture)
Enterprise Structure
Enterprise structure defines various levels in an organization. These levels are placed according to some
hierarchy. Each level has some specific functionality associated with it, which in a combined way
describes the working of an organization. Also enterprise structure defines various organizational units
that are present in an enterprise. The Organizational Structure in MM consists of following
Organizational Levels:
Client
Company Code
Plant
Storage Location
Purchasing Organization
Purchasing Group
Following diagram is one such organizational structure which describes the levels incorporated in an
organization. Client being at the topmost, followed by multiple company code, followed by multiple
plants, plants having multiple storage location with their own or centralized purchasing organizations.
Client
It has its own set of master data with independent table sets.
Data that is maintained at client level is valid for all organizational levels.
Company
Company is same as client from business point of view but company is a functional organization
element and client is a technical organization unit.
Company has to be configured by Functional Consultant (FI) and Client has to be configured by
Technical Consultant (Basis).
Company Code
It is a legal entity that has its own profit, loss and balance statement.
It is the smallest unit in organization for which a complete independent account set can be replicated.
Plant
Plant is an organizational unit within a company where activities take place. A plant will produce goods
and makes goods available for the company.
It is unit having manufacturing facility, warehouse distribution center or a regional sales office within
logistic. It subdivides an enterprise in different aspects.
Storage Location
Storage location is an organizational unit which actually differentiates between different material
stocks in a Plant.
Plant can be consisting of multiple storage location. All data is stored at storage location level for a
particular storage location.
Purchasing Organization
Purchasing Organization is an organizational unit under company or plant which is responsible for
procurement activities according to requirements. It is responsible for external Procurement.
Purchasing organization can be at company or plant level i.e. company specific or plant specific
Centralized Purchasing
Purchasing organization is not assigned to any company code it procures for all company codes
belonging to different client.
Purchasing organization is assigned to a Plant, only this specific Plant can purchase through this
Purchasing organization.
Purchasing Group
Purchasing group is an organizational unit which is responsible for everyday procurement activities
within an organization.
Master Data
Master data is a reference data created once in a system and used for long time in business
transactions. Every functional module in SAP has its own master data to perform the transactions in a
fast manner.
- Material Master
- Vendor Master
- Purchase Info Record
- Source List
Material Master
Materials are first classified based on material types since different type of material undergoes
different type of processing and have entirely different behavior in an organization.
1) Number Range
Range of number to be assigned for material master.
2 types of Number Range are there as below.
- Internal Number Range (Automatic Assignment)
- External Number Range (Manual Assignment)
2) Field Selection
Selection settings for each field in material master data screen. Four options are there as below.
- Required
- Optional
- Display
- Hide/Suppress
3) Procurement Control
Procurement Control of material type in terms of whether it is internally procured or external.
Three different options are there for both the procurement types as below.
- Internal/External Procurement allowed
- Internal/External Procurement allowed with warning message
- Internal/External Procurement not allowed
4) Price Control
Two types of price control are available as below.
- Standard Price (Price of the material is constant over period of time).
- Moving Average Price (Price changes according to the moving average of price in the market).
If the price maintained in the material master and purchase order are different, when goods receipt
happens for that purchase order the inventory account gets debited with the purchase order price
valuation. Then the price maintained in material master gets changed automatically based on the
moving average price calculation which is mentioned below.
MAP (V) = (Existing Material Stock * Existing Material Price) + (New Material Stock * New Price in PO)
Existing Material Stock + New Material Stock
5) Account Category Reference
Account Category Reference is a grouping of Valuation Classes for the purpose of automatic
account determination.
Valuation Class is a grouping of similar account related materials for the purpose of automatic
account determination.
Material Type gets assigned to Account Category Reference and it is 1:1 assignment.
Account Category Reference in turn gets assigned to Valuation Classes and it is 1:n assignment.
Valuation Classes gets assigned to GL Accounts. 1:n based on type of transaction the material
undergoes. Eg. Goods Receipt, Goods Issue, Transfer Posting, etc..
Account Category Reference for ROH Material Type in standard SAP is 0001.
Material Type Account Category Reference Valuation Class 1, Valuation 2, VC3 GL Accounts
1:1:N:N
6) Valuation
Valuation is nothing but the process of evaluating the material. Normally in SAP, the valuation is
the product of material’s quantity and unit price.
Unit price of material would be different for different location logically. So SAP determines the unit
price based on plant.
Valuation level is Plant in SAP.
Material Master Views
1) Basic Data 1
2) Basic Data 2
3) Classification
4) Purchasing
5) Purchase Order Text
6) Plant/General Storage Data1
7) Plant/General Storage Data2
8) Quality Management
9) Warehouse Management1
10) Warehouse Management2
11) Accounting1
12) Accounting2
13) Costing1
14) Costing2
15) MRP1
16) MRP2
17) MRP3
18) MRP4
19) Sales1
20) Sales2
21) Sales/General Data
22) Sales Text
23) Work Scheduling
24) Foreign Trade (Import)
25) Foreign Trade (Export)
26) Production Resources/Tools
27) Plant Data
28) Storage Location Data
29) Forecasting
Vendor Master
1) General Data – Name of the Vendor, Address, Ph. No,… etc. (Maintained at client level)
2) Company Code – All accounting related information,… Bank A/C No., Bank Code, etc. (Maintained
at company code level)
3) Purchasing Data – Terms & Conditions of purchase (Maintained at purchasing organization level)
Vendors are classified by using Vendor Account groups. (Similar to material type in material master)
0007 – Plants
CPD – One time vendor
Authorization Matrix
Transaction Codes
XK02 – Change Vendor
XK05 – Block
It is purchasing master data created by purchasing department in combination with material and
vendor for a purchasing organization in a plant with reference to info category.
- Standard
- Sub-Contracting
- Consignment
- Pipeline
Info record is useful for buyer to create the purchase order easily.
Price
PBXX – Gross Price (Manual) – Info record is not maintained, enter the price manually in PO
FRA1 – Freight %
Whenever there is a contract available in the system for the same combination of material, vendor &
plant, system picks up the price of contract in PO. Not the info record price.
1) General data
2) Purchasing Org. Data1
3) Purchasing Org. Data2
4) Texts
Number ranges of Info record are maintained at client level (Stock & Non-Stock Material).
Transaction Codes
Source List
If a vendor is maintained as fixed, PO will directly go to fixed vendor for automatic PO creation process.
Difference between blocking a vendor in XK05 and Source List is that this vendor is blocked for
supplying only this material to this plant.
Transaction Code
ME01 – Maintain Source List (Create, Change & Display)
Purchasing
Customer as PO SD converts to SO PPC Dept. MRP Controller Internal/External Procurement
Planned & Production Order for Internal and Purchase Requisition for External Procurement
Item Category:-
It represents the type of procurement and it defaults certain control data for purchasing document. It is
defined with Single char ID. Item categories are available in SAP MM are standard or fixed.
_ (Blank) – Standard
K – Consignment
L – Sub Contracting
D – Service
S – Third Party
It differentiates whether the procurement is for stock or consumption. It can be blank if procurement is
for stock and it should be maintained with appropriate account if procurement is for consumption.
K – Cost Center
F – Order
A – Asset
P – Project
C – Sales Order
U – Unknown
X – Auxiliary
Account assignment is a Single character ID. Own account assignment categories can be defined.
Document Category
Purchasing documents are identified with document category. It is a single character ID. Own document
categories cannot be defined.
Document Category
K – Contract
L – Scheduling Agreement
Document Types
Purchasing documents are further classified by using document types. It is defined with 4 character ID.
Own document types can be configured. Document types of purchasing topic will be discussed in the
later topics.
Document Structure/Layout:-
1) Header
2) Item Overview
3) Item Details
Header of purchasing document contains common information related to all items. Ex. Company Code,
Vendor, Purchasing Organization, etc.
Item Overview contains the overview of all line items in a document. Ex. Material, Quantity, Net Price,
Plant, reference doc, etc.
Item Details contains more detail about each line item in a purchasing document. Ex. Delivery
Tolerance, Tax Code, GR-Based IV check box, delivery schedule, etc.
3) Release Procedure
Approval of proposed expenditure which will be done by higher authority.
i) Without Classification
ii) With Classification
4) Define Archiving
i) One Step Archiving
ii) Tow Step Archiving
Transaction Code – SARA
Purchasing Requisition:-
It is an internal purchasing document created by users of user departments, requesting the purchasing
departments for supply of goods or services as per the specified quantities & dates.
Document Category – B
Document Types
FO – Framework Requisition
Transaction Code
Document Category: A
Document Types
Information in RFQ
1) Material
2) Quantity
3) Delivery Date
4) Specification
5) Deadline
Global Purchasing Bid is not normally used for material, it can be used for project works like
construction, etc.
Quotation is not mandatory for PO creation. In PO without RFQ, price will be taken from Info Records
and not from material master.
Transaction Code
For getting soft copy of RFQ in PDF file, go to SE38 transaction code and enter program name
RSTXPDFT4 and then execute.
Way to get spool number to enter in selection screen.
1) Check the spool number from processing log of output type triggered and maintain this spool
number in the selection screen of this report.
2) SP01 transaction code.
Quotation doesn’t have any number, it will be saved w.r.to RFQ numbers.
Purchase Order
Document Category: F
Document Types
1) Standard PO
2) Subcontracting PO
3) Consignment PO
4) Third Party PO
5) Stock Transfer PO
6) Framework/Blanket PO
1) Standard PO
2) Subcontracting PO
BOM – Bill of Materials – List of Components used for producing one unit of finish or semi-finished
product.
Price mentioned is only service or assembly charge and not material charge.
3) Consignment PO
- Material
- Vendor
- Purchase Org (Std. Purch. Org)
- Plant
In GR,
4) Third Party PO
Third Party PO are integrated with SD modules.
Trading – Meeting the customer requirements without manufacturing (Procuring & Selling).
i) Sales Department – Create Sales Order with Item Category TAS (Third Party). When the
Sales Order is saved, system generates PR in the background with Item Category “S” and
account assignment category as “X” (Auxiliary) and delivery address as customer address.
ii) Purchasing Department – Converts the PR to PO, system copies the Item Category “S” &
Account Assignment Category “X” automatically from PR and deliver the material at
customer place.
iii) Vendor will supply the materials to customer as per the quantities & dates specified at
customer place as given in PO. Based on the confirmation given by the vendor, we can
statistical Goods Receipt in system, however it is not mandatory.
iv) - Billing is based on ordered quantity, SD can directly raise invoice without receiving invoice
from the vendor also.
– Billing is based on delivered quantity, vendor invoice should be posted in the system
initially, and then only we can raise invoice on customer.
To execute, Inter Company Stock Transport Scenarios, cross company clearing account
must be configured in FI Module in OBYA transaction code.
This is three module integrated process which is MM – SD – FI.
Item Category of Purchase Order should be blank and Document Type should be “NB”.
Process Flow is Purchase Order (PO) – Outbound Delivery (OBD) – Post Goods Issue
(PGI) – Billing – Goods Receipt (GR) – Invoice Receipt (IR)
To execute 4th & 5th scenarios, some mandatory master data prerequisites to be
maintained in the system.
1) Material Master should be maintained in both the plants.
2) In Supplying Plant, Material Master should have Sales view.
3) In Receiving Plant, Material Master should have Purchasing view.
4) Supplying Plant should be created as a vendor in receiving plant purchase
organization by using vendor account group (0007 – Plants)
While creating vendor master, in purchasing data screen, in the menu “Additional
Purchasing Data” tab, delivering plant code to be maintained.
5) For Supplying Plant, Sales Organization, Distribution Channel & Division to be
assigned. We should also assign shipping point to supplying plant. Sales Area is a
combination of Sales Organization, Distribution Channel & Division.
6) Receiving Plant should be created as a customer in Supplying Plant Sales Area by
using transaction code XD01 and customer account group 0001 (Sold to Party).
Transaction Codes
1) Contract
2) Scheduling Agreement
Contract
Contract is not the final document to supply goods. A release order must be issued whenever goods are
required.
Document Category – K
Document Types
Based on the business scenarios, the contracts can also be classified as distributed contracts and
centrally agreed contracts.
1) Distributed Contract
Contract created by one R/3 system can be used by other R/3 system. It is applicable for sister
concerned business.
2) Centrally Agreed Contract
Contract will be created by central purchasing department, i.e, reference purchasing
organization. By using this contract, individual purchasing organization can issue the release
order for their respective plants.
Basic price will be mentioned in this type contract, because discounts, taxes, etc. will differ from
plant to plant of different location. We can also plant specific conditions in the contract.
Contracts can also be created by the plant specific purchasing organization.
When a contract is referred in release PO, system will pick up the contract prices only even
though info record is maintained.
In Contracts, we can use the following additional item categories.
M – Material Unknown
W – Material Group
Item Category M is recommended for similar materials with the same price but different
material numbers. When you create the contract item, you enter short text, material group,
quantity and unit of measure, but no material number. This is not specified until a release order
for such a material is created against the contract.
Item Category W is recommended for materials belonging to the same material group but with
different prices. When you create contract item, you enter short text and material group but no
price. This and the material number are not entered until a release order is created against the
contract. It can be used only in value contracts.
Transaction Codes
Scheduling Agreement
It is an external purchasing document created by purchasing department with or without referring to
other documents for long term supply of materials.
There is no need to create release order for supply of materials but a delivery schedule should be issued
whenever material is required.
Document Category – L
Document Types
LP – Scheduling Agreement
1) Just In Time Delivery Schedule (JIT) – Gap between the schedule line is minimum
Ex. November’16 requirement
01.11.2016 – 100 no.s
08.11.2016 – 150 no.s
12.11.2016 – 200 no.s
18.11.2016 – 250 no.s
22.11.2016 – 120 no.s
27.11.2016 – 250 no.s
These zones are to assess the risk involved in supplying of materials by vendors.
Delivery Schedule
28.11.2016
02.12.2016
07.12.2016
12.12.2016
15.12.2016
Planning Zone (No risk for both the parties as vendor only in planning phase)
20.12.2016
25.12.2016
27.12.2016
If you see schedule lines after 10 days, trade off zone schedule line will fall into firm zone.
Delivery schedule created manually are fixed or confirmed quantity. However we can edit
quantities in next delivery schedule.
Delivery schedule created automatically by planning are not fixed or confirmed quantity. We
have to confirm the quantity.
Transaction Codes
ME9L – Print
Pricing Procedure
Access Sequence
It is a search strategy in searches for a valid condition record of a condition types from a condition table.
It is defined with 4 char id. Standard access sequence for PB00 (Gross Price) is 0002.
Condition Type
It represents the pricing elements such as gross price, discount, surcharge, freight and insurance. It is
defined with 4 char id. Standard Condition Types defined in SAP are.
Condition Record
Condition Table
It represents price dependency field. It stores the condition key for determination of prices.
In standard SAP, tables up to 499 are already defined, if you want to create a new table it should be
500.
It is a 3 char id.
Field Catalog
It consists of all price dependency fields. If you are going to add any new fields to it, it is called
“Extending of Field Catalog”.
Condition Type Access Sequence Access No. Table No. Table Description Exclusive
40 025 ……..
55 …… ………
60 ……. ………
PO Price picking is by this order which is standard, we can change sequence but standard is best
practice.
Lower access number Priority Search
1) Price determination
2) Tax determination
3) Batch determination
4) Message determination (Output)
Calculations:-
Based on the inputs given by us, system calculate the prices. It is called “Calculation Schema” or
“Pricing Procedure”.
Schema Determination
Release Procedure
Release means approval of proposed expenditure. There are two procedures available.
1) Without Classification
2) With Classification
Item level release is possible for only Purchase Requisition document. Header level release is possible
for all purchasing documents, i.e., PR, RFQ, PO, Contract and Scheduling Agreement.
Classification:-
Central function in SAP and various classifications are available in material, sales, batch, release, etc. It is
defined as classifying the objects based on certain characteristics.
Release Terminologies:-
Some of the release configurations are not transportable, so in real time it needs to be maintained
directly in quality and production systems.
Inventory Management
Inventory = Stock
Stock = Quantity
Inventory management deals with material movements like goods receipt, goods issue, transfer
postings, stock transfers, etc.
Special stocks means other stocks laying at our premises or our stock laying at other premises.
Material Document
Accounting Document
Because of material movement, if there is any change in the value of the stock, then system generates
an accounting document in the background.
If material moved from one storage location to another storage location, material document will be
generated and accounting document will not be generated.
WA – Goods Issue
WI – Physical Inventory
WL – Goods Issue for delivery
Number Ranges
Accounting document number ranges maintained at company code and fiscal year level.
Controlling Document
This is used by controlling document, because of material movement, any direct consumption involved,
then system generates one controlling document in background. Ex, If GR is done with “K” account
assignment category i.e, cost center, that controlling document shows amount posted to G/L account.
In Inventory Management, all the material movements are carried out with respect to movement types.
161 – Returns to PO
231 – Goods Issue to Customer order without sales (Ex. Gift to Employees)
251 – Goods Issue for Sales without customer order (Ex. Free Samples)
Accounting document will be created in 303 doc itself and not in 305.
321 – Transfer posting from quality inspection stock to unrestricted use stock
351 – Goods Issue for stock transport order (w/o delivery & w/o billing)
541 – Transfer posting from unrestricted use stock to stock of material provided to vendor (sub-
contractor)
561 – Initial entry of stock balances to unrestricted use stock (Used in Go Live)
641 – Goods Issue for STO with delivery and without billing (Intra Company STO)
643 – Goods Issue for STO with delivery and with billing (Inter Company STO)
651 – Receipt of customer returns into unrestricted use stock (with return SO & return delivery) PGR
653 - Receipt of customer returns into quality stock (with return SO & return delivery) PGR
655 - Receipt of customer returns into blocked use stock (with return SO & return delivery) PGR
701 – Physical Inventory > Book Inventory in case of unrestricted use stock
702 – Physical Inventory < Book Inventory in case of unrestricted use stock
711 – Physical Inventory > Book Inventory in case of blocked use stock
712 – Physical Inventory < Book Inventory in case of blocked use stock
Transaction Codes
Physical Inventory
Counting the physical stocks and adjusting the book stocks is called physical inventory. As per the
accounting standards, it is mandatory to carry out physical inventory process for all materials atleast
once in a fiscal year.
If CC Indicator is “A” in material master, every month PI process will be carried out.
4) Inventory Sampling
All the materials will not be counted, sample areas will be identified and samples will be picked
up and counted.
This is not separate procedure, it can be adopted in 1 st or 2nd point, if materials are more.
Physical Inventory process can be carried out for our own stocks and special stocks also.
Physical Inventory
1) Create PI document with the details of all the materials to be counted. Document creation
date is today’s date whereas posting date can be later.
2) Print the PI document and handover it to respective people who is going to count the stock.
3) Block the material movements/Freeze book stocks. This should be done on counting date.
4) Count the materials physically and record the stocks in physical inventory document (hard
copy). This will be hand overed to respective people to enter data in the system.
5) Authorized personnel will enter the physical stocks data into the system w.r.to physical
inventory document data.
6) Simulate the differences and go for recounting if required.
As an evidence of recounting, system can also generate recounting document.
7) Post the differences in the system
As a result of PI posting, system generates a material document and also an accounting
document.
Transaction Codes
Material Valuation
Features of MV
Material Valuation will happen not only during GR but also during Invoice Receipt.
Example
PO – 10 No.s @ 100.00 INR, price revised to 110 INR but PO not revised
GR IR
Valuation Structure
1) Valuation Area – Valuation Area will be maintained by CC level or Plant level. By default, it will
be in plant level in SAP.
2) Valuation Class – Grouping of similar account related materials for the purpose of automatic
account determination.
3) Valuation Category – Valuation of materials differently by using certain specific parameters. The
parameters could be based on procurement, based on origin, based on status. It is defined with
single char Id.
4) Valuation Type – This is one of the characteristics of value category
The concept of using valuation category and valuation type is called split valuation. i.e, dividing the
main stocks into sub stocks and valuating them with different prices.
We can activate separate set of valuation category and valuation types for a particular plant.
If we want to activate the split valuation, go to material master Accounting 1 view and enter the
valuation category. Price control V is mandatory. Then we go to material master again for different
valuation type to maintain different valuation prices. Price control for valuation type can be S or V.
If there are two valuation types, three accounting one views to be created for one material.
For account assignment PO, no valuation in GR, system will not ask for storage location and it is posted
to consumption.
Account Determination
2) Valuation Class
Grouping of similar account requirement materials for the purpose of automatic account
determination.
3) Valuation Grouping Code/Valuation Modifier
It is used to group the valuation area for the purpose of same account determination.
Scenarios:
i) For all plants under same cc, we can have same valuation grouping code.
ii) For different plants under same cc, we can have different valuation grouping code.
iii) For different pants under different company codes we can have same valuation
grouping code, but chart of accounts must be same for all these scenarios.
4) Transaction or Event Key (3 Char Id)
It is an internal processing key which facilitates in determining automatic accounts.
BSX – Inventory Posting
WRX – GR/IR Clearing Account
KON – Consignment Liabilities
UPF – Unplanned Freight
GBB – Off – Setting entry for inventory for inventory posting
PRD – Price Difference Account
BSV – Change in Stock Account
For any movement type, transaction keys are assigned.
It is called as MM/FI Integration or automatic account determination.
Transaction Code – OBYC
5) Account Modifier or General Modifier
It is used to define finer accounts for a transaction/event key.
For any internal goods movement, there is an offset entry (GBB).
a) Goods Issue to cost center – BSX (minus)
GBB (plus) VBR
Account modifiers for GBB are activated and pre-configured in the system.
PRD
---- (Blank) – Goods/Invoice Receipt w.r.to PO
PRF – Goods Receipt w.r.to Production Order
PRA – Goods Issue
PRU – Transfer Posting
Account modifiers of PRD are not activated in standard SAP. If we want, we have to activate.
KON
___ (Blank) – Consignment Liabilities
PIP – Pipeline Liabilities
Except for GBB, PRD & KON, no other transaction/event key is having account modifiers.
Without Wizard
Movement Type Special Stock Indicator Value Update Quantity Update Movement Type
Indicator Consumption Posting Value String Counter Transaction/Event Key Account
Modifier Check
Transaction Codes
MIRO – Invoice Posting
MIR7 – Invoice Parking
MIR4 – Invoice Display
MR8M – Cancel Invoice
MRBR – Release Blocked Invoice
External Services Management
Material: PR RFQ/Quotation PO GR IR
Services: PR RFQ/Quotation PO (Item Cat. – D & Acc. Assign. Cat. – K) Service Entry Sheet IR
Number ranges are assigned to this categories. We can create our own service categories.
No need of configurations for 2 level release, because by default two levels are there. One will save and
other will approve. Normally 2 level will be used in companies.
Transaction Codes