guixt solution mm-0015 guixt solution mm-0015 page 1 of 22 so a solution # mm-0015 version # 1.0.0.2...

22
GuiXT Solution MM-0015 Page 1 of 22 A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N, CS14 Short Description PRE – WORK IN PROGRESS ADJUST PROCESS Date Created 04/14/2009 Created by Synactive, Inc

Upload: doannga

Post on 07-Sep-2018

234 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 1 of 22

So A

Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N, CS14 Short Description PRE – WORK IN PROGRESS ADJUST PROCESS Date Created 04/14/2009 Created by Synactive, Inc

Page 2: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 2 of 22

TABLE OF CONTENTS GuiXT Development Business Rules ................................................................... 4 General Script Naming Convention ..................................................................... 5

GuiXT Scripts ...................................................................................................................... 5 Input Scripts ......................................................................................................................... 5

General Variable Naming Convention ................................................................. 6 GuiXT Development Scripts Listing ................................................................... 7

GuiXT Scripts ...................................................................................................................... 7 SAPLCOKO1.E0100.TXT ....................................................................................................................... 7 SAPLSLVC_FULLSCREEN.E0500.TXT............................................................................................... 7 SAPMC29V.E0115.TXT.......................................................................................................................... 7 ZGUIXT.E2000.TXT ............................................................................................................................... 7 ZGUIXT.E2010.TXT ............................................................................................................................... 7 ZGUIXT.E2020.TXT ............................................................................................................................... 7 TABLE_BOMCOMPARE.TXT .............................................................................................................. 8

Input Scripts ......................................................................................................................... 8 CO01_CREATE_RWPO.TXT................................................................................................................. 8 CO01_READMASTERDATA.TXT........................................................................................................ 8 CO01_RESET.TXT.................................................................................................................................. 8 CO01_SEARCHSID.TXT........................................................................................................................ 8 CO02_UPDATECMPNT.TXT ................................................................................................................ 8 CO03_CMPNTOVERVIEW.TXT........................................................................................................... 9 IB03_CMPNTOVERVIEW.TXT............................................................................................................. 9 IQ09_SEARCH.TXT................................................................................................................................ 9 SETBOM_FILTER.TXT.......................................................................................................................... 9 CS14_COMPARISON.TXT .................................................................................................................... 9 CS14_OPTION.TXT ................................................................................................................................ 9 CS14_TABLE.TXT................................................................................................................................ 10 SET_ALL_BTNS.TXT........................................................................................................................... 10 ZGUIXT_SYS_DISPCHG.TXT ............................................................................................................ 10 IQ09_TO_CO01.TXT............................................................................................................................. 10 CS14_BOM_FILTER_RESET.TXT...................................................................................................... 10 GUIXT_VIEW.TXT............................................................................................................................... 10

Scripts Process Flow........................................................................................... 11 GuiXT Modified Screen: CO01 initial screen .................................................................... 11

SAPLCOKO1.E0100.TXT ..................................................................................................................... 11 Input Scripts ........................................................................................................................ 11

CO01_CREATE_RWPO.TXT............................................................................................................... 11 Input Scripts ........................................................................................................................ 13

CO01_READMASTERDATA.TXT...................................................................................................... 13

Page 3: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 3 of 22

GuiXT Modified Screen: CS14 initial screen ..................................................................... 15 SAPMC29V.E0115.TXT........................................................................................................................ 15

Input Scripts ........................................................................................................................ 15 CS14_COMPARISON.TXT .................................................................................................................. 15

GuiXT Modified Screen: ZGUIXT_SYS Main Launchpad............................................... 18 TABLE_BOMCOMPARE.TXT ............................................................................................................ 18

Input Scripts ........................................................................................................................ 18 CO02_UPDATECMPNT.TXT .............................................................................................................. 18

GuiXT Modified Screen: IQ09 Search Screen ................................................................... 20 SAPLSLVC_FULLSCREEN.E0500.TXT............................................................................................. 20

