Ansicht
Dokumentation

HRAS_T5ASRFSCNSRV - Define Generic Services for Form Scenarios

HRAS_T5ASRFSCNSRV - Define Generic Services for Form Scenarios

General Material Data   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

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.

  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.






Vendor Master (General Section)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 5088 Date: 20240523 Time: 185825     sap01-206 ( 82 ms )