Ansicht
Dokumentation

GRFN_USERDEFCHECK - Check User Defined Fields

GRFN_USERDEFCHECK - Check User Defined Fields

Vendor Master (General Section)   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

In this Customizing activity, you can use the GRFN_CHECK_CDF report to check for errors for the new user-defined fields. The report checks field definition consistency, and for some issues it can automatically make corrections.

You can execute the report in two modes:

  • Check mode
In this mode, the report only checks the fields for definition consistency.
In the results screen, each line in the table represents one field.
The green icon means there is no problem.
The yellow icon means there is a problem that can be corrected by the report in correction mode.
The red icon means there is a problem that has to be solved manually, usually by adjusting the customer field definition in DDIC or HR setup.
You can choose from the following options, which attributes you want to check:
  • Unique Name

Each user defined field must have a system wide unique name.
Note:The only exception for this rule is for names used for the fields in central and corresponding local entities. In this case, the values from the local entities are copied (assignment by copy) or referenced from local to central entities (assignment by reference). The report marks the fields as Error, with an explanation that it is allowed.
  • Info type for TC03

Info type with Time constraint 3 is used to model the multi value field for HR based entities. It is allowed to define only a single field per info type.
  • Subtypes for Reg.

(For HR based entities only). For fields that are defined with regulation specific values, the corresponding info type has to be assigned to all the relevant Regulation subtype values. This checks the Info type - sub type assignment based on the regulations with the actual subtype assignment.
  • Structure for Multi-Value

This checks the structure of the user defined DDIC table and if the include structure used in the DDIC table has only a single field defined.
  • UI Metadata

This checks if there is corresponding field metadata in the UI configuration table GRFNFLD for each field.
  • Reporting Metadata

This checks if there is corresponding field metadata in the reporting configuration table GRFNREPCOLUMNC for each field.
  • Correction mode
The utility automatically corrects any problems marked as yellow. Most of the corrections are for problems resulting from generation of configuration data for Customizable UI and for Reporting.
Note:These changes must be logged to the Customizing or Workbench requests, so you must have enough the required authorization to execute such tasks and for the transport requests.
You can choose from the following options, which attributes you want to correct:
  • Subtypes for Regulations

  • UI Metadata

In order to customize Flexible UI, each field on the screen has to have a record in the table GRFNFLD. This correction automatically generates the customizing entries for all the fields defined for all the entities. The changes are generated into the provided customizing request.
  • Reporting Metadata

In order to add user defined fields to the reports, each field must be maintained in the table GRFNREPCOLUMNC. This correction automatically generates the customizing entries for all the fields defined for all the entities. The changes are generated into provided customizing request.

To execute the report:

  1. In the Programfield, enter GRFN_CHECK_CDF.
  2. Choose Execute.
  3. Select the required execution mode and attributes to be checked.
  4. Choose Execute.






Vendor Master (General Section)   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.

Length: 4790 Date: 20240523 Time: 194357     sap01-206 ( 69 ms )