Sie sind auf Seite 1von 51

OVERVIEW

PURCHASE ORDER:

A purchase order in SAP is a legal document used to record an individual purchase with the vendor or arrange for a deli link to shipping and invoicing processes.

PURCHASE ORDER MANAGEMENT SYSTEM:

Purchase order Management System allows you to order, track, and receive the materials from the vendor. It also prov generate reports based on purchase orders.

It has the following steps to manage the purchase orders,

Purchase Requisition Document needs to be created before the purchase order


Request for Quatation Create Quatation Price Comparision Create Purchase Order

Purchase Requisition:

Purchase Requisition (PR) is an internal purchasing document in SAP R/3. It is used to give notification to responsible de and keep track of such requirements. PR must contain information about quantity of a material or a service and the req
Request for Quatation:

It is the initial step in a vendor selection process. The business sends out RFQ to the vendors and the vendors respond purchase order for the material/services needed.
Create Quatation:

The aim of quotation processing is to quickly hand over a binding quotation that is attractive for the customer and justi with the customers requirements in the process.
Price Comparision:

It is a business process to compare the one RFQ to another RFQ to meet the best price.
Create Purchase Order:

Once the above steps are satisfied by the company/ vendor the purchase order is created . Purchase order is an agreem agreed duration of interval. Purchase order is a legal document between a vendor and a company. It covers the paym

OVERVIEW

hase with the vendor or arrange for a delivery based on prior agreement. It also provides the vendor with a reference document to

he materials from the vendor. It also provides the ability to browse purchase orders, list currently outstanding purchase orders, and

used to give notification to responsible department (purchasing/procurement) of requirements of materials and/or external services ntity of a material or a service and the required date

Q to the vendors and the vendors respond back with Quotations with prices. Next step is quotation evaluation followed by issue of a

hat is attractive for the customer and justifiable from a business point of view. An initial specification of the product is created in line

best price.

er is created . Purchase order is an agreement between the vendor and a company to supply the goods at an agreed rate and at an endor and a company. It covers the payment terms and terms of delivery also.

endor with a reference document to

tly outstanding purchase orders, and

s of materials and/or external services

tion evaluation followed by issue of a

ation of the product is created in line

e goods at an agreed rate and at an

PROCESS FLO
PROCESS DESCRIPTION:

A purchase order is a legal document used to record an individual purchase (negotiated terms, conditionsand pricin vendor with a reference document to link to shipping (goods receipt) and invoicing (invoice verification)processes.T apredetermined price and delivery date.Purchase orders can be created for materials that have a material master o

START

CREATE PURCHASE REQUISITION(PR) - ME51N

PROCESS FLOW

ted terms, conditionsand pricing) with the vendor or arrange for a delivery based on prior agreement. It also provides the invoice verification)processes.The purchase order is a commitment to a vendor for a given material, in a specified quantity at ls that have a material master or for materials that do not have material master.

CREATE REQUEST FOR QUATATION (RFQ) - ME41

CREATE INQUIRY - VA11

VENDOR PROCESS

CREATE QUATATION - VA21

MAINTAIN QUATATION - ME47

PRICE COMPARISION - ME49

CREATE PURCHASE ORDER (PO) -

CREATE PURCHASE ORDER (PO) ME21N

GOODS RECEIPT- MIGO

INVOICE VERIFICATION-MIRO

VENDOR PAYMENT - FB60

STOP

ement. It also provides the erial, in a specified quantity at

TABLES - PURCHASE ORDER


TABLES EKKO EKPO EKPV EKET VETVG EKES EKKN EKAN EKPA EIPO EINA EINE EORD EBAN EBKN EKBE RBKP RSEG RBCO RBMA DESCRIPTION Purchase document Purchase document (item level)

Shipping-Specific Data on Stock Tfr. for Purch. Doc. Item Delivery schedule Delivery Due Index for Stock Transfer Order Acceptance/Fulfillment Confirmations Account assignment in purchasing Vendor address purchasing Partner functions Item export / import data Purchase info record (main data) Purchase info record (organisational data) Source list Purchase requisition Purchase Requisition Account Assignment Purchasing history Invoice receipt header Invoice receipt items Document Item, Incoming Invoice, Account Assignment Document Item: Incoming Invoice for Material