Input Scripts ........................................................................................................................ 20 IQ09_TO_CO01.TXT............................................................................................................................. 20

Page 4: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 4 of 22

GuiXT Development Business Rules Below are the rules taken into consideration for GuiXT Customized Screens.

1. GuiXT Customized Screens are ONLY displayed if a. Screen Display variable is prewip

i. V[Display=prewip]

Page 5: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 5 of 22

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: SAPLIQS0.E7200.TXT SAPLIQS0 ABAP Program Name E 1 Character Language Key

7200 Screen Number .TXT File Extension (Text Files)

Note: Include scripts when used as GuiXT scripts can be given any name with .TXT file extension. 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: IQ09_SEARCH.TXT) TCODE Transaction Code for which the script refers to (Example: CO01 for create) PURPOSE Action that is performed by the input script (Example: Search for search of serial numbers)

Page 6: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 6 of 22

General Variable Naming Convention For all variables following naming convention is used Note: Variable Names are CASE SENSITIVE z_tcode_field z Used as variable prefix

tcode Lower Case Transaction Code for which the variable refers to (Example: co03 for display, co01 for create) field Lower Case field name referring to SAP field (Example: foperation for First Operation Number) Z_CS14_PRIMGLIST Reset variable indicate the list for primary bom is complete

Page 7: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 7 of 22

GuiXT Development Scripts Listing GuiXT Scripts SAPLCOKO1.E0100.TXT Purpose: CO01 – Create Production Order Detail Screen, main screen on which GuiXT interface is designed for creating a production order in which adjustments to the surgery robots are made during work in progress of an actual production order or pre-work in progress based on a simulated production order . The screen is displayed based on the rules as outlined in the rules section of this document. SAPLSLVC_FULLSCREEN.E0500.TXT Purpose: IQ09 Search– Main screen on which user selects the material and serial number to compare against the material number in production order. This screen is reached after user enters criteria for equipment search and hit execute button. SAPMC29V.E0115.TXT Purpose: CS14 Detail Screen, main screen on which GuiXT interface is designed for bill of materials comparison between production orders, materials and equipment. A comparison criteria section also exists on the screen to filter the BOM list based on the selected criteria. The screen is displayed based on the rules as outlined in the rules section of this document. ZGUIXT.E2000.TXT Purpose: Main Launch pad, main screen on which GuiXT interface is designed for mass processing of production orders, creating adjustment units for actual and simulated production orders, create, change and display production orders and confirming them, configuring assemblies, goods issue, goods receipt and goods cancel transactions. The screen is displayed based on the rules as outlined in the rules section of this document. ZGUIXT.E2010.TXT Purpose: A sub level menu for pre-wip process, main screen on which GuiXT interface is designed for creating a production order, rework that production order, update and display component list in bill of material. The screen is displayed based on the rules as outlined in the rules section of this document. ZGUIXT.E2020.TXT Purpose: A sub level menu for wip adjust process, main screen on which GuiXT interface is designed to determine the status of the goods movement of the production order and take required actions depending on this status. Five layouts are displayed on the screen depending on the statuses which are; Prewip adjust process, wip adjust process, completion of goods movement, completion of production order technically and revoke technically complete order. The screen is displayed based on the rules as outlined in the rules section of this document.

Page 8: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 8 of 22

