You are on page 1of 7

S

TECHNICAL SPECIFICATION Sangram Auto


Components Pvt.
SAS-T-20 ENHANCEMENT FOR GR
Ltd.
LOCKING BASED ON DOCUMENT DATE

Sangram Auto Components Pvt. Ltd.

SAS-T-20 Enhancement for GR


Locking based on Document Date
(English)

Version 1809
Date – 28.03.2020

Page 1 of
S
TECHNICAL SPECIFICATION Sangram Auto
Components Pvt.
SAS-T-20 ENHANCEMENT FOR GR
Ltd.
LOCKING BASED ON DOCUMENT DATE

Page 2 of
S
TECHNICAL SPECIFICATION Sangram Auto
Components Pvt.
SAS-T-20 ENHANCEMENT FOR GR
Ltd.
LOCKING BASED ON DOCUMENT DATE

Contents
1. Requirement Overview................................................................................................................3
2. Solution overview........................................................................................................................3
3. Program Details...........................................................................................................................4
4. Input Screen.................................................................................................................................5
5. Output Fields...............................................................................................................................5
6. Tables...........................................................................................................................................5
7. Authorization Object....................................................................................................................6
8. Impacted Processes, Systems, Packages/Application..................................................................6
9 System Impact :...........................................................................................................................6
10 Overall function’s triggering........................................................................................................6
11 Overall function’s frequency......................................................................................................6
12 Overall function’s usability.........................................................................................................6
13 Proposed Data Gathering / Processing Logic.............................................................................6
14 Selection Screen.......................................................................................................................10
15 Output Screen..........................................................................................................................10

Page 3 of
S
TECHNICAL SPECIFICATION Sangram Auto
Components Pvt.
SAS-T-20 ENHANCEMENT FOR GR
Ltd.
LOCKING BASED ON DOCUMENT DATE

Technical Specification – Executable Program


Project Name: SP
Document ID: 1 Version: 1809
Prepared by: Kajal R. Gat Contact No.: Date: 28.03.2020
Approved by: Pradeep S. Patil Contact No.: Date:

Version No Date Remark


1809 14.03.2020 Initial Draft

1 Requirement Overview
The Requirement is to implement the Enhancement for GR Locking based on Document Date

2 Solution overview
To satisfy above requirements we need to implement the enhancement and add the
enhancement code. We need to create the ZXMG0U02 and User Exit
EXIT_SAPLMGMU_001.
Object Name: Enhancement Implementation

Development Type (F/R/I/C/E) Enhancement

Processes / SAP Module MM

SAP System / Release 1809

Priority (High/Medium/Low) High

Complexity (Simple/Medium/Complex/Very Complex


complex)

Page 4 of
S
TECHNICAL SPECIFICATION Sangram Auto
Components Pvt.
SAS-T-20 ENHANCEMENT FOR GR
Ltd.
LOCKING BASED ON DOCUMENT DATE

3 Program Details
Program Name EXIT_SAPMM07M_001 / INCLUDE ZXMBCU02
Description Enhancement for GR Locking based on Document Date
Reference Functional Specification: Version: 1809
Deviation from Functional
Specification:
Server Name: Server IP Client: 200
DEV(1)
address:
Development Transaction code: MIGO
class: (for this program)
Authorization Transport Request:
Group:
Program type: () Report Interactive () Report () Standard Modification
() Online program () Layout () User Exit/Enhancement
Characteristics () Drill-down () Push buttons () Sort
() Entry files () Others: Table View () File Download
Type: () Creation () Change ( ) Display
Technique: () Report Painter () Report Writer () ABAP Query
() ABAP Program () Info System () Layout
Priority: () high-mandatory () medium-recommended () low-optional
Technical We have to implement Enhancement for GR Locking based on Document
description: Date

4 Tables/Structures
Name Description
MKPF HEADER: MATERIAL DOCUMENT

Page 5 of
S
TECHNICAL SPECIFICATION Sangram Auto
Components Pvt.
SAS-T-20 ENHANCEMENT FOR GR
Ltd.
LOCKING BASED ON DOCUMENT DATE

5 Authorization Object
NA.

6 Impacted Processes, Systems, Packages/Application

SAP Modules Impacted MM

Other Systems Impacted NA

Other Applications Impacted NA

7. System Impact:
We have used T-Code MIGO Enhancement for GR Locking based on Document Date.
8. Overall function’s triggering
This functionality will be triggered in MIGO transaction codes.

9. Proposed Data Gathering / Processing Logic


We have to Enhance the user exit EXIT_SAPMM07M_001 in CMOD transaction with
include ZXMBCU02.

Processing Logic: -
1. We have to create user exit EXIT_SAPMM07M_001 with include ZXMBCU02 and apply
the custom code in that.
2. Create ZTable ZGRN_MST for maintain data of plant, vendor code, grn days.
3. If no of days (vday- days set for locking date) not equals to zero then consider following
criteria:
If Document date (MKPF-BLDAT) is less than or equals to
[ posting date (MKPF-BUDAT) – v days]
4. Give error message, ‘‘Document date allowed only (&) days less than Posting date (&) “.

Selection Screens

Page 6 of
S
TECHNICAL SPECIFICATION Sangram Auto
Components Pvt.
SAS-T-20 ENHANCEMENT FOR GR
Ltd.
LOCKING BASED ON DOCUMENT DATE

1. Create ZTable, ztable validate through sm30.

2. After enhancement, user can maintain plant, vendor and no of grn days(for document date) on
which user can post GRN. You can also maintain two users which will have authority to save the
GR on any document date.

GRN for this vendor and plant will not be saved if document date entered is 5 days lesser than posting
date Hence system gave error as shown in above screenshot.

Page 7 of

You might also like