You are on page 1of 30

1st Specs

Functional Spec? Functional Spec is mainly prepared for the purpose of developing the new reports (this happens only when SAP standard report not achieve the client purpose) using the ABAP Program. for ABAPers you need to give the details of the Tables , Fields and the logic how to pick the value and get the report.

The information contains in the functional specs are:

a)Document segment (BSEG): which contains the company code,posting keys, vendors,etc.

b)the line items(BKPF) consists of document type, etc.

for example: from BSEG table you have to go to the field of BUKRS for company code, BSCHL for Posting Keys. From BKPF table you have to go to the field of BELNR for document Number, etc.

Based on your functional specification the Abaper will design the report using his technical specifications.

The above are examples only to understand. There are plenty of tables & fields for FI, CO and Assets separately.

Please assign points, if the above are useful.

Functional spec are based on the business requirment and contains details of end user expectations of the product Functionality

document describes requested properties of inputs and outputs the blueprint for how you want a particular application to look and work it details what the finished product will do who a user will interact with it and what it will look like

the key benefit of writing up a funtional spec is streamlining the development process. time and productivity are saved during development stage because the programmers can program instead of also working out the logic of the user experience

S/W or program will be developed based on the functional specs it consist of

business requirments- brief detail about the business process and the need of your cutomized program/report security consideration- who all can have access to this program and level of security whether it is at co.code level or country level business dependences- whether is there any other process /

program should have been completed before the execution of this program Data requirement priority- whether the failure lead to production stoppage or any work around error management how the program retrive the data if it is a report program

Eg:The requirement was to add the vendor name to the fbl3n screen, we couldnt add this so we we went for a new report with all the fbl3n fields + vendor name. This is a spec for the program.

