Custom Table ZBLEND MIX PCT Maintenance v1.0

21
SAP Implementation at PIL Online Programming - Functional specification Note: As this is a case study that simulates a real life development object, some fields will be marked as TBD and highlighted in Blue. These fields should be having real values, in customer development specifications Functional Specification – Online Programming Custom table ZBLEND_MIX_PCT Maintenance Document Reference: TBD Version: 1.0 Document Status: WIP Author: Jitendra Guha Neogi Last Revision Date: 21-Nov-2006 Date Created: 21-Nov-2006 FS_Employee_Maintenance_v1.0 21-Nov-06 Page 1 of 21

description

Custom Table ZBLEND MIX PCT Maintenance v1.0

Transcript of Custom Table ZBLEND MIX PCT Maintenance v1.0

Page 1: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL

Online Programming - Functional

specification

Note: As this is a case study that simulates a real life development object, some fields will be marked as TBD and highlighted in Blue. These fields should be having real values, in customer development specifications

Functional Specification – Online ProgrammingCustom table ZBLEND_MIX_PCT Maintenance

Document Reference: TBDVersion: 1.0 Document Status: WIP

Author: Jitendra Guha Neogi

Last Revision Date: 21-Nov-2006Date Created: 21-Nov-2006Date Printed: 21-Nov-2006

FS_Employee_Maintenance_v1.0 21-Nov-06 Page 1 of 17

Page 2: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

Document Control

Business Area Material Master

GAP ID TBD

FS Definition Form ID TBD

SAP R/3 Version ECC 5.0

Global / Market TBD

Approval and Distribution

Approved by Name Role Signature DateProcess Team Lead

TBD TBD TBD TBD

Development team Lead

TBD TBD TBD TBD

Document History

Version Reason for change Date1.0 Initial version 21-Nov-061.11.21.3

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 2 of 17

Page 3: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

Table of Contents

1. GENERAL INFORMATION.............................................................................................................42. BUSINESS NEEDS & REQUIREMENTS..........................................................................................53. ISSUES......................................................................................................................................74. SELECTION SCREEN DETAILS.....................................................................................................75. CURRENT FUNCTIONALITY..........................................................................................................76. DESIRED FUNCTIONALITY...........................................................................................................77. TECHNICAL DETAILS...................................................................................................................9

7.1.EXTRACT DATA RELATIONSHIP DIAGRAM.........................................................................138. STARTING CONDITIONS............................................................................................................139. SECURITY REQUIREMENTS/ AUTHORIZATION DETAILS................................................................1310. DATA MAPPING TABLES...........................................................................................................13

10.1. DESIRED REPORT DESIGN/LAYOUT:.................................................................................1410.2. REPORT EXAMPLE:..........................................................................................................14

11. CUSTOM TABLES/STRUCTURE IN SAP......................................................................................1512. RECOVERY AND RESTART........................................................................................................1513. LANGUAGE OF TEXTS...............................................................................................................1514. CURRENCY AND UNITS OF MEASURE........................................................................................1615. ASSUMPTIONS..........................................................................................................................1616. ERROR HANDLING....................................................................................................................1617. Testing Scenarios..................................................................................................................16

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 3 of 17

Page 4: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

1. General Information

Area (SAP System components): Cross Application Date: 21-Nov-2006Short description: ZBLEND_MIX_PCT Table maintenanceRequested by: TBD Tel no: TBDAuthor: Jitendra Guha Neogi Tel no: TBDProgram Transaction code: Z_BLENDTask ID/Demand Number: TBDProject Name: SAP Implementation at PIL

Priority: High/mandatory Medium/recommended Low/optional

Complexity: High Medium LowVolume of data: Medium DATE AVAILABLE FROM: TBDMode: Online Background

Frequency: Daily Weekly Monthly Biweekly Others (Specify) : On Demand

Technical information:1. Report created using:

2. Characteristics required:

Report Painter Report Writer SAP Query ABAP program Info system R/3 BW Crystal Reports

Drilldown Buttons Sort ALV Grid ALV List Entry file Others: Online Programming

General information:1. Results if no Reports are

created:

Legal requirements not fulfilled Lack of essential business information Lack of functions compared to legacy system Others (Specify):      

DURATION OF DEVELOPMENT WORK (IN MAN-DAYS):

5 days (Coding+Documentation+Testing)

Is there an alternative in the standard system? Yes No

Description of alternative:      Reasons why alternative is not acceptable:

Performance problems Complexity Others (Specify) :      

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 4 of 17

Page 5: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

2. Business Needs & Requirements

