ZMM - Matpl Plant Material Data v3 30.01.2024

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 15

Project (Colombia)

Module (MM)
Plant Material Data
Versions Table

Version Change description Prepared Date Chang Project Link to


by e change
asked
by
1.0 First revision Tetiana 21.06.2023 Sarit Netafim
Tsutsuruk
2.0 Version 2.0 Tetiana 24.08.2023 Shuli Netafim INC035
Tsutsuruk 0935
3.0 Version 3.0 Tetiana 30.01.2023 Sarit Netafim INC035
Tsutsuruk 8377

Link to changes section

1
Table of Contents

3............................................................Process Description .1
3.............................................................................Definitions .2
3..........................................................................................Module .2.1
3..........................................................................Project Name .2.2
3......................................................................................Input .3
3........................................................................................General .3.1
4.................................................................................Transaction .3.2
4..................................................................Tables & views: .3.3
4..............................................................Selection Screen .3.4
7....................................................................Selection Logic .3.5
8...............................................................Display Screen .3.6
10...............................................................Objects to create .4
10......................................................................... Processing .5
10.................................................. Processing process .5.1
10.................................................................................Output .6
10.............................................................AUTHORIZATION .7
Changes in Specification (Al changes that could not be .8
11 written inside the specification body)
Date of change #1 + Name .8.1
11 of Contacts
11.............Date of change #2 + Name of Contacts .8.2
11..................................................Development Definitions .9
12......................Customization Definitions (Implementer) .10
12....................................................................Required Test .11

2
1. Process Description
A new report based on existing transaction ZMM_GK_MAT.
The purpose of this report is to provide a Z report to display plant material data,
based on various selection criteria.
The report is based on a main view, composed of union of selections from
several material data tables.

2. Definitions

2.1. Module
MM

2.2. Project Name


KLO

3. Input

3.1. General
Name: Plant material data

3.2. Transaction
Transaction ZMM_ MATPL

3.3. Tables & views:


 ZVMM_ MATPL (new view)

 MARA

 MARC

3
 MAKT

 ZSD_MAT_AVAILCHK with left outer join by WERKS and MARC -


MTVFP

3.4. Selection Screen


,Will have most of the ref. transaction selection screen fields
:except the fields marked in red rectangle

Also, will have:


 Plant – first selection field after the layout
 add MARA- LVORM.: by default: <> X.
 add MARA-MSTAE by default: = Empty
 add MARA- MSTAV: by default: = Empty

4
 for MARA-MATKL: by default: <> 99999
 For MARC- MMSTA: by default: empty or 10 or 9.
 add MARC- XCHAR Batches
 add MARC- EKGRP Purch. Group

 MARC-DISMM MRP Type


 MARC-DISPO MRP Controller
 MARC-BESKZ Procurement
 MARC-SOBSL SpecProcurement
 MARC-ZZINV_PLN_TYPE Inventory Plan.Type
 MARC- LADGR Loading group.
 ZMM_PLANT- SPRAS Plant Spoken language.
 MARC - MTVFP Availability check
 ZSD_MAT_AVAILCHK
DEFAULT_VALUE Avail CHK Dflt (X or empty )

 ZVMM_MATPL – LEGAL_AVAIL Legal Avail CHK (X or empty )


Add the option to use colors (1 for MARA, 1 for MAKT , 1 for MARC , 1 for
ZMM_PLANT)

Based on checkbox in selection screen. Default: Checked.


2 – Add checkbox field for “Missing local description” - add it to alv & selection screen.
3 – the hotlink to mm03 is not working well - we need to fix it. This screen should be
skipped:
Plant is taken from the selected row:

5
Or we can use Z transactions to display material:
ZMM_DISPLAY_MATERIAL
Create a new view ZVMM_ MATPL (quite similar to material view of GK
ZVMM_GK_MAT_C, without classification, without calculations).
Include Tables:
MAKT
MARA
MARC
Join conditions:
MARC-MANDT = MARA-MANDT
MARC-MATNR = MARA-MATNR
MARA-MATNR = MAKT-MATNR
MAKT-SPRAS =
MARC-MANDT = MAKT-MANDT
MARA-MATNR = MAKT-MATNR
MAKTSPRAS =
MARC-MANDT = MAKT-MANDT

6
View fields:
View field Table Field Data element Short
Desc

MATNR MARC MATNR MATNR Material


Number

MAKTX_EN MAKT MAKTX MAKTX Material


Descripti
on

MAKTX_NL MAKT MAKTX MAKTX Material


Descripti
on

WERKS MARC WERKS WERKS_D Plant

DISMM MARC DISMM DISMM MRP


Type

DISPO MARC DISPO DISPO MRP


Controlle
r

BESKZ MARC BESKZ BESKZ Procurem


ent Type

ZZPRVMT MARC ZZPRVMT ZZPRVMT Material


no. in
prv.sys

ZZLCLDSC MARC ZZLCLDSC ZZLCLDSC Local


descriptio
n

STAWN MARC STAWN STAWN Commodi


ty
Code/Imp
ort Code
Number
for
Foreign
Trade

MMSTA MARC MMSTA MMSTA Plant-


Specific
Material
Status

EXTWG MARA EXTWG EXTWG External

7
Material
Group

MTART MARA MTART MTART Material


Type

MATKL MARA MATKL MATKL Material


Group

BISMT MARA BISMT BISMT Old


material
number

MEINS MARA MEINS MEINS Base Unit


of
Measure

BRGEW MARA BRGEW BRGEW Gross


Weight

ZZMAKE_BUY MARA ZZMAKE_BUY ZZMAKE_BUY Make/


Buy

AUSME MARC AUSME AUSME Unit of


issue

DISPR MARC DISPR DISPR MRP


profile

PLIFZ MARC PLIFZ PLIFZ


Pl. Deliv.
Time

WEBAZ MARC WEBAZ WEBAZ GR proc.


time

DISLS MARC DISLS DISLS Lot size

MARC Reorder
MINBE MINBE MINBE
Point

MARC Safety
EISBE EISBE EISBE
Stock

MARC Min. Lot


BSTMI BSTMI BSTMI
Size

MARC Max. Lot


BSTMA BSTMA BSTMA
Size

BSTFE MARC BSTFE BSTFE Fixed lot

8
size

MARC Rounding
BSTRF BSTRF BSTRF
value

MARC Max.stoc
MABST MABST MABST
k level

MARC Indiv./
SBDKZ SBDKZ SBDKZ
coll.

MARC Discontin
KZAUS KZAUS KZAUS
. ind.

MARC Eff.-out
AUSDT AUSDT AUSDT
date

MARC Follow-
NFMAT NFMAT NFMAT
Up Matl

RGEKZ MARC RGEKZ RGEKZ Backflush

MARC Total RL
WZEIT WZEIT WZEIT
time

MARC Replacem
ATPKZ ATPKZ ATPKZ
t part

MARC Post to
INSMK INSMK INSMK
insp. stk

MARC QM
SSQSS SSQSS SSQSS Control
Key

MARC Loading
LADGR LADGR LADGR
Group

MARC Avail.
MTVFP MTVFP MTVFP
check

MARC Processin
VBEAZ VBEAZ VBEAZ
g time

MARC Autom.
KAUTB KAUTB KAUTB
PO

MARC Source
KORDB KORDB KORDB
list

MARC Comm./
STAWN STAWN STAWN
imp. code

9
MARC Ctry of
HERKL HERKL HERKL
origin

MARC Exp/imp
MTVER MTVER MTVER
group

MARC Profit
PRCTR PRCTR PRCTR
Center

MARC Consmpti
VRMOD VRMOD VRMOD
on mode

MARC Cstg Lot


LOSGR LOSGR LOSGR
Size

MARC SpecProc
SOBSK SOBSK SOBSK
Type

MARC Productio
FRTME FRTME FRTME
n unit

MARC Prod.
LGPRO LGPRO LGPRO
Stor.Loc.

MARC MRP
DISGR DISGR DISGR
group

MARC SerialNo
SERNP SERNP SERNP
Profile

MARC Strategy
STRGR STRGR STRGR
Group

MARC Stor. loc.


LGFSB LGFSB LGFSB
EP

MARC Control
STEUC STEUC STEUC
code

MARC Min. lot


MINLS MINLS MINLS
size

MARC Max. lot


MAXLS MAXLS MAXLS
size

MARC Fix. lot


FIXLS FIXLS FIXLS
size

MARC Lot size


LTINC LTINC LTINC
incr.

APOKZ MARC APOKZ APOKZ Relevant

10
to APO

MARC ZZPRVMT ZZPRVMT Matnr no.


ZZPRVMT
in prv.sys

MARC ZZORDCD ZORDCD Ordering


ZZORDCD
code

ZZBEHVO MARC ZZBEHVO BEHVO Container

MARC ZZPRDCLS ZZPRDCLS Product


ZZPRDCLS
class

MARC ZZLCLDSC ZZLCLDSC Local


ZZLCLDSC
desc.

ZZALTKY1 MARC ZZALTKEY1 ZZALTKEY1 Altkey1

ZZALTKY2 MARC ZZALTKEY2 ZZALTKEY2 Altkey2

ZZALTKY3 MARC ZZALTKEY3 ZZALTKEY3 Altkey3

MARC ZZBATCH ZZBATCH Sales


ZZBATCH
Batch

MARC ZZSTOSL ZZSTOSL Issuing


ZZSTOSL SL for
STO

MARC ZZCURCAT ZZCURCAT Flag -


ZZCURCAT available
for

MARC ZPLANT_IMPAC Plant


ZZ_PL_IMPACT ZZ_PL_IMPACT
T_ORDER Impact
_ORDER _ORDER
Order

MARC ZZNXTCAT Flag -


ZZNXTCAT ZZNXTCAT available
for

ZZSUP_PLANT MARC ZZSUP_PLANT WERKS_D Plant

ZZVENDOR MARC ZZVENDOR LIFNR Supplier

MARC ZZPUR_DAYS Resupply


ZZPUR_DAYS ZZPUR_DAYS
Days

MARC ZZCTRL_TYPE CntrlTyp


ZZCTRL_TYPE ZZCTRL_TYPE
e

ZZTRGT_SRV_ MARC ZZTRGT_SRV_ ZZTRGT_SRV_L Target


EVEL Srv Levl

11
LEVEL LEVEL

ZZSTCK_LEVE MARC ZZSTCK_LEVE ZZSTCK_LEVEL Stck levl


L_FIX L_FIX _FIX t/fix

MARC ZZFIX_TRGT Fixed


ZZFIX_TRGT ZZFIX_TRGT
Targ.Qty

ZZCYCLE_DAY MARC ZZCYCLE_DAY ZZCYCLE_DAYS Cycle


S S time days

ZMM_PLANT SPRAS ZSPRAS_PLANT Plant


SPRAS Spoken
language

ZSD_MAT_AV MTVFP MTVFP Avail.


MTVFP AILCHK Check in
MAP

ZSD_MAT_AV DEFAULT_VA ZDEFAULT_VALU Avail.


DEFAULT_VA AILCHK LUE E Check
LUE DFLT
Value

ZSD_MAT_AV REMARK CMS_DTE_REMA Avail.


REMARK AILCHK RKS Check
Remarks

ZVMM_MATP LEGAL_AVAI Legal


LEGAL_AVAI
L L Avail
L
CHK

3.5. Selection Logic


Select from the view ZVMM_ MATPL, according to the selection parameters all
view fields.

The additional language for descriptions in addition to EN –as defined in


ZMM_PLANT- SPRAS, for each plant.

The relation to MAKT by language should also display a record even if


description in the language is missing.

Select from the view ZSD_MAT_AVAILCHK with left outer join by MARC-
WERKS & MTVFP.

12
 MTVFP
 DEFAULT_VALUE
 REMARK
Add aditional field
 ZVMM_MATPL – LEGAL_AVAIL Legal Avail CHK (with values :
X or empty ) .
That means, that for every entry in MARC we will go to this table according to plant and
the availability check.
If there is an entry in ZSD_MAT_AVAILCHK – put “X’ in the field LEGAL_AVAIL.
And if there is no entry in ZSD_MAT_AVAILCH - it will be an empty entry in field
LEGAL_AVAIL.

If it will not find an entry, so the value is illegal, or it was not maintained in the map.

3.6. Display Screen


ALV , with line selection option ,
With all the fields as defined in the VIEW.

4. Objects to create

5. Processing

5.1. Processing process


6. Output

13
7. AUTHORIZATION

AUTHORITY-CHECK OBJECT 'M_MATE_WRK'


ID 'ACTVT' FIELD '03'
ID 'WERKS' FIELD <ls_plant>-werks

Changes in Specification (Al changes that could not be written


inside the specification body)
7.1. Date of change #1 + Name of Contacts
Change Description

7.2. Date of change #2 + Name of Contacts


Change Description

8. Development Definitions

Object Type Lengt Pattern Object Name


h

Program name 40 Z<module><sub module>m<iterator>

Transaction 20 Z<module>< any name >*

User exit Z*

Layout 16 Z<module>_<any name>_e01/h01

Table 10 Z<module>_<any name>

View 16 ZV_<module>_<any name>

Domain 30 Z_<module>_<sub module>_<any


name>

Data element 30 Z_<module>_<sub module>_<any


name>

14
Object Type Lengt Pattern Object Name
h

Search Help 30 Z_<module>_<sub module>_<any


name>

Structures 30 Z<module>_<sub module>_<any


name>

Function group 26 Z_<module>_<sub module>_<any


name>

Function module 26 Z_<module>_<sub module>_<any


name>

Authorization object 10 Z*

Authorization object class 4 Z*

Authorization object group 30 Z*

9. Customization Definitions (Implementer)

10. Required Test

15

You might also like