SAP ABAP IMG Activity EHS_MD_135_04 (Extend Entry in Secondary Data Determination)
Hierarchy
EA-APPL (Software Component) SAP Enterprise Extension PLM, SCM, Financials
   EHS-SAF (Application Component) Product Safety
     CBUI (Package) Company Environment Information System
IMG Activity
ID EHS_MD_135_04 Extend Entry in Secondary Data Determination  
Transaction Code S_SH8_72000991   IMG Activity: EHS_MD_135_04 
Created on 20001013    
Customizing Attributes EHS_MD_135_04   Extend Entry in Secondary Data Determination 
Customizing Activity    
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name EHS_MD_135_04    

Use

In this IMG activity, you create the entries for secondary data determination in user exit management that are required for the EH&S Expert.

Note:

If you want to use EH&S Native Language Support (EH&S NLS) to determine secondary data, you must set the MULTI_CODEPAGE_SUPPORT environment parameter in the IMG activity Specify Environment Parameters.

For more information, see:

  • The IMG activity Specify Environment Parameters
  • The IMG activity Set Up EH&S Native Language Support
  • The section EH&S Native Language Support in the Basic Data and Tools documentation

Standard settings

The following reference modules are delivered with default settings for individual parameters:

  • C1E5_SUB_EXPERT_EVALUATE
  • C1R3_SUB_EXPERT_EVALUATE

Note:

To use the parameter EXPERT_PERFORM_DIFF_FLG, you must choose the reference module C1R3_SUB_EXPERT_EVALUATE. This allows you to compare the results of an EH&S Expert run before the output values are stored.

Activities

  1. In Customizing for Basic Data and Tools, call the IMG activity Manage User Exits.
  2. Create a new user exit of the user exit category SUB_SEDACA. To do so, use the reference modules as a copy template.
  3. Choose Parameters and Values. The following environment parameters must be set up for the reference modules C1E5_SUB_EXPERT_EVALUATE and C1R3_SUB_EXPERT_EVALUATE:
    • EXPERT_COMMIT_MODE
    • Specifies the backup mode for secondary data determination by the EH&S Expert.
      If you enter the value I, the SAP system creates the new data records that were determined by the EH&S Expert without changing other data records.
      If you enter the value D, the SAP system deletes all the existing data records and creates the newly determined data. If the EXPERT_RES_BY_SRSID_OWNID_FLG parameter is set, then only those data records are deleted that were determined during previous runs of the EH&S Expert. Using the data origin (parameter EXPERT_WRITE_SOURCE_ID) and the data provider (parameter EXPERT_WRITE_OWNER), the SAP system recognizes which data was determined previously by the EH&S Expert.
      Note:

You can determine the address number of the data provider in Customizing for Basic Data and Tools in the IMG activity Specify Authorization Groups. To do this, call the input help for the Data prov. field in the IMG activity. You will find the value you require in the Addr. no. field. The address number is not displayed in address management in the Product Safety component.

If you enter the value C, the SAP system resets the active indicator for the newest of the data records and deletes all other existing ones. The number of data records to be deactivated can be derived from the parameter EXPERT_NUM_OF_DEACT_VALUATION. The data records that were newly determined by the EH&S Expert are also created. If the EXPERT_RES_BY_SRSID_OWNID_FLG parameter is set, then only those data records are deleted that were determined during previous runs of the EH&S Expert. This helps you prevent data records from being deleted inadvertently. The SAP system uses the data origin (parameter EXPERT_WRITE_SOURCE_ID) and the data provider (parameter EXPERT_WRITE_OWNER) to recognize which data was determined previously by the EH&S Expert.
If you enter the value R, the SAP system deletes all the existing data records for which new data values were determined and creates the newly determined data. Header data for specifications with the exception of the identifiers is not deleted in this mode.
If the EXPERT_RES_BY_SRSID_OWNID_FLG parameter is set, then only those data records are deleted that were determined during previous runs of the EH&S Expert. Using the data origin (parameter EXPERT_WRITE_SOURCE_ID) and the data provider (parameter EXPERT_WRITE_OWNER), the SAP system recognizes which data was determined previously by the EH&S Expert.
  • EXPERT_DESTINATION
  • Matches the name of the RFC destination that is entered under Tools -> Administration -> Administration -> Network -> RFC Destinations (transaction SM59) (see Set Up RFC Destination).
  • EXPERT_READ_RATING and EXPERT_READ_VALIDITY_AREA
  • Determine the rating and validity area for which the data is transferred from the SAP system to the EH&S Expert.
  • EXPERT_WRITE_RATING and EXPERT_WRITE_VALIDITY_AREA
  • Determine the rating and validity area with which the data determined is stored in the SAP system. In the EH&S Expert set of rules you can also specifically define a different rating and validity area that are used when storing data in the system.
  • EXPERT_READ_USAGE_1...n and EXPERT_WRITE_USAGE_1...n
  • Note
    In addition to the two previous parameter pairs, you can use the following parameters.
    You can specify any number of usages in the format VACLID/RVLID/EXCLFLG (rating/validity/exclusion indicator). The numbering of the parameters must start with 1 and must be consecutive.
    Examples
    EXPERT_READ_USAGE_1:PUBLIC/REG_EU
    EXPERT_READ_USAGE_2:PUBLIC/DE/X
    In this example, the system reads all data records that are valid in the EU but not in Germany.
    EXPERT_WRITE_USAGE_1:PUBLIC/REG_EU
    EXPERT_WRITE_USAGE_2:PUBLIC/US
    In this example, the system writes all data records that are valid both for the EU and for the United States.
  • EXPERT_WRITE_SOURCE_ID
  • Data origin that must be created in the IMG activity Specify Data Origin. If no data origin is created, the system issues an error.
  • EXPERT_RULE_SET
  • Set of rules according to which the data is determined.

    The following environment parameters can be set up for the reference module C1E5_SUB_EXPERT_EVALUATE:

  • DOCUMENTATION
  • In the specification workbench, you can display the documentation for a set of rules from the Determine Secondary Data dialog box. If documentation exists for a set of rules, an Information pushbutton is displayed beside the rule set. If you want to store documentation for a set of rules, specify the file name and path (in the company network) of the relevant documentation in the environment parameters.
  • EXPERT_COMMIT_FLG
  • If you set this indicator to X, the system calls the update function specified in the parameter EXPERT_COMMIT_FUNCTION after the calculation is finished on the Expert server.
    If you do not set this indicator, the EH&S Expert server calls the update function directly. In a productive system, we recommend that you set the indicator so that the Expert server is available again more quickly for other parallel calls. During development and testing it may be useful to not set the indicator, so that error messages from the update function are logged in the log files and so you have the option of displaying the runtime of the update function on the console or in the event display.
  • EXPERT_COMMIT_FUNCTION
  • Update function, for example, C1E5_SUB_EXPERT_DATA_CHANGE that writes the data to the SAP system. The interface must match the update function C1E5_SUB_EXPERT_DATA_CHANGE supplied with the system. This allows you to modify the standard updating.
  • EXPERT_NUM_OF_DEACT_VALUATION
  • Determines the number of data records that are not deleted for save mode C, but are set to inactive.
  • EXPERT_PARAMETER_CHANGE_MODE
  • If you enter the value S (default), the SAP system displays the Determine Secondary Data dialog box in display mode when starting secondary data determination using the EH&S Expert.
    If you enter the value E, you can revise the environment parameters in the Determine Secondary Data dialog box when starting secondary data determination using the EH&S Expert. The environment parameters set in Customizing are displayed as default values.
    If you enter the value H, the SAP system does not display the Determine Secondary Data dialog box when starting secondary data determination using the EH&S Expert.
  • EXPERT_RES_BY_SRSID_OWNID_FLG
  • Set this indicator if in backup modes C or D only data is to be deleted by the EH&S Expert that was determined during previous runs of the EH&S Expert.
    Caution:
    If you do not set this indicator, data that has also been entered manually or imported can be deleted in backup mode C or D by the EH&S Expert during secondary data determination.
  • EXPERT_WRITE_OWNER
  • Data provider that you must have created in the SAP component Product Safety under Tools -> Addresses -> Edit Data Providers. The data provider must always be entered with 10 digits.
    If you
Business Attributes
ASAP Roadmap ID 201   Make global settings 
Mandatory / Optional 1   Mandatory activity 
Critical / Non-Critical 1   Critical 
Country-Dependency A   Valid for all countries 
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG EHS_MD_135_04 0 ALR0000065 Tools 
Maintenance Objects
Maintenance object type    
History
Last changed by/on SAP  20010320 
SAP Release Created in