RBSELBEST

Invoice Receipt, Purchasing Documents Selection (give relation invoice - PO numbers)

PURCHASE REQUISITION

PURCHASE ORDER

on Stock Tfr. for Purch. Doc. Item

Stock Transfer

illment Confirmations purchasing

organisational data)

Account Assignment

ming Invoice, Account Assignment

ming Invoice for Material

asing Documents Selection - PO numbers)

DATABASE DESIG
ZCOMPANYCODE FIELD TYPE FIELD NAME PK BUKRS BUTXT ORT01 ADRNR ZPURCHASEORG FIELD TYPE FIELD NAME PK EKORG EKOTX TXADR ZPURCHASEORGGRP FIELD TYPE FIELD NAME PK EKGRP EKNAM EKTEL SMTP_ADDR

ZPLANT

FIELD TYPE FIELD NAME PK WERKS NAME1 BWKEY KUNNR LIFNR

ZSTORAGELOCATION

FIELD TYPE FIELD NAME PK LGORT LGOBE

ZVENDOR

FIELD TYPE FIELD NAME PK LIFNR NAME1 ORT01 ORT02 PFACH PSTLZ REGIO ADRNR

ZMATERIAL

FIELD TYPE FIELD NAME PK MATNR MTART MATKL MBRSH ERSDA ERNAM LAEDA AENAM NTGEW GEWEI VPREH

ZPURCHASEREQ

Purchase requisition FIELD TYPE FIELD NAME PK BANFN BNFPO BSART BSTYP EKGRP

BEDAT ZPURCHASEORD Purchase Order Creation - header FIELD TYPE FIELD NAME PK EBELN FK ANGNR LPONR BUKRS LIFNR EKORG EKGRP WAERS IHRAN

ZPURCHASEORDITM

Purchase Order Creation - Items FIELD TYPE FIELD NAME FK EBELN EBELP MATNR EMATN BUKRS WERKS LGORT MATKL INFNR IDNLF KTMNG MENGE MEINS BPRME WEPOS

ZGOODSRECEIPT FIELD TYPE FIELD NAME FK EBELN FK EBELP BLDAT

ZINVOICEVERFICATION FIELD TYPE FIELD NAME FK EBELN FK BLDAT BUDAT

DATABASE DESIGN
ORGANISATION DATA
DESCRIPTION Company Code Name of the Company City Address

DESCRIPTION Purchase Organisation Description of Purchase Organisation Sender Line Assignment of Purchase Org to Purchase Org Group DESCRIPTION Purchase Organisation Group Description of Purchase Organisation Group Telephone Number Email Address FIELD TYPE PK FIELD NAME EKGRP EKORG

Assignment of Purchase Org to Purchase Org Group to Comp Code FIELD TYPE PK FIELD NAME BUKRS EKGRP

DESCRIPTION Plant Number Plant Name Valuation Area Customer Number of the Plant Vendor Number of the Plant

DESCRIPTION Storage Location Number Description of Storage Location

Assignment of Storage Location to Plant FIELD TYPE PK FIELD NAME WERKS LGORT

Assignment of Plant and company code FIELD TYPE PK FIELD NAME BUKRS

WERKS

MASTER DATA
DESCRIPTION Vendor Number Name of the Vendor City District PO Bax Postal Code Region Address

DESCRIPTION Material Number Material Type Material Group Industry Material Created Date Create Person Name Date of Modified Modified Person Name Net Weight Weight Unit Price Unit

Assignment Table to combine Organisation data with master data FIELD TYPE FIELD NAME PK BUKRS LIFNR MATNR

TRANSACTION DATA

DESCRIPTION Purchase Requisition Number Item Number of Purchase Requisition Purchase Requisition Document Type Purchasing Document Category Purchasing Group

Purchase Order Date

DESCRIPTION Purchasing Document Number Quatation Number Item Number Company Code Vendor Account Number Purchasing Organization Purchasing Group Currency Key Quatation Submission Date

DESCRIPTION Purchasing Document Number Item Number of Purchasing Document Material Number Material Number Company Code Plant Storage Location Material Group Number of Purchasing Info Record Material Number Used by Vendor Target Quantity Purchase Order Quantity Purchase Order Unit of Measure Order Price Unit (Purchasing) Goods Receipt Indicator

DESCRIPTION Purchasing Document Number Item Number of Purchasing Document Document Date

DESCRIPTION Purchasing Document Number Document Date Posting Date

urchase Org to Purchase Org Group DESCRIPTION Purchase Organisation Group Purchase Organisation

urchase Org to Purchase Org Group to Comp Code DESCRIPTION Company Code Purchase Organisation Group

torage Location to Plant DESCRIPTION Plant Number Storage Location Number

lant and company code DESCRIPTION Company Code

Plant Number

e to combine Organisation data with master data DESCRIPTION Company Code Vendor Number Material Number

ZCOMPANYCODE FIELD MANDT BUKRS BUTXT ORT01 LAND1 ADRNR DATA ELEMENT MANDT BUKRS BUTXT ORT01 LAND1 ADRNR DATA TYPE LENGTH DEC CLNT 3 0 CHAR 4 0 CHAR 25 0 CHAR 25 0 CHAR 3 0 CHAR 10 0

ZPURORGGROUP FIELD DATA ELEMENT MANDT MANDT EKGRP EKGRP EKNAM EKNAM EKTEL EKTEL TELFX EKTFX SMTP_ADDR D_SMTPADR A ZPURORG FIELD MANDT EKORG EKOTX TXADR DATA ELEMENT MANDT EKORG EKOTX TXADR DATA TYPE LENGTH DEC CLNT 3 0 CHAR 4 0 CHAR 20 0 CHAR 70 0 DATA TYPE LENGTH DEC CLNT 3 0 CHAR 3 0 CHAR 18 0 CHAR 12 0 CHAR 31 0 CHAR 241 0

ZPLANT FIELD MANDT WERKS NAME1 LIFNR STRAS PFACH PSTLZ ORT01 EKORG DATA ELEMENT MANDT WERKS_D NAME1 LIFNR_WK STRAS PFACH PSTLZ ORT01 EKORG DATA TYPE LENGTH DEC CLNT 3 0 CHAR 4 0 CHAR 30 0 CHAR 10 0 CHAR 30 0 CHAR 10 0 CHAR 10 0 CHAR 25 0 CHAR 4 0

ZSTORAGE FIELD MANDT DATA ELEMENT MANDT DATA TYPE LENGTH DEC CLNT 3 0

LGORT LGOBE

LGORT_D LGOBE

CHAR CHAR

4 16

0 0

ZVENDOR FIELD MANDT LIFNR NAME1 ORT01 ORT02 PFACH PSTL2 PSTLZ REGIO STRAS ADRNR TELBX TELFX DATA ELEMENT MANDT LIFNR NAME1_GP ORT01_GP ORT02_GP PFACH PSTL2 PSTLZ REGIO STRAS_GP ADRNR TELBX TELFX DATA TYPE LENGTH DEC CLNT 3 0 CHAR 10 0 CHAR 35 0 CHAR 35 0 CHAR 35 0 CHAR 10 0 CHAR 10 0 CHAR 10 0 CHAR 3 0 CHAR 35 0 CHAR 10 0 CHAR 15 0 CHAR 31 0

ZMATERIALMASTER FIELD MANDT MATNR ERSDA ERNAM LAEDA AENAM MTART MBRSH MATKL BASMG MEINS NTGEW GEWEI WERKS_D EKGRP VPREH ZPURREQ FIELD MANDT BANFN BNFPO BSART BSTYP DATA ELEMENT MANDT BANFN BNFPO BBSRT BSTYP DATA TYPE LENGTH DEC CLNT 3 0 CHAR 10 0 NUMC 5 0 CHAR 4 0 CHAR 1 0 DATA ELEMENT MANDT MATNR ERSDA ERNAM LAEDA AENAM MTART MBRSH MATKL BASMG MEINS NTGEW GEWEI WERKS_D EKGRP VPREH DATA TYPE LENGTH DEC CLNT 3 0 CHAR 18 0 DATS 8 0 CHAR 12 0 DATS 8 0 CHAR 12 0 CHAR 4 0 CHAR 1 0 CHAR 9 0 QUAN 13 3 UNIT 3 0 QUAN 13 3 UNIT 3 0 CHAR 4 0 CHAR 3 0 DEC 5 0

EKGRP ERNAM ERDAT AFNAM MATNR EMATN WERKS LGORT MATKL MENGE MEINS BADAT FRGDT WEBAZ PREIS PEINH

EKGRP ERNAM AEDAT AFNAM MATNR EMATN EWERK LGORT_D MATKL BAMNG BAMEI BADAT FRGDT WEBAZ BAPRE EPEIN

CHAR CHAR DATS CHAR CHAR CHAR CHAR CHAR CHAR QUAN UNIT DATS DATS DEC CURR DEC

3 12 8 12 18 18 4 4 9 13 3 8 8 3 11 5

0 0 0 0 0 0 0 0 0 3 0 0 0 0 2 0

ZPURORDH FIELD MANDT EBELN BUKRS BSTYP BSART AEDAT ERNAM LIFNR EKORG EKGRP BEDAT ANGNR DATA ELEMENT MANDT EBELN BUKRS EBSTYP ESART ERDAT ERNAM ELIFN EKORG BKGRP EBDAT ANGNR DATA TYPE LENGTH DEC CLNT 3 0 CHAR 10 0 CHAR 4 0 CHAR 1 0 CHAR 4 0 DATS 8 0 CHAR 12 0 CHAR 10 0 CHAR 4 0 CHAR 3 0 DATS 8 0 CHAR 10 0

ZPURORDI FIELD MANDT EBELN EBELP AEDAT MATNR EMATN BUKRS WERKS LGORT MATKL KTMNG MENGE MEINS DATA ELEMENT MANDT EBELN EBELP PAEDT MATNR EMATNR BUKRS EWERK LGORT_D MATKL KTMNG BSTMG BSTME DATA TYPE LENGTH DEC CLNT 3 0 CHAR 10 0 NUMC 5 0 DATS 8 0 CHAR 18 0 CHAR 18 0 CHAR 4 0 CHAR 4 0 CHAR 4 0 CHAR 9 0 QUAN 13 3 QUAN 13 3 UNIT 3 0

BPRME PEINH NETWR BRTWR

BBPRM EPEIN BWERT BBWERT

UNIT DEC CURR CURR

3 5 13 13

0 0 2 2

ZGOODSRECEIPT FIELD MANDT EBELN EBELP BLDAT DATA ELEMENT MANDT EBELN EBELP BLDAT DATA TYPE LENGTH DEC CLNT 3 0 CHAR 10 0 NUMC 5 0 DATS 8 0

ZINVOICEVERFICATION FIELD MANDT EBELN BLDAT BUDAT DATA ELEMENT MANDT EBELN BLDAT BUDAT DATA TYPE LENGTH DEC CLNT 3 0 CHAR 10 0 DATS 8 0 DATS 8 0

TABLE DESIGN
ZPURORGTOGRP DESCRIPTION Client Company Code Name of Company Code or Company City Country Key Address FIELD MANDT EKGRP EKORG

ZPURORGGRPTOCC DESCRIPTION Client Purchasing Group Description of purchasing group Telephone number of purchasing group (buyer group) Fax number of purchasing (buyer) group E-Mail Address FIELD MANDT BUKRS EKGRP

ZSTORAGETOPLNT DESCRIPTION Client Purchasing Organization Description of Purchasing Organization Text Name: Sender Line FIELD MANDT WERKS LGORT

DESCRIPTION Client Plant Name Vendor number of plant House number and street PO Box Postal Code City Purchasing Organization

ZPLNTTOCC FIELD MANDT BUKRS WERKS

FIELD MANDT BUKRS LIFNR MATNR

DESCRIPTION Client

Storage Location Description of Storage Location

DESCRIPTION Client Account Number of Vendor or Creditor Name 1 City District PO Box P.O. Box Postal Code Postal Code Region (State, Province, County) House number and street Address Telebox number Fax Number

DESCRIPTION Client Material Number Created On Name of Person who Created the Object Date of Last Change Name of Person Who Changed Object Material Type Industry sector Material Group Base quantity Base Unit of Measure Net Weight Weight Unit Plant Purchasing Group Comparison price unit

DESCRIPTION Client Purchase Requisition Number Item Number of Purchase Requisition Purchase Requisition Document Type Purchasing Document Category

Purchasing Group Name of Person who Created the Object Changed On Name of Requisitioner/Requester Material Number Material Number Corresponding to Manufacturer Part Number Plant Storage Location Material Group Purchase Requisition Quantity Purchase Requisition Unit of Measure Requisition (Request) Date Purchase Requisition Release Date Goods Receipt Processing Time in Days Price in Purchase Requisition Price Unit

DESCRIPTION Client Purchasing Document Number Company Code Purchasing Document Category Purchasing Document Type Date on Which Record Was Created Name of Person who Created the Object Vendor Account Number Purchasing Organization Purchasing Group Purchasing Document Date Quotation Number

DESCRIPTION Client Purchasing Document Number Item Number of Purchasing Document Purchasing Document Item Change Date Material Number Material Number Company Code Plant Storage Location Material Group Target Quantity Purchase Order Quantity Purchase Order Unit of Measure

Order Price Unit (Purchasing) Price Unit Net Order Value in PO Currency Gross order value in PO currency

DESCRIPTION Client Purchasing Document Number Item Number of Purchasing Document Goods Receipt Date

DESCRIPTION Client Purchasing Document Number Document Date in Document Posting Date in the Document

TABLE DESIGN
ZPURORGTOGRP DATA ELEMENT TYPELENGTH DEC DATA MANDT CLNT 3 EKGRP CHAR 3 EKORG CHAR 4 DESCRIPTION 0 Client 0 Purchasing Group 0 Purchasing Organization

ZPURORGGRPTOCC DATA ELEMENT TYPELENGTH DEC DATA MANDT CLNT 3 BUKRS CHAR 4 EKGRP CHAR 3 DESCRIPTION 0 Client 0 Company Code 0 Purchasing Group

ZSTORAGETOPLNT DATA ELEMENT TYPELENGTH DEC DATA MANDT CLNT 3 WERKS_D CHAR 4 LGORT_D CHAR 4 DESCRIPTION 0 Client 0 Plant 0 Storage Location

ZPLNTTOCC DATA ELEMENT TYPELENGTH DEC DATA MANDT CLNT 3 BUKRS CHAR 4 WERKS_D CHAR 4

DESCRIPTION 0 Client 0 Company Code 0 Plant

DATA ELEMENT TYPELENGTH DEC DATA MANDT CLNT 3 BUKRS CHAR 4 LIFNR CHAR 10 MATNR CHAR 18

0 0 0 0

DESCRIPTION Client Company Code Account Number of Vendor or Creditor Material Number

STANDARD BAPI / FUNCTION MODULES

BAPI BAPI_PO_CREATE1

FUNCTION MODULES
ME_CREATE_PO_HEADER ME_CREATE_PO_ITEM

CUSTOM FUNCTION MODULES

ZPO_CREATE ZPO_CHANGE ZPO_DISPLAY

This function module is used to create purchase order based on the company code and vendor and materia group. It will create purchase order to the vendor (vendor details maintained in zvendor master table) and m purchase order header table(zpurordh) and purchase order item table(zpurordi). Yet to finish

This function module will display the purchase order header and item details based on the purchase order n

on the company code and vendor and material. This function module validates the data for company code and purchase organisation and purchase tails maintained in zvendor master table) and material (material details maintained in zmaterialmster table). This will reflect the data to the em table(zpurordi).

and item details based on the purchase order number.

e and purchase organisation and purchase e). This will reflect the data to the

Function Module ZPO_Create

Test FM

Sample Test Ouput with Purchase Order Created