Вы находитесь на странице: 1из 2

Functional Specification

Scenario:
Business requires a report of Net Value( insurance claim and transport charges) and VAT
value against profit centers for a given period in a desired format.

I. Selection screen:

1. Company Code:
2. Fiscal Year :
3. Period :
4. Posting Date: From To
5. Profit Center: From To

Search for Company code, Fiscal Year, Period and Posting Date from table BKPF as
selection parameters given in selection screen and for profit center search in BSEG table.
In selection screen can opt either for period or posting date interval.
The fields for each selection criteria is as follows

S.No Field Table – Field Remark


1 Company Code: BKPF-BUKRS
2 Fiscal Year BKPF-GJAHR
3 Period BKPF-MONAT
4 Posting Date BKPF-BUDAT
5 Profit Center BSEG_PRCTR

II. Logic Involved:

Select the document numbers BELNR from the table BKPF with the above selection
parameters.
Then search for the line items with the same documents in Table BSEG with Fiscal year
with the specified GL Acoounts ( field> HKONT ) (3100 and 3200) of which can make
fixed in the program as constant.

Then Collect Tax Code( field> MWSKZ) for each document/Line item filtered as above
and collect the rate of tax (Field> KBETR) from table BSET.

III. Output

Profit center Description Net value Vat Value Net Value Vat value Total
1 2 3 4 5 6 7

Total (8)
Explanation/logic for each field :

1. Profit Center: Collect the values with profit center PRCTR for each line item and
sum up and display as per the output
2. Description: Collect the profit center Description (Field> KTEXT) from table
PRCT_V
3. Net Value : Sum up the values (field> WRBTR) of GL Account 3100
with profit center break up based on the line items available from the table BSEG
4. Calculate the Vat value based on the Tax code ( field> MWSKZ) on each line item with
the following formulae
Field (3) * Rate(Field> KBETR) and tax code collected(MWSKZ) against the
documents from the table BSET .
5. Net Value : Sum up the values (field> WRBTR) of GL Account 3200with profit
center break up based on the line items available from the table BSEG
6. Calculate the Vat value based on the Tax code( field> MWSKZ) on each line item with
the following formulae
Field (5) * Rate(Field> KBETR) and tax code collected(MWSKZ) against the
documents from the table BSET .
7. sum up the values of 3,4,5 and 6
8. Summation of all rows against each column.

Вам также может понравиться