Workflow for Material Master creation

Odedra, Menand Menand.Odedra at guinnessudv.com
Mon Mar 25 04:10:38 EST 2002


Hi Govindarajan.
 
The way to do this is to reference table MOFF.
MOFF stores an entry for each view depending on whether it has been created
or not.
 
The way that I`ve done it in the past is to create a method for each view.
Withing the method I normally read table MOFF to see if the view already
exists.  If it does then  I would take the user into MM02 (Change).  If not
then I take the user into MM01 (Create).
 
i.e
 
  SET PARAMETER ID 'MAT' FIELD Material.
  SET PARAMETER ID 'MXX' FIELD 'C'.
  SET PARAMETER ID 'MTP' FIELD Sector.
  SET PARAMETER ID 'MTA' FIELD MaterialType.
 
Select single * from MOFF
where Matnr = Material
and Mtart = Material Type
and Statm = 'C' (Classification View).
If sy-subrc = 0.
  Call Transaction 'MM01' and skip first screen.
else.
  Call Transaction 'MM02' and skip first screen.
endif.
 
Regards
Menand Odedra
Workflow Consultant
 
-----Original Message-----
From: Govindarajan R, Consultant/PWC [mailto:pwcgovind at bheltry.co.in]
Sent: 25 March 2002 04:14
To: SAP-WUG at MITVMA.MIT.EDU
Subject: Workflow for Material Master creation
 
 
I am in the process of creating a workflow for material master creation.
The requirement is to pass on the work to individuals responsible for
certain Views after creation of Basic View.
 
Based on my earlier experience of support from the group, I just thought
of seeking help in the form of past implementation notes, before
starting from scratch.  (We are in 4.6B)
 
rgds
govind
 
 
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
 
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
 
www.mimesweeper.com
**********************************************************************
 


More information about the SAP-WUG mailing list