Power India Limited started its operation in the year 1965. From its humble beginning in a small town of Maharashtra called Ranjangaon PIL has achieved several milestones and today it is one of the largest manufactures of storage batteries in India. Currently the company is having seven production facilities in India namely Ranjangaon, Pune, Nashik, Chennai, Hosur, Gurgaon and Durgapur respectively.

Power India Limited, the flagship company of the Oscar group is the market leader in the storage battery industry. It manufactures wide range of batteries from 2 Ah capacities to 10500 Ah to cover the broadest spectrum of applications.

The SAP Implementation at Power India Limited (PIL) will achieve the following:1. Standardize and streamline the business process2. Establishing an Integrated information repository3. Improvement in the area of Planning4. Complete visibility of stock

The requirement is to develop a custom module pool program to maintain the custom table ZBLEND_MIX_PCT.

The ‘blending of material’ application needs some customizing data that are not present in SAP standard. Therefore some new tables have been developed to hold this data. The complexity of the data in these tables makes a need for an ‘easy’ way to enter the data. The solution is to develop a new dialog for this.

The business should maintain data in this table(s) as appropriate to support the process of blending ,enabled by custom transaction Z_BLEND.

Custom Table to be created : ZBLEND_MIX_PCT.The table holds information about the source material percentages allowed for the relevant target material to be blended.

The information is stored in the table per Plant or Plant – Material.WERKS Production PlantMATNR Material to be blended (Finished product)

The information in the table is as follows:IDNRK Material to be used in BlendMIN_VAL Minimum Percentage value for this materialMAX_VAL Maximum Percentage value for this materialZALTER Numeric value between 1 and 9

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 5 of 17

Page 6: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

Options available should be :-

Validation and lookup capability required.

WERKS Valid SAP plant and ability to lookup.MATNRValid SAP material and ability to lookup IDNRK Valid SAP material and ability to lookupMIN_VAL >= 0 and <= 100MAX_VAL >= 0 and <= 100

MAX_VAL should be greater than MIN_VALZALTER Numeric value between 1 and 9

Text to show against fields

WERKS PlantFS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 6 of 17

Page 7: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

MATNRTarget MaterialDNRK Source MaterialMIN_VAL Minimum PercentageMAX_VAL Maximum PercentageZALTER Alternate

3. IssuesNoneIssue

#Issue owner

Date Raised

Issue Description Issue Resolution Resolved By & Date

4. Selection Screen DetailsNot Applicable

Name Table-Field / Check Box /

Radio Button – with group

Parameter (P) / Select-option (S)

Comments (Range, Single/Multiple

selection, Patterns, Mandatory etc.)

Default Value

Desired screen design (selection possibilities):(use attachment if necessary):

5. Current Functionality No custom development is available to manage ZBLEND_MIX_PCT details.

6. Desired Functionality

The custom transaction would work for Create Change Display Copy From Delete actions, as demonstrated in the first screen – attached above.

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 7 of 17

Page 8: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

For Create Condition (when User will press the Create Button) after providing the necessary information in the first screen a second screen will come up like this –

Note – The screen is with multiple input disabled record lines. Existing records in ZBLEND_MIX_PCT for that Plant and Material combination would be displayed here. Press the ‘+’ button on the screen. One line is rendered input enabled.

Once the data is put in the screen after pressing the ‘+’ button it will SAVE data in ZBLEND_MIX_PCT custom table and an information message –

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 8 of 17

Page 9: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

will appear.

For Change the screen will allow the Minimum Percentage, Maximum Percentage and Alternate vaue to be changed –

Likewise for Display button press the screen will behave exactly same as Change but all the screen fields will be input disabled. For Delete button press the screen will allow deletion of records.

For Copy button press an additional pop-up will come asking user ‘from which material to copy’. Once user give a material number all the selected data in that screen will be copied over for that chosen material from the pop-up and an additional record in the custom table will be created.

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 9 of 17

Page 10: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

7. Technical Details

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 10 of 17

Is validation successful

?

Yes

Yes

1 2 3 4 5

1

Display button is pressed

Validation for plant from T001W-WERKS and Validation for Material from MARA-MATNR

No

Error Message

Start

2

Change button is pressed

All records corresponding to the entered Plant and Material are retrieved from table ZBLEND_MIX_PCT

All records corresponding to the entered Plant and Material are retrieved from table ZBLEND_MIX_PCT

Retrieved records are displayed in screen

Page 11: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 11 of 17

Retrieved records are displayed in screen 9003 in change mode

Save button is pressed

Changed records are updated in table ZBLEND_MIX_PCT

Is validatio

n successf

ul?