TABLE_BOMCOMPARE.TXT Purpose: Main screen on which GuiXT interface is designed to display a custom table on the screen which certain input fields to hold the BOM comparison values that is displayed when user clicks on the “Update Component” button on the screen such as object id, object description, quantity and unit of measure along with the indicator whether a part should be excluded from the list during the rework of a production order or not. Input Scripts CO01_CREATE_RWPO.TXT Purpose: CO01 Production Order create. Script creates a rework production order with the entered material after going through several checks as serial number and quantity check to compare the entered material with the material that is chosen to rework into. Invoked From: SAPLCOKO1.E0100.TXT CO01_READMASTERDATA.TXT Purpose: CO01 Master Data population. Retrieves the data from MM03 and CO01 simulated for default values and revision level and production level. Invoked From: SAPLCOKO1.E0100.TXT CO01_RESET.TXT Purpose: Script resets all values in CO01 transaction and makes a function call to retrieve the default plant set for the user in SU01 transaction. Invoked From: SAPLCOKO1.E0100.TXT CO01_SEARCHSID.TXT Purpose: CO01 Search System ID. Script navigates to the production order information system to search for material, production plant, order type, priority and sequence number. Invoked From: SAPLCOKO1.E0100.TXT CO02_UPDATECMPNT.TXT Purpose: CO02 – Component Update. Script updates component list for pre-wip production order in change mode of production order depending on the user selection of retain-remove-omit decisions for components. Invoked From: TABLE_BOMCOMPARE.TXT

Page 9: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 9 of 22

CO03_CMPNTOVERVIEW.TXT Purpose:CO03 Component Overview. Navigates to co03 and displays the components that exist in the production order for bill of materials comparison. The script runs only for the primary BOM category “production” Invoked From: TABLE_BOMCOMPARE.TXT IB03_CMPNTOVERVIEW.TXT Purpose: IB03 Component Overview. Navigates to ib03 and displays the equipment BOM for bill of materials comparison. The script runs only for the primary BOM category “equipment” Invoked From: TABLE_BOMCOMPARE.TXT IQ09_SEARCH.TXT Purpose: CO01 Screen Selection. Changes the global variable “V[display]” based on the order status. The reasoning behind this set; is to display the correct layout in CO01 after the user selects the equipment in IQ09 to compare in the BOM list for prewip process. Invoked From: ZGUIXT.E2010.TXT, ZGUIXT.E2020.TXT SETBOM_FILTER.TXT Purpose: CS14 BOM comparison. Script uses a parameter to set the value of it to a global variable to check whether user would like to enter the criteria to filter the BOM selection or not. Invoked From: SAPMC29V.E0115.TXT CS14_COMPARISON.TXT Purpose: CS14 BOM Compare. Gathers initial data from cs14 transaction initial screen, and then processes IB03 – equipment BOM and CO01 – simulated production order and CO03 display production order. Script combines all the list together and sort by the criteria if user selects any in CS14 initial screen. Simulated production order is created in order to get the material BOM. After material BOM data is captured, simulated order gets canceled. Invoked From: SAPMC29V.E0115.TXT CS14_OPTION.TXT Purpose: TABLE_BOMCOMPARE Retain-Remove-Omit. Depending on the action that user selects among retaining, removing or omitting the components in the BOM list, it sets the selected action to a global variable which indicates the index for the selected line item to reference in updating of the components. The script also resets the global variable that is used to set the selected action to all line items per page if top select buttons are used. Invoked From: TABLE_BOMCOMPARE.TXT

Page 10: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 10 of 22

CS14_TABLE.TXT Purpose: TABLE_BOMCOMPARE Scroll. Script scrolls through the custom table created to display BOM list in CS14 transaction. Invoked From: TABLE_BOMCOMPARE.TXT SET_ALL_BTNS.TXT Purpose: TABLE_BOMCOMPARE Mass Selection. Script sets the selected option to all the line items per page on click of the top select buttons. Invoked From: TABLE_BOMCOMPARE.TXT ZGUIXT_SYS_DISPCHG.TXT Purpose: ZGUIXT Screen Selection. Script sets the correct layout depending on the action user does on BOM comparison, main launch pad and quality management screens. Depending on the layout to be shown, order status gets refreshed. Invoked From: ZGUIXT.E2000.TXT, ZGUIXT.E2010.TXT, ZGUIXT.E2020.TXT IQ09_TO_CO01.TXT Purpose: IQ09 Equipment Selection. Script reads the equipment, material and serial number from IQ09 and navigates back to transaction CO01. The material that is being read is the rework material and script uses this material to create rework production order. Invoked From: SAPLSLVC_FULLSCREEN.E0500.TXT CS14_BOM_FILTER_RESET.TXT Purpose: CS14 Reset filter. Script resets all the filter criteria for BOM comparison that is set by the user and removes the criteria selection section from the screen. Invoked From: SAPMC29V.E0115.TXT GUIXT_VIEW.TXT Purpose: CS14 Toggle. Script enables to toggle between native SAP view and GuiXT view by the usage of a parameter that is set in below guixt scripts. Invoked From: SAPMC29V.E0115.TXT, SAPLCOKO1.E0100.TXT

