92
HR Form Editor (PY-XX-TL) HELP.PAXX Release 4.6C

HR Form Editor (PY-XX-TL) - SAP HR от Поцелуева

  • Upload
    others

  • View
    4

  • Download
    0

Embed Size (px)

Citation preview

HR Form Editor (PY-XX-TL)

HE

LP

.PA

XX

Re lease 4 .6C

HR Form Editor (PY-XX-TL) SAP AG

2 April 2001

Copyright

© Copyright 2001 SAP AG. All rights reserved.

No part of this publication may be reproduced or transmitted in any form or for any purposewithout the express permission of SAP AG. The information contained herein may be changedwithout prior notice.

Some software products marketed by SAP AG and its distributors contain proprietary softwarecomponents of other software vendors.

Microsoft®, WINDOWS®, NT®, EXCEL®, Word®, PowerPoint® and SQL Server® are registeredtrademarks ofMicrosoft Corporation.

IBM®, DB2®, OS/2®, DB2/6000®, Parallel Sysplex®, MVS/ESA®, RS/6000®, AIX®, S/390®,AS/400®, OS/390®, and OS/400® are registered trademarks of IBM Corporation.

ORACLE® is a registered trademark of ORACLE Corporation.

INFORMIX®-OnLine for SAP and Informix® Dynamic ServerTM

are registered trademarks ofInformix Software Incorporated.

UNIX®, X/Open®, OSF/1®, and Motif® are registered trademarks of the Open Group.

HTML, DHTML, XML, XHTML are trademarks or registered trademarks of W3C®, World WideWeb Consortium,Massachusetts Institute of Technology.

JAVA® is a registered trademark of Sun Microsystems, Inc.

JAVASCRIPT® is a registered trademark of Sun Microsystems, Inc., used under license fortechnology invented and implemented by Netscape.

SAP, SAP Logo, R/2, RIVA, R/3, ABAP, SAP ArchiveLink, SAP Business Workflow, WebFlow,SAP EarlyWatch, BAPI, SAPPHIRE, Management Cockpit, mySAP.com Logo and mySAP.comare trademarks or registered trademarks of SAP AG in Germany and in several other countriesall over the world. All other products mentioned are trademarks or registered trademarks of theirrespective companies.

SAP AG HR Form Editor (PY-XX-TL)

April 2001 3

Icons

Icon Meaning

Caution

Example

Note

Recommendation

Syntax

Tip

HR Form Editor (PY-XX-TL) SAP AG

4 April 2001

Contents

HR Form Editor (PY-XX-TL)........................................................................................... 6Forms.............................................................................................................................................................7Structure of a Form ......................................................................................................................................8Calling the Form Editor................................................................................................................................9

Editor Settings.........................................................................................................................................10Navigation Functions in the Form Editor.................................................................................................11Creating or Changing Forms.....................................................................................................................13

Attribute ...................................................................................................................................................14Background .............................................................................................................................................15

Copying or Moving Several Lines ......................................................................................................16Deleting Several Lines .......................................................................................................................17

Single Field..............................................................................................................................................18Deleting the Single Fields for a Page Type .......................................................................................19Showing or Hiding a Page Type ........................................................................................................20Creating a Single Field.......................................................................................................................21

Constant in an Individual Field: Example .....................................................................................22Text Module in Individual Field: Example .....................................................................................23Table Content in Individual Field: Example ..................................................................................24

Editing a Single Field .........................................................................................................................25Copying or Moving Several Single Fields ..........................................................................................26Deleting Single Fields ........................................................................................................................27

Line Layout..............................................................................................................................................28Creating a Line Layout.......................................................................................................................29Editing a Line Layout .........................................................................................................................30Creating a Line Layout: Example.......................................................................................................31Column Types for Line Layouts .........................................................................................................33

Windows..................................................................................................................................................35Creating a Window.............................................................................................................................37Creating a Window: Example.............................................................................................................38Editing a Window ...............................................................................................................................40Groups and Subgroups......................................................................................................................41

Creating Groups ...........................................................................................................................42Creating or Changing a Subgroup................................................................................................43

Group Text .........................................................................................................................................44Creating Group Text .....................................................................................................................45Creating a Line Layout for Group Text .........................................................................................46

Cumulation Identifiers .............................................................................................................................47Cumulation Identifier: Time Quotas in Single Fields..........................................................................50Cumulation Identifier: Time Quota in Window ...................................................................................52Creating Cumulation Identifiers .........................................................................................................53Creating a Cumulation Identifier: Example ........................................................................................54

Text Modules...........................................................................................................................................55Creating a Text Module......................................................................................................................56

SAP AG HR Form Editor (PY-XX-TL)

April 2001 5

Creating a Text Module for Two Languages: Example .....................................................................57Rule .........................................................................................................................................................58

Creating a Rule ..................................................................................................................................59Creating a Rule: Example ..................................................................................................................60

Wage Type Addition................................................................................................................................61Wage Type Summarization................................................................................................................62

Summarizing Single-Split Wage Types ........................................................................................63Summarization of a Multiple-Split Wage Type..............................................................................65

Summarizing Multiple-Split Wage Types: Method 1 ...............................................................66Summarizing Multiple-Split Wage Types: Method 2 ...............................................................68

Wage Type Summarization................................................................................................................71Cumulating Wage Types Without Splits .......................................................................................72Cumulating Wage Types With and Without Splits ........................................................................74Cumulation of Split Wage Types ..................................................................................................76

Cumulating Wage Types with Identical Splits .........................................................................77Cumulating Wage Types with Different Splits .........................................................................79

Documentation ........................................................................................................................................82Multilingual Forms .....................................................................................................................................83

Copying a Form for a Different Language...............................................................................................84Changing the Form Language ................................................................................................................85Deleting the Form Language...................................................................................................................86

Copying Forms Within a Client .................................................................................................................87Deleting Forms ...........................................................................................................................................88Transporting Forms ...................................................................................................................................89Form Copier ................................................................................................................................................90Copying a Standard HR Form Across Clients.........................................................................................91Comparing Forms ......................................................................................................................................92

HR Form Editor (PY-XX-TL) SAP AG

HR Form Editor (PY-XX-TL)

6 April 2001

HR Form Editor (PY-XX-TL)PurposeThe HR Form Editor (or form editor) is a tool used in Human Resources to enable you to createor edit forms.

Implementation ConsiderationsThe form editor has the following advantages:

� It is a central tool: You can use the form editor to edit forms from different applicationcomponents.

� The form editor has a graphical interface which serves as an overview screen for the form tobe structured, for example, complete representation of individual information levels.

� It can support creation of forms in several languages. If, for example, you delete a line, theform editor deletes this line in all available language variants.

� It provides additional plausibility checks: your entries are compared with the permitted tablesfor the form class and the country. If you make an invalid entry, an error message isdisplayed immediately.

� It has an automatic transport connection.

FeaturesThe form editor has the following functions:

� Copy, create, or change forms

� Copy, change, or delete the form language

� Create, change, or delete subobjects in the form

� Transport forms

ConstraintsForms are entered in form classes in the SAP system. You can only use the form editor forparticular form classes (for example, CEDT, CKTO, CLJN). The form editor does not support thefollowing form classes:

� TELU [Ext.] for time statements

� TEDT [Ext.] for time statements

� XXXX for wage type indicators

� DOST for statistics for the Public Sector

� CERH for data entry and statistics

SAP AG HR Form Editor (PY-XX-TL)

Forms

April 2001 7

FormsDefinitionGrouping of specific payroll results.

StructureA form consists of a number of subobjects. The following form elements exist:

� Language-dependent:

� Group text for a group in a window

� Background

� Text modules

� Documentation

� Language-independent:

� Attributes

� Windows

� Group and subgroups in a window

� Individual fields

� Line layout

� Cumulation identifiers

� Rules

If you use a form in several languages, you must define the language-independent subobjects forall languages [Page 84].

HR Form Editor (PY-XX-TL) SAP AG

Structure of a Form

8 April 2001

Structure of a FormPurposeThe form is usually structured when the SAP System is set up.

Process flow1. You create a form.

2. You edit the individual subobjects in the form.

� You create the form background.

� You define the individual fields. In doing this, you create rules, text modules, andcumulation identifiers.

� You define the window and the accompanying line layout.

� You create documentation on the form.

3. If required, you copy the form for other languages.

SAP AG HR Form Editor (PY-XX-TL)

Calling the Form Editor

April 2001 9

Calling the Form Editor1. In the command field, enter the transaction PE51.

2. Choose ENTER.

The HR Form Editor: Initial Screen is displayed. To edit subobjects, select the subobjectand choose Change.

HR Form Editor (PY-XX-TL) SAP AG

Editor Settings

10 April 2001

Editor SettingsUseYou can change the editor settings under Settings � Editor settings.

FeaturesYou can make the following settings:

� Insert mode

Depending on whether you flag the Before current line field or the After current line field,you can insert blank lines at the start or end of the form background.

� Standard display

In this group, you define how information is displayed in the form editor.

� Confirmation prompt

If you want to display a confirmation prompt when, for example, you choose Cancel orDelete when editing a subobject, the Confirmation prompt field must be flagged. Theconfirmation prompt displayed before leaving the form editor cannot be deactivated.

SAP AG HR Form Editor (PY-XX-TL)

Navigation Functions in the Form Editor

April 2001 11

Navigation Functions in the Form EditorUseYou can navigate within the form as follows:

� Choose Goto to directly access individual subobjects in a form.

