0% found this document useful (0 votes)
217 views

FS - FI - 014 - E - GL Journal Upload Program - V1.4

This document provides a development specification for uploading general ledger journal transactions in SAP. It outlines requirements such as supporting revenue, expense, and balance sheet postings for accounts payable, accounts receivable, and the general ledger. Validation rules are defined to check master data, posting keys, document types, and tax amounts. The technical specification and program logic will be developed according to this functional design.

Uploaded by

Trinh Nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
217 views

FS - FI - 014 - E - GL Journal Upload Program - V1.4

This document provides a development specification for uploading general ledger journal transactions in SAP. It outlines requirements such as supporting revenue, expense, and balance sheet postings for accounts payable, accounts receivable, and the general ledger. Validation rules are defined to check master data, posting keys, document types, and tax amounts. The technical specification and program logic will be developed according to this functional design.

Uploaded by

Trinh Nguyen
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

DEVELOPMENT SPECIFICATION

< UPLOAD GL JOURNAL TRANSACTIONS >

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

REVIEW AND APPROVAL


Name Role Signature Date
2 of 13
TABLE OF CONTENT

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

2.1.1 Functional Area

FI – General Ledger
2.1.2 Short Description

Purpose of this customize program is to do the following:


 Generate GL/AP/AR Journal Posttings based on information in excel template.
 Following GL entries are supported
o Revenue posting to COPA / Profit Center / Internal Order.
o Expense posting to Cost Center, Internal Order
o Balance sheet posting to Profit Center
 Following AR entries are supported
o AR Debit Note / AR Credit Note / AR DownPayment / AR Incoming Payment
o Special GL & Alternative Reconciliation Account Postings
 Folllowing AR offsetting entries are supported:
o Revenue posting to COPA / Profit Center and Internal Order.
o Expense posting to Cost Center , Internal Order.
o Balance sheet posting to input tax / output tax
o Balance sheet posting to Profit Center
 Following AP entries are supported
o AP Debit Note / AP Credit Note / AP DownPayment / AP Outgoing Payment
o Special GL & Alternative Reconciliation Account Postings
 Folllowing AP offsetting entries are supported:
o Revenue posting to COPA / Profit Center / Internal Order.
o Expense posting to Cost Center, Internal Order .
o Balance sheet posting to input tax / output tax
o Balance sheet posting to Profit Center

2.1.3 Detail Requirements


 T-code: ZFI014

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

 Restrict document types and perform validation on posting keys


o Validation for Document Type + Posting keys applies on each accounting
document. Example 1 template can have 3 AP document. Validation will
apply separately on each document.
Approved
Transaction Documen
Type t Type Description Dependent Validation
SA G/L Account Document
SB G/L (1BS:Many PL) 1. Posting Key
GL SE Salary (1BS:Many PL) --- Restricted to 40, 50
DG Customer Credit Memo 1. Posting Key
DR Customer Invoice --- 1st Line Restricted: 01, 09 11,
15, 19
--- Subsequent Line Restricted:
AR DZ Customer Payment 40, 50
KG Vendor Credit Memo 1. Posting Key
KR Vendor Invoice --- 1st Line Restricted: 21, 25,29,
31, 39
--- Subsequent Line Restricted:
AP KZ Vendor Payment 40, 50
DK Customer & Vendor clearing 1. Posting Key
--- 1st Line Restricted: 21, 25,29,

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:

Field Dependent Field Validation


1. If posting key = 40 or 50,
--- Check validity: Input company code IN SKB1-SAKNR AND
XINTB = BLANK.
2. If posting key from 01 to 19
--- Check validity: Input customer IN KNB1-KUNNR where
BUKRS = Input Company Code.
3. If posting key from 21 to 39
--- Check validity: Input Vendor IN LFB1-LIFNR where BUKRS =
Account 1. Posting Key Input Company Code
1. If posting key from 01 to 19
--- Check validity: Input Payee/Payer IN KNZA-EMPFD where
BUKRS = Input Company Code.
2. If posting key from 21 to 39
--- Check validity: Input Payee/Payer IN LFZA- EMPFK where
Payee/Payer BUKRS = Input Company Code
Material No   1. Check table: MARA-MATNR
Trading Partner   1. Check table: T880-RCOMP
Profit Center   1. Check table: CEPC-PRCTR where KOKRS = 1000
Cost Center   1. Check table: CSKB- where KOKRS = 1000
Order   1. Check table: COAS-AUFNR
 Check validation as below:
o For line item S without LC tax amount: if Tax code is available then the FI
document must be included tax line item.

o For Special GL posting: Not allow to upload “Note item“( T074U-MERKP=‘X‘).

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

Note: Allow Tax code in GL line for the below list:


A1 VAT đầu vào của hàng hoá - Không chịu thuế
A2 VAT đầu vào của hàng hoá - 0% (Khấu trừ)
C2 VAT đầu vào - Chung 0%
D2 VAT đầu vào của hàng NK - 0% (Khấu trừ)
E2 VAT đầu vào của TSCĐ - 0% (Khấu trừ)
F2 VAT đầu vào của TSCĐ - 0% (Chi phí)
G2 VAT đầu vào của TSCĐ NK - 0% (Khấu trừ)
O1 VAT đầu ra HĐ SXKD - Không chịu thuế
O2 VAT đầu ra HĐ SXKD - 0%
O5 VAT đầu ra HĐ SXKD - Không phải kê khai thuế

2.1.4 Assumptions and Limitation


 Does not support postings to
o Reconciliation accounts (Asset)
o SAP standard control accounts (Inventory / GRIR / Asset Clearing)
 Does not support clearing function.
 Does not support posting to noted item.

2.1.5 Output / Result Layout

Selection Options
Data Lengt
Field Description Type h Field Remarks

 Single value / Mandatory.


BKPF-  Authorization check (same as
SEL_ZBUKRS Company Code CHAR 4 BUKRS authorization object F_BKPF_BUK)

 Single value / Mandatory.


SEL_ZFILE Upload File        File Path to presentation server.

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

The program have 4 options, user should run step by step

1. Load data into server


2. Test run & check
3. Run & posting
4. Delete data in memory
2.1.7 Exception Logic

Sl. Exception Desc. Mess. Type Language Message Text


1

2.2 Test Scenario


*
Ver. Test Test scenario and test data Expected results
#
1.0 1.
1.0 2
1.0 3

12 of 13
3 Technical Specification **
3.1 Technical Object
 Tcode: ZFI014
3.1.1 Program

3.1.2 Function Module

3.1.3 Data Dictionary

3.1.4 Message Class

4 Program Logic

5 Release Notes **/*

List of all Transport Requests in Sequences:

Sample has been provided below.

Request and Objects in the request Object Type of Request Remarks


Task Number Type(Eg (Client Dependent / (Dependency on other
Table, Client Independent) developments, request
Function numbers, customizing
Module, requests)
Program,
Data
Element,
etc)

13 of 13

You might also like