Page 11: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Scripts Process Flow GuiXT Modified Screen: CO01 initial screen SAPLCOKO1.E0100.TXT Interface is displayed when user hits Enter on search screen for serial numbers.

Input Scripts CO01_CREATE_RWPO.TXT Invoked From: SAPLCOKO1.E0100.TXT Transaction Code: CO01 – Create Production Order

Page 11 of 22

Page 12: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 12 of 22

When Executed: User click on “Save” button Script Logic: Script creates a production order with the entered material after going through several checks as serial number and quantity check. Depending on the material whether created in batches or in serial numbers, script determines the required navigation path. After the first operation has been released, the reworked material is entered in the components section and production order is saved. After production order is saved, bill of materials list screen is displayed which compares BOM’s between equipment, production order and material that has been chosen from the serial number list. Step 1 Reads the material number that user enters to compare the BOM list of it with the production order that is created out of the reworked material. Sets quantity, priority and navigates to assign sequence number. Step 2 If the material is managed through batches, it assigns a batch number else it sets the production planning master data and production long text (Enter “=TEXT”) Step 3 If the material needs to be serialized, then automatic serial number generation is done. (Enter “=SERA”) and process continues to operation screen. Step 4 The first operation gets released and script reaches components screen (Enter “/6”) to scroll through the components and enter the reworked material in the components. Requirement quantity is defaulted to 1 and Item category is defaulted to L. Table scrolling logic is implemented for this process. Step 5 The production order is saved, layout is set to prewip (V[display] “prewip”) and script navigates to cs14 (BOM comparison) and determines the primary and secondary category for BOM’s by checking the existence of material and equipment. If equipment field is not displayed on the screen, then equipment becomes the primary BOM category. If material field is not displayed on the screen, material becomes the secondary BOM category. Step 6 Script finally sets the values for equipment, plant, usage, material and refreshes the screen.

Page 13: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 13 of 22

Input Scripts CO01_READMASTERDATA.TXT Invoked From: SAPLCOKO1.E0100.TXT Transaction Code: CO01 – Create Production Order When Executed: User clicks on icon next to the material field on the screen Script Logic: Script retrieves the data from material display for the material entered in, and from CO01 simulated order for default values, revision level and production level and display the default data on the CO01 screen to create the rework production order. To get the production version overview data, script creates a simulated production order but it does not save the order. Step1 Reads the general production data such as

1- Production plant 2- Material 3- Planning plant 4- Order type 5- BOM explosion date 6- Revision level 7- Production level

Step 2 If there is no master data for plant and material, user is asked to enter a plant and material. Process continues with display of material. After material is entered and work scheduling view is selected (Table scrolling for the view), plant is entered on the pop up (Screen SAPLMGMM.0070) Step 3 In the material details screen, revision level is read for the material. If material is batch managed, the batch indicator is set to be used in the creation of production order. Step 4 Based on the value of production scheduler, corresponding order type is set to be able to navigate into production order information system to search for sequence number.

Page 14: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 14 of 22

Step 5 Material description is read and if production version exists, script navigates to revision level to get the information. (Enter "=RLVA"). Depending on the material that is looked into, different screen numbers can be reached due to the material type. Therefore RLVA function code in the script has been coded twice to handle both scenarios. If there is no product version, then process ends. Step 6 Script navigates to production version overview in co01. With table scroll logic, the corresponding information for version number is stored. Using the same logic, script navigates to material display and stores the material revision information. Any pop up after this process is skipped through a looping structure. (Label HANDLE_POPUP1). Script reads the production planning master data and displays it to the user.