DEV ID Sales tax report Functional Team Zaid Azam (phone) SAP Dev. Team (lead) Zaid Azam (phone #) (member) (phone #) Phase / Priority Phase 1 Medium

The above part is just a header, which system the report is in what report is it i.e sales report, material reprot etc, then the consultants name, lead name etc.

how important it is medium , low, high

Revisions Rev. Id Rev. date Author Description 00 Initial release

1 Report definition Basic Information

Report type 1 Report type 2 Language requirem. Printer requirement Paper requirement Source environment: Module:

A/P Printed

Local printer / system printer Landscape R/3 FI

Suggested technique ALV / other Triggered: Frequency: Volume: Manually On-demand Daily

Then in the report definition

you specify what module it is in i.e FI, MM etc

what subledger AP/AR etc

how often it will be printed etc etc ( nothing really usefull here, just giving a business touch)

2.Functional Requirements

Functional Requirements Selection Posting Date, G/l account

Narrative flow The report should list the all the transactions of the G/l account( all items i.e open and cleared) selected on the initial screen. It should list the vendor name and number when a G/l transaction is of a vendor Assumptions / issues Should have the capability of being exported to excell This is the important part

here you tell what are the fields on the selection screen. Then in the narative flow you should tell the abapper what thre report should do like its mentioned above, eg apart from above get the sales for customers who reside in California between the date range specified on the selection screen

3.Processing logic

Processing logic Step 1 Enter g/l account (HKONT) on the selection screen and run with or without a date range Or run by a date range only without specifying a G/L

Step 2 Get the G/L number from BSIS that was selected on the initial screen Or get all the G/ls that had postings in the posting date ( BUDAT) specified on the initial screen.

Step 3 Get the amount ( WRBTR) from BSIS ( Open and cleared both are in BSIS)

Step 4 Take the Document Number (BELNR) from BSIS and get the vendor number for that doc number from BSIK ( open item), from BSAK ( cleared) if item is paid.

Step 8 Should get the vendor name from LFA1 for the vendor number from BSIK or BSAK Step 9 Step 10

Processing Logic tells him in detail about which fields should come and from which table( not necessary to give technical names and tables, he could find that out, depends on the abbapper)

4.Output

Output

4.1 Layout

FORMAT

G/L Posting date Amount Doc type Doc number Pk Vendor # Name 650100 12/03/2006 19000042342 40 500 10229 SA GMC

Text Test for report

In the format i put an excell view of how the final report should look like

4.2 Header elements

SAP Field Report Field Comment BSAK _LIFNR,BSIK_LIFNR Vendor number LFA1_NAME1 Vendor Name BSIS_BUDAT Posting Date BSIS_HKONT G/l account

4.3 Line item

SAP Field Report Field Comment BSIS_WRBTR amount

BSIS_BLART Document type BSIS_SGTXT Item text BSIS_BSCHL Posting Key

Then i enter the fields that should be there in the report first the table name is liste then the technical name and then the english name. Both header and line items are sprecified.

Additional topics Unit Test Suggestions: Same as the standard SAP report FBL3N. Only addition is the vendor name and number Security/ Authorizations: . Error handling Dependencies References Out of scope requirements NA

2.Eg I need one new report like in the output i need only company code, Vendor number and recon.account assigned. like as below: Company Code account 1000 156001 1000 156001 2000 156002 Vendor Recon 90000001 90000002 90000001

for the above requirement with the input selection criteria like as below

Company Code ( ) ( ) Vendor ( ) ( )

if you give input selection as above as required you will get the output as given above

Logic should be as below:

for input selection Company Code - BUKRS is the ABAP field for the company code Vendor - LIFNR

for the output

Company Code - LFB1-BUKRS Vendor - LFB1-LIFNR Recon account - LFB1-HKONT

You will get the recon account details in the LFB1 table , if you give the logic as above , ABAP er will write the program for the same.

2ND General Ledger: Recurring Entry Documents

S_ALR_87012346 You are able to determine which documents: are carried out in a particular time period are not carried out are carried out during the next run of the recurring entry program G/L Account Statements S_ALR_87012332 You use this Report to create Statements for Customers / Vendors / G/L Accounts. The primary difference between this report and other

item lists for the entry view (line item lists for customers, vendors, and G/L accounts) is that it can be used to produce item lists for G/L accounts without line item display in the entry view. Financial Statement S_ALR_87012284 You use this report to create the balance sheet and profit and loss statements for a userdefined reporting period within a fiscal year with absolute and relative comparisons for a comparison period.

Financial Statement: Actual/Actual Comparison S_PL0_86000028 You use this report to compare actual data within a certain period to reference data from another period. Compact Document Journal S_ALR_87012289 You use this report to display the most important data from document headers and items in table form for the selected documents. The list can be used as a journal and for reconciliation with the lists of account balances (accounting

reconciliation). Line Item Journal S_ALR_87012291 You use this report to create an overview of the selected posting documents. Advance Return for Tax on Sales/Purchases S_ALR_87012357 You use this report to create the advance return for tax on sales/purchases. If required, you can also create a batch input session for automatic transfer posting of tax payable or fill out the tax

return. Chart of Accounts S_ALR_87012326 You use this report to display G/L account master data that is not specific to the company code and print out G/L account lists. Fixed Assets: by cost center S_ALR_87011979 You use this report to create a fixed asset report by cost center. by asset class S_ALR_87011981 You use

this report to create a fixed asset report by asset class. Asset Balances S_ALR_87011994 You use this report to create an Asset Balance and display values of fixed assets. Asset Transactions S_ALR_87012048 You use this report to display asset transactions. For each document, the report shows: the change to the acquisition and production costs the change to the value adjustments

the ordinary and special depreciation planned for this transaction Asset Acquisitions S_ALR_87012050 You use this report to display asset acquisitions.The following is displayed for each document: Acquired APC Acquired quantity Planned ordinary and special depreciation for the acquisition Asset Retirements S_ALR_87012052 You use this report to display asset

retirements.Each document shows the Retired acquisition and production costs Retired quantity Retired proportional depreciation Earned revenue Gain/loss Possible retirement costs Cost Element Accounting: Controlling Documents: Actual Costs KSB5 You use this report to display actual cost

documents. The program creates a Document with all actual Costs as required. Internal Orders: Master Data Report KOK5 You use this report to display Internal Order Documents. Cost Center Accounting: Cost Centers: Actual/Plan/Variance S_ALR_87013611 You can use the Report/ReportInterface to access the following reports: Cost Centers: Actual Line

Items Cost Centers: Planning Overview Cost Centers: Plan Line Items CCtrs: Period Breakdown Actual/Plan Activity Types: Period Breakdown Stat. Key Figs: Period Breakdown Cost Centers: Breakdown by Partner Cost Centers: Breakdown by B.Trans. Area: Actual/Plan 2

Currencies Display planning long texts Range: Cost Centers S_ALR_87013612 You can use the Report/ReportInterface to access the following reports: Cost Centers: Planning Overview Cost Centers: Actual/Plan/Variance Area: Cost Elements Cost Centers: Breakdown by Partner Cost Centers: Breakdown by

B.Trans Range: Cost Elements S_ALR_87013613 You can use the Report/ReportInterface to access the following reports: Cost Centers: Actual Line Items Cost Centers: Plan Line Items CCtrs: Period Breakdown Actual/Plan Cost Centers: Planning Overview Cost Centers: Breakdown by Partner

Cost Centers: Planning Overview KSBL You use this report to create a planning overview for all cost centers. Range: Actual/Budget/Commitments S_ALR_87013648 You use this report to create an overview for each cost center of the Actual costs Commitments Allotted costs Budget Cost Centers: Activity Prices

KSBT You use this report to create a List of Activity Prices by Cost Centers or Cost Center Groups Internal Orders: Orders: Actual Line Items KOB1 You use this program to create a report for Actual Line Items for Orders. Orders: Commitment Line Items KOB2 The program creates a Report for Commitment Cost Line Items for Orders as required. List: Orders S_ALR_87012995

You use this program to create a List of all Orders by Controlling Area for a Plan/Actual Comparison. Orders: Actual/Plan/Variance S_ALR_87012993 You use this program to create an overview of the actual and plan data on internal orders in the reporting time frame for each Cost element, Cost element group and Statistical key figure. Order: Planning Overview KABL You use this program to create a planning

overview by Order. List_ Budget/Actual/Commitments S_ALR_87013019 You use this program to create a List concerning Budget/Actual/Commitments for Internal Orders. Profitability Analysis: Execute Report KE30 You use this program to create several profitability reports. Execute Drilldown Report Plan/Actual Sales Detail List

Execute Drilldown Report Plan/Actual Sales Mat. Costs Execute Drilldown Report Plan/Actual Sales OH Costs Execute Drilldown Report Reconciliation Information System: Costs/Revenues/Expenditures/ Receipts S_ALR_87013531 You use this program to create a Cost/Revenues/Expenditures/R eceipts report for projects. Actual/Costs/Revenues CJI3

You use this program to display Project Actual Cost Line Items. Product Costing Multilevel BOM: Value / Amount / Status CK86_99 You use this transaction to create a List concerning costed BOMs. Cost Component CK80_99 You use this transaction to create a List concerning Cost Components of the Cost Estimate. Itemization CK84_99 You use

this transaction to create a List concerning Itemization of the Cost Estimate. Cost Elements KKBC_MAT You use this transaction to create a List concerning Cost Elements of the Cost Estimate. Analyzing/Comparing Material Cost Estimates S_P99_41000111 You use this transaction to create a List to compare Material Cost Estimate. Analyzing Product Cost Collector KKBC_PKO You use

this transaction to create a List to analyze Product Orders. Analyzing Product Order KKBC_HOE You use this transaction to create a List to analyze Product Orders

You might also like