Vous êtes sur la page 1sur 10

GuiXT Solution MM-0004

So

Solution #
Functional Area
Transactions
Short Description
Date Created

MM-0004

Version #
UI Platform

MATERIAL-MANAGEMENT
MM01
CREATE MATERIAL
04/13/2009
Created by

1.0.0.2

DS

Synactive, Inc

Page 1 of 10

GuiXT Solution MM-0004

TABLE OF CONTENTS
GuiXT Development Business Rules ................................................................... 3
General Script Naming Convention ..................................................................... 4
GuiXT Scripts ...................................................................................................................... 4
Input Scripts ......................................................................................................................... 4

General Variable Naming Convention ................................................................. 5


GuiXT Development Scripts Listing ................................................................... 6
GuiXT Scripts ...................................................................................................................... 6
SAPLMGMM.E0060.TXT....................................................................................................................... 6
SAPLCLFM.E1101.TXT ......................................................................................................................... 6

Input Scripts ......................................................................................................................... 6


MM01_ENTER.TXT................................................................................................................................ 6
MM01_SAVE.TXT .................................................................................................................................. 6
MM01_DISABLE.TXT............................................................................................................................ 6
MM01_TOGGLE.TXT............................................................................................................................. 6
MM01_POTEXTNAV.TXT..................................................................................................................... 7

Scripts Process Flow............................................................................................. 7


GuiXT Modified Screen: MM01 initial screen..................................................................... 7
SAPLMGMM.E0060.TXT....................................................................................................................... 7

Input Scripts .......................................................................................................................... 8


MM01_ENTER.TXT................................................................................................................................ 8

GuiXT Modified Screen: MM01 final screen....................................................................... 9


SAPLCLFM.E1101.TXT ......................................................................................................................... 9

Input Scripts .......................................................................................................................... 9


MM01_SAVE.TXT .................................................................................................................................. 9

Page 2 of 10

GuiXT Solution MM-0004

GuiXT Development Business Rules


Below are the rules taken into consideration for GuiXT Customized screens.
1. This design is for two Material types Valued and Non-Valued
2. The same Select View(s) are defaulted for Valued and Non-Valued Material
Types.

Page 3 of 10

GuiXT Solution MM-0004

General Script Naming Convention


GuiXT Scripts
Purpose: For Screen Interface. Dictates how the screen appears to the user
GuiXT Script Names cannot be altered. It is a must to keep the same name as the system
suggested. This is how GuiXT scripts are linked to SAP Screen.
Typical GuiXT Script Name: SAPLMGMM.E0060.TXT
SAPLMGMM
ABAP Program Name
E
1 Character Language Key
0060
Screen Number
.TXT
File Extension (Text Files)
Input Scripts
Purpose: Facilitates synchronization of data with SAP Screens. Facilitates multiple screen
navigation and screen level data validation
Input scripts can be assigned any name.
Following naming convention is followed for Input Scripts
TCODE_PURPOSE.TXT
(Example: MM01_SAVE.TXT)
TCODE
Transaction Code for which the script refers to
(Example: MM01, Create Material)
PURPOSE Action that is performed by the input script
(Example: SAVE for saving the material)

Page 4 of 10

GuiXT Solution MM-0004

General Variable Naming Convention


For all variables following naming convention is used
Note: Variable Names are CASE SENSITIVE
z_tcode_field
z
tcode
field

Z_GUIXT

Used as variable prefix


Lower Case Transaction Code for which the variable refers to
(Example: mm01 for create material)
Lower Case field name referring to SAP field
(Example: bum for Base Unit of Measure)
Variable is used to show GuiXT screens or standard SAP screens
based on what button has been selected by the user.

Page 5 of 10

GuiXT Solution MM-0004

GuiXT Development Scripts Listing


GuiXT Scripts
SAPLMGMM.E0060.TXT
Purpose: MM01 initial screen on which the first GuiXT interface is designed on. The screen contains all of
the fields from the standard MM01 screens. This screen is displayed when executing transaction MM01

SAPLCLFM.E1101.TXT
Purpose: The screen contains the GuiXT long text layout for the standard SAP long text in the Sales Text
tab.

