mm01 adding extra fields documentation

13
Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0!  Documentation For Extra new Fields For only Semi finished Goods In Material Master (MM01/MM02/MM0 ! Created by: Ravi Kiran Katta  LPC Group Confidential (I nternal Purpose Only) Page 1 of 13

Upload: kabil-rocky

Post on 03-Jun-2018

246 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 1/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

DocumentationFor Extra new Fields

For only Semi finished GoodsIn

Material Master (MM01/MM02/MM0!

Created by: Ravi Kiran Katta

 LPC Group Confidential (Internal Purpose Only) Page 1 of 13

Page 2: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 2/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

Development Objective:  "his document #ro$ides the #rocedure for addin% additional new fields to transaction

code&s MM01/MM02/MM0 under 'SI) D" 1 $iew*

"hese Fields are only a$aila+le for material "y#e ,-. i*e* Semi Finished Goodsonly*

Procedure:1* custom ta+le named ,M.E"" created with the followin% wor3a+le fields*

2* Go to "ransaction S4.56 Dis#lay IMG*

* Go to o%istics7Generalà Material Masterà )onfi%urin% the material master and execute

8)reate 4ro%ram for )ustomi9ed Su+ screen&*

 LPC Group Confidential (Internal Purpose Only) Page 2 of 13

Page 3: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 3/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

:* From the 4o#u# dis#layed* )reate a function %rou# ; ,FGMM*

<* ow Go to 5+=ect a$i%ator SE>0 and o#en the created Function Grou# ,FGMM*

 LPC Group Confidential (Internal Purpose Only) Page 3 of 13

Page 4: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 4/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

?* )reate your own new custom screen in screen 0001* From the ayout of SE<1 use the function

3ey F? and add the fields of our custom dictionary ta+le ,M.E"" and create ascreen li3e +elow*

 ote ;7 (@ere6 ll the Screen Fields are 3e#t in$isi+le!*

A* flow lo%ic of screen 0001*

>* )ode is as %i$en +elow**----------------------------------------------------------------------****INCLUDE LZFG_MMO01 .*----------------------------------------------------------------------**&---------------------------------------------------------------------**& Module disable_fields OUTUT*&---------------------------------------------------------------------** !e"!

*----------------------------------------------------------------------*#odule disable_fields ou!$u!.  da!a% id_#!a! !'$e #!a!.* i#$o! id_#!a! fo# #e#o' id (ID_MT)T(.  if s'-!+ode e, (MM01(.  e! $aa#e!e id (MT)( field ##1-#!a!.  elseif s'-!+ode e, (MM0( o s'-!+ode e, (MM0/(.  e! $aa#e!e id (M)T( field ##1-#a!.  sele+! sile #!a! fo# #aa

 LPC Group Confidential (Internal Purpose Only) Page 4 of 13

Page 5: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 5/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

i!o ##1-#!a!  2ee #a! e, ##1-#a!.  edif.  if ##1-#!a! e, (Z3L(.

  if s'-!+ode e, (MM01( o s'-!+ode e, (MM0(.  loo$ a! s+ee.  if s+ee-a#e e, (E4TN_D)T)( o   s+ee-a#e e, (ZM))_E4TN_T-Z5IM( o   s+ee-a#e e, (ZM))_E4TN_T-ZG6M( o   s+ee-a#e e, (ZM))_E4TN_T-Z5ID( o   s+ee-a#e e, (ZM))_E4TN_T-ZDI)M( o   s+ee-a#e e, (ZM))_E4TN_T-ZL7( o   s+ee-a#e e, (ZM))_E4TN_T-Z5TD( o   s+ee-a#e e, (ZM))_E4TN_T-ZN6( o   s+ee-a#e e, (ZM))_E4TN_T-Z8M( o   s+ee-a#e e, (ZM))_E4TN_T-ZT( o   s+ee-a#e e, (ZM))_E4TN_T-ZCOE( o   s+ee-a#e e, (ZM))_E4TN_T-ZE5IN( o   s+ee-a#e e, (ZM))_E4TN_T-Z)C8( o   s+ee-a#e e, (ZM))_E4TN_T-Z9DI68( o   s+ee-a#e e, (ZM))_E4TN_T-Z5ID6(.  s+ee-a+!i:e ; (1(.  s+ee-i$u! ; (1(.  s+ee-i:isible ; (0(.  edif.  #odif' s+ee.  edloo$.  edif.

  if s'-!+ode e, (MM0/(.  loo$ a! s+ee.

  if s+ee-a#e e, (E4TN_D)T)( o   s+ee-a#e e, (ZM))_E4TN_T-Z5IM( o   s+ee-a#e e, (ZM))_E4TN_T-ZG6M( o   s+ee-a#e e, (ZM))_E4TN_T-Z5ID( o   s+ee-a#e e, (ZM))_E4TN_T-ZDI)M( o   s+ee-a#e e, (ZM))_E4TN_T-ZL7( o   s+ee-a#e e, (ZM))_E4TN_T-Z5TD( o   s+ee-a#e e, (ZM))_E4TN_T-ZN6( o   s+ee-a#e e, (ZM))_E4TN_T-Z8M( o   s+ee-a#e e, (ZM))_E4TN_T-ZT( o   s+ee-a#e e, (ZM))_E4TN_T-ZCOE( o   s+ee-a#e e, (ZM))_E4TN_T-ZE5IN( o   s+ee-a#e e, (ZM))_E4TN_T-Z)C8( o 

  s+ee-a#e e, (ZM))_E4TN_T-Z9DI68( o   s+ee-a#e e, (ZM))_E4TN_T-Z5ID6(.  s+ee-a+!i:e ; (1(.  s+ee-i$u! ; (0(.  s+ee-i:isible ; (0(.  edif.  #odif' s+ee.  edloo$.  edif.

 LPC Group Confidential (Internal Purpose Only) Page 5 of 13

Page 6: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 6/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

edif.

  ed#odule. < disable_fields OUTUT*&---------------------------------------------------------------------*

*& Module DI6L)7_D)T) OUTUT*&---------------------------------------------------------------------** !e"!*----------------------------------------------------------------------*#odule dis$la'_da!a ou!$u!.

  da!a% _=#aa_e"!_! !'$e =#aa_e"!_!.  +lea _=#aa_e"!_!.  if s'-!+ode e, (MM0/( o s'-!+ode e, (MM0(.  sele+! sile * fo# =#aa_e"!_!  i!o _=#aa_e"!_!  2ee #a! e, ##1-#a!.

  if s'-sub+ e, 0.  =#aa_e"!_! ; _=#aa_e"!_!.  edif.  edif.