� Choose Previous screen and Next screen to scroll between the subobjects.

� The ruler contains the Left form margin and Right form margin icons. Choose these functionsto get to the corresponding part of the form.

� The lower part of the screen contains the Line and Column fields. To go to a particularposition on the form, enter the values in these fields. The form is positioned so that you needonly place the cursor in the upper left corner of the screen.

� The Edit � New line function is not active if the maximum number of lines in the form isequal to the current number of lines in the form. If this is the case, you must change themaximum size of the form in the Attribute subobject.

� To display details on particular entries, double-click the entry. In this way, you can accessother subobjects without having to follow a menu path.

The following table shows where and how you can navigate with a single or doublemouse click.

Screen Double-click on Dialog box appears

Display/change window Any position within window Display/change groups inwindow ...

Window overview Any position in the line Display/change groups inwindow ...

Group Display/change structure ofgroup ...

Entries Display/change structure ofgroup ...

Display/change groups inwindow

Text lines Display/change group text:Group ...

Line type or Column type field Display/change line layout

Rule field Display/change rules

Display/change structure ofgroup

Number of summands field Display/change structure oftotal ...

Any individual field Display/change individual field

Text module field Display/change text

Display/change individual field

Rule field ?Display/change rules

HR Form Editor (PY-XX-TL) SAP AG

Navigation Functions in the Form Editor

12 April 2001

Click on “Consists of” Display/change structure oftotal ...

Output length field Default value output length

Conversion field Default value conversion

Display/change line layout Any position (not line type orcolumn type)

Display/change individual fieldin line layout

Display/change cumulationidentifiers

Any field in the line Display/change structure oftotal ...

Display/change structure oftotal

Rule field Display/change rule

SAP AG HR Form Editor (PY-XX-TL)

Creating or Changing Forms

April 2001 13

Creating or Changing FormsUseYou use this function to create a form. Alternatively, you can copy [Page 90] a standard HR formand modify it to suit your requirements. To change a form, call the initial screen of the Formeditor, select the individual subobjects with <subobject>� Change and change the existingentries.

PrerequisitesYou are in the initial screen of the Form Editor.

Procedure

When you edit a form, you can scroll between the subobjects with Previous screenand Next screen.

Choose Goto � <Subobject> to directly access individual subobjects in a form.

1. Enter the country grouping and a form name.

The form name should start with Z.

2. Choose Form � Create.

3. In the Determine form class dialog box, enter the required class for the form.

You cannot change the form class at a later point. If you still want to change the formclass, you must delete the form and create it again.

4. Choose Set form class.

5. You access the Change attributes screen.

6. Enter data as required.

7. Save your entries.

ResultYou have created a new form and the required attributes (for example, form name, form class,country indicator, and so on) in your clients. You can then edit the subobjects in the form.

HR Form Editor (PY-XX-TL) SAP AG

Attribute

14 April 2001

AttributeDefinitionThe attributes determine the processing parameters for the form. They specify where and howthe form is used in the SAP System.

UseWhen you create or copy a form, you must change the attributes for the form since, for example,a new form name is required. It may also be necessary to change the attributes for an existingform, for example, if the person responsible for a form has changed.

StructureThe attributes include information on the person responsible for the form and the size of the form.When you call the Attributes subobject, information on the country grouping and form class isdisplayed as well as the administrative information. You can change the attributes in the FormEditor under Attributes � Change. The system generates all other data.

SAP AG HR Form Editor (PY-XX-TL)

Background

April 2001 15

BackgroundDefinitionThe form background contains information that is usually included in a prepared form (forexample, the name of the form, the name of the enterprise, or a graphic). This information isalways printed in the same position in the form and does not vary.

StructureThe form background is set up using lines. You must define all lines in a form. This means thatlines containing only individual fields or windows need to be defined as blank lines on the formbackground. If you are using form templates, a blank page must be set up with thecorresponding number of line as the form background. You can edit the documentation in theForm Editor under Background � Change.

IntegrationWhen you create a form, you must decide whether the information can be modified. If you needto change the information frequently, specify this in the individual fields.

HR Form Editor (PY-XX-TL) SAP AG

Copying or Moving Several Lines

16 April 2001

Copying or Moving Several LinesUseYou want to edit several lines in a form at the same time.

Procedure1. Place the cursor on the first line that you want to copy or move.

2. Choose Edit � Select block.

3. Place the cursor on the last line that you want to copy or move.

4. Choose Edit � Select end of block.

The selected block does not change color.

5. Choose Edit � Copy or Cut.

The Edit � Copy function is not active if the maximum number of lines in the formhas been reached. If this is the case, you must change the maximum size of the formin the Attribute subobject.

6. Place the cursor on the line from which the individual fields should be inserted.

7. Choose Edit � Insert.

8. Save your entries.

ResultYou have copied or moved several lines.

SAP AG HR Form Editor (PY-XX-TL)

Deleting Several Lines

April 2001 17

Deleting Several LinesUseYou would like to delete several lines in the form together.

Procedure1. Place the cursor on the first line that you want to delete.

2. Choose Edit � Select block.

3. Place the cursor on the last line that you want to delete.

4. Choose Edit � Select end of block.

The selected block does not change color.

5. Choose Edit � Delete.

ResultYou have deleted several lines at once.

HR Form Editor (PY-XX-TL) SAP AG

Single Field

18 April 2001

Single FieldDefinitionAn single field contains information that is always printed in the same place on a form. Thisinformation can be variable (for example, the name of the employee or the number of pages inthe form), or can remain the same (for example, the text “personnel number”).

StructureSingle fields are given the following values:

� Constant

A constant is language-independent: It is printed on the form as it is entered in theConstant field. If you require the information in several languages, you must define it as atext module.

� Text modules

You can enter the name of a text module (01-99) in the Text Module field. You define thetext module in the Create text module screen.

� Table field

By entering the table and table field, you can specify the exact information to be printedon the form.

The assigned page type determines where an individual field is printed. There are different pagetypes for different form classes. The most important page types are:

� FP (first page)

� EP (each page)

� LP (last page)

IntegrationIf you set up information that is not variable, you can also set this up in the form background.

SAP AG HR Form Editor (PY-XX-TL)

Deleting the Single Fields for a Page Type

April 2001 19

Deleting the Single Fields for a Page TypePrerequisitesYou are in the HR Form Editor: Change Single Fields screen.

Procedure1. Choose Edit � Page type � Delete fields.

2. Select the page type whose single fields you want to delete.

The deleted single fields can no longer be used to create a form.

3. Choose Delete.

4. Confirm by choosing Yes.

ResultYou have deleted all individual fields assigned to a page type.

HR Form Editor (PY-XX-TL) SAP AG

Showing or Hiding a Page Type

20 April 2001

Showing or Hiding a Page TypeUseWhen you create the form, it can be useful to display or hide particular page types and theaccompanying individual fields. The form display is then clearer for complicated forms. Thehidden page types and accompanying individual fields still exist in the R/3 System.

PrerequisitesYou are in the HR Form Editor: Change Single Fields screen.

Procedure1. Choose Edit � Page type � Show/hide.

You access the Specify view of page type(s) dialog box.

2. Remove the flag for the page types you want to exclude from the form display.

3. Choose Show/hide page types.

ResultYou have displayed or hidden a page type and the accompanying individual fields for the formdisplay.

SAP AG HR Form Editor (PY-XX-TL)

Creating a Single Field

April 2001 21

Creating a Single FieldUseYou want to print information in a particular place on your form.

PrerequisitesA form exists for which you can create a single field.

You are in the HR Form Editor: Change Single Fields screen.

Procedure1. Position [Page 11] the cursor on the line and column number, after which you want to create

the individual field.

2. Choose Edit � Create.

You access the Insert single field dialog box.

3. Enter data as required.

If you use a copy of a standard HR form, the individual fields are already defined andassigned to the corresponding page type. You can change this assignment at anytime.

The width of the window determines the maximum output length of a field.

4. Choose Transfer.

ResultYou have created an individual field.

HR Form Editor (PY-XX-TL) SAP AG

Constant in an Individual Field: Example

22 April 2001

Constant in an Individual Field: ExampleYou want to print the character / in line 2, column 80. This information should be printed on eachpage of the form.

When you set up the individual field, enter the following data:

Field ValuePage type EP

Position 3/80

Print informationConstant /

SAP AG HR Form Editor (PY-XX-TL)

Text Module in Individual Field: Example

April 2001 23

Text Module in Individual Field: ExampleYou want to print the created text module “Personnel number” in line 3 from column 1. The textmodule should be printed on each page of your form.

When you set up the individual field, enter the following data:

Field ValuePage type EP

Position 3/1

Text Modules Use the possible entries function to select the required text module.

HR Form Editor (PY-XX-TL) SAP AG

Table Content in Individual Field: Example

24 April 2001

Table Content in Individual Field: ExampleYou want to print the personnel number for the employee in line 3 from column 16. Thepersonnel number should be printed without leading zeros, and on each page of the form.

When you set up the individual field, enter the following data:

Field ValuePage type EP

Position 3/16

Table PERNR

Table field PERNR

Conversions 10

The conversion has the effect of suppressing the leading zeros for a personnel number. Thepersonnel number is stored in table PERNR in field PERNR. The position and page typedetermine where the information is printed.

SAP AG HR Form Editor (PY-XX-TL)

Editing a Single Field

April 2001 25

Editing a Single FieldUseYou can use a number of functions to change an existing single field.

