You are on page 1of 4

Functional Specification

MEDICI INTERFACE

Overview

An asset outbound interface is required from SAP PRM system for TR01 company code
into MEDICI via MFT.

Once executed and all criteria met, the report extract should download onto a predefined
directory on the server.

The data will be extracted by ABAP batch job onto the file system and will be then
transferred via the tool MFT to the target location at TSG, Cologne.

An SAP directory will need to be defined for the MEDICI file download via AL11 to
store the data on the MFT server. The directory name will then be passed on to the MFT
team to configure.

Report Specification

 Only assets from 100000 to 800000 for company code TR01


 Report should have a naming convention and also executable by transaction code
ZFI_ASSET_DATA.

Selection Parameters

Company code BUKRS Range required for


company code..(select
options)
Asset ANLN1 Asset Number.
Report Date As on date.

Company code is a required entry.


Reporting date is required entry (default to current date)

530526076.doc Page 1 of 4 EIZ / 7/4/2021


Processing rules

1. If user selects only ANLA-BUKRS,ANLA-ANLN1 and reporting date


2. Select company code, Asset and reporting date ,input into ANLA-BUKRS,ANLA-
ANLN1 and ANLA-ERDAT ,get ANLA-BUKRS ,ANLA- ANLN1, ANLA-ANLN2,
ANLA-TXT50, ANLA-TXA50, ANLA-ANLUE, and ANLA-AKTIV for the given Asset
range in selection criteria.
3. Store the values into internal table i_Masdata
4. Select the data i_masdata-BUKRS, i_masdata-ANLN1 , and i_masdata-ANLN2
from i_masdata table and pass to fileds ANLZ-BUKRS, ANLZ-ANLN1 and
ANLZ-ANLN2 respectively.
5. Fetch the values ANLZ-KOSTL, ANLZ-STORT and ANLZ-RAUMN and store in the
same internal table i_Masdata
6. Select the data from i_masdata-BUKRS, i_masdata-ANLN1 , and i_masdata-
ANLN2 from i_masdata table and pass to fileds ANLB-BUKRS, ANLB- ANLN1
and ANLB- ANLN2 respectively.
7. Fetch the values ANLB-NDJAR and ANLB-NDPER and store in the same internal table
i_Masdata
8.Pass the reporting date and company code given in the selection criteria to the
function module BAPI_COMPANYCODE_GET_PERIOD and get period and fiscal
year and store in some internal table.
9 .Select i_masdata-BUKRS, i_masdata-ANLN1, and i_masdata-ANLN2 and input into
ANLC-BUKRS , ANLC- ANLN1, and ANLC-ANLN2 respectively
10.And also input period and fiscal year (arrived in step 8) values ,ANLC- AFBLPE
(period) and ANLC-GJAHR(Year) and fetch the values ANLC-ANLN1 and ANLC-
ANLN2 ,ANLC-KANSW and ANLC-KNAFA from ANLC if ANLC-AFABE=10 and store
in Internal table i_ANLC10.Once again fetch the values ANLC-ANLN1 , ANLC-
ANLN2 ,ANLC-KANSW and ANLC-KNAFA from ANLC if ANLC-AFABE=30 and store
in internal table i_ANLC30.
11. Calculate Net book value i_ANLC10-NBVL = ANLC-KANSW- ANLC-KNAFA.
12. Calculate Net book value i_ANLC30-NBVL = ANLC-KANSW- ANLC-KNAFA

13.Inner join the tables i_masdata , i_ANLC10 and i_ANLC30 display the output.

01 Select company code BUKRS = TR01

02 Assets with range from 100000 ANLN1


to 800000
03 Select assets with values from AFABE1 = 10 and 30
depreciation area 10 and 30
only

530526076.doc Page 2 of 4 EIZ / 7/4/2021


Output fields

Asset Number i_masdata-ANLN1


Asset Sub-Number i_masdata-ANLN2
Asset Description 1 i_masdata-TXT50
Asset Description 2 i_masdata-TXA50
Asset Super Number i_masdata-ANLUE
Cost Centre i_masdata-KOSTL
Location i_masdata-STORT
Room i_masdata-RAUMN
Useful life (Years) i_masdata-NDJAR
Useful life (Periods) I_masdata-NDPER
Capitalization Date i_masdata-AKTIV
Cumulative Acquisition Value i_ANLC10(30)-KANSW
Accumulated Depreciation i_ANLC10(30)-KNAFA
Net Book Value Cum acq value -Acc depr.
Currency T001-WAERS-local
currency

Output

1 Group data File download

2 Sort data Allow flexible sorting

Report documentation

The report is a download of all final assets for Group depreciation area 10 and 30 for the
MEDICI interface.

530526076.doc Page 3 of 4 EIZ / 7/4/2021


530526076.doc Page 4 of 4 EIZ / 7/4/2021

You might also like