Page 15: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015 GuiXT Modified Screen: CS14 initial screen SAPMC29V.E0115.TXT Interface is displayed when rework production order is saved.

Input Scripts CS14_COMPARISON.TXT Invoked From: SAPMC29V.E0115.TXT Transaction Code: CS14 – BOM Comparison

Page 15 of 22

Page 16: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 16 of 22

When Executed: user hits “Compare BOM’s” button on the screen Script Logic: Based on the primary and secondary item categories for BOM comparison, script gets the related info such as equipment number, plant, usage and valid date from the screen and depending on the primary item category, navigates to the corresponding transaction to read the data from for the related BOM category. If the primary item category is the production order, script navigates to display production order and reads the components but depending on the attributes of those components, it determines whether to read he component or not. Same kind of BOM component exclusion happens for equipment and material also. Step 1 Primary BOM category is determined by checking against below variable. If V[z_cs14_primcat=equnr] If V[z_cs14_primcat=matnr] if V[z_cs14_primcat=prodo] and depending on the BOM category, determines which transaction to navigate by checking labels. if V[z_cs14_primcat=prodo] set V[z_cs14_curitm] "primary" //set current item to process to primary Enter "/nco03" //Enter transaction Co03 to read the component list goto read_production_order //goto the label read_production_order to process the component list endif Label read_producton_order Step 2 If the primary BOM category is production order, script navigates to production order, copies the primary order number goes through several checks to see if the order is closed or technically completed (C[CLSD] or C[TECO]) and navigates to components. Script removes any filers in the components table and sorts the orders. (Enter "=FIBO" and Enter "=SOBO") Step 3 Table scrolling logic is used to scroll through the components. If a material has item category “N” or if it is a bulk material or if it is a bulk but bulk selection is not entered as a filter criteria in BOM selection, then it is skipped in the read and not added to the BOM list. Step 4 If user has not selected any of the BOM filtering criteria, script directly read the component information as primary BOM or secondary BOM category. (goto skip_bom_filter_1 and label skip_bom_filter_1). If criteria is selected then, script navigates to material details (Enter "/2") and looks for the validity of selection criteria in the material views.

Page 17: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 17 of 22

Step 5 The production order is saved, layout is set to prewip (V[display] “prewip”) and script navigates to cs14 (BOM comparison) and determines the primary and secondary category for BOM’s by checking the existence of material and equipment. If equipment field is not displayed on the screen, then equipment becomes the primary BOM category. If material field is not displayed on the screen, material becomes the secondary BOM category. The same logic for checking on filtering criteria, applies if the primary BOM category is material or equipment. For material, a simulated production order gets created but not saved in order to get the component list. Step 6 At the end of the script, script compares the components in the primary BOM category and secondary BOM category. (Check labels: compare_next_primary_item and compare_next_secondary_item). The components in both BOM lists are compared. If the components match and the quantities are the same, then the component is omitted. If the components do not match and the component is not on the secondary (compared against) BOM category list, then the component is to be removed from the BOM list. If components do not match and the component is not on primary BOM category list, then component is retained.

Page 18: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015 GuiXT Modified Screen: ZGUIXT_SYS Main Launchpad TABLE_BOMCOMPARE.TXT Interface is displayed when cs14_comparison.txt input script gets executed.

Input Scripts CO02_UPDATECMPNT.TXT Invoked From: TABLE_BOMCOMPARE.TXT Transaction Code: ZGUIXT_SYS – Main Launch pad

Page 18 of 22

Page 19: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 19 of 22

When Executed: User hits “Update Component List” button on the screen Script Logic: Script updates the components for pre-wip production order in change mode of production order that is entered on the screen by the user depending on the user selection of retain-remove-omit decisions for components that are compared in BOM list screen between the equipments or materials. If certain statuses are checked in order such as technically complete or closed, then, no change is allowed in the order. Otherwise, process releases the first operation and based on the material type and item category, it sets the user selection which determines whether a component in the BOM list should be retained, removed or omitted by modifying the quantities of that particular component. If a component is omitted then, that component gets deleted from the components in production order. Step 1 Script navigates to change mode of production order that user enters. Checks whether the order is technically complete or closed. If order is in one of these stages, it returns an error to the user. Return "E: No Change allowed to Production Order &V[z_co01_copyorder]" "-statusline" If order status is fine, then script navigates to operations. Step 2 Script selects the first operation and if operation is not released, it releases the operation. (Enter "=VGFR"). After releasing the operation, script navigates to components, and removes any filters on the components table (Enter "=FIBO") and executes a sort. (Enter "=SOBO") Step 3 It reads the components one by one and selects the ones that the item category is not N and that are not bulk and phantom. If a component is found in the components table, script checks whether the current component matches with the one in the BOM list. If the component matches, the script determines what to do with the quantity of the component depending on the user selection of retain, remove and omit. If the selection is retain, nothing is done. If the selection is “remove”, quantity becomes negative, if the selection is “omit”, the component is deleted. If no component is found in components table that match the material attributes, then component from the BOM list is added to the components table with the required quantity from the primary of secondary BOM category list and updated due to the current selection of the options. Step 4 If the selection for the component that does not exist in the table is “omit”, the component is first added, the operation/sequence allocation is done and then the component gets deleted. (Check - label link_operation) Step 5 Production order is saved and updated BOM list is displayed to the user.

Page 20: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015 GuiXT Modified Screen: IQ09 Search Screen SAPLSLVC_FULLSCREEN.E0500.TXT Interface is displayed when user hits F8 on IQ09 criteria selection screen.

Input Scripts IQ09_TO_CO01.TXT Invoked From: SAPLSLVC_FULLSCREEN.E0500.TXT Transaction Code: IQ09 – Search Equipment When Executed: User hits “Select this Material and Serial Number” button on toolbar.

Page 20 of 22

Page 21: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 21 of 22

Script Logic: During the process, script navigates to the detail screen for the selected equipment and reads equipment info and material to be reworked along with the base serial number and display them in the production order create screen. It also gets the plant defined for the user by calling a function module. At the end of the process, script displays the material entry pop up to the user to enter the material for which will be used to compare BOM’s in CS14 transaction of the created production order and the material entered in CO01 Step 1 Script navigates to the details for the equipment selected in search screen Enter "/37" Step 2 It reads the equipment, material number and serial number to display on production create screen (CO01 transaction) and navigates to CO01. Step 3 Script makes a function call at this point sending the current username as the import parameter to “BAPI_USER_GET_DETAIL” standard function module to get the default plant for the user. To get the plant, script uses a loop logic created by goto – label structure. Before going into this structure, it checks if the query that is requested from the FM is valid or not. if not Q[ok] //Reset Parameter Set V[param_id] //Reset variable Leave //Exit loop Endif If query is not ok, it resets the V[param_id] global variable which holds the value of the parameters in user table and exits the loop. Step 4 If query is fine, script scrolls through the user table until it finds the “WRK” parameter id which stands for plant and gets the corresponding plant description and navigates to the end of the loop set V[param_val] "&V[uplant](19-33)" goto end ---- label end Step 5 In CO01, it sets the values read from the detail screen in IQ09 for equipment and opens a pop up in the material field for user to enter the material for BOM comparison with the reworked material.

Page 22: GuiXT Solution MM-0015 GuiXT Solution MM-0015 Page 1 of 22 So A Solution # MM-0015 Version # 1.0.0.2 Functional Area MATERIAL MANAGEMENT UI Platform DS Transactions CO01, CO02, CO11N,

GuiXT Solution MM-0015

Page 22 of 22