FeaturesOn the HR Form Editor: Change Single Fields, you can

� Edit individual fields with Edit � Details

� Insert, copy, delete, cut, and move single fields

� Hide and show page types

� Delete the individual fields for a page type

HR Form Editor (PY-XX-TL) SAP AG

Copying or Moving Several Single Fields

26 April 2001

Copying or Moving Several Single FieldsUseYou can copy or move several single fields belonging to a page type at the same time.

PrerequisitesYou are in the Change Single Fields screen.

The page type for the single fields is not hidden.

Procedure1. Place the cursor on the first single field that you want to copy or move.

2. Choose Edit � Select block.

3. Place the cursor after the last single field that you want to copy or move.

4. Choose Edit � Select end of block.

The selected block does not change color.

Only single fields that are completely selected are edited.

5. Choose Edit � Copy or Cut.

6. Place the cursor in the position after which the single fields should be inserted.

The insertion area must not intersect with single fields already existing in this area.

7. Choose Edit � Insert.

All single fields within the selected area are copied or moved.

8. Save your entries.

ResultYou have copied or moved several single fields in a block.

SAP AG HR Form Editor (PY-XX-TL)

Deleting Single Fields

April 2001 27

Deleting Single FieldsPrerequisitesYou are in the Change Single Fields screen.

Procedure1. Place the cursor on the first single field that you want to delete.

2. Choose Edit � Select block.

3. Place the cursor on the last single field that you want to delete.

4. Choose Edit � Select end of block.

The selected block does not change color.

Only single fields that are completely selected are deleted.

5. Choose Edit � Delete.

ResultYou have deleted several single fields in a block.

HR Form Editor (PY-XX-TL) SAP AG

Line Layout

28 April 2001

Line LayoutDefinitionThe line layout determines how individual lines are structured in a window. In the line layout,define the arrangement of the individual fields, and in doing this, you also define the

� Type of information (for example, text)

� How much information is in the line (for example, text and/or amount)

� Print information (for example, the conditions under which information be printed).

UseIndividual lines in a window can have an identical layout. For example, it is possible that awindow contains several lines in which the information text and then the wage type amountappear in the same position. In this case, the information to be printed is not specified usingprinting data such as column and output length. Instead, layouts are defined for the structure of aline in a window.

Line layouts are used to avoid redundant entries. Line layouts can be used more than once andthey are assigned to all the information to be printed according to a particular schema.

SAP AG HR Form Editor (PY-XX-TL)

Creating a Line Layout

April 2001 29

Creating a Line LayoutUseYou have created the window, groups, subgroups, and group text for a form, and you want to setup line layouts.

You can still set up line layouts if you have not yet set up the window, group,subgroup, and group text subobjects.

PrerequisitesYou are in the HR Form Editor: Change Window screen.

Procedure1. Choose Edit � New line.

2. Enter data as required.

3. Place the cursor on the column at the start of the information to be printed, for example,wage type text, or amount. Choose Edit � Create.

You access the Insert single field in line layout dialog box.

4. Enter data as required.

5. Choose Transfer.

ResultYou have created a line layout in a window.

HR Form Editor (PY-XX-TL) SAP AG

Editing a Line Layout

30 April 2001

Editing a Line LayoutUseYou can use a number of functions to change an existing line layout.

FeaturesOn the HR Form Editor: Change Line Layout screen, you can:

� Edit individual fields with Edit � Details

� Insert, copy, delete, cut, and move lines

SAP AG HR Form Editor (PY-XX-TL)

Creating a Line Layout: Example

April 2001 31

Creating a Line Layout: ExampleYou want to print the following wage type information in a line:

� Text, from column 1

� Number, from column 27

� Rate, from column 34

� Total amount, from column 43

The digits should be printed without leading zeros.

PrerequisitesYou are in the HR Form Editor: Change Line Layout screen.

Procedure1. Choose Edit � New line.

2. In the LT (line type) field, enter a sequential number.

3. In the Column type field, enter X.

4. Choose Edit � Create.

You access the Insert single field in line layout dialog box.

5. Create four individual fields:

Field Individual field 1 Individual field 2 Individual field 3 Individual field 4

Column 1 27 34 43

Table T512T XRT XRT XRT

Table field LGTXT ANZHL BETPE BETRG

Output length 25 06 08 16

Conversions 10 10 10

6. Save your entries.

ResultYou have created a line layout for a line containing only information on a wage type. The systemreads the wage type long text from table T512T and prints it at the start of the line. The systemreads the information on the number, rate, and amount from table XRT and prints it from thespecified columns. The output length of the Number and Rate fields is less than the length storedin the system so that the information does not overlap when printed on the form. Conversion 10ensures that the figures are printed without leading zeros.

If you want to create a line layout containing information on different wage types, youmust specify in the Column type field that superlines [Page 33] must be printed.

HR Form Editor (PY-XX-TL) SAP AG

Creating a Line Layout: Example

32 April 2001

SAP AG HR Form Editor (PY-XX-TL)

Column Types for Line Layouts

April 2001 33

Column Types for Line LayoutsDefinitionTogether with the line type, the column types identify a particular line layout.

UseThe column type is dependent on a form class.

If Then use column type

Only one identifier is printed in a line X

Different identifiers (1) are printed in a line (superlines (2)) 1, 2, 3, 4, 5, 6, 7, 8, 9

The line is used for group text T

The information in the totals column or the averages column for thepayroll account is printed

S

The information in the period column for the payroll account is printed 1, 2

Point (1):

Different identifiers are, for example:

� Wage type /101 and wage type /106 from table RT

� Wage type /101 from table CRT and wage type /101 from table RT

Point (2):

The column type for superlines must always start with 1. The information on the first identifiermust be stored with column type 1; all information on the second identifier must stored withcolumn type 2.

If the Print superlines indicator is flagged when the form is printed, the superline is only printed ifthe value for column type 1 is entered.

Line type Column type Wage types Long text Individualvalue

Cumulation

10 1 MA10 Remuneration 1 000.00

10 2 MA10 Remuneration 5 000.00

HR Form Editor (PY-XX-TL) SAP AG

Column Types for Line Layouts

34 April 2001

If table RT containsthe amount 1000.00, the followingdata will be printedon the form if thePrint superlinesparameter isflagged:

MA10 Remuneration 1 000.00 5 000.00

If table RT does notcontain the amount1 000.00, thefollowing data will beprinted on the form ifthe Print superlinesparameter isflagged:

5 000.00

SAP AG HR Form Editor (PY-XX-TL)

Windows

April 2001 35

WindowsDefinitionA window is a particular area within a form. A window has the following characteristics:

� Information in a window is only printed on the form if there is a value in the data record at thetime of evaluation.

� The information in a window is printed without blank lines. As a result, it may appear indifferent lines within a form.

� Information in a window can be printed over several pages if required. This is the case if thenumber of lines defined in a window is smaller than the amount of information you need toprint. The information only appears in the defined window area on each page.

� The information for one identifier only is usually printed in each line.

These characteristics allow you to display the information on the form without gaps.

UseThe quantity of information can vary, depending on whether or not the required information existsat the time of the evaluation. For example, values for a wage type may exist in the payroll resultfor one personnel number but not for another. If the information was printed in a individual field,the form would therefore be printed with gaps. To avoid this, this type of information is usuallyprinted in a window.

StructureGroups and subgroups contain the information and define the sequence.

The information can be sorted on the remuneration statement in different ways, depending onwhich print parameters you have selected to start report RPCEDT00.

Parameter combination Sort sequence

Retroactive accounting runs should not be printed 1. Window name2. Group3. Subgroup4. Line type5. Column type6. Wage type

Retroactive accounting runs or differences should be printed on a separatepage

1. Window name2. Group3. Subgroup4. Line type5. Column type6. Wage type

HR Form Editor (PY-XX-TL) SAP AG

Windows

36 April 2001

Retroactive accounting runs should be printed together with theaccompanying wage type on the page for the payroll period

1. Window name2. Group3. Subgroup4. (Retroactiveaccounting) date5. Line type6. Column type7. Wage type

Retroactive accounting runs should be printed together before theaccompanying wage type on the page for the payroll period

1. Window name2. (Retroactiveaccounting) date3. Group4. Subgroup5. Line type6. Column type7. Wage type

SAP AG HR Form Editor (PY-XX-TL)

Creating a Window

April 2001 37

Creating a WindowUseAn HR form can contain one or more windows. The windows should not overlap, otherwiseinformation may be lost.

PrerequisitesA form exists for which you can create a window.

You are in the HR Form Editor: Change Window screen.

Procedure1. Position [Page 11] the cursor at the place in the form where the upper left corner of the

window will be positioned.

2. Choose Create.

3. Place the cursor on the opposite corner of the window on the form.

4. Choose Edit � Block � Select end of block.

5. In the Determine Window Name dialog box, enter the name of the window.

For technical reasons, the window names UW, SW, and VB cannot be used.

6. Choose Insert.

7. Save your entries.

ResultYou have created a new window for your form.

The window’s appearance is based on the entries made in the Standard displaygroup under Settings � Editor settings.

To display a detailed overview of the windows used in the form, choose Goto ###Window overview. You can check and modify the size and position of the window.

HR Form Editor (PY-XX-TL) SAP AG

Creating a Window: Example

38 April 2001

Creating a Window: ExampleYou want to create a window with the name F1. The following entries are to be displayed in thiswindow:

Group 5 with group text:

Remunerationelements

Number Rate Month Annualtotal

MA10(*E1)

Standard pay(*E2)

<amount>(*E3)

<amount>(*E4)

MA20 Standardbonus

<amount> <amount>

MA50 Adjustmentbonus

<amount> <amount>

Y250(*E5)

ER benefits(*E6)

<amount>(*E7)

<amount>(*E8)

<amount>(*E9)

<amount>(E*10)

Procedure1. Create a window [Page 37] with the name F1.

2. Create a group [Page 42] with the number 5.

3. Choose Detail.

4. Create a subgroup with the following entries:

Table Identifier Line type Column type DSplits

RT MA10 98 1 *

CRT MA10 98 2 *

RT MA20 98 1 *

CRT MA20 98 2 *

RT MA50 98 1 *

CRT MA50 98 2 *

ZRT Y250 99 1 *

ZRT Y251 99 2 *

5. To create the line layout, select either the Line type or Column type.

The HR Form Editor: Change Line Layout screen appears.

6. Create the following line layout [Page 29]:

a) Create the column types 1, 2, and T for the line types 98 and 99.

b) Create the following individual fields [Page 21] in the line layout:

SAP AG HR Form Editor (PY-XX-TL)

Creating a Window: Example

April 2001 39

Individual field

Linetype

Columntype

Column Table Table field Outputlength Conversio

ns

*E1 98 1 1 XRT LGART 4

*E2 98 1 5 T512T LGTXT 25

*E3 98 1 60 XRT BETRG 6 10

*E4 98 2 75 XRT BETRG 6 10

*E5 99 1 1 XRT LGART 4

*E6 99 1 5 T512T LGTXT 25

*E7 99 1 30 XRT ANZHL 6 10

*E8 99 1 45 XRT BETPE 6 10

*E9 99 1 60 XRT BETRG 6 10

*E10 99 2 75 XRT BETRG 6 10

7. Choose Transfer.

8. Create a group text with the following data:

ID No. TextB 1 Remuneration elements Day/hrs Rate Month Annual total

B 2 _____________________________________________________________

9. Save your entries.

HR Form Editor (PY-XX-TL) SAP AG

Editing a Window

40 April 2001

Editing a WindowUseYou can use a number of functions to change an existing window.

FeaturesOn the HR Form Editor: Change Window screen, you can

� Delete a window

� Change the size of a window

� Change the name of a window

� Change groups and subgroups with Edit � Details

� Display an overview of all windows

SAP AG HR Form Editor (PY-XX-TL)

Groups and Subgroups

April 2001 41

Groups and SubgroupsDefinitionInformation that is displayed in a window can be entered in groups. A group can compriseseveral subgroups.

UseGroups and subgroups define the sequence of information in a window. All information in awindow belonging to the same group and subgroup is printed sequentially. Information groupswith lower group numbers are printed before information groups with higher group numbers. Thesame applies for subgroups. You can use group texts to display the information in a clearer way.

ExampleYou want to print the following wage types in a window in the given sequence:

MA40

MA10

MA20

MA50

All wage types can be grouped together in one group. You determine the sequence of wagetypes with the following subgroups.

Wage types Subgroup number

MA10 02

MA20 02

MA40 01

MA50 02

The subgroup number 01 has the effect of printing wage type MA40 before the other wage types.The remaining wage types with the subgroup number 02 are sorting in ascending order so thatthe wage types are printed on the form in the required sequence.

HR Form Editor (PY-XX-TL) SAP AG

Creating Groups

42 April 2001

Creating GroupsPrerequisitesYou have created a new window for your form.

You are in the HR Form Editor: Change Window screen.

Procedure1. Position [Page 11] the cursor anywhere within the window.

2. Choose Edit � Details.

You access the Change groups in window ... dialog box.

3. Choose Insert line.

4. In the Group field, enter the number of the first group.

To be able to easily insert information later, enter the group numbers in intervals (forexample, 05, 10, 15).

5. Choose Transfer.

ResultYou have created a group in the window. You can then create subgroups and group text for thisgroup.

A group must have at least one subgroup containing the information to be printed in the window.

SAP AG HR Form Editor (PY-XX-TL)

Creating or Changing a Subgroup

April 2001 43

Creating or Changing a SubgroupUseYou use subgroups to determine the sequence of information in a group.

PrerequisitesYou have created a group for a window.

You are in the Change Groups in Window ... dialog box.

Procedure1. Select the group that you want to change.

2. Choose Detail.

The Change Structure of Group ... dialog box appears.

� To create a subgroup, choose New line and enter the required data.

� To change a subgroup, change the existing entries.

3. Choose Transfer.

ResultYou have created or changed the subgroup for a group.

HR Form Editor (PY-XX-TL) SAP AG

Group Text

44 April 2001

Group TextDefinitionGroup texts are texts (for example, the text “Statutory deductions”), graphic elements (forexample, lines), and/or blank lines.

UseGroup texts can be printed at the start and/or end of an information group. Each group text canconsist of one or more lines.

Group texts are always assigned to a window and to a group.

SAP AG HR Form Editor (PY-XX-TL)

Creating Group Text

April 2001 45

Creating Group TextUseYou want to use group text to group together information in a window.

PrerequisitesYou have created a group and, if necessary, subgroups for your form.

A line layout [Page 46] must be defined for each group text. If the text is to be printed before agroup, when the form is generated, the system checks whether a line layout with column type Texists for the first identifier printed in the window. If the text is to be printed after a group, whenthe form is generated, the system checks whether a line layout with column type T exists for thelast identifier printed in the window. If the line layout for a group text is missing, blank lines will beprinted instead.

You are in the Change Groups in ... screen.

Procedure1. Choose Group text.

2. Choose New line.

3. Enter data as required.

4. Choose Transfer.

ResultYou have created group text for a group in a window.

HR Form Editor (PY-XX-TL) SAP AG

Creating a Line Layout for Group Text

46 April 2001

Creating a Line Layout for Group TextUseYou must create a variant for the group text for each line layout.

PrerequisitesYou are in the HR Form Editor: Change Line Layout screen.

Procedure1. Choose New line.

2. Enter the following data:

Field Value

Line type 01 (or any other number)

Column type T

3. Position [Page 11] the cursor on the form column from which the group text will start.

4. Choose Create.

You access the Insert single field in line layout dialog box.

5. Enter the following data:

Field Value

Table T512G

Table field TEXT

Output length 132

The width of the window determines the maximum output length of a field.

6. Choose Transfer.

7. Save your entries.

ResultYou have defined the line layout for group text.

SAP AG HR Form Editor (PY-XX-TL)

Cumulation Identifiers

April 2001 47

Cumulation IdentifiersDefinitionCumulation identifiers [Ext.] group together identifiers [Ext.] of the same type.Cumulation identifiers are form-dependent.

IdentifierIdentifier

Cumulation identifierCumulation identifier Leave typeTime quota Time quota

Cumulation WTCumulation WT

WT 1 + WT nWT 1 + WT n

Cumulation time quotaCumulation time quota

Quota 1 + quota nQuota 1 + quota n

Wage typeWage type ......

UseCumulation identifiers are used in individual fields and windows.Cumulation identifiers that refer to wage types:If identifiers without splits are cumulated, they can be included in the total as apositive or negative amount. If split identifiers are cumulated, the splits must bedeactivated for the cumulation. This takes place using the DSplit fields (DeleteSplit). Different indicators can be used with this field and they can be selectedaccording to the split.

You should use the placeholder * (asterisk) to deactivate all split indicators. Youshould only deactivate individual split indicators if individual split indicators havebeen removed and the wage type is to be printed in accordance with differentcriteria.

HR Form Editor (PY-XX-TL) SAP AG

Cumulation Identifiers

48 April 2001

ExampleYou have already set up the cumulation identifier Z123 for your form. You wantto add the total contained in cumulation identifier Z123 to another wage type.The result of the totals formation should appear as follows:Z456 = Z123 + MM10To do this, create cumulation identifier Z456 with the following data:Table Identifier Mathematical sign DSplits

ZRT Cumulation wage type Z123 + *

RT Wage type MM10 + *

Cumulation identifiers that refer to time quotas [Ext.]:After the deduction period, you can select time quotas in Customizing. Thesecould be the selected time quotas from the last years or from the current yearonly. They are then cumulated and printed on the form.

You want to print the value of the leave that is made up of the total of the time quotasannual leave, special leave and further education leave on the form.

The time quotas include:

� Attendance quota

� Absence quota

SAP AG HR Form Editor (PY-XX-TL)

Cumulation Identifiers

April 2001 49

Time quota Time quota

Absence quotaAbsence quotaAttendance quotaAttendance quota

For example, total of:remaining ed. leave 2000

and remaining ed. leave 2001

For example, total of:remaining ed. leave 2000

and remaining ed. leave 2001

For example, total of:entitlement to statutory lve and

entitlement to ed. leave

For example, total of:entitlement to statutory lve and

entitlement to ed. leaveFor example, total of:

remaining statutory lve 2000 and remaining statutory leave 2001

For example, total of: remaining statutory lve 2000

and remaining statutory leave 2001

The cumulation of time quotas takes place in the same way as the cumulation ofwage types in cumulation wage types. Two variants are available in the SAPsystem for this purpose:

� Cumulation identifier-print time quotas as single fields [Page 50]

� Cumulation identifier-print time quota in window [Page 52]

HR Form Editor (PY-XX-TL) SAP AG

Cumulation Identifier: Time Quotas in Single Fields

50 April 2001

Cumulation Identifier: Time Quotas in Single FieldsPurposeYou can print cumulated time quotas in a single field.

Please consider that:

� The SAP system does not permit the cumulation of a cumulation identifier already createdwith another cumulation identifier.

� The SAP system does not permit the creation of a total of wage types and time quotas.

� The SAP system does not permit the addition of time quotas that exist in different time units.For example, you cannot add days and hours.

� If you want to print the technical key of the time quota, only two characters are printed as thecumulation identifier has four characters but the technical key only has two.

PrerequisitesThe tables and fields for the time quotas [Ext.] must be available in the Form Editor.

Process flow1. You create a cumulation identifier [Page 53] for the time quotas to be cumulated.2. You assign the time quotas to be cumulated [Page 53] from the relevant tables to

the cumulation identifier.3. You create the necessary single fields [Page 18] with your printing conditions:� Page type

� Position

� Table name

� Field name

� Identifier name

� Output length

� Conversions

For a detailed example, see Customizing under Payroll � International Payroll �Forms � Remuneration Statement � Example: Time Quotas in Single Fields [Ext.].

ResultYou can print the time quota total on the form.

SAP AG HR Form Editor (PY-XX-TL)

Cumulation Identifier: Time Quotas in Single Fields

April 2001 51

HR Form Editor (PY-XX-TL) SAP AG

Cumulation Identifier: Time Quota in Window

52 April 2001

Cumulation Identifier: Time Quota in WindowPurposeYou can print cumulated time quotas in a single field.

Please consider that:

� The SAP system does not permit the cumulation of a cumulation identifier already createdwith another cumulation identifier.

� The SAP system does not permit the creation of a total of wage types and time quotas.

� The SAP system does not permit the addition of time quotas that exist in different time units.For example, you cannot add days and hours.

� If you want to print the technical key of the time quota, only two characters are printed as thecumulation identifier has four characters but the technical key only has two.

PrerequisitesThe tables and fields [Ext.] for the time quotas must be available in the Form Editor.

Process flow1. You create the line layout [Page 28] for printing the cumulated time quotas.2. You assign the fields to be printed [Page 29] to the line layout.3. You create a cumulation identifier [Page 53] for the time quotas to be cumulated.4. You assign the time quotas to be cumulated [Page 53] from the relevant tables to

the cumulation identifier.5. In the window [Page 35], you create a new group [Page 41] for printing the time

quotas with the necessary subgroups [Page 41].

For a detailed example, see Customizing under Payroll � International Payroll �Forms � Remuneration Statement � Example: Time Quota in Window [Ext.].

ResultYou can print the time quota total in the window on the form.

SAP AG HR Form Editor (PY-XX-TL)

Creating Cumulation Identifiers

April 2001 53

Creating Cumulation Identifiers

You can create cumulation identifiers even if you have not yet created a window,group, or subgroup, or group text for the form.

PrerequisitesYou are in the HR Form Editor: Change Cumulation ID screen.

Procedure1. Choose Edit � New line.

2. Enter data as required.

3. Choose Edit � Details.

You access the Change layout of cumulation identifier dialog box.

4. Choose New line.

5. Enter data as required.

6. Choose Transfer.

ResultYou have created a cumulation identifier and defined which identifiers should beincluded in the cumulation identifier. You can use the cumulation identifier in theIndividual field and Window subobjects.

HR Form Editor (PY-XX-TL) SAP AG

Creating a Cumulation Identifier: Example

54 April 2001

Creating a Cumulation Identifier: ExampleYou want to print the amounts for wage types MA10, MA20, and MA40 as a total,and create the cumulation identifier for this (total payments). You are in the FormEditor: Change Cumulation Identifier screen.

Procedure7. Choose Edit � New line.

8. Enter the following data:

Field Value

ID 1234

Long text Total pay

9. Choose Edit � Details.

You access the Change layout of cumulation identifier dialog box.

10. Choose New line.

11. Enter the following data:

Field Value

Table RT

ID MA10

MS +

DSplits *

12. Repeat steps 5 and 6 for the wage types MA20 and MA40.

13. Choose Transfer.

ResultYou have created the cumulation identifier 1234, which contains three wagetypes.

SAP AG HR Form Editor (PY-XX-TL)

Text Modules

April 2001 55

Text ModulesDefinitionText modules contain at least one text element (for example, “personnel number”) that can becombined with a graphical element.

UseText modules are set up for information that meets the following criteria:

� The information does not belong to the form background.

� The information is printed in the same place on each form, and the information does notchange.

� The information is longer than 10 characters.

In the following cases, text modules can also be set up for information that is shorter than 10characters.

� The form is required in several languages.

Text modules belong to the language-dependent subobjects of a form and aremaintained in all languages in which the form exists.

� The information appears in several places on the form and may possibly be changed at alater point.

In this case, the use of a text module reduces the work required when changing the format a later point. Only the text module must be changed and not each entry, as would bethe case if no text module were used.

IntegrationText modules are used in individual fields. The text must be created in each language. When theform is printed, the text is automatically printed in the correct language.

If the text is only printed in one language and is shorter than 10 characters, you can also define itas a constant.

HR Form Editor (PY-XX-TL) SAP AG

Creating a Text Module

56 April 2001

Creating a Text Module

You can still create text modules even if you have not yet created any othersubobjects for the form.

PrerequisitesYou are in the HR Form Editor: Change Window screen.

Procedure1. Choose Edit � New line.

2. Enter data as required.

3. Save your entries.

ResultYou have set up a text module for your form.

SAP AG HR Form Editor (PY-XX-TL)

Creating a Text Module for Two Languages: Example

April 2001 57

Creating a Text Module for Two Languages: ExampleYou want to create the text module “Personnel number” in your form in German and in English.

PrerequisitesYou are in the HR Form Editor: Change Texts screen.

Procedure1. Choose Edit � New line.

2. Enter a number for your text module and enter personnel number.

3. Choose Edit � Language � Change.

If your form is not created for the required languages, choose Edit � Language �Copy.

4. Enter the target language.

5. Enter the same number for the text module and the personnel number.

HR Form Editor (PY-XX-TL) SAP AG

Rule

58 April 2001

RuleDefinitionInformation can be printed on a form if certain conditions apply. These conditions are stored asrules. A rule controls the selection of information. For example, you can specify that particularinformation is only printed if its value exceeds a specific value, or that different information isprinted under particular conditions.

UseYou can define and use rules for all variable information. If a rule is assigned to a piece ofvariable information, the system checks whether the condition defined in the IF component is metwhen the form is created. There are two possible outcomes:

� The condition is met. In this case, the THEN component is processed first. This means thereplacement value stored there is taken into account. The subsequent component is theninterpreted.

� The condition is not met. In this case, the subsequent component is interpreted immediately.

If several rule lines must be processed for a rule, the substitute values stored in theaccompanying THEN component are taken into account for each condition met. To make surethat the substitute values for several filled conditions do not overlap, you must select thesubstitute values accordingly.

If the specified condition is not met in any rule line, the information assigned to the rule is notprinted on the form.

StructureA rule can contain one or more lines. A rule line consists of the following components.

� Identification component

This component contains the rule number and the number of lines. The rule is assignedto an individual field using the rule number.

� IF component

This component contains the condition for a rule.

� THEN component

This component contains the substitute values for the information. The replacementvalues are taken into account if the condition specified in the IF component is met.

� Subsequent component

This component controls the processing of additional rule lines. If an IF componentcondition is met, the subsequent rule indicator controls whether the system should lookfor an additional condition.

SAP AG HR Form Editor (PY-XX-TL)

Creating a Rule

April 2001 59

Creating a RulePrerequisitesYou are in the HR Form Editor: Change Rule screen.

Procedure1. Choose Edit � New line.

2. Enter data as required.

When you create the rule for an individual field, you can usually only enter the tablethat provides the information for the individual field.

If you must create a rule for variable information from table SCHLW, the field inwhich you enter the rule must be identical to the field from which the variableinformation comes.

Tables PN, SY, and VERSC are exceptions. All fields in these tables can be used inrules.

3. Choose Form � Save.

ResultYou have created a rule which can be assigned to individual fields.

HR Form Editor (PY-XX-TL) SAP AG

Creating a Rule: Example

60 April 2001

Creating a Rule: ExampleThe leaving date stored in the system for each employee is December 31, 9999. You only wantto print the leaving date on the form if the employee has left the company, in other words, if theleaving date is not December 31, 9999.

PrerequisitesYou are in the HR Form Editor: Change Rule screen.

Procedure4. Choose Edit � New line.

5. In the IF component of the rule, enter the following data:

Field Value

Rule 03

No. 01

Table SCHLW

Field PFIRE

Type N

VO NE

Value1 '99991231

6. Choose Form � Save.

ResultYou have created a rule with the following content:

The IF component states that you refer to information from the PFIRE field of table SCHLW. Thesystem should run a numerical comparison to determine whether the information in the PFIREfield differs from the constant 99991231.

If this is the case, the correct leaving date is printed on the form. If the information in the PFIREfield is equal to 99991231, no date is printed on the form. This is because the THEN componentcontains no data.

The subsequent rule indicator has no entry. This means that the system only searches for asubsequent line if a condition is not filled. Since no subsequent line exists, processing is endedafter the first line.

SAP AG HR Form Editor (PY-XX-TL)

Wage Type Addition

April 2001 61

Wage Type AdditionUseYou use this method if you want to cumulate several subtotals for one or more wage types andthen print the total on a form.

FeaturesYou can add wage types in the following ways:

� Wage Type Summarization

If you want to add the subtotals for a split wage type, summarize the wage type.

� Wage Type Cumulation

If you want to add the amounts for several different wage types, cumulate the wagetype.

HR Form Editor (PY-XX-TL) SAP AG

Wage Type Summarization

62 April 2001

Wage Type SummarizationUseYou use this function in the following cases:

� If the payroll results contain a split wage type [Ext.] and you want to print the total amount ona form.

� If you cumulate a split wage type with other wage types and then want to print the total as acumulation wage type on the form.

To do this, delete the split indicator(s).

A summarized wage type can only be printed in a window [Page 35] on aremuneration statement.

IntegrationIf you want to cumulate [Page 71] split wage types without identical splits, you must firstsummarize these wage types.

FeaturesYou can summarize wage types with one split or with several splits.

SAP AG HR Form Editor (PY-XX-TL)

Summarizing Single-Split Wage Types

April 2001 63

Summarizing Single-Split Wage TypesUseYou want to print a split wage type as a total amount on a form. To do this, you delete the splitindicator so that the system adds together wage type amounts for the different partial periods.

PrerequisitesYou are in the Change Window [Page 9] screen.

Procedure1. Place the cursor on the window.

2. Choose Edit � Details.

3. Choose the group in which you want to summarize the single-split wage type.

4. Choose Detail.

5. In the DSplit field, specify which split indicator you want to delete.

6. Choose Transfer.

ResultYou have deleted the wage type split. When the form is generated, the wage type is summarizedand the total amount is printed on the form.

ExampleAn employee is assigned to a different cost center during a payroll period. Table RT contains theStandard pay wage type (MA10) with the cost accounting split (CA split). The CA split coversseveral partial periods which are identified by the split indicator in the CA column.

Table RT

Wage types CA Total amount

MA10 01 1 100.00

MA10 02 2 200.00

You want to print the split wage type as a total amount on the employee's remunerationstatement.

To delete the split indicator, enter the following data in the Change Layout of Group ... dialog box:

Sgr Table ID ... DSplits ...

RT MA10 K or *

The wage type is printed on the remuneration statement as follows:

HR Form Editor (PY-XX-TL) SAP AG

Summarizing Single-Split Wage Types

64 April 2001

MA10 Standard wage 3 300.00

SAP AG HR Form Editor (PY-XX-TL)

Summarization of a Multiple-Split Wage Type

April 2001 65

Summarization of a Multiple-Split Wage TypeUseYou want to print a multiple-split wage type as a total amount on a form. To do this, you deletethe split indicator so that the system adds together wage type amounts for the different partialperiods.

FeaturesTo summarize a multiple-split wage type, use one of the following methods:

� If you want to add all subtotals for a wage type, choose method 1.

The system adds all wage type fields (Rate, Number, and Amount).

� If you only want add the subtotals with the same amount in the Rate field, choose method 2.

The values in the Rate field are not added.

HR Form Editor (PY-XX-TL) SAP AG

Summarizing Multiple-Split Wage Types: Method 1

66 April 2001

Summarizing Multiple-Split Wage Types: Method 1UseYou use this method if you want to cumulate all subtotals for a multiple-split wage type and thenprint the total on a form. To do this, you delete the split indicator so that the system adds togetherwage type amounts for the different partial periods.

When the split has been removed, the system adds the following wage type fields:

� Amount

� Rate

� Number

If you do not want to remove all splits, you can retain one or more of the splitindicators. If this is the case, you generate several subtotals which refer to the partialperiods of the wage type split(s) you have retained instead of a total amount.

PrerequisitesYou are in the Change Window [Page 9] screen.

Procedure1. Place the cursor on the window.

2. Choose Edit � Details.

3. Choose the group in which you want to summarize the multiple-split wage type.

4. Choose Detail.

5. In the DSplit field, specify which split indicator you want to delete by entering an 'X'.

6. Choose Transfer.

ResultYou have deleted the wage type splits. When the form is generated, the wage type issummarized and the total amount is printed on the form.

When the split has been deleted, the Rate field does not contain a value that can beused for any business administration activity. For this reason, the Rate field shouldnot be printed on the form.

The Number field usually contains a suitable value. You can choose whether to printthis field on the form.

ExampleAn employee is assigned to a different cost center during a payroll period. The work center andbasic pay have also changed.

SAP AG HR Form Editor (PY-XX-TL)

Summarizing Multiple-Split Wage Types: Method 1

April 2001 67

Table RT contains the Standard pay wage type (MA10) with the cost accounting split (CA split)and work center/basic pay split (WPBP split). Both splits cover several partial periods. The CAsplit is identified by the split indicator in the CA column; the WPBP split is identified by the splitindicator in the WC column.

Table RT

Wage types CA WC Amount Rate Number

MA10 01 01 1 000.00 500.00 2

MA10 02 01 500.00 500.00 1

MA10 02 02 700.00 350.00 2

MA10 03 02 1 100.00 1 100.00 1

You want to print the split wage type as a total amount on the employee's remunerationstatement.

To delete all split indicators, enter the following data in the Change Layout of Group ... dialogbox:

Sgr Table ID ... DSplits ...

RT MA10 KA or AK or *

The wage type is printed on the remuneration statement as follows:

MA10 Standard wage 3 300.00

You can also print the Number field on the remuneration statement.

Amount NumberMA10 Standard wage 3 300.00 6

HR Form Editor (PY-XX-TL) SAP AG

Summarizing Multiple-Split Wage Types: Method 2

68 April 2001

Summarizing Multiple-Split Wage Types: Method 2UseYou use this method if you only want to add the subtotals for the split wage type with the samevalue in the Rate field and print them on a form. To do this, you delete the existing split indicatorso that the system adds together the wage type amounts for the different partial periods. Thesystem takes the different values in the Rate field into account. This results in several totalamounts that can be printed on the form.

When the split has been removed, the system adds the following wage type fields:

� Amount

� Number

The Rate field functions like a split indicator here.

The system transfers the data from table RT to the internal table XRT. This tablecontains a second Rate field, the field BETPC. The system enters the values fromthe Rate field (BETPE) in this field so that they are not added. The content of fieldBETPC corresponds to the field BETPE. The fields only differ because the amountsin field BETPE are added in the summarization. The amounts in field BETPC are notadded in the summarization.

PrerequisitesYou are in the Change Window [Page 9] screen.

Procedure1. Place the cursor on the window.

2. Choose Edit � Details.

3. Choose the group in which you want to summarize the multiple-split wage type.

4. Choose Detail.

5. In the DSplit field, specify which split indicator you want to delete by entering an 'X'.

6. In the Splits field, enter the special character = (equal sign).

This means that the amounts in the Rate field are not added.

7. Choose Transfer.

ResultYou have deleted the wage type splits. The wage type is summarized when the form isgenerated. The values in the Rate field are not added. This results in several total amounts thatare printed on the form.

SAP AG HR Form Editor (PY-XX-TL)

Summarizing Multiple-Split Wage Types: Method 2

April 2001 69

When the split has been deleted, the BETPE field does not contain a value that canbe used for any business administration activity. For this reason, this field should notbe printed on the form.

The fields BETPC and Number usually contain suitable values. You can choosewhether to print these fields on the form.

ExampleAn employee is assigned to a different cost center during a payroll period. The work center andbasic pay have also changed.

Table XRT contains the Standard pay wage type (MA10) with the cost accounting split (CA split)and work center/basic pay split (WPBP split). Both splits cover several partial periods. The CAsplit is identified by the split indicator in the CA column; the WPBP split is identified by the splitindicator in the WC column.

Table RT

Wage types CA WC Amount Rate Number

MA10 01 01 1 000.00 500.00 2

MA10 02 01 500.00 500.00 1

MA10 02 02 700.00 350.00 2

MA10 03 02 1 100.00 1 100.00 1

You want to print the split wage type as a total amount on the employee's remunerationstatement.

To delete the split indicators, enter the following data in the Change Layout of Group ... dialogbox:

Sgr Table ID ... Splits DSplits

RT MA10 = KA or AK or *

The system transfers the values from table RT to table XRT:

Wage types CA WC Amount Rate BETPC Number

MA10 01 01 1 000.00 500.00 500.00 2

MA10 02 01 500.00 500.00 500.00 1

MA10 02 02 700.00 350.00 350.00 2

MA10 03 02 1 100.00 1 100.00 1 100.00 1

The wage type is printed on the remuneration statement as follows:

HR Form Editor (PY-XX-TL) SAP AG

Summarizing Multiple-Split Wage Types: Method 2

70 April 2001

MA10 Standard wage 1 500.00

MA10 Standard wage 700.00

MA10 Standard wage 1 100.00

You can also print the BETPC and Number fields on the remuneration statement.

Amount Rate (BETPC) NumberMA10 Standard wage 1 500.00 500.00 3

MA10 Standard wage 700.00 350.00 2

MA10 Standard wage 1 100.00 1 100.00 1

SAP AG HR Form Editor (PY-XX-TL)

Wage Type Summarization

April 2001 71

Wage Type SummarizationUseYou use this function if you want to group together several wage types in a cumulation wage type[Page 47] and then print it on a form.

A summarized wage type can only be printed in a single field [Page 18] or in awindow [Page 35] on a remuneration statement.

PrerequisitesIf you want to cumulate split wage types without identical splits, you must first summarize [Page62] these wage types. You can do this in the same step as the cumulation.

FeaturesYou can cumulate wage types with and without splits. The following variants can be used:

� Cumulating Wage Types Without Splits

� Cumulate wage types without splits and split wage types

� Cumulate split wage types

ActivitiesYou must enter a mathematical symbol for each wage type to be included in a cumulation wagetype:

� Plus (+) if the wage type is added to the other wage types

� Minus (-) if the wage type is subtracted from the other wage types

You must give a four-character name to each cumulation wage type.

HR Form Editor (PY-XX-TL) SAP AG

Cumulating Wage Types Without Splits

72 April 2001

Cumulating Wage Types Without SplitsUseYou use this function if you group several wage types without splits in a cumulation wage typeand want to print this on a form.

PrerequisitesYou are in the Change Cumulation Identifiers [Page 9] screen.

Procedure1. Choose Edit � New line.

2. Create a cumulation identifier.

3. Choose Edit � Details.

You access the Change Layout of Cumulation Identifier ... dialog box.

4. Choose New line.

5. Enter the wage types to be added and set the appropriate mathematical sign.

Since you are cumulating wage types without splits, you do not have to delete anysplit indicators.

6. Choose Transfer.

ResultYou have grouped together wage types without splits in a cumulation wage type. When the formis generated, the cumulation wage type is printed on the form.

ExampleDuring a payroll period, the employee receives the standard wage as well as a standard bonusand a voluntary bonus. Table RT contains the amounts for the Standard wage (MA10), Standardbonus (MA20) and Voluntary supplement (MA40) wage types.

Table RT

Wage types Amount

MA10 3 300.00

MA20 500.00

MA40 1 000.00

SAP AG HR Form Editor (PY-XX-TL)

Cumulating Wage Types Without Splits

April 2001 73

You want to group together these wage types in the Total pay cumulation wage type with theidentifier 1234 and then print this cumulation wage type on the employee's remunerationstatement.

In the Change Cumulation ID dialog box, enter the following data:

ID Long text Short text Summands

1234 Total payments Total

In the Change Layout of Cumulation ID dialog box, enter the following data:

Table ID ... MS ... Splits DSplits ...

RT MA10 +

RT MA20 +

RT MA40 +

The cumulation wage type is printed on the remuneration statement as follows:

1234 Total payments 4 800.00

HR Form Editor (PY-XX-TL) SAP AG

Cumulating Wage Types With and Without Splits

74 April 2001

Cumulating Wage Types With and Without SplitsUseYou use this function if you group split wage types and wage types without splits in a cumulationwage type and want to print this on a form. To do this, you delete the split indicator so that theamounts for the split wage types for the partial periods are added together by the system. Youthen cumulate all wage types.

PrerequisitesYou are in the Change Cumulation Identifiers [Page 9] screen.

Procedure1. Choose Edit � New line.

2. Create a cumulation identifier.

3. Choose Edit � Details.

You access the Change Layout of Cumulation Identifier ... dialog box.

4. Choose New line.

5. Enter the wage types to be added and set the appropriate mathematical sign.

6. In the DSplit field, specify which split indicator you want to delete by entering an 'X'.

7. Choose Transfer.

ResultYou have removed the splits from the split wage types and grouped together all wage types in acumulation wage type. When the form is generated, the cumulation wage type is printed on theform.

ExampleDuring a payroll period, the employee receives the standard wage as well as a standard bonusand a voluntary bonus. The employee is assigned to a different cost center during a payrollperiod.

Table RT contains the amounts for the Standard wage (MA10), Standard bonus (MA20) andVoluntary supplement (MA40) wage types. Wage type MA10 exists with a cost accounting splitwhich covers several partial periods. This is identified by the split indicator in column CA.

Table RT

Wage types CA Total amount

MA10 01 1 100.00

MA10 02 2 200.00

SAP AG HR Form Editor (PY-XX-TL)

Cumulating Wage Types With and Without Splits

April 2001 75

MA20 500.00

MA40 1 000.00

You want to group together these wage types in the Total pay cumulation wage type with theidentifier 1234 and then print this cumulation wage type on the employee's remunerationstatement.

In the Change Cumulation ID dialog box, enter the following data:

ID Long text Short text Summands

1234 Total pay Total

In the Change Layout of Cumulation ID dialog box, enter the following data:

Table ID ... MS ... Splits DSplits ...

RT MA10 + K or *

RT MA20 +

RT MA40 +

The cumulation wage type is printed on the remuneration statement as follows:

1234 Total pay 4 800.00

HR Form Editor (PY-XX-TL) SAP AG

Cumulation of Split Wage Types

76 April 2001

Cumulation of Split Wage TypesUseYou use this function if you group several split wage types in a cumulation wage type and want toprint this on a form.

PrerequisitesSplit wage types can be grouped together in a cumulation wage type if they have the same splitindicator. An identical split exists if the time specifications and the split type are the same for bothwage types.

01/01. 01/10 01/31

01 02

Wage type Standard wage (MA10)

Cost accounting split (CA)

01/01. 01/10 01/31

Wage type Standard bonus (MA20)

01 02 Cost accounting split (CA)

01 02 Work center/basic pay split (WPBP)

01/01. 01/31

Wage type Voluntary supplement (MA40)

01/15

Identical split:

Non-identical split:

The Standard wage (MA10) and Standard bonus (MA20) have identical splits. Thesplit for the Voluntary supplement (MA40) wage type is not identical to those for theother wage types.

FeaturesThe following variants can be used to cumulate split wage types:

� Cumulating Wage Types with Identical Splits

� Cumulating Wage Types with Different Splits

SAP AG HR Form Editor (PY-XX-TL)

Cumulating Wage Types with Identical Splits

April 2001 77

Cumulating Wage Types with Identical SplitsUseYou want to cumulate several split wage types. The splits are all identical. You do not want toremove the split indicator. This means that the wage types will not be summarized. In doing this,you generate several subtotals for a cumulation wage type. These subtotals refer to a definitepart of a payroll period as defined by the split indicator. You can print these partial amounts on aform.

If you want to print all subtotals on the form, you must use a window. If you print thecumulation wage type in a single field, only the first subtotal for the cumulation wagetype is printed.

PrerequisitesYou are in the Change Cumulation Identifiers [Page 9] screen.

Procedure1. Choose Edit � New line.

2. Create a cumulation identifier.

3. Choose Edit � Details.

You access the Change Layout of Cumulation Identifier ... dialog box.

4. Choose New line.

5. Enter the wage types to be added and set the appropriate mathematical sign.

6. Choose Transfer.

ResultYou have cumulated several split wage types and retained the splits. When the form isgenerated, the resulting cumulation wage type is printed on the form with several amounts.

ExampleDuring a payroll period, an employee receives the standard wage as well as a standard bonusand a voluntary bonus. An employee is assigned to a different cost center during a payroll period.The work center has also changed.

Table RT contains the amounts for the Standard pay wage type (MA10) and Standard bonuswage types (MA20) with the cost accounting split (CA split) and work center/basic pay split(WPBP split). Both splits cover several partial periods which are identified by the split indicator inthe CA and WC columns.

Table RT

Wage types CA WC Total amount

HR Form Editor (PY-XX-TL) SAP AG

Cumulating Wage Types with Identical Splits

78 April 2001

MA10 01 01 1 100.00

MA10 02 02 2 200.00

MA20 01 01 300.00

MA20 02 02 500.00

You want to group together these wage types in the Total pay cumulation wage type with theidentifier 1234 and then print this cumulation wage type on the employee's remunerationstatement.

In the Change Cumulation ID dialog box, enter the following data:

ID Long text Short text Summands1234 Total pay Total

In the Change Layout of Cumulation ID dialog box, enter the following data:

Table ID ... MS ... Splits DSplits ...RT MA10 +

RT MA20 +

The cumulation wage type is printed on the remuneration statement as follows:

1234 Total pay 1 400.00

1234 Total pay 2 700.00

The first amount is the total of the amounts from wage types MA10 and MA20 which refer to thefirst partial period in the payroll period. In this period, the employee was still assigned to the oldcost center and had the former work center.

The second amount is the total of the amounts from wage types MA10 and MA20 which refer tothe second partial period in the payroll period. In this period, the employee was assigned to thenew cost center and had changed to the new work center.

SAP AG HR Form Editor (PY-XX-TL)

Cumulating Wage Types with Different Splits

April 2001 79

Cumulating Wage Types with Different SplitsUseYou want to cumulate several split wage types and print them on a form. Some splits areidentical, some are not. You want to retain the identical splits.

To do this, you first delete all split indicators and then reactivate the identical splits. For the wagetypes without identical splits, the system adds the amounts that exist for the different partialperiods.

You then group together all wage types in a cumulation wage type. This cumulation wage typeconsists of several subtotals which you can then print on the form.

If you want to print all subtotals on the form, you must use a window. If you print thecumulation wage type in a single field, only the first subtotal for the cumulation wagetype is printed.

PrerequisitesYou are in the Change Cumulation Identifiers [Page 9] screen.

Procedure1. Choose Edit � New line.

2. Create a cumulation identifier.

3. Choose Edit � Details.

You access the Change Layout of Cumulation Identifier ... dialog box.

4. Choose New line.

5. Enter the wage types to be added and set the appropriate mathematical sign.

6. In the DSplit field, specify which split indicator you want to delete.

7. In the Splits field, specify which split indicator you want to delete.

8. Choose Transfer.

ResultYou have removed all split indicators and reactivated the splits that are identical for all wagetypes. When the form is generated, the wage types without identical splits are summarized. Allwage types are then cumulated and the identical splits are retained. The resulting cumulationwage type is printed on the form with several amounts.

ExampleDuring a payroll period, the employee receives the standard wage as well as a standard bonus.An employee is assigned to a different cost center during a payroll period. The work center hasalso changed.

HR Form Editor (PY-XX-TL) SAP AG

Cumulating Wage Types with Different Splits

80 April 2001

Table RT contains the Standard pay wage type (MA10) with the cost accounting split (CA split)which covers two partial periods. The amount for the Standard bonus wage type (MA20) existswith an identical CA split. In addition, wage type MA20 has a work center/basic pay split (WPBPsplit) which covers three partial periods. The partial periods are identified by the split indicators inthe CA and WC columns.

Table RT

Wage types CA WC Total amount

MA10 01 01 1 100.00

MA10 02 02 2 200.00

MA10 02 03 200.00

MA20 01 300.00

MA20 02 500.00

You want to group together these wage types in the Total pay cumulation wage type with theidentifier 1234 and then print this cumulation wage type on the employee's remunerationstatement.

In the Change Cumulation ID dialog box, enter the following data:

ID Long text Short text Summands

1234 Total pay Total

In the Change Layout of Cumulation ID dialog box, enter the following data:

Table ID ... MS ... Splits DSplits ...

RT MA10 + K *

RT MA20 +

The cumulation wage type is printed on the remuneration statement as follows:

1234 Total pay 1 400.00

1234 Total pay 2 900.00

The first amount is the total of the amounts from wage types MA10 and MA20 which refer to thefirst partial period in the payroll period. In this period, the employee was still assigned to the oldcost center.

The second amount is the total of the amounts from wage types MA10 and MA20 which refer tothe second partial period in the payroll period. In this period, the employee was assigned to thenew cost center.

The work center/basic pay split is not taken into account when the remuneration statement isprinted because you have deleted the corresponding split indicator.

SAP AG HR Form Editor (PY-XX-TL)

Cumulating Wage Types with Different Splits

April 2001 81

HR Form Editor (PY-XX-TL) SAP AG

Documentation

82 April 2001

DocumentationUseThe documentation contains specific information on your form. You can use the documentationas follows:

� You have copied the documentation for a HR standard form from the SAP client to thecustomer clients. You can modify this documentation to suit your requirements.

� You have created a new form without any documentation. You can create newdocumentation for this form.

ActivitiesYou can edit the documentation in the Form Editor under Documentation � Change.

See also:Documentation Maintenance [Ext.]

SAP AG HR Form Editor (PY-XX-TL)

Multilingual Forms

April 2001 83

Multilingual FormsDefinitionForm whose text is available in several languages.

ExampleIf, for example, your enterprise employs English speakers and also German speakers, and youwant to print a form in the employee’s native language, create a form in several languages. To dothis, copy the German form and change the following objects for the copy:

� Background

� Group text

� Text modules

� Texts on cumulation identifiers

HR Form Editor (PY-XX-TL) SAP AG

Copying a Form for a Different Language

84 April 2001

Copying a Form for a Different LanguagePrerequisitesThe form that you want to create in a different language must already exist.

You are in the initial screen of the form editor.

Procedure1. Enter the country grouping and the name of the form that you want to copy.

2. Choose Background � Change.

If your form already exists in more than one language, the Select language dialog box isdisplayed. Choose a language to be used as the source language when you copy theform to another language.

3. Choose Edit � Language � Copy.

4. Enter the new language.

5. Choose Copy.

6. Set up the following subobjects for the new language:

� Background

� Text modules

� Texts on cumulation identifiers

� Group text

7. Save your entries.

ResultYou have copied your form to a new language.

SAP AG HR Form Editor (PY-XX-TL)

Changing the Form Language

April 2001 85

Changing the Form LanguageUseYou can change the form language for language-dependent subobjects [Page 7] in the form.

Procedure1. Choose Edit � Language � Change.

2. Enter the required language.

Edit the language-dependent subobject in the chosen language.

3. Save your entries.

ResultYou have changed the language in order to edit language-dependent subobjects in the form.

HR Form Editor (PY-XX-TL) SAP AG

Deleting the Form Language

86 April 2001

Deleting the Form LanguageUseIf a form is no longer required in a particular language, you can delete the language version.

PrerequisitesYou are in a language-dependent subobject in the form.

Procedure1. Choose Edit � Language � Delete.

2. Choose the language that you want to delete.

3. Choose Delete.

The form must remain in at least one language. You can delete all language versionsof the form as described under Deleting a Form [Page 88].

ResultYou have deleted the language for a form.

SAP AG HR Form Editor (PY-XX-TL)

Copying Forms Within a Client

April 2001 87

Copying Forms Within a ClientUseYou usually only use this function if you copy an HR standard form to the customer name range,or if you want to use an edited form as the basis for an additional form.

PrerequisitesYour client contains a form that can be copied.

You have logged on in your client and are in the initial screen of the form editor.

Procedure1. Enter the country grouping and the name of the form that you want to copy.

2. Choose Form � Copy.

The Form <name> dialog box appears.

3. Enter data as required.

If you copy a form to the customer name range, the customer name must start withZ.

4. Choose Copy.

The form and the accompanying documentation can be copied.

ResultYou have copied a form and the accompanying documentation within a client.

HR Form Editor (PY-XX-TL) SAP AG

Deleting Forms

88 April 2001

Deleting FormsPrerequisitesYou have logged on to the customer client of the SAP System and want to delete one or moreforms.

Procedure1. Choose Extras � Other tools.

The Form Data to be Imported dialog box is displayed.

2. Check the entries in the Client, Country Grouping, and Language fields and enter a value inthe Form Class field.

To delete the form in all existing languages, enter an asterisk (*) in the Languagefield.

The Form Copier dialog box appears.

3. In the table, select the forms that you want to delete from the customer client.

4. Choose Delete Forms.

ResultYou have deleted forms from the customer client.

SAP AG HR Form Editor (PY-XX-TL)

Transporting Forms

April 2001 89

Transporting FormsPrerequisitesYou have finished editing the HR customer form in Customizing, or in the test clients, and youwould like to transport the customer form to the live clients in the R/3 System.

You are in the initial screen of the form editor.

Procedure1. Enter the name of the form you want to transport.

2. Choose Form � Transport.

3. You access the Enter Change Request dialog box.

4. Choose Continue.

ResultYou have assigned your form and the accompanying documentation to a transport request sothat you can transport it to another client.

For more information on transport requests, see Working With The TransportOrganizer [Ext.].

HR Form Editor (PY-XX-TL) SAP AG

Form Copier

90 April 2001

Form CopierUseThe Other tools menu option contains the functions which are not used when creating the form,but which may be used within the form editing environment.

FeaturesThese functions are:

� Copy forms across clients

This form copy function differs from the form copy function in the initial screen of the HRform editor because it allows you to copy several forms at once. In doing this, the systemchecks whether the target client corresponds to the current client. You can only copyforms if this is the case.

� Delete forms

You can use this function to delete forms (for example, test forms) that you no longerrequire in your clients. If you enter the placeholder * (asterisk), the form will be deleted inall existing languages. If you have selected Only delete language-dependent tables, onlythe selected language will be deleted. If the form only exists in one language, it is deletedcompletely.

This form deletion function differs from the form deletion function in the initial screen ofthe HR form editor because it allows you to delete several forms at once.

� Compare forms

You can compare two forms with each other. A list is displayed showing whether thetable entries belonging to these forms are identical or contain differences.

� Count entries for a form

You can count all table entries for a form. The table entries for a form are displayed in alist.

� Upload/download forms

You use this function to save forms from the SAP System to a PC (download) or to loadforms from a PC to the SAP System (upload). This function can be used for transportingforms between different SAP Systems.

SAP AG HR Form Editor (PY-XX-TL)

Copying a Standard HR Form Across Clients

April 2001 91

Copying a Standard HR Form Across ClientsUseYou want to use a standard HR form from the SAP client 000 as a template for your form. To dothis, you must copy the standard HR form to your clients.

PrerequisitesYou have logged on in the client to which you want to copy the form. You are in the initial screenof the form editor.

Procedure1. Choose Extras � Other tools.

The Form data to be imported dialog box is displayed.

2. Enter data as required.

3. Choose Continue.

The Form Copier dialog box is displayed.

4. In the table, choose the standard HR form that you want to copy to the customer client, andenter the name of the form in the Target field.

To copy all standard HR forms in a form class to your clients, choose Copy sourceforms.

The system suggests the name for the new form in the Target field.

SAP recommends that you copy the copied HR standard form to your customername range so that it cannot be overwritten during a release upgrade.

5. Choose Copy.

The Form Copier for Form Class <name> is displayed. The list contains information onthe form (client, form name, country grouping, language) and the number of copied tableentries.

ResultYou have copied a standard HR form and the accompanying documentation from client 000 toyour client.

HR Form Editor (PY-XX-TL) SAP AG

Comparing Forms

92 April 2001

Comparing FormsPrerequisitesYou are in the initial screen of the Form Editor.

Procedure1. Choose Extras � Other tools.

2. In the Form Data to Be Imported dialog box, specify which form you want to compare.

3. Choose Continue.

4. Enter the target data.

5. Choose Form � Compare.

ResultA comparison of the tables used in the forms is displayed.