Ansicht
Dokumentation

EHS_WB_001 - Set Up Workbench

EHS_WB_001 - Set Up Workbench

General Material Data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

In the SAP product safety, dangerous goods and global label management components and Recipe Management (PLM-RM) there are workbenches available. In these you can display and edit specifications of different specification categories and other objects, such as materials, via one central interface. In this IMG activity you make the settings for the workbenches and specify which objects are available to you in the various workbenches.

Check the default settings and adapt them to your requirements if necessary as follows:

  1. Under Object Types, check whether all object types exist that you require and create other object types if you need them. Note here that you generally require two object types for an object of a certain type:
  • An object type for the node in the workbench via which a search screen or information system is called and under which the objects of the object type are arranged

  • An object type for the object itself

Example:
For substances, the object types INFO_SUB for the node and SUBSTANCE for the substance are supplied.
  1. Assign each new object type a call type, a provider, and an icon if you require one to be displayed in the workbench. Note the following:
  • Only the call type Global Class is currently supported.

  • The entries for specifications of all specification categories are shipped with the standard system. Here, the class CL_RMSA_WBO_SPEC is used as the provider for the object types of the specifications. This has the effect that you are taken to the header data screen when you choose a specification by double-clicking in the navigation or detail area. You can use this class only for specifications and not for other objects.

  • For other objects you must generally create two classes and assign them to the object types as providers:

- A class that implements the interface IF_RMWB_WBO and allows you to search for, select, and transfer the required objects to the navigation area of the workbench. You assign this class to the object type for the node of the object.
- A class that allows the objects to be edited. For this, you can use the class CL_RMWB_WBO_DTEL, which when double-clicked calls the transaction you assign to the data element and object type in this IMG activity under Data Element Assignment. You assign the class to the object type for the object.
  1. If you require other workbenches in addition to those in the standard system, create a service group for each new workbench under Service Groups.
  2. Under Assignments, assign the object types to the service groups that were defined for the nodes in step 1. So that you can enter the global parameters Key Data and Change Number in the workbench, the service group must also be assigned an object type to which the provider CL_RMSA_GLOBPARAM is assigned. In the standard system this is the object type EHS_GP.
Set the Active indicator for each object type you want to be taken into account in the workbench. Using the sequence number, specify the order in which you want the nodes to appear in the workbench.
  1. Under Transaction Assignment, assign transactions to the service groups. If you want to use your own transaction here, it must execute the program RMWBP00.
  2. In the workbench you can transfer objects from the hit list to the navigation area using drag and drop, and assign objects from the navigation area to specific fields in the application area using drag and drop. To do this, enter the data elements for the objects under Data Element Assignment and assign the object types to them.
Example:
In order to be able to transfer substances from the hit list to the Substance node using drag and drop, you must assign the object type SUBSTANCE to the data element ESESUBST.
  1. If required, assign a transaction code to the data element and object type. The transaction is called when you call the object in the navigation or detail area and you have assigned the class CL_RMWB_WBO_DTEL to the object type as the provider (see step 2).

You want to set up a workbench that contains a node for the new object type EXAMPLE. A double-click on this node should open a search screen for objects of this object type. You want to arrange the objects found by the search beneath the node and edit them by double-clicking. Proceed as follows to set up these requirements:

  1. Create the following object types:
  • EXPL_INFO for the nodes in the workbench

  • EXAMPLE for the objects

  1. Create a class for the object type EXPL_INFO that contains the interface IF_RMWB_WBO and is called via the search screen.
  2. For the object type EXPL_INFO, specify the call type, an icon, and the created class as the provider.
  3. For the object type EXAMPLE, specify the call type Global Class, an icon, and the class CL_RMWB_WBO_DTEL as the provider.
  4. Create a service group for your workbench, assign it the object type EXPL_INFO under Assignments in the Service ID field, and set the Act. indicator.
  5. Create a transaction and specify it under Transaction Assignment together with the created service group.
  6. Under Data Element Assignment, create an entry that contains the data element for the object, the object type EXAMPLE, and the transaction code for editing the object EXAMPLE.





CPI1466 during Backup   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 6816 Date: 20240523 Time: 210814     sap01-206 ( 132 ms )