Input Scripts
MM01_ENTER.TXT
Purpose: Contains the validations that make some fields mandatory such as the Material Description field.
It selects the defaulted views and defaults certain values such as the plant. This inputscript also passes the
values from the GuiXT fields to the SAP fields such as the Material group.
Invoked From: SAPLMGMM.E0060.TXT

MM01_SAVE.TXT
Purpose: Defaults certain SAP fields such as Purchasing Group and it passes some values from GuiXT
fields to SAP fields such as Mfr part number. This inputscript also copies the text entered in the GuiXT
long text section to SAPs long text section in the Sales Text tab.
Invoked From: SAPLCLFM.E1101.TXT

MM01_DISABLE.TXT
Purpose: Disables the exit, cancel and back buttons on the MM01 final modified screen using the Return
command.
Invoked From: SAPLCLFM.E1101.TXT

MM01_TOGGLE.TXT
Purpose: Toggles back and fourth between Standard SAP and GuiXT Screens by utilizing variable
(V[_GUIXT]).
Invoked From: SAPLMGMM.E0060.TXT

Page 6 of 10

GuiXT Solution MM-0004

MM01_POTEXTNAV.TXT
Purpose: Scrolls the GuiXT long text fields on the final modified screen.
Invoked From: SAPLCLFM.E1101.TXT

Scripts Process Flow


GuiXT Modified Screen: MM01 initial screen
SAPLMGMM.E0060.TXT
Interface is displayed when user enters transaction MM01

Page 7 of 10

GuiXT Solution MM-0004

Input Scripts
MM01_ENTER.TXT
Invoked From:
SAPlMGMM.E0060.TXT
Transaction Code:
MM01 Create Material
When Executed:
Clicking the Create Material button on the initial screen of MM01
Script Logic:
It checks all of the required fields one by one if they have values. Then it takes the user to the second
modified screen of MM01 after it selects all of the views . (There are only two screens)
Step 1
Read all of the required fields one by one. If a required field does not have a value, the user will be
prompted to enter a value for that field.
Step 2
Select all of the required views. The views are always the same, they are defaulted.
Step 3
Default certain SAP fields, such as the Plant and Storage location. Then pass the values from the GuiXT
fields on the initial screens to their corresponding SAP fields Such as the Base Unit of measure. Then, it
will stop on the second modified screen where the user will enter the long text and update the classification
table.

Page 8 of 10

GuiXT Solution MM-0004

GuiXT Modified Screen: MM01 final screen


SAPLCLFM.E1101.TXT
Interface is displayed when clicking Create Material button on the initial screen

Input Scripts
MM01_SAVE.TXT
Invoked From:
SAPLCLFM.E1101.TXT
Transaction Code:
MM01 Create Material
When Executed:
Clicking the Create Material button on the initial screen of MM01

Page 9 of 10

GuiXT Solution MM-0004


Script Logic:
It defaults certain SAP fields such as the Purchasing Group. Then it copies the long text entered in the
GuiXT long text section to the SAP long text screen in the Sales Text tab. Finally, it saves the transaction
to create the Material.
Step 1
Default certain SAP fields such as Purchasing value key and pass values from GuiXT fields to SAP fields
such as Mfr part number. Then an Enter is executed to go the Sales Text tab.
Step 2
Default the language to English in the SAP long text section in the Sales Text tab. Then, it changes the
text editor to a table.
Step 3
Scroll the table to copy the long text from the GuiXT long text section to SAPs long text section (Table).
Then, save the text and back out of the long text section to go to the MRP1 tab by executing (Enter
"=SP12").
Step 4
Default certain SAP fields in the MRP1 tab such as the MRP Type and the Lot Size and pass values to
certain SAP fields entered by users in the GuiXT fields such as the Reorder Point. Then, (Enter "=SP13")
is executed to go to MRP2 where SAP fields such as Prod. stor. Location would be defaulted and others
such as Plnd delivery time would be updated with the value entered by the user on the initial screen of
MM01
Step 5
The script continues to do same functionality in step 4 by navigating through the different tabs MRP3,
Work Scheduling View, Plant data /Storage 2 View, Warehouse Mgmt 2 View, Accounting 1 View
and finally to the Classification tab by executing (Enter "=SP03") where the script would save the
transaction to create the material.

Page 10 of 10

Vous aimerez peut-être aussi