FS - FI - 014 - E - GL Journal Upload Program - V1.4
FS - FI - 014 - E - GL Journal Upload Program - V1.4
PROJECT IDENTIFICATION
Project Name Customer Name
SAP Implementation for VinEco VinEco
Electra Project Manager Customer Project Manager
Armansyah Lie Trần Thị Phượng
DOCUMENT IDENTIFICATION
Version and Status:
o 0.0 Working
o 1.0 Review
o 2.0 Released
o 3.0 Final
o 4.0 Technical Specification
Author Filename
Siva Kumar Ramalingam (Regional FICO Lead) /
Nguyen Ngoc Tham (Vietnam FICO)
Lu Thi Kim Phung (FICO)
Version Status Date (YYYY-MM-DD) Document Classification
1.0 Working 2017.08.01 Confidential
REVISION HISTORY
Version Date Description
1.0 2017.08.01 Initial
1 NOTATION.................................................................................................................... 4
2 PROCESS REQUIREMENTS........................................................................................4
2.1 Functional Design...................................................................................................4
2.2 Test Scenario........................................................................................................12
3 TECHNICAL SPECIFICATION **................................................................................13
3.1 Technical Object...................................................................................................13
4 PROGRAM LOGIC......................................................................................................13
5 RELEASE NOTES **/*...............................................................................................13
3 of 13
1 Notation
* indicates mandatory sections to be filled by the functional owner
* indicates optional sections to be filled by the functional owner
**indicates mandatory sections to be filled by the development team
**indicates optional sections to be filled by the development team
2 Process Requirements
2.1 Functional Design
FI – General Ledger
2.1.2 Short Description
4 of 13
This program design is based on the following design:
Underlying transction code: FB01 and supports Test run and Post Functionality
Supports both local currency and document currency postings.
1 upload template can have multiple accounting documents. Separate accounting
documents depend on Reference Field.
Each accounting document can have maximum 500 lines.
Restricted to following posting keys
o 01 – Debit AR D/N
o 09 – Debit AR Special GL
o 11 – Credit AR C/N
o 15 – Credit Incoming Payment
o 19 – Credit AR Special GL
o 21 – Debit AP C/N
o 25 – Debit Outgoing Payment
o 29 – Debit AP Special GL
o 31 – Credit AP D/N
o 39 – Credit AP Special GL
o 40 – Debit G/L
o 50 – Credit G/L
5 of 13
31, 39
--- Subsequent Line Restricted:
21, 25,29, 31, 39
Note: For document type Y & Z have not been confirmed ( To be updated for Interim
process)
Perform validation on masterdata in file:
o For Local currency VND: Not allow to post Amount in document currency = 0
excluding line item with tax base amount <>0.
Check GL entries:
o Balance sheet posting to Profit Center. (It is not P/L then all characteristics
are disabled)
o Balance sheet G/L Account as below: Tcode FS00
6 of 13
Check validity in accoding to structure CE01000
Ex: Tcode F-02
Header:
Document date: 01.03.2017
Posting date: 01.03.2017
Document Type: SA
Company code: 2113
Account: 5159513119
Line:
Posting key: 50:
Account: 5159513119
Amount: 1000000
Profit segment:
7 of 13
Check validity according to specific fields value
Selection Options
Data Lengt
Field Description Type h Field Remarks
Radio Button1
8 of 13
Data Lengt
Field Description Type h Field Remarks
Radio Button 1 of 3
Always default this radio button
Test mode to ensure mapping
characteristics is ok.
Log to list down following:
Incomplete DR / CR
Missing cost center / COPA / Profit
Center entries
Information is listed in ALV format for
RADIO1_ZTEST Test Mode user to preview postings.
Radio Button 2 of 3
Actual posting.
Log to list down following:
Accounting document created.
RADIO1_ZPOST Post Error log for all incomplete lines.
Upload Template Layout
Template should be in the following format:
Excel File (extension .xlsx)
Field Field Field Comments/Calculation
No Name Description Type Length Formula/Special Logic
Document Header
Only following values allowed:
H – Header (represents break
between accounting documents
L – Line items within accounting
documents. DR = CR for all line
items within header.
BLANK – End of file. System to
stop processing after 1st BLANK
H1 FLAG Flag C 001 Mandatory field.
Document DDMM
H2 BLDAT Date YYYY Mandatory
DDMM
H3 BUDAT Posting Date YYYY Mandatory
H4 BLART Doc. Type C 002 Mandatory
Validate company code consistent
H5 BUKRS Comp. Code C 004 Mandatory with SEL_ZBUKRS.
If currency <> VND, the following
fields are mandatory.
H6 WAERS Currency C 005 Mandatory DMBTR
Business Add Business place to upload
H7 XBLNR Place C 004 Optional template
Reference
H8 XBLNR Doc C 016 Optional
H9 BKTXT Header Text C 025 Optional
Additional field to upload
VAT
RTEXT- Business
H10 TTEXT partner name Optional
H11 RTEXT- VAT Optional
9 of 13
Field Field Field Comments/Calculation
No Name Description Type Length Formula/Special Logic
Business
partner
TTEXT address
VAT
Business
RTEXT- partner VAT
H12 TTEXT Reg.N Optional
RTEXT-
H13 TTEXT Payer/Payee Optional
RTEXT- Payer/Payee
H14 TTEXT address Optional
Document Line Item
Account
L01A NEWBS Posting Key C 002 Mandatory
L01B NEWKO Account C 017 Mandatory
Trading
L01C VBUND Partner C 006 Optional
Alternative
Reconciliatio
L01D HKONT n A/C C 010 Optional
Special G/L
L01E NEWUM Ind. C 001 Optional
Document Currency
Amt - Doc DEC
L02A WRBTR Curr (13,2) 015 Mandatory
L02B MWSKZ Tax Code C 002 Optional
015
Tax Amt DEC XXXXXX
L02C WMWST (Doc Curr) (13,2) XX.YY Optional
015
Tax Base DEC XXXXXX
L02D FWBAS (Doc Curr) (13,2) XX.YY Optional
Local Currency
015
Amt - Local DEC XXXXXX Mandatory if Document Currency is
L03A DMBTR Curr (13,2) XX.YY Optional not VND
015
Tax Amt DEC XXXXXX Mandatory if Document Currency is
L03B MWSTS (Local Curr) (13,2) XX.YY Optional not VND
015
Tax Base DEC XXXXXX Mandatory if Document Currency is
L03C HWBAS (Local Curr) (13,2) XX.YY Optional not VND
Payment & Cash Flow
DDMM
L04A VALUT Value Date YYYY Optional
Payment
L04B ZTERM Term C 004 Optional
Baseline DDMM
L04C ZFBDT Date YYYY Optional
EMPFD/ Permited
L04D EMPFK Payer/Payee C 017 Optional
COPA Objects
L05A WERKS Plant C 004 Optional
10 of 13
Field Field Field Comments/Calculation
No Name Description Type Length Formula/Special Logic
L05B ARTR Material No C 018 Optional
Customer
L05C KNDNR (Bill-to-Party) C 008 Optional
Distribution
L05D VTWEG channel C 002 Optional
L05E SPART Division C 002 Optional
L05F WW017 Sales man C 010 Optional
L05G MTART Material Type C 004 Optional
Account
L05H KTOKD group C 004 Optional
L1 – Tiêu
L05I PAPH1 chuẩn C 001 Optional
L2 – Công
L05J PAPH2 nghệ C 001 Optional
L3 – DM
nhóm sản
L05K PAPH3 phẩm C 002 Optional
Group of
SKU - Nhóm
L05L PAPH4 SKU C 003 Optional
Product
name - Tên
L05M PAPH5 hàng hóa C 004 Optional
Zone - Vùng
L05N WW010 sản xuất C 003 Optional
Quality/Grad
e - Chất
L05O WW011 lượng C 018 Optional
Source of
L05P WW012 product C 002 Optional
L05Q WW018 VinEco Label C 001 Optional
CO Objects
Document splitting is activated for
profit center. Profit center is required
L06A PRCTR Profit Center C 010 Optional in certain case allow for derivation.
Cost center is required for expense
L06B KOSTL Cost Center C 010 Optional account.
L06C AUFNR Order C 010 Optional
Text / Reference
L07A ZUONR Assignment C 018 Optional
L07B SGTXT Text C 050 Optional
XREF1 Reference
L07C Key 1 C 012 Optional
XREF2 Reference
L07D Key 2 C 012 Optional
XREF3 Reference
L07E Key 3 C 012 Optional
Example of template:
ZFI014-GL
upload.xlsx
11 of 13
2.1.6 2.1.6. Requirement Flow
12 of 13
3 Technical Specification **
3.1 Technical Object
Tcode: ZFI014
3.1.1 Program
4 Program Logic
13 of 13