Ansicht
Dokumentation

PYC_SP46_CHECKTYPE - Define Additional Check Type Level Input Parameters with Values

PYC_SP46_CHECKTYPE - Define Additional Check Type Level Input Parameters with Values

General Material Data   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

With the delivery of process context support and simplified configuration, check types' input parameters are limited to Process ID (PYP_PROC) and Process Instance ID (PYP_PROC_INST). This customizing activity is introduced to increase the reusability of the check type run time class.

If you want to create reusable check type run time classes and support simplified configuration with process context, you can use this Customizing activity to define additional check type (validation rule) level input parameters with values.

  • You have defined check types that supports simplified configuration in the Customizing activity Define Check Types.
Check types that supports simplified configuration have only the following two input parameters
  • Process ID (PYP_PROC)

  • Process Instance ID (PYP_PROC_INST)

This is a customizing table maintained by customers only.

  1. Create check type supporting simplified configuration (with only Process ID (PYP_PROC) and Process Instance ID (PYP_PROC_INST) as input parameters).
Example:
  • ZPYD_SAMPLE_MAIN_BANK_EXISTS

Check if main bank (Infotype '0009' subtype '0') exists
  • ZPYD_SAMPLE_BASIC_PAY_EXISTS

Check if basic pay (Infotype '0008' subtype '0') exists
  1. Maintain additional check type level input parameters with values.
Example:
  • ZPYD_SAMPLE_MAIN_BANK_EXISTS

-,,ZINFTY ,,= 0009
-,,ZSUBTY ,,= 0
  • ZPYD_SAMPLE_BASIC_PAY_EXISTS

-,,ZINFTY ,,= 0008
-,,ZSUBTY ,,= 0
  1. Both check types use the same run time class with dynamic logic for input parameter ZINFTY and ZSUBTY. The additional parameters and values are accessible in the result context's (IO_RES_CONTEXT) attribute "result parameter list" (MT_PAR).






Addresses (Business Address Services)   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 2696 Date: 20240523 Time: 201503     sap01-206 ( 34 ms )