Wednesday, May 4, 2011

Basic MM Flow for Abapers to Know


To Develope any Report or Form or Enhancement Abapers should know the basic flow of Each Module,Here is the Basic flow of MM.


Masters and Configuration -

1. Pricing - done in MM - Conditions Tab - Path - MM - Purchasing - Conditions - Define Price Determination
   a) Define Access Sequence
   b) Define Condition Types. In Condition Types Acess Sequence is determined.
   c) Define Calculation Schema (nothing but Pricing Procedure). In Schema, Condition Types are maintained in Sequence.
   d) Schema Groups for Vendors are defined
   e) Schema Groups for Purchase Organisation are defined and assigned to Purchase Organisation
   f) Based on Schema Purchase Organisation, Schema Vendor Procedure is assigned

2. Taxes - done in FI - Invoice Tab - both Excise and Sales tax
   a) Define Access Sequence
   b) Define Condition Types. In Condition Types Acess Sequence is determined.
   c) Define Procedure (nothing but Pricing Procedure). In Procedure, Condition Types are maintained in Sequence.
   d) Assign Country to Procedure
   e) Define Tax Code - Tax code is defined under country and the Tax code contains Procedure which contains Conditions. Here the Tax rate
       can be maintained provided that rate is uniform throughout.  Basically, Condition Types defined in Tax Codes should exsist in Tax procedure.
   f) If the rate is not Uniform, the tax rate is maintained in FV11.

3. Material master -
    MARA - General Material Data
    MAKT - Material Descriptions
    MARC - Plant Data for Material
    MARD - Storage Location Data for Material
    MBEW - Material Valuation
    MARM - Units of Measure for Material
    MVKE - Sales Data for Material
    MLAN - Tax Classification for Material
    MPOP - Forecast Parameters
    MPGD_MASS - Planning Data   
    MLGN - Material Data for Each Warehouse Number
    MLGT - Material Data for Each Storage Type

4. Vendor Master - The vendors are created in XK01. General data is stored in LFA1. Company code details are stored in LFB1. Purchasing data are
    stored in LFM1. FK05 for Block/Un block Vendor. 

5. Info Record is created in ME11. For a Vendor and Material, Gross Price will be maintained.
    Details are stored in EINA (General) and EINE (Purchase Organisation).

6. Service is created in AC01. Details are stored in ASMD.

 Transaction -
     
 1. Purchase Requisition is created in ME51N.
    The details are stored in EBAN, EBKN (Account Assignment) Table.

2. RFQ is created in ME41. It is released in ME45.
   The details are stored in EKKO and EKPO table with document type A.

3. Quotation can  be maintained in ME47.

4. Price comparision will be done in ME49.

5. Purchase Order will be created in ME21N.
   In Purchase Order, Invoice Tab Taxes will come from Tax Codes
   In Purchase Order, Gross Condition will come from Info Record.
   The details are stored in EKKO (with document type F), EKPO, EKBE (History), EKKN (Account Assignment).

6. Create goods reciepts MIGO.
    For a Material Document, an Accounting document will be created with two Posting Keys ie 89 - Stock Inward Movement - Debit and     
    96 -  GR/IR Credit - Credit. If Freight exists then with Posting key 50
    The GL codes for the accounting documents are determined by Material's Valuation Class. For a Valuation Class, GL's are assigned in OBYC
    transaction.  For Example, For Posting Key 89 in OBYC, it is BSX - Inventory Posting and For Posting Key 96 in OBYC, it is WRX - GR/IR clearing        account and for Posting Key 50 in OBYC it is FR1.
    The Material Document details are stored in MKPF, MSEG. The FI documents are stored in BSIM, BSIS, BKPF, BSEG.
    If the material has excise invoice it is created in J1IEX. Excise Invoice details will be available in tables J_1IEXCHDR, J_1IEXCDTL.

 7. Invoice is created in MIRO and its reversal in MR8M.
    For a Invoice Document, an FI Document is created with Posting keys 31 - Invoice, 86 - GR/IR Debit, 40 - Debit (for Taxes).
    For Posting Key 31 the GL is taken from Vendor Master, 86 from OBYC - WRX, 40 (tax) from OB40.
    If Freight Vendor is different form Purchase Order Vendor then another document for Freight is created in MIRO.
    Tables for MM are RBKP and RSEG. Tables for FI are BSIK, BSIS.

For Service PO -

1. For PO, based on Service No's Valuation Class the GL Code will be determined in Account Assignment.
2. Service Entry sheet is created in ML81N. Automatically a Material Document is created in MIGO with 101 Movement Type. An FI Document is created for Material Document with Posting Key 81 - Costs and 96 - GR/IR Credit. For 81 the GL is based on Service No's Valuation Class and 96 the GL is based on OBYC - WRX - Empty Valuation Class. Data of ML81N is stored in ESSR, ESLL, ESKN.
3. A MIRO document is created. An FI Document is created with Posting Keys - 31, 86, 40 (Taxes), 50 (Taxes)
 
   


ME33 - Outline Agreement
ME33K - Contract Agreement
J1IX - Excise Invoice

General -

1. When creating a PO the price from the purchase info record is suggested as the price. The price from material master record is suggested as the valuation price in case of PR.

2. When doing a GR for a material with moving average price the material is valuated at the PO price and in case of material subject to standard price control the material is valuated at the standard price in the material master and the difference is posted to a price difference account.

3.In case of moving average price the price gets updated accordingly as Total stock value/ total stock.
In case of standard price the MAP is updated for statistical purpose the standard price in the MMR remains unchanged

4. FM  MATERIAL_UPDATE_ALL is used for Updating Materials in MM01 and MM02. Tables used are MARA, MARC, MARD, MBEW, MLGN, MLGT, MVKE, MYMS

OKB9?

No comments:

Post a Comment