Professional Documents
Culture Documents
FS For Purchase Order Output
FS For Purchase Order Output
DOCUMENT ORIGIN
AUTHOR DATE
Vaishnavi – MM 07/08/2015
07/08/2015
Page 1 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
TABLE OF CONTENTS
1. Business Process overview 3
2. Requirement 3
3. Assumptions 3
4. Dependencies and Constraints 3
5. Functional Overview 4
5.1. Report / Program / Transaction / Form Name: 4
5.2. Affected Application Areas 4
5.3. Detailed Functional Logic 4
5.4. Standard/Alternative Options considered 4
5.5. Selection/ Layout Criteria 4
5.5.1. Report Selection screen Criteria 4
5.5.2. Custom Table involved in report generation 4
5.5.3. Report /Form Layout Criteria 4
6. Security and Authorizations 6
6.1. Authorisation objects 6
6.2. Roles to be updated with new transaction codes 6
7. Technical Specification 7
7.1. Development Attributes 7
7.2. Function Modules 7
7.3. User Exits 8
7.4. SAP Database tables 8
7.5. Custom Table definition (if any) 8
7.6. External files used 8
7.7. Processing Logic 8
7.7.1. Process (overview) 8
7.7.2. Processing Flow Diagram 8
7.7.3. Selection Screen – Input fields 9
7.7.4. Implemented Layout and Design: 9
7.7.4.1. Print Program and Form Details 9
7.7.4.2. Form Layout Details 9
7.7.4.3. Layout Field Details 10
7.7.4.4. Form Layout diagram 10
7.7.5. Output Field Details 10
8. Security and Authorizations (Technical) 10
9. Error handling/Validations 11
10. Testing Requirements 11
10.1. Positive Test Cases 11
10.2. Negative Test Cases 11
11. Additional Information/Appendix ( if any) 11
Page 2 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Page 3 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
We require a form that can be used to send purchase order documents to our Netherlands vendor.
Each time a purchase order is created, an output record will be generated to print the purchase
order document. It is the output record that is required in the specified print formats defined
within this document.
.
2. Requirement
The Purchase Order Document is required to ensure the vendor to be aware of the goods that
need to be delivered to company and thus ensure the delivery of good in time.
1. The Purchase Document is required to have the PO order number, date, company address,
vendor address, currency, materials, price per unit total value of the purchase Order.
.
3. Assumptions
Sr.No. Description
A1 Purchase Order are printed locally by ABInBev in NL.
A2 NL will provide pre-printed and ABInBev logo stationery for all
Purchase documents.
A3 Vendor and company address details will be formatted to a uniform
format in SAP.
A4 The Purchase Order Number and terms of payment is required on the
Purchase document for NL.
A4 Contact details of vendor are required for NL
A4 The agreed transmission medium for NL Purchase document is Print.
A7 The program will format the address fields and remove any blank
fields from the Purchase Order Document
A8 There is no requirement to display times on the Purchase order
document; just the dates will be required.
A9 There is no requirement for colour print, black and white is sufficient.
A10 The SAP standard program SAPFM06P (Print program for purchase
order) will be copied and modified to meet BEIG requirements).
Page 4 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Sr.No. Description
D1 The configuration entries must be maintained for each purchase order
that requires output for purchase order document print.
D2 The master data for the output record must be maintained via
transaction NACR (Create Output – Condition Records: purchase).
5. Functional Overview
In Netherlands, the vendor is to be aware of the goods that must be delivered to company. This
form will be printed and sent out to the vendors.
.
Transaction Volume
There are approximately 50 Purchase Order documents created each day in Netherlands, this
figure includes all the special procurement purchase orders.
There are approximately 50 Purchase documents sent each day in Netherlands, this figure
includes figure includes all the special procurement purchase orders.
The Purchase Order document is required to ensure the vendor to be aware of goods and its
value that must be delivered to the company on the agreed delivery date.
Processing Type
Online
In Netherlands, this form will be printed and sent out to the Vendor.
Page 5 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Form Layout
This section contains a document with attachment that detail the layout of the Purchase Order
document summary. This document also contains the SAP field values and the logic required by
Page 6 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
the developer, so that the Purchase Order document Summary can be delivered. In all cases the
form layout will be portrait and the paper size will be A4.
Layout Detail
Position of Left Margin 0,44 CM
(Specify Unit)
Position of Right Margin 29,13 CM
(Specify Unit))
Position of Top Margin 0,37 CM
(Specify Unit)
Position of Bottom Margin 20,41 CM
(Specify Unit)
Logo To be used <Y/N>
Logo Position and <Include location of bitmap file (.bmp, .tif, .pcx) or standard text ID.>
occurrence
Footer detail Eg. <Page number/signature etc.>
Label 2 Date EKKO -AEDAT Pass the PO number to EKKO_EBELN and fetch All Arial
the EKKO_AEDAT value and display in this field pages 10
Label 3 Telephone EKKO-TELF1 Pass the PO number to EKKO_EBELN and fetch All Arial
the EKKO_TELF1 value and display in this field pages 10
Label 6 Name EKKO-NAME1 Pass the PO number to EKKO-EBELN and fetch All Arial
the EKKO-LIFNR and pass the value to LFA1- pages 10
LIFNR and fetch the LFA1-NAME1 and display in
the field
Label 7 Street Address EKKO-STRAS Pass the PO number to EKKO-EBELN and fetch All Arial
the EKKO-LIFNR and pass the value to LFA1- pages 10
LIFNR and fetch the LFA1-STRAS and display in
the field
Label 8 City, Region, Postal EKKO-ORT01, Pass the PO number to EKKO-EBELN and fetch All Arial
Code EKKO-REGIO, the EKKO-LIFNR and pass the value to LFA1- pages 10
EKKO-PSTLZ LIFNR and fetch the LFA1-ORT01, LFA1-REGIO,
LFA1-PSTLZ and display in the field. Values to be
concatenated.
Page 7 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Label 9 Vendor Number EKKO-LIFNR Pass the PO number to EKKO-EBELN and fetch All Arial
the EKKO-LIFNR. Remove preceding zeros. pages 10
Label 12 Plant Name2 T001W-NAME Pass the PO number to EKPO-EBELN and fetch All Arial
the EKPO-WERKS and pass the value to T001W- pages 10
WERKS and fetch the T001W-NAME2 and display
it in the field
Label 13 address T001W-STRAS Pass the PO number to EKPO-EBELN and fetch All Arial
the EKPO-WERKS and pass the value to T001W- pages 10
WERKS and fetch the T001W-STRAS and display
it in the field
Label 14 Region, Postal code T001W-REGIO, Pass the PO number to EKPO-EBELN and fetch All Arial
T001W-PSTLZ the EKPO-WERKS and pass the value to T001W- pages 10
WERKS and fetch the T001W-REGIO,T001W-
PSTLZ and display it in the field. Values to be
concatenated.
Label 18 item order EKPO-EBELP Pass the PO number to EKPO_EBELN and fetch All Arial
the EKPO_EBELP value and display in this field pages 10
below item hard coded in the next line
Label 19 material EKPO-MATNR Pass the PO number to EKPO_EBELN and fetch All Arial
the EKPO_MATNR value and display in this field pages 10
below material hard coded
Label 20 description MAKT-MAKTX Pass the PO number to EKPO_EBELN and fetch All Arial
the EKPO_MATNR value and pass to MAKT- pages 10
MATNR and fetch the MAKT-MAKTX value and
display in this field below description hard coded
Label 21 unit EKPO-MEINS Pass the PO number to EKPO_EBELN and fetch All Arial
the EKPO_MEINS value and display in this field pages 10
below unit hard coded
Label 22 Quantity EKPO-MENGE Pass the PO number to EKPO_EBELN and fetch All Arial
the EKPO_MENGE value and display in this field pages 10
below quantity hard coded
Label 23 price per unit EKPO-NETPR Pass the PO number to EKPO_EBELN and fetch All Arial
the EKPO_NETPR value and display in this field pages 10
below Price per unit hard coded
Page 8 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Label 24 net value EKPO-NETWR Pass the PO number to EKPO_EBELN and fetch All Arial
the EKPO_NETWR value and display in this field pages 10
below net value hard coded
The information box on the left side should be used to print the information of
(Purchase order Number / Date / Contact person
Title – Domestic Purchase must be displayed.
Page 10 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Sr.No. Description
1.
2.
3
Page 11 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Object ID :
Object Name ZO2ISF_225_INVOICE_NL
Title Invoice
Description
Development Class ZO2I
Message Class
Program Type
Program
Location/Server
Development Type Smartforms
Processing Type E.g. foreground
Frequency
Output Type
Application Area SAP System components
Report ☐ Drilldown ☐ Buttons ☐ Sort
Characteristics
☐ Entry file ☐ Others:
Report Created ☐ Report Painter ☐ Report Writer ☐ SAP Query
using
☒ ABAP program ☐ Info system
☐ BW ☐ Crystal Reports
Page 12 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Page 13 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
CM
Space before -0,10 CM
Space after - 0,00 CM
Line Spacing -0,75 LN
C Centered Alignment- Centred Helve - 08
Remaining all Default Pt Bold
● The user enters the values for the fields in the selection screen of the transaction VF01.
On submitting, the print program RLB_INVOICE program is called.
Page 15 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
● The program checks if the document type entered is Invoice, Credit memo, Debit memo
or Cancellation document for the selected customer, and depending on that particular
billing Document type the program calls the form and displays the particular data.
1 Page Secondary
Window/New
2 IGLO_BELG
Secondary
Window/New
3 HEADER Secondary
Window/New
4 SHIP_TO_ADDR Secondary
ESS Window/New
5 PAYER Secondary
Window/New
6 DUE_DATE Secondary
Window/New
7 FREE_TEXT Secondary
Window/New
8 MAIN MAIN
9 RATE_TAXABLE Secondary
_AMOUNTTAX Window/New
10 CASES_KG Secondary
Window/New
11 NET_VAT_AMO Secondary
UNTPAYABLE Window/New
12 FOOTER_WIND Secondary
OW Window/New
Since only one form is used for three different Countries and it will be displayed based on
the Language Key (KNA1-SPRAS).
● Header Window:
Page 16 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
For Invoice the title of the window should be Invoice, for Credit memo it should be Credit
Note, for Debit memo it should be Debit Note and for Cancellation it should be as
Cancellation Of ... and in this place the origin of cancellation should be replaced mean if it is
cancellation of invoice then it should be Cancellation of Invoice.
IF IS_BIL_INVOICE-HD_GEN-BIL_CAT = 'P'.
TITLE = 'Anzahlungsanforderung'.
ELSE.
CASE IS_BIL_INVOICE-HD_GEN-BIL_VBTYPE.
When 'M'.
TITLE = 'Invoice'.
When 'P'.
When 'O'.
When 'N'.
This part will contain the details of the Invoice Number, date, and more such as purchase order
etc.
The last field is only to be populated when the billing document type is = N (Cancellation
Invoice). For all other document types this is a blank field.
This window is needed to be framed within a box.
Font Size /
Field Description Field name Referring Structure Field Alignment
Title(Invoice/Debit
note/Credit Helve 12pt
note/Cancellation of Standard Left-
invoice) Text Logic required Alignment
VBRK-
VBELN/ Is_bil_invoice-HD_GEN- Helve 8pt
VBRK- BIL_NUMBER / Is_bil_invoice- Left-
Invoice number/date FKDAT HD_GEN-BIL_DATE Alignment
VBAK-
BSTNK is_bil_invoice-HD_REF- Helve 8pt
Purchase order VBAK- PURCH_NO / is_bil_invoice- Left-
number/date BSTDK HD_REF-PURCH_DATE Alignment
VBAK-
VBELN IS_BIL_INVOICE-HD_REF- Helve 8pt
VBAK- ORDER_NUMB / IS_BIL_INVOICE- Left-
Sales order number/date AUDAT HD_REF-ORDER_DATE Alignment
LIKP-
VBELN Helve 8pt
LIKP- Left-
Delivery number/date LFDAT Alignment
Page 17 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Helve 8pt
VBRK- Left-
Currency WAERK is_bil_invoice-HD_GEN-BIL_WAERK Alignment
Helve 8pt
Left-
Cancellatin doc refer to is_bil_invoice-HD_GEN-KIDNO Alignment
For Belgium the page numbering will be displayed as Page 1 of 1, Page 1 of 2, Page 2 of 2
ect. For France the page numbering will be displayed as Numéro de page 1 De 1, Numéro de
page 1 De 2, Numéro de page 1 De 2 etc.
For Netherlands the page numbering will be displayed as Het Aantal van de pagina 1 Van 1,
Het Aantal van de pagina 1 Van 1, Het Aantal van de pagina 1 Van 2 etc.
Use the following system fields for from and to. (FROM)&SFSY-PAGE&, (TO) &SFSY-
JOBPAGES&
● Address Window:
Iglo Belgium SA /
NV
Field Name
NAME1
NAME2
STRAS
ORT01
PSTLZ
Using the Billing Document number (VBRK-VBELN), go to the table (VBPA). Find the
entries for the Billing document number (VBPA-VBELN). Using the field (VBPA-PARVW)
find the entry for the value 'WE' and retrieve the partner number held in (VBPA-KUNNR).
Finally go to table (KNA1) and retrieve the following field for the address: KNA1-NAME1,
KNA1-NAME2, KNA1-STRAS, KNA1-ORT01 and KNA1-PSTLZ.
Ship to number: GS_HD_ADR-PARTN_NUMB
VAT Number: Kna1-stceg
Page 18 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Field Name
NAME1
NAME2
STRAS
ORT01
PSTLZ
Using the Billing Document number (VBRK-VBELN), go to the table (VBPA). Find the
entries for the Billing document number (VBPA-VBELN). Using the field (VBPA-PARVW)
find the entry for the value 'RG' and retrieve the partner number held in (VBPA-KUNNR).
Finally go to table (KNA1) and retrieve the following field for the address: KNA1-NAME1,
KNA1-NAME2, KNA1-STRAS, KNA1-ORT01 and KNA1-PSTLZ.
Bill to number: GS_HD_ADR-PARTN_NUMB
Due Date: BSEG-ZFBDT (Referring Structure field IS_BIL_INVOICE-
HD_GEN_DESCRIPT-ZFBDT)
Additional Information: Free Text will be displayed for those create include text in which
mention required fields like
Text Name - V_BIL_NO
Text object - VBBK
Text ID - 002
Language - EN and write the logic v_bil_no = is_bil_invoice-hd_gen-bil_number.
Invoice line Items data window:
It's a main window, and comprises of billing document item data.
Referring Font Size/
Item Name Field Name Structure Field Alignment
EAN Customer GS_IT_GEN_W- Helve 8 pt
Unit VBRP-EAN11 EAN_UPC Centred
EAN Consumer Helve 8 pt
Unit ? Inputs Required Centred
Material GS_IT_GEN_W- Helve 8 pt
Number VBRP-MATNR MATERIAL Centred
GS_IT_GEN_W- Helve 8 pt Left-
Description VBRP-ARKTX SHORT_TEXT Alignment
GS_IT_GEN_W- Helve 8 pt Right-
Quantity VBRP-FKIMG FKIMG Alignment
Weight/ GS_IT_GEN_W- Helve 8 pt Right-
Consumer Unit VBAP-BRGEW GROSS_WT Alignment
CUs within Helve 8 pt Right-
Customer Unit ? Inputs Required Alignment
Net Weight VBRP-NTGEW GS_IT_GEN_W- Helve 8 pt Right-
Page 19 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
NET_WEIGHT Alignment
GS_IT_KOND_W- Helve 8 pt Right-
Unit Price VBRP-NETWR KBETR Alignment
Discount per Helve 8 pt Right-
unit1 ? Inputs Required Alignment
Discount per Helve 8 pt Right-
unit2 ? Inputs Required Alignment
Discount per Helve 8 pt Right-
unit3 ? Inputs Required Alignment
Discount per Helve 8 pt Right-
unit4 ? Inputs Required Alignment
Refers to SAP Field Mappings GS_IT_PRICE- Helve 8 pt Right-
Net Amount and Logic for program NETWR Alignment
Refers to SAP Field Mappings GS_IT_PRICE- Helve 8 pt
VAT and Logic for program MWSBP Centred
Taxable Amount:
This field is a sum of the following: Add together each (VBRP-NETWR) on the billing
document lines, where the VAT Code (VBRP-TAXM1) = 0.
Amount Tax:
This field is a sum of the following: Add together each (VBRP-MWSBP) on the billing
document lines, where the VAT Code (VBRP-TAXM1) = 1.
This field is a sum of the following: Add together each (VBRP-NETWR) on the billing
document lines, where the VAT Code (VBRP-TAXM1) = 0 (Nothing but Taxable Amount).
● VAT:
This field is a sum of the following: Add together each (VBRP-MWSBP) on the billing
document lines, where the VAT Code (VBRP-TAXM1) = 1 (Nothing but Taxable Amount
Tax).
● AMOUNT PAYABLE:
Add Net Value and VAT.
This template is used to display the standard text comprising of the details of Payment to.
A box is drawn around the whole standard text details.
Page 20 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
According CCB address changes are made to address window of the Smart form as shown
below:
Sorting:
Totalling:
Has SU24 been updated with t-code and Authorisation objects Yes No
☐ ☐
Change Order numbers:
Have Business and Support roles been changed? Yes No
☐ ☐
Change Order numbers:
Page 21 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Identify the business scenario and business transactions this development will be tested with.
1 Billing Document
Enter Transaction number does not
Code VF02 or VF03 exist
in Client 110 and
Enter the Billing
Document Number
Page 22 of: 23
FSTS_O2I_FRM_Invoice _ ZO2ISF_225_INVOICE_NL
Page 23 of: 23