No

Yes

3

Copy From button is

6

Is validation successful?

Check that IDNRK exists in MARA table, MIN_VAL >= 0, MAX_VAL <= 100, MAX_VAL > MIN_VAL,

Error

Validation of Copy to material from MARA-MATNR

Error

Screen

All records corresponding to the entered Plant and Material are retrieved from table ZBLEND_MIX_PCT

No

Yes

Page 12: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 12 of 17

Retrieved records are displayed in screen 9002 in display mode

On choosing records and Pressing the Copy button the data is copied to Table ZBLEND_MIX_PCT for the Copy To material

4

All records corresponding to the entered Plant and Material are retrieved from table ZBLEND_MIX_PCT

Retrieved records are displayed in screen 9002 in display mode

7 8

7

Delete all button is pressed

All records for given Plant and Material is deleted from the table ZBLEND_MIX_PCT

8

Delete Specific button is pressed

All selected records for given Plant and Material is deleted from the table ZBLEND_MIX_PCT

5

Page 13: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

7.1.Extract Data Relationship DiagramNot applicable

8. Starting Conditions

The program would be run on demand.

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 13 of 17

Create Button is pressed

Is validation successful?

Error

Screen

New records are appended to table ZBLEND_MIX_PCT for the given Plant and Material

All records corresponding to the entered Plant and Material are retrieved from table ZBLEND_MIX_PCT

Retrieved records are displayed in screen 9004 in display

Check that IDNRK exists in MARA table, MIN_VAL >= 0, MAX_VAL <= 100, MAX_VAL > MIN_VAL

Press the button to create a new entry and add different field values

Page 14: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

specification

9. Security Requirements/ Authorization DetailsNone

10. Data Mapping Tables

Not applicable

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 14 of 17

Page 15: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional Specification

10.1. Desired Report Design/Layout: (use attachment if necessary):

Not applicable

10.2. Report Example: (use attachment if necessary):

FS_Employee_Maintenance_v1.0 21-Nov-06 Page 15 of 17

Page 16: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

Specification

11. Custom Tables/Structure in SAP

Table Name ZBLEND_MIX_PCTShort text Blending Report Cust. - Mix % intervals for materialsSize category 0Table maintenance allowed

Yes

Data class APPL0Buffering NoTable maintenance generator

Yes

Authorization Group NAField Name

Data Element Domain Type Length Check Table-Field

Key Field

Foreign Key

Description

MANDT MANDT CLNT 3 N Y N ClientWERKS WERKS_D CHAR 4 N Y N PlantMATNR MATNR CHAR 18 N Y N Material NumberIDNRK IDNRK CHAR 18 N Y N BOM componentMIN_VAL DEC 4 N N N Minimum valueMAX_VAL DEC 4 N N N Maximum valueZALTER ZALTER CHAR 1 N N N Blending Report -

Alternative material grouping indicator

Comments

12. Recovery and Restart

If the program fails half way it will not have any impact on any other processes or programs. It should be simply re-started by the user.

13. Language of texts

The texts for the program should be displayed in User’s logon language.

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 16 of 17

Page 17: Custom Table ZBLEND MIX PCT Maintenance v1.0

SAP Implementation at PIL Online Programming - Functional

Specification

14. Currency and Units of Measure

None

15. Assumptions

The custom employee table is accurately maintained.

16. Error HandlingElement Screen Validation rules Error handling

1. Plant 1st Check values with T001W table Stop the process for invalid values.2. Material number 2nd Check value with MARA table Stop the process for invalid values.3. BOM component Exits in MARA table Stop the process for invalid values.4. Minimum value Greater than 0 Stop the process for invalid values.5. Maximum value Greater than 0 and Minimum value Stop the process for invalid values.

17. Testing ScenariosThe custom table needs to be populated with a few records for unit testing.

Normal Functionality - test cases that ensure the report functions as it should. ID Description1 A valid material information is entered and the details are updated in the custom table – via CREATE action2 A valid material information is displayed from the custom table – via DISPLAY action3 A valid material information is changed from the custom table – via CHANGE action4 A valid material information is deleted from the custom table – via DELETE action5 A valid material information is copied from the custom table – via COPYaction6 User navigates away from screen 1 and 2 using the ‘EXIT’ or ‘BACK’ or ‘CANCEL’ button.

Exception - special logic or exceptions (e.g. report shold exclude certain specific condition)

56Error Handling - functionality in case of errors (e.g. Error Message or Error Log )

7 An invalid employee number is entered8

FS_ZBLEND_MIX_PCT_v1.0 21-Nov-06 Page 17 of 17