ed#odule. < DI6L)7_D)T) OUTUT

*----------------------------------------------------------------------*

***INCLUDE LZFG_MMI01 .

*----------------------------------------------------------------------**&---------------------------------------------------------------------*

*& Module export_Data INPUT *&---------------------------------------------------------------------*

* text

*----------------------------------------------------------------------*

*----------------------------------------------------------------------*

* MDULE export_data INPUT *----------------------------------------------------------------------*

**----------------------------------------------------------------------*

module export_data input.  free memory id 'ZMARA_EXTN_T'.

  export zmara_extn_t to memory  id 'ZMARA_EXTN_T'.

endmodule. ! export_Data INPUT 

B* "o include IMGMMI0* )reate a enhancement and add the code as +elow

 LPC Group Confidential (Internal Purpose Only) Page 6 of 13

Page 7: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 7/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

10* Sa$e and acti$ate all the #arts*

11* ow %o to transaction S4.56 Dis#lay IMG then %o to o%istics7Generalà Material Masterà

)onfi%urin% the material master and execute 8Define Structure of Data Screens for Each ScreenSeCuence&*

 LPC Group Confidential (Internal Purpose Only) Page 7 of 13

Page 8: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 8/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

12*  Select the screen seCuence 21 and dou+le clic3 on data screens folder from the left tree #anel*

 LPC Group Confidential (Internal Purpose Only) Page of 13

Page 9: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 9/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

1* @ere select 'asic data 1 and Dou+le clic3 on Su+Screens*

 LPC Group Confidential (Internal Purpose Only) Page ! of 13

Page 10: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 10/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

1:* dd the )ustom )reated Su+ Screen here as shown +elow* Sa$e the Modifications*

1<* ow the final Ste# is to u#date the data in the )ustom created ta+le ,M.E""*

rite the followin% code to the Exit 7 EI"S4MGM001*

1?* Sa$e and cti$ate*

 LPC Group Confidential (Internal Purpose Only) Page 1" of 13

Page 11: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 11/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

Result:

1! Scenario 1. Go to MM01à )reate a Material of ty#e ,FE.(finished %oods! and clic3 enter*

 ou can see the fields are not $isi+le under +asic data 1 $iew

 

 LPC Group Confidential (Internal Purpose Only) Page 11 of 13

Page 12: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 12/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

Scenario 2.

)reate a material of "y#e ,-.*

s you can see fields are now a$aila+le*

 LPC Group Confidential (Internal Purpose Only) Page 12 of 13

Page 13: MM01 Adding Extra Fields Documentation

8/12/2019 MM01 Adding Extra Fields Documentation

http://slidepdf.com/reader/full/mm01-adding-extra-fields-documentation 13/13

Documentation For Extra new Fields for only Semi finished Goods In Material Master (MM01/MM02/MM0! 

.eferences; www*sa#technical*com 

 LPC Group Confidential (Internal Purpose Only) Page 13 of 13