Ansicht
Dokumentation

OHIC0530 - Standard Fields

OHIC0530 - Standard Fields

BAL Application Log Documentation   CPI1466 during Backup  
This documentation is copyright by SAP AG.
SAP E-Book

In this step, you define the settings that enable you to output infotype data in the HR master data sheet. The infotype fields can contain data from the SAP standard infotypes or from customer-specific infotypes.

You determine which infotype fields you directly display, that is:

  • You enter the field names and the contents of the corresponding fields are directly transferred.
You control the format of the field contents using the type information stored in the ABAP Dictionary.
The system uses the ABAP Dictionary to determine further data, such as field contents, long texts or field name.

If you assign the symbol to an infotype, the master data sheet report generates a SAPscript symbol that contains the field contents of the infotype.
The system generates the following symbols in addition to this symbol:

  • _TXT,,Field content long text
To generate the long text of the field contents, a reference to a text table must exist in the ABAP Dictionary.
This does not apply to date fields, numerical fields, or to fields with no assigned text table.
  • _SLS,,short field label
  • _SLM,,medium field label
  • _SLL,,long field label

In some cases this process is not possible, for example if:

  • The data is assigned to the infotype fields in Customizing.
    This applies, for example, to employee data, date entries or to fields in the Individual Values PF infotype.

  • The data is not assigned directly to infotype fields, for example, for values such as employee's age or payroll units.
    Such data is calculated or determined using features.

Individual data origins with separate Customizing functions exist for such special cases.

  1. In the dialog box, enter the master data sheet name that you want to process.
  2. Select New entries and, in the appropriate column, enter the infotype (also the subtype) and the output procedure I0 (standard field output).
  3. Confirm your entries.
  4. Select the lines containing the new entry and choose Infotype fields.
  5. Select New entries.
  6. Create a field name, a symbol name and a text element.
    You create the field name with the help field or with the technical information in the extended help for the data element.
  7. Save your entries.

Result: The fields are displayed in the corresponding text element of the SAPscript form.

You want to create a master data sheet that corresponds to an existing one and does not contain certain data.

You can do this without having to create or maintain a new SAPscript form.

  1. Copy the settings for an existing master data sheet, but not the corresponding form.
  2. In the setting Text element sequence, delete the text element <element>.
  3. In the MAIN window, delete the SAPscript symbol and the text element.

Result: When you have deleted a text element from all settings, it will no longer be displayed when the master data sheet is created.

  1. Copy the SAPscript form and the settings for one of the SAP model master data sheets to the customer name range. See Copy Master Data Sheet. In this step, you can enter the name of the new master data sheet and the accompanying SAPscript form.
  2. Modify the new master data sheet as required.

  • Modify the layout of the master data sheet by changing the SAPscript form.
    For example, you can modify fonts or attributes, or move tab positions.

  • Modify the layout by modifying the sequence of SAPscript text elements as required.

  1. Using the Check Master Data Sheet report, check that you have correctly selected and assigned all symbol names.

You intend to display the infotype field Company dept. of the Additional Organizational Assignment infotype (0039) on the master data sheet.

You have copied the SAPscript form and the settings of your selected master data sheet to the customer name field, but have not made any changes.

The field Company dept. reduced working hours is read from the infotype data that is created in the Additional Organizational Assignment infotype (0039).

Since this field is a standard infotype field, carry out the required settings in this step.

Since the field Company dept. reduced working hours can only contain one valid data record at a time, you must define only the corresponding field name, symbol name and the text element, but not the subtypes.

To display the infotype field on the HR master data sheet, add the symbols in the SAPscript form in the MAIN window to the text element ORG.

Procedure

  1. Choose Standard Fields, enter the identification code of the required master data sheet, and choose Continue.
  • Select the line containing the infotype 0039 and choose Infotype fields.

  • Choose New entries and in the fields Field name and Symbol name, enter BTABTL.
    To display the infotype in the text element Organizational assignment, enter the element ORG. Save your entries.
    You can determine the name of the field Company dept. reduced working hours with the possible entries in the field Field name.

  1. In the SAPscript form, add the symbols for the long field name and the department text in the ORG text element.
    Select Modify SAPscript form, enter the customer form name, identify Window and select the change mode.
    Select the window Main (main window) and select Edit -> Text elements.
  • In the text element ORG, enter the field name BTABTL_SLL as a placeholder for the infotype field company dept. reduced working hours, insert a tab (double comma) and insert BTABTL_TXT as a placeholder for the full text.

  • Choose Back.
    You are in the screen Change Form Window.

  • Select Form -> Activate.

Result: You have added the symbols for the field Company dept. reduced working hours in the text element.

Carry out the step check master data sheet.
In the section usable symbols the following symbols must appear with MAIN as the window and ORG as the text element, in the data origins "infotype data" symbols (IT):

BTABTL ,,infotype field contents ,,for example, 100 (with lost hours).
BTABTL_TXT,,Company dept. reduced working hours long text
BTABTL_SLS,,short field label ,,department
BTABTL_SLM,,medium field label ,,department
BTABTL_SLL,,long field label ,,department

If the displayed fields refer to employee attributes, use the display procedure I1 (employee attributes). Due to the selection criteria, you cannot select the procedure I1 in this step.

If an infotype has an empty field, such as infotype 0038 Fiscal Data CH - the Work Location field is not filled - the value is calculated on the basis of the appropriate payroll unit (which is payroll unit LAW in this instance).

When selecting a symbol name, SAP recommends that you keep to the field name.
Exception: If an infotype shows different subtypes, you must use an individual symbol name for each subtype, so that the HR master data sheet can differentiate between the different subtypes.

With the data origin of the infotypes, the system takes into account the time constraints and possible subtypes when reading user-defined infotype records.

If several records are read for one infotype/subtype, a version of the corresponding symbols with the corresponding data is generated and displayed for each record.

If several records exist, all corresponding symbols are displayed in a text element of the MAIN window.

The Family/Related Person infotype (0021) can display the following subtypes:

  • Subtype 1 (Spouse) - this subtype can only contain one record at a time.
  • Subtype 2 (Child) - this subtype can contain several records at a time.

For example: To display the field First name of the spouse and the child (or children) of an employee. For the spouse, create a field name FAMFIR, a symbol name FAMFIR and the text element SPOUSE, where the information is to be displayed. For the child/children, create a field name FAMFIR, a symbol name CHIFIR und a text element CHILD.

So that the symbols can be generated in accordance with the settings for your data origins and the corresponding display procedure, the data origin IT must be assigned to the master data sheet.

This occurs when you have copied the HR master data sheet settings and all dependent settings, without having altered the entries, so that the data origins of the standard form are unaltered.






TXBHW - Original Tax Base Amount in Local Currency   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 12229 Date: 20240523 Time: 163121     sap01-206 ( 149 ms )