SAP ABAP IMG Activity HRAS_T5ASRFSCNSRV (Define Generic Services for Form Scenarios)
Hierarchy
EA-HRGXX (Software Component) Sub component EA-HRGXX of EA-HR
   PA-AS (Application Component) HR Administrative Services
     PAOC_ASR_CONTROLLER (Package) Controller
IMG Activity
ID HRAS_T5ASRFSCNSRV Define Generic Services for Form Scenarios  
Transaction Code S_PEN_05000119   (empty) 
Created on 20050509    
Customizing Attributes HRAS_T5ASRFSCNSRV   Define Generic Services for Form Scenarios 
Customizing Activity HRAS_T5ASRFSCNSRV   Define Generic Services for Form Scenarios 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name HRAS_T5ASRFSCNSRV    

Use

In this IMG activity, you define the Generic Services that you want to use when creating your form scenarios.

SAP delivers services in the standard system that provide the backend functions/business logic when creating form scenarios. If the functions of the standard services are not sufficient, you can provide additional functions by implementing so-called Generic Services.

The standard services SAP_PA for Personnel Administration infotypes and SAP_PT for Time Management infotypes are currently available. These services have standard functions that are described in more detail in the relevant section of the IMG.

The standard functions primarily include the creation, changing, and deletion of infotypes. The business logic of the relevant infotypes is run through. However, it can happen that you have requirements in your process that are not covered by the standard functions. This could be one of the following, for example:

  • Providing a particular value help that is not available in the standard system
  • Determining default values that do not originate from the business logic of the infotype
  • Executing any additional checks and outputting error messages
  • Calculating values that are to be transferred to the form
  • Writing to additional database tables outside the standard functions

In any of these cases, you have the option of providing these functions by creating a Generic Service.

From a technical point of view, Generic Services are implementations of the enhancement spot HRASR00GENERIC_SERVICES.

  • For simple Generic Services, it suffices to implement the BAdI HRASR00GEN_SERVICE_BASIC using the IMG activity BAdI: Implement Generic Services. Here you also find information on how to create the BAdI implementation. The name of the Generic Services defined here must be used for SERVICEID as the filter value of the implementation.

    Note

    For more information about the individual BAdI methods that you must implement, see the documentation of the interfaces for the BAdI:

  • For more complex Generic Services that include tasks such as authorization check, locks, database accesses, or collision recognition, you must also implement the BAdI HRASR00GEN_SERVICE_ADVANCED using the IMG activity BAdI: Implement Enhanced Generic Services. You must also set the filter value for SERVICEID to the name of the Generic Service. This must correspond to the name that you use when implementing the BAdI HRASR00GEN_SERVICE_BASIC.

Requirements

Standard settings

Activities

  1. Choose New Entries.
  2. Enter a name for the Generic Service and a description.
  3. Save your data.

Note

As Generic Services, from a technical point of view, are the implementation of a (client-independent) enhancement spot, they are available in all clients. For this reason, the Customizing table that is to be maintained in this IMG activity is also client independent. However, the use of Generic Services in form scenarios is naturally client-dependent as the definition of form scenarios is client-dependent.

Use the IMG activity Display Information About Generic Services to display the technical information for Generic Services, such as the supported operations or the required fields.

Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-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 HRAS_T5ASRFSCNSRV 0 AEN0000011 HR Administrative Services 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
V_5ASRFSCNSRV V - View SM30  
History
Last changed by/on SAP  20050616 
SAP Release Created in 600