You are on page 1of 4

Annexure of Functional Specification

RDD0075

Document Reference:
Version:
Document Status:

ABAP Report Annexure document


1.0
Draft

Last Revision Date:


Date Created:
Date Printed:

15 March 2004
15 March 2004
9:00 AM

Annexure-Functional Specification
RDD0075

Table of Contents
1

STARTING CONDITIONS

THE SELECTION SCREEN

EXTRACT DATA RELATIONSHIP DIAGRAM

Extraction Summary

4.1 Note 1: Get the Old Material Number

4. 2 Note 2: Get Storage Bin

4. 3 Note 3: Get Serial Number

4. 4 Note 4: Modify the ALV function module call

Annexure-Functional Specification
RDD0075

1 Starting Conditions
Copy the SAP standard program RM07IDIF (transaction code MI20) and attach the copied
program to a transaction code ZMI20. Change the program name RM07IDIF to copied program
name where the program name RM07IDIF is used. In the start-of-selection of the program
change the transaction code MI20 to ZMI20.

2 The Selection screen


Same as that of standard selection screen of transaction MI20.

3 Extract Data Relationship Diagram

Annexure-Functional Specification
RDD0075

Extraction Summary

4.1 Note 1: Get the Old Material Number


Get the old material number by selecting BISMT from MARA based on material number
(MATNR) = the material entered in the selection screen.

4. 2 Note 2: Get Serial Number


Get the Object list number (OBKNR) based on physical inventory document (MBLNR),
Batch(CHARG), Plant(WERKS), Fiscal Year (MJAHR), Line number ( ZEILE) and Object List
Feature - Physical Inventory(OLTPI) = 1 from SER07 table. Then get the serial number
(SERNR) from OBJK based on OBKNR.

4. 3 Note 3: Get Absolute Amount


Absolute amount is the absolute value of difference amount. For example if difference amount =
-15 then Absolute Amount will be 15. YISEG-DMBTR contains the difference amount. YISEG is
the internal table which has been passed to ALV function modules.

4. 4 Note 4: Modify the ALV function module calls


Collect the data selected above (Notes 1, 2 and 3) and modify the internal table which has been
passed to ALV function modules containing data.
Modify the fieldcatalog that is passed to the ALV function to add the three fields that are added
to the existing report.
Refer to the sample layout attached in the functional specification for Report layout. No
drilldown functionality required for this development. Also note that the report should be sorted
by Plant, Storage Location, old material no, batch and Serial number. Use
REUSE_ALV_HIERSEQ_LIST_DISPLAY to display the report for all layouts.

You might also like