Documente Academic
Documente Profesional
Documente Cultură
Area
Financial
A311
Add-on
Detail
Design
21
Accounting
Business class.
classification
0 Central
Function
Journal list
004
Create
Update
2008/09/24
2010/10/15
J-SOL Yoshioka
Program ID document
Program text
Unit
/JRI/J1P2100360R
Journal list
ABAP
Process flow
Accounting
Customer parked
document header
document
BKPF
VBSEGD
Vendor parked
document
VBSEGK
Yasuoka
Process overview
Extract accounting documents based on selected condition
and extract the items in those document
Input parameter
Read data
Process
Extract list
G / L Parked
Document
VBSEGS
Document segment
of tax doc. parking
VBSET
Document parking
one-time data doc.
VBSEC
Accounting
document item
BSEG
One-time account
data document
BSEC
of additional ledger
BSEC_ADD
Profit center
text
CEPCT
User name
address key
assignment
USR21
Refer
object
defincation for the other
tables
Document type
Area
Financial
A311
Add-on
Detail
Design
21
Accounting
Business class.
classification
0 Central
Function
004
Journal list
Create
Update
2008/09/24
2010/10/15
J-SOL Yoshioka
Program ID document
Program text
Unit
/JRI/J1P2100360R
Journal list
ABAP
Yasuoka
Overview
1. Excute the process and output the result by execution
button on screen of parameter input
Screen of
parameter
input
Excute
Output screen
Object defination
Type
I/O
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
I
Object ID
ADRC
ADRP
ANLA
BKPF
BNKA
BSEC
BSEG
CEPC
CEPCT
CSKT
KNA1
LFA1
LFBK
SKAT
T001
T005
T007A
T030R
T030K
T041CT
T042Z
TKA02
T880
USR21
VBSEC
VBSEGD
VBSEGK
VBSEGS
VBSET
WITH_ITEM
t059u
Object text
Address (business address service)
Personal address management
Asset master
Accounting document header
Bank master
One-time account data document segment
Accounting document item
Profit center master
Text of profit center master data
Cost center text
Customer master: general data
Vendor master (general section)
Vendor master (bank details)
G/L account master record (chart of accounts: text)
Company code master
Country code
Tax key
Standard account set-up rules
Tax account set up
Reversal posting reason (name)
Payment method for automatic payment
Management area assignment
Consolidated company data (KONS ledger)
User name address key assignment
Description
Type
I/O
Object ID
Object text
I
T059ZT
Text table: withholding tax code
UDB
I
/JRI/J1210017T
Accounting document item table
Type
BlankR/3 Standard table UDB User-defined table FILE Server file PCFILE PC file
Parameter definitions
Field
Field text
Attribute
Number
of
characte
r
S_BUKRS
Company code
S_GJAHR
Fiscal year
S_BELNR
Document number
S_BLART
Document type
S_BUDAT
Posting date
S_BLDAT
Document date
S_CPUDT
Registration date
S_USNAM
Document creator
S_WAERS
Currency code
S_XBLNR
Reference document number
CH_ORD
Normal document
CHAR
1
CH_NPS
Parked document
CHAR
1
CH_KANRI
Include management accounting
CHAR
1
only document
Include JGAAP only document
CH_KANKE
Include related companies ledger
CHAR
1
CH_PAG
Page break for each document
CHAR
1
CH_STP
Seal display column output
CHAR
1
Description
BKPF-BUKRS
BKPF-GJAHR
BKPF-BELNR
BKPF-BLART
BKPF-BUDAT
BKPF-BLDAT
BKPF-CPUDT
BKPF-USNAM
BKPF-WAERS
BKPF-XBLNR
S/P
Mandato
ry
S
S
S
S
S
S
S
S
S
S
P
P
P
P
P
P
Note
MEMORY ID BUK
CheckboxInitial valueX
Checkbox
Checkbox
Checkbox
Checkbox
CheckboxInitial valueX
Field
Field text
Attribute
Number
of
characte
r
CHAR
CHAR
NUMC
CHAR
DATS
DATS
CHAR
CHAR
CHAR
CHAR
CUKY
CHAR
CHAR
CHAR
NUMC
CHAR
DEC
DATS
TIMS
CHAR
CHAR
4
10
4
2
8
8
20
16
25
1
5
12
12
10
4
2
9(5)
8
6
2
4
CHAR
NUMC
CHAR
NUMC
CHAR
CHAR
4
4
10
3
18
12
Note
Field
Field text
ANLN2
Asset subnumber
HKONT
General ledger account
KOSTL
Cost center
PRCTR
Profit center
MWSKZ
Tax on sales/purchases code
WRBTR
Document currency amount
DMBTR
Domestic currency amount
KUNNR
Customer code 1
LIFNR
G/L account of vendor or creditor
SGTXT
Item text
SHKZG
Debit/credit indicator
ZLSCH
Payment method
ZTERM
Terms of payment
ZFBDT
Baseline date for payment
VBUND
PartnerID
One-time account data document segment (BSEC)
NAME1
Partner name
BANKN
Account number
NAME3
Account Holder
BKONT
Deposit type
BANKS
Bank country
BANKL
Bank code
Customer parked document (VBSEGD)
AUSBK
Source Company code
BELNR
Accounting Document number
BUZEI
Item number in accounting document
GJAHR
Fiscal year
ZUONR
Sort indicator
HKONT
General ledger account
Attribute
CHAR
CHAR
CHAR
CHAR
CHAR
CURR
CURR
CHAR
CHAR
CHAR
CHAR
CHAR
CHAR
DATS
CHAR
Number
of
characte
r
4
10
10
10
2
13(2)
13(2)
10
10
50
1
1
4
8
6
CHAR
CHAR
CHAR
CHAR
CHAR
CHAR
35
18
35
2
13
15
CHAR
CHAR
NUMC
NUMC
CHAR
CHAR
4
10
3
4
18
10
Note
Field
XREF3
MWSKZ
WRBTR
DMBTR
KUNNR
SGTXT
SHKZG
ZLSCH
ZTERM
ZFBDT
Vendor parked document (VBSEGK)
AUSBK
BELNR
BUZEI
GJAHR
ZUONR
HKONT
XREF1
MWSKZ
WRBTR
DMBTR
LIFNR
SGTXT
SHKZG
ZLSCH
ZTERM
ZFBDT
G/L parked document (VBSEGS)
AUSBK
Field text
Attribute
CHAR
CHAR
CURR
CURR
CHAR
CHAR
CHAR
CHAR
CHAR
DATS
Number
of
characte
r
20
2
13(2)
13(2)
10
50
1
1
4
8
CHAR
CHAR
NUMC
NUMC
CHAR
CHAR
CHAR
CHAR
CURR
CURR
CHAR
CHAR
CHAR
CHAR
CHAR
DATS
4
10
3
4
18
10
12
2
13(2)
13(2)
10
50
1
1
4
8
CHAR
Note
Field
Field text
BELNR
Accounting Document number
BUZEI
Item number in accounting document
GJAHR
Fiscal year
ZUONR
Sort indicator
SAKNR
G/L Account No.
KOSTL
Cost center
PRCTR
Profit center
MWSKZ
Tax on sales/purchases code
WRBTR
Document currency amount
DMBTR
Domestic currency amount
SGTXT
Item text
SHKZG
Debit/credit indicator
Document segment of tax document parking (VBSET)
AUSBK
Source Company code
BELNR
Accounting Document number
GJAHR
Fiscal year
MWSKZ
Tax Code
FWSTE
Document currency amount
HWSTE
Domestic currency amount
SHKZG
Debit/credit indicator
Document parking one-time data document segment (VBSEC)
NAME1
Partner name
BANKN
Account Number
NAME3
Account Holder
BKONT
Deposit type
BANKS
Bank Country
BANKL
Bank code
User master(USR21)
KOSTL
Cost center
Attribute
CHAR
NUMC
NUMC
CHAR
CHAR
CHAR
CHAR
CHAR
CURR
CURR
CHAR
CHAR
Number
of
characte
r
10
3
4
18
10
10
10
2
13(2)
13(2)
50
1
CHAR
CHAR
NUMC
CHAR
CURR
CURR
CHAR
4
10
4
2
13(2)
13(2)
1
CHAR
CHAR
CHAR
CHAR
CHAR
CHAR
35
18
35
2
13
15
CHAR
10
Note
Field
Field text
Attribute
Number
of
characte
r
CHAR
CHAR
40
40
CHAR
DATS
CHAR
8
20
DATS
CHAR
8
20
CHAR
20
CHAR
CHAR
10
1
CHAR
CHAR
10
1
CHAR
40
CHAR
50
CHAR
30
Note
Field
Field text
Attribute
BUTXTL
Company code or company name
ORT01
City
KTOPL
Chart of accounts
WAERS
Currency code
LAND1
Country code
Management area assignment master (TKA02)
KOKRS
Management area
Country code (T005)
KALSM
Procedure (pricing, output control,
account set-up, costing ...)
Tax key(T007A)
MWART
Tax type
Standard account set-up rules (T030R)
XKOMO
Flag: dependence on G/L account
modification (FI)
Tax account set-up (T030K)
KONTS
G/L Account No.
Bank master (BNKA)
STRAS
Place name / address - No.
ORT01
City
Reversal posting reason (name) (T041CT)
TXT40
Text of length 40
Consolidated company data (KONS ledger) (T880)
NAME1
Company name
Withholding tax information (WITH_ITEM) of withholding tax type & FI
specification
CHAR
CHAR
CHAR
CUKY
CHAR
Number
of
characte
r
25
25
4
5
3
CHAR
CHAR
CHAR
CHAR
CHAR
10
CHAR
CHAR
35
35
CHAR
40
CHAR
30
WITHT
WT_WITHCD
WT_QSSHH
CHAR
CHAR
CHAR
2
2
17
Note
Field
Field text
WT_QBSHH
Withholding tax amount (domestic currency)
Text table: Withholding tax group (T059U)
TEXT40
Text (length:40 characters)
Text table: Witholding tax codeT059ZT
TEXT40
Text (length: 40 characters)
Attribute
CHAR
Number
of
characte
r
17
CHAR
40
CHAR
40
Note
Field text
Attribute
Number
of digits
Note
Document status
CHAR
Part documentpart
Reversing Documents
T-code of the extracted accounting documents except FB08 are reversing +
T-code of the extracted accounting documents (FB08) are reversing -
Document number
Document type
Document date
Posting date
Accounting document
registration date
Created at
Reference document number
Document header text
Exchange rate
Local currency amount (dedit)
Local currency amount (credit)
CHAR
CHAR
DATS
DATS
DATS
10
2
8
8
8
TIMS
CHAR
CHAR
CHAR
CURR
CURR
6
16
25
10
13
13
CHAR
40
CHAR
40
CHAR
15
Reversal reason
CHAR
02
Field
Field text
Attribute
CHAR
Number
of digits
40
Note
Item No.
NUMC
CHAR
10
Cost center
CHAR
10
Profit center
CHAR
10
Currency code
CUKY
Amount
CURR
13
CURR
13
CURR
13
CHAR
CHAR
CHAR
20
20
20
Take text (TXT40) from reversal reason T041CT based on the above reversal reason and
display
Extraction condition
Language Key(SPRAS) = SY-LANGU
Reversal reason (STGRD) = Reversal reason of accounting document
Field
Field text
Attribute
Number
of digits
Note
If cost center = profit center, dont display
Tax code
STRIN
G
XX:tax code
Tax code text
If tax code is set and indicator: calculate tax auto is ON,
It is gross
If tax code is set and input value in tax tab, it is net
nh gi nhp gi tr trong tax tab: c record document number trong table BSET hoc VBSET
STRIN
G
Sort key
STRIN
G
STRIN
G
STRIN
G
W/tax code
SREIN
G
W/tax
base
amount(local
currency)
W/tax amount (local currency)
STRIN
G
STRIN
Item text
Field
Field text
Attribute
Number
of digits
Note
STRIN
G
STRIN
G
Payment method
STRIN
G
STRIN
G
STRIN
G
STRIN
G
Payment terms
Baseline date for payment
Account type / number
Field
Field text
Account holder
Attribute
Number
of digits
STRIN
G
Note
Account holder: display XXXXX
CHAR
132
Company code
Document number
Fiscal year
CHAR
CHAR
NUMC
4
10
4
HIDE field
170
58
Key of change page
Sort key
BUKRS
BUDAT
BELNR
Aggregate unit
Note
BUKRS
BUDAT
Total
Document by selection
Company code to
Output screen
Fiscal year
Document number
Journal
list type
Document
Posting date
Journal List
FI Document date
/JRI/J1P2100110R
Creation date
Company codeXXXX
P.
1
04/03/12 18:03 Creation
to
to
St Currency
Doc. No. code
Type
Doc. date
Posting
date
Creation date of
doc. Creation time
totalReference
Creditdocument
total
numberto
Registrant/ name
Ngi post/ name
Item Acc code/ name
Debit
Exc. rate
Foreign currency amount Currency Local currency debit Local currency credit
-------------------------------------------------------------------------------------------------------------------------------------------------------
Tax XX
Information of partner(fixed asset)XXXXXXXXXX
Sort keyXXXXXXXXXXXXXXXXXX Item text
Company ID/name of partnerXXXX
Payment bank/branchXXXXXXX Payment methodX Payment termXXXX
Page
break
by each doc.Hin
th ct XXXXXXXXXXXXXXXXXX
con du
Baseline
Date
for PaymentXXXX/XX/XX
Acc type/name
Acc holderXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
2
999
XXXXXXXXX
XXXXXXXX
XX/XX/XX
XXXXXXXX
XX/XX/XX
999,999,999.99 XXXXX 9999,999,999,999 9999,999,999,999
Tax XX
Information of partner(fixed asset)XXXXXXXXXX
Sort keyXXXXXXXXXXXXXXXXXX Item text
:
Process detail
Check input
------------------------------------------------------------------------------------------------------------------------------------------------------If
normal
doc. Or
doc. Is notXXXX/XX/XX
entered value,
display the following
message and finishXXXXXXXXXX/XXXX
process.
XXXX
XXXXXXXXXX
XXpark
XXXX/XX/XX
XXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXX
Message ID
Message type
Message number
Message text
:
:
:
:
:
:
:
:
:
/JRI/J121
S
000
&&&&
Argument
'Please choose normal doc. Or park doc.
If doc. Number, posting date is not entered value, display the following message and finish process.
Message ID
Message type
Message number
Message text
/JRI/J121
S
000
&&&&
Argument
'Please enter value for doc. Number, posting date
Take item data of journal (Extract accounting doc. Based on selection condition and extract item of that doc.)
(0) Extract m code b phn c th tham chiu
Ly m code b phn c th tham chiu bng FM/JRI/13P000_CHK_BUMON
EXPORT parameter
I_SCRKBN
= '2' (kinh ph)
I_DATE
= System date
TABLES parameter
IT_TELF1
= M code b b qun l trn mn hnh
OR_PRCTR
= M code b phn c th tham chiu
(1)
(1-1) Search accounting doc. Table based on selection condition and take the following field of the corresponding doc
Extracting field Refer Xc nh field extrac data
Extracting condition Company code Company code in selection screen
Document number Document number
Fiscal year Fiscal year in selection screen
Document type Document type in selection screen
Posting date Posting date in selection screen
Document date Document date in selection screen
Registration date Registration date in selection screen
Document status
Reference document number Reference document number in selection screen
Copyright 2010 JSOL Corporation All Rights Reserved324968713
Ch khi C s ci cng ty lin kt hoc C ti liu k ton qun l ON th mi tha mn iu kin ca ledger group, general ledger
Document status = space(normal doc.) or Document status = L(Post m ko s dng ledger)
orDocument status = V(park doc.) and user name = ngi to chng t
Extracting errorKhng c record i tng trong accounting document table (BKPF)
(1-1.5) Search accounting document table/JRI/J1210017T and get 1 field of the following fields of the corresponding doc.i vi trng hp l normal doc.
Extracting field Refer Xc nh field extrac data
Extracting condition Company code (/JRI/J1210017T-BUKRS) = Company code(BKPF-BUKRS)
Fiscal year (/JRI/J1210017T-GJAHR) = Fiscal year (BKPF-GJAHR)
Accounting document number (/JRI/J1210017T-BELNR) = Accounting document number (BKPF-BELNR)
(2) Search accounting document item table based on the document number extracted in (1) and take the following fields of the corresponding item
If checkbox: normal doc. Is ON, search accounting document item table (BSEG), Witholding tax info per W/tax type and FI line item (WITH_ITEM)
If checkbox; park doc. Is ON, search each table in below:
Document Segment for Customer Document ParkingVBSEGD
Document Segment for vendor Document ParkingVBSEGK
Document Segment for Document Parking - G/L Account DatabaseVBSEGS
Document Segment for Taxes Document ParkingVBSET
Witholding tax info per W/tax type and FI line itemWITH_ITEM
BSEG
Company code
Fiscal year
Document number
BUKRS
GJAHR
BELNR
VBSEGD,VBSEGK,VB
SEGS
AUSBK
GJAHR
BELNR
VBSET
VBSEC, LFBK
AUSBK
GJAHR
BELNR
Item no.
Sort term
Asset number
Asset subnumber
BUZEI
ZUONR
ANLN1
ANLN2
BUZEI
ZUONR
ANLN1
ANLN2
HKONT
HKONT or SAKNR
Cost center
KOSTL
Profit center
PRCTR
Tax code
Amount
Local currency amount
Customer account
Vendor number
Item Text
Sign-triggered
MWSKZ
WRBTR
DMBTR
KUNNR
LIFNR
SGTXT
SHKZG
RefKey1
RefKey3
KOSTL
XREF1(in case of
VBSEGK)
XREF3(in case of
VBSEGD)
PRCTR
XREF1(in case of
VBSEGK)
XREF3(in case of
VBSEGD)
MWSKZ
WRBTR
DMBTR
KUNNR
LIFNR
SGTXT
SHKZG
XREF1(in
case
VBSEGK)
XREF3(in
case
SHKZG
of
of
VBSEGD)
Business partner ID
Payment method
Payment terms
Baseline date for paym
ent
One-time flag
Customer name
VBUND
ZLSCH
ZTERM
ZFBDT
VBUND
ZLSCH
ZTERM
ZFBDT
Bank name
Bank Branch name
Account number
Account Holder
Deposit type
Bank Country
Bank Number
XCPDK
Take from customer/ vendor master
NAME1
If one time indicator is X,
Take from VBSEC
STRAS
Take from bank master
based on the following
ORT01
bank code
BANKN
If one time indicator is
X,
KOINH
Take from VBSEC
BKONT
If
it
is not X
BANKS
Take from LFBK
BANKL
(Only vendor)
(1) Search company code (T001) based on company code taken in (1), take the following fields
Extracting field Refer Xc nh field extrac data
Extracting condition Company codeCompany code taken in 1.(1)
Search Controlling area (TKA02) based on Company code, take the following fields.
Extracting field Controlling area (TKA02-KOKRS)
Extracting condition Company code Company code taken in 1.(1)
(3) Search cost center text (CSKT) theo cost center ly (2),
Ly cost center text(CSKT-KTEXT) c finish date nh nht trong d liu c ly theo iu kin bn di
Extracting condition Language key: system language
Controlling area: controlling area ly 3.(1)
Cost center: cost center ly (2)
Finish date: sau posting date ca chng t ly 1.(1)
(4) Search profile center text (CEPCT) theo profit center ly (2),
Ly profit center text(CSKT-KTEXT) c finish date nh nht trong d liu c ly theo iu kin bn di
Extracting condition Language key: system language
Controlling area: controlling area ly 3.(1)
Cost center: profit center ly (2)
Finish date: sau posting date ca chng t ly 1.(1)
(5) Search account master record (SKAT) theo account code ly (2), ri ly account code name (SKAT-TXT20)
Extracting condition Language key: system language
Chart of acc: chart of acc ly (1)
Acc code: G/L acc ly (1)
(6) Ly customer name theo customer code ly (2)
Search customer master (KNA1) based on customer master taken in (2) and take address (KNA1-ADRNR)
Extracting condition Customer code: customer code taken in 1.(2)
Search address (ADRS) based on address taken above and take 1 customer nameADRC-NAME1
(11) Search Text Table: Withholding Tax Types (T059ZT) based on withholding tax type code taken in (2) and take text (length: 40 digits) (TEXT40)
Extracting conditionLanguage ley: system language
Country codeJP
Withholding Tax Types code: Withholding Tax Types code taken in 1.(2)
Display list
(1) Sorrt
Sort by Company code, Posting date, Document number, document item number
(2)Aggregation lineIf page break by each document is selected, dont display aggregation line
Khi Key break theo Posting date, hin th tng s tin debit, credit ca ngy post
Copyright 2010 JSOL Corporation All Rights Reserved324968713
Khi Key break theo Company code, hin th tng s tin debit, credit theo company code
Hin th tng s tin debit, credit vo trang cui
(3)Page break
Page break by each Company code
If page break by each document is selected, page break by document unit
(4)Other
Thay i mu ng k giao nhau theo mi accounting document item number
(5)Display detail for document
If double click the list, detail of document of that field is displayed
Nhp Document number, Company code, Fiscal year v chy FB03
(6)Hin th ct con du
Nu hin th ct con du c chn, hin th ct con du trn dng header (ngi ph trch, ngi approve 1, ngi approve 2, b phn qun l v1.1)