Sei sulla pagina 1di 18

Ooredoo

Manage Requisition to Invoice


Purchase Order Form

Prepared by
Date

Reviewed by
Date

Approved by
Date

Purchase Order Form


Functional Design

Sign-Off
Name

File Name: 271363533


Status: DRAFT

Date (DD-MM-YYYY)

Signature

Page 1 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Revision History
Version
0.1
0.2
0.3
1.0

File Name: 271363533


Status: DRAFT

Date
11
November
2013
18
November
2013
30 January
2014
6 February
2014

Author
Varian Citrajaya

Status
Initial Draft

Deasy Trisnawati

Review

Varian Citrajaya

Update

Varian Citrajaya

Final

Description

Adding draft version for unreleased PO

Page 3 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

RICEF Work Unit #: (Required)


[<Fun_Module>-F-###]

Form Title:

Purchase Order Form

Module & Sub module: MM PUR


1a. General Requirements
Functional Description of Form:
Purchase Order print out form to be printed/emailed once the Purchase Order is fully approved in SAP, and to be
sent to the respective vendor. This form contains the detail information about the order of materials/services.
This printed form is applicable only for PO which is going to be sent to vendor: PO with document type Standard PO
and Subcontracting PO.

Frequency: Adhoc

Processing Type: Online

Owner: Purchasing Officer

Audience: Global Purchasing

Business Driver: Send PO to Vendor

Priority: High

Complexity: Medium

Initiating Transaction/Program: ME9F

Design Assumptions: N/A

File Name: 271363533


Status: DRAFT

Page 5 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

1b. Design
Detailed Description of New Form/Changes to Existing Form:
High Level Logic Diagram:

The PO form is printed as PO print out, or generated to vendor by email. PO form can only be created for approved
PO.
Header Data:

Item/Body Data:

File Name: 271363533


Status: DRAFT

Page 7 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Footer Data:

Breaking:
There should be no breaking in the middle of item details.
Page breaking will be done after footer data-signatory section. Hence, Ooredoo Myanmars purchase terms
and condition will be on different pages.
Totals:
Subtotal = Total of PO value with Tax
Sorting:
Ascending based on PO item number

File Name: 271363533


Status: DRAFT

Page 9 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Summary Data:
N/A

Processing Details (Business Rules/Selection Criteria and Validation):


The PO form will be generated through ME9F. User is going to enter the purchase order number in document number field and
select the application EF.
The form will use the following format:
Orientation
: Landscape
Paper Size
: A4
Font
: Arial
Font Size
: 10
Dates: Date formats are DD/MM/YYYY.
Amounts: Decimals separator is a period (.). Thousands are separated by a comma (,). Negative signs are
denoted by the prefix -. For example, -1,234,567.89
Currency: Currencies are denoted by using the corresponding ISO code (e.g. Myanmar Kyat will be shown as
MMK).
Language: English
Draft: The draft version will have the mark (DRAFT) next to the PO number in the PO form header.
Pre-Processing/Post-Processing Dependencies:
Pre-processing: PO is fully approved.
Post-processing: N/A
Data Inclusion/Exclusion:
This form will not be applicable for PO with document type STO (Stock Transport Order).
Design Constraints:
N/A
Form Layout:

PO Form
Design-v0.2.doc

File Name: 271363533


Status: DRAFT

Page 11 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Output Field Descriptions:


~ The details of fields which are not provided in below table will follow standard SAP technical settings ~
For Header Title:
If PO Document Type = Subcontracting, then Header Title = Purchase Order - Subcontracting
Else Header Title = Purchase Order
Form Field
Name

Field
Type

Field
Length

Font
Type

Font
Size

PO Number
Vendor
Account
Number*
Vendor Name*
Vendor
Address*

SAP Table-Field
Name/
TCode-Screen NoScreen Field Name
EKKO-EBELN

EKKO-LIFNR

LFA1-NAME1

JOIN EKKO and LFA1 on LIFNR

LFA1-STRAS

JOIN EKKO and LFA1 on LIFNR

Vendor City*
Vendor Postal
Code*
Vendor
Province*
Vendor
Country*
Vendor PO
Box*
Vendor
Phone*

LFA1-ADRNR
LFA1-ORT01

JOIN EKKO and LFA1 on LIFNR

LFA1- PSTLZ

JOIN EKKO and LFA1 on LIFNR

LFA1-REGIO

JOIN EKKO and LFA1 on LIFNR

LFA1-LAND1

JOIN EKKO and LFA1 on LIFNR

LFA1-PFACH

JOIN EKKO and LFA1 on LIFNR

LFA1-TELF1

JOIN EKKO and LFA1 on LIFNR

Vendor Fax*
Contact
Person Name*
PO Date
Incoterm

LFA1-TELF2
LFA1-TELFX

JOIN EKKO and LFA1 on LIFNR

LFM1-VERKF

JOIN EKKO and LFM1 on LIFNR

EKKO-BEDAT
EKKO-INCO1
EKKO-INCO2

Page

Purchasing
Officer

Contract
Number

EKPO-KONNR

Revision Date

EREV-ERDAT

Version

EREV-REVNO

EKPO-BANFN

ADRC-NAME1

PR Number
(Header or
Item Level)
Ship To
Name*
File Name: 271363533
Status: DRAFT

ADRPNAME_TEXT

Comments / Calculation /
Formula / Descriptions

JOIN EKKO and USR21 on


ERNAM = BNAME
JOIN USR21 and ADRP on
PERSNUMBER
Get last EREV-ERDAT where
EDOKN = PO Number
Get last EREV-REVNO where
EDOKN = PO Number
JOIN EKPO and EKKO on EBELN
If(EKPO-ADRNR is not null)

Page 13 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Or
T001W-NAME1

Get EKPO-ADRNR based on


EBELN
Get ADRC-NAME1 where
ADRC-ADDRNUMBER = EKPOADRNR
Else
JOIN EKKO and T001W on
WERKS

Ship To
Street*

Ship To City*

ADRC-STREET

If(EKPO-ADRNR is not null)

Or
T001W-STRAS

Get EKPO-ADRNR based on


EBELN

ADRC-CITY1
OR
T001W-ORT01

Get ADRC-STREET where


ADRC-ADDRNUMBER = EKPOADRNR
Else
JOIN EKKO and T001W on
WERKS
If(EKPO-ADRNR is not null)
Get EKPO-ADRNR based on
EBELN
Get ADRC-CITY1 where
ADRC-ADDRNUMBER = EKPOADRNR
Else
JOIN EKKO and T001W on
WERKS

Ship To PO
Box*

ADRCPOST_CODE1
Or
T001W-PSTLZ

If(EKPO-ADRNR is not null)


Get EKPO-ADRNR based on
EBELN
Get ADRC-POST_CODE1 where
ADRC-ADDRNUMBER = EKPOADRNR
Else
JOIN EKKO and T001W on
WERKS

Invoice To
Name*

ADRC-NAME1

Get T001-ADRNR based on


EKPO-BUKRS

Invoice To
Street*

File Name: 271363533


Status: DRAFT

ADRC-STREET

Get ADRC-NAME1 where


ADRC-ADDRNUMBER = T001ADRNR
Get T001-ADRNR based on

Page 15 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

EKPO-BUKRS
Get ADRC-STREET where
ADRC-ADDRNUMBER = T001ADRNR
Invoice To
City*

ADRC-CITY1

Get T001-ADRNR based on


EKPO-BUKRS
Get ADRC-CITY1 where
ADRC-ADDRNUMBER = T001ADRNR

Invoice To PO
Box*

ADRCPOST_CODE1

Get T001-ADRNR based on


EKPO-BUKRS
Get ADRC-POST_CODE1 where
ADRC-ADDRNUMBER = T001ADRNR

Payment
Terms

EKKO- ZTERM

Header Text

Use FM
READ_TEXT

No
Material
Description
Quantity
UoM

N
C
C
N
N

EKPO-MATNR
MAKT-MAKTX
EKPO-MENGE
EKPO-MEINS

Delivery Date

EKET-EINDT

Concatenate
(ADRC-STREET
and ADRCHOUSE_NUM1 and
ADRCPOST_CODE1 and
ADRC-CITY1)

Storage
Location
Address

Language = EN
Text ID = F01
Text Object = EKKO
Generate (n+1)
JOIN EKPO and EKKO on EBELN
JOIN EKPO and MAKT on MATNR
JOIN EKPO and EKKO on EBELN
JOIN EKPO and EKKO on EBELN
JOIN EKPO and EKET on EBELN
and EBELP
Get ADRC-STREET and ADRCHOUSE_NUM1 and ADRCPOST_CODE1 and ADRC-CITY1
Where
ADRC-ADDRNUMBER = TWLADADRNR
and
TWLAD-WERKS = EKKO-WERKS
and TWLAD-LGORT = EKPOLGORT

Currency*
Unit Price

File Name: 271363533


Status: DRAFT

A
N

EKKO-WAERS
EKPO-NETPR
+Total Discount

JOIN EKPO and EKKO on EBELN

Page 17 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Get EKPO-NETPR OR Get from


BRTWR/MENGE

Tax

Total

Remarks

Sub Total

Discount

Net Price

File Name: 271363533


Status: DRAFT

T007S-TEXT1

Use FM
READ_TEXT
SUM (KONVKWERT * Gross
Price in PO for each
row) Consider to
check the condition
type in KOMVKSCHL (structure)
whether its using
percentage or
absolute amount for
the discount type.

Total Discount =
1 Discount will be calculated
sequentially from header to item
level
2 All discount will be sum to a
variable
3 For each condition types and
values are captured from
KNUMV with link using EKKO.
After that in order to capture the
condition type (KSCHL) and the
value (KBETR) checking to table
KONV is needed. Please ensure
the calculation is following the
rule number 1.
Select TEXT1 from T007S where
KALSM = T005-KALSM and
MWSKZ = EKPO-MWSKZ
Quantity * Unit Price
Language = EN
Text ID = F01
Text Object = EKPO
Sum(Total(IDR))

JOIN EKKO and KONV on KNUMV

Subtotal-Discount

Page 19 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

For material
get EKPO-MWSKZ
where EBELN = PO
number and EBELP
= PO line item
get A003-KNUMH
where ALAND = ID
and MWSKZ =
EKPO-MWSKZ
get KONP-KBETR
where KNUMH =
A003-KNUMH
VAT

For service
Get PACKNO from
EKPO where
EBELN = PO and
EBELP = PO Line
Item

SUM (Percentage from KONPKBETR * Total) {per line and sub


line item)

Get SUBPACKNO
from ESLL where
PACKNO = EKPOPACKNO
Get MWSKZ from
ESLL where
PACKNO = ESLLSUBPACKNO
Grand Total

File Name: 271363533


Status: DRAFT

Net Price + VAT

Page 21 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Last Approver
Name

Concatenate
(ADRPNAME_FIRST) and
(ADRPNAME_LAST)

Select CDHDR-USERNAME from


CDHDR inner join CDPOS on
CDHDR-OBJECTCLAS = CDPOSOBJECTCLAS and CDHDROBJECTID = CDPOS-OBJECTID
and CDHDR-CHANGENR =
CDPOS-CHANGENR where
CDHDR-OBJECTCLAS =
EINKBELEG and CDHDROBJECTID = PO Number and
(CDHDR-TCODE = ME28 or
CDHDR-TCODE=ME29N) and
CDPOS-VALUE_NEW = Y and
CDPOS-VALUE_OLD = X and
CDPOS-FNAME = FRGKE
Then
Select concatenate(ADRPNAME_FIRST and ADRPNAME_LAST) from ADRP inner join
ADRP-PERSNUMBER = USR21PERSNUMBER where USR21BNAME = CDHDR-USERNAME

File Name: 271363533


Status: DRAFT

Page 23 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

Get USER_ADDRPPERSNUMBER WHERE


USER_ADDRP-NAME_TEXT = PO
Approver Name
Get PA0032-PERNR where
PA0032-PNALT = USER_ADDRPPERSNUMBER
Get PA0001-PLANS Where
PA0001-PERNR = PA0032-PERNR
Get HRP1000-MC_STEXT where
HRP1000-OBJID = PA0001-PLANS
And HRP1000-LANGU = System
Language
space
Get USER_ADDRPPERSNUMBER WHERE
USER_ADDRP-NAME_TEXT = PO
Approver Name

Last Approver
Position

HRP1000MC_STEXT space
HRP1000-STEXT

Get PA0032-PERNR where


PA0032-PNALT = USER_ADDRPPERSNUMBER
Get HRP1001-SOBID where
HRP1001-OTYPE = O
And HRP1001-OBJID = PA0001ORGEH
And HRP1001-SCLAS = O
And PA0001-PERNR = PA0032PERNR
Get HRP1000-STEXT
Where HRP1000-PLVAR = 01
And HRP1000-OTYPE = O
And HRP1000-OBJID = HRP1001SOBID
And HRP1000-ISTAT = 1
And HRP1000-BEGDA <= P0001BEGDA
And HRP1000-ENDDA >= P0001BEGDA
And HRP1000-LANGU = system
language
And HRP1000-SEQNR = 000.

Legend

File Name: 271363533


Status: DRAFT

Field Type

A
N
C

Alpha only
Numeric
Alphanumeric
Page 25 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

R
X
D

Radio button
Check box
Date

*not include the field name in output


: If Storage Locations are different between PO Line Items, the ship-to-party in header will not be
filled, but it will be filled in each of line items. Otherwise, the ship-to-party will be filled in header and each of line
items.
: If PR number references are different between PO Line Items, PR Number in header will not be
filled, but it will be filled in each of line items. Otherwise, the PR number will be filled in header and each of line items.
: If Contract Number references are different between PO Line Items, Contract Number in header will
not be filled, but it will be filled in each of line items. Otherwise, the Contract number will be filled in header and each
of line items.
The display format for item is different depending on the item category:
Item category (Blank): Material, refer to the PO layout design picture item 1, 3
Item category D
: Service, refer to the PO layout design picture item 2.
Item category L
: Subcontracting, refer to the PO layout design picture item 4.
Form Specifications: A4, portrait, X lines before page break
2a. Selection Criteria
Selection Criteria (Input Parameters for the Form Print Program)
Refer to transaction code ME9F.

Authorization Check

File Name: 271363533


Status: DRAFT

Page 27 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

N/A2b. Error Handling


Potential Errors:
No

Possible Errors
N/A

File Name: 271363533


Status: DRAFT

Notification Procedures

Page 29 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

3a. Existing/Sample Form or Related Transaction


Existing SAP Program Name:
N/A
Existing SAP Menu/Transaction:
ME9F
Legacy Form Name:
N/A
Legacy Form Number:
N/A

3b. Related Documents


No.

Related Documents

Description

1.
2.

PO Form Design v0.2

PO layout design

Attachment

3c. Configuration Requirements:


Output determination configuration has been setup in the system.

File Name: 271363533


Status: DRAFT

Page 31 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

3d. Component Testing Requirements


Test condition
Print 1-page-Standard PO containing materials and
services
Print >1-page-Standard PO containing materials and
services
Print 1 Subcontracting PO
Print 1 STO
Reprint PO
Print 1 Unreleased standard PO
Choose other than AF in input parameter

Expected results
PO form for Standard PO is printed correctly

PO form for Subcontracting PO is printed


correctly
PO form will not be printed
PO form can be re-printed
PO form will be printed with the mark
(DRAFT) on PO form header
Invalid parameters for purchase order form
in ME9F

Test Data:
~ Test data will be provided once testing environment is ready and fully configured ~

3e. Performance Watch


N/A

File Name: 271363533


Status: DRAFT

Page 33 of 35
Date Printed: 25/05/2015

Ooredoo
Manage Requisition to Invoice
Purchase Order Form

APPENDIX A : Screen shots of process


ME9F

File Name: 271363533


Status: DRAFT

Page 35 of 35
Date Printed: 25/05/2015

Potrebbero piacerti anche