SAP ABAP IMG Activity SIMG_OHT422 (Define the Format of the Output Data)
Hierarchy
☛SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR ⤷PT (Application Component) Personnel Time Management ⤷PTIC (Package) HR Time Data: Customizing
Hypertext: Object Class - Class to which a document belongs.
Document Name
SIMG_OHT422
The following is an overview of all conversions and rules for formatting the data printed on your form.
Example
Form SType No Offset Length WType Field name Conversion Rule ------------------------------------------------------------------------ TF00 HD 03 016 08 PERNR-PERNR TF00 HD 03 034 25 P0001-ENAME TF00 HD 03 071 06 WPBP-PERSG ! ! ! ! ------------- ! ! ! Output Output position Output fields processing ! ! ! ------------- time types ! --------- ! ! ! ! ! ! ! TF00 E1 01 000 01 ! WEEKDAY TS TF00 E1 01 004 10 ! PT-PTYPE TP TF00 E2 01 004 22 ! THOLT-KTEXT LL TF00 E2 01 027 22 ! TEXT-TP TP TF00 E2 02 004 11 ! PSS TAGTY TD HD : : : : : ! : : : : : : : : ! : : : TF00 EP 01 024 03 ! TP-PTYPE TP TF00 EP 01 027 05 ! TP-BEGTM UZ FD TF00 EP 01 033 05 ! TP-ENDTM UZ FD TF00 EP 01 038 07 ! TP-ANZHL FD TF00 EP 01 046 07 0003 LL
Requirements
Standard settings
Recommendation
Do not carry out any activities during the first reading. It is possible to access this section at all stages where you work with conversions and rules.
Activities
Output texts: There are three ways to print a text on the form:
By directly entering the text in the Field name column, in inverted commas.
By entering the key word TEXT-XY in the Field name column. The precise text to be printed is identified by the two-digit identifier "XY". You inform the program of this by making a corresponding entry in the place where you have also defined the group headers. This entry must adhere to the following conventions:
Fnst GR K D < ....+....1....+....2....+....3....+....4....+....5.. ------------------------------------------------------------------ TE XT X Y Text that you want to specify via the identification code XY
If you enter a field name (a one-digit identification code), this can be converted into a text by using the conversion T$, where "$" is any alphanumeric character. You define the corresponding text as before. If you want to print each employee's Time Management status, for example, you must evaluate the WPBP-ZTERF field. This can assume the following values: 0 : No time evaluation 1 : Time evaluation (ACTUAL times) 2 : PDC time evaluation 8 : External services 9 : Time evaluation (PLANNED times) Enter "TZ" as the conversion. The necessary text elements are:
Fnst GR K D < ....+....1....+....2....+....3....+....4....+....5.. ------------------------------------------------------------------ TE XT Z 0 No time evaluation TE XT Z 1 Time evaluation (ACTUAL times) TE XT Z 2 PDC time evaluation TE XT Z 8 External services TE XT Z 9 Time evaluation (PLANNED times)
Special field names:
SKIP : Print a blank line
VACATION Possible conversions: AG : Print leave entitlement without deduction RG : Print remaining leave (in days) VG : Print leave taken AB : Print accounted leave RE : Print remaining leave at end of year other : Print remaining leave for each period
VACATION5 Possible conversions as for VACATION 5 places before the decimal point and 5 decimals
QUOTAA/QUOTAP Attendance and absence qupta information - for current key date - in the wage type field, enter either the quota type (2 characters), or - for accrual of all existing attendance/absence quotas the keyword 'DAYS' or 'HOUR' to specify the quota unit, - with conversion CF - Quota compensation for future CO - Quota compensation for key date DF - Quota 'taken' ET - Quota entitlement EV - Quota accounted OR - Quota requested RD - Quota remainder for key date RF - Quota remainder for future US - Quota used
WEEKDAY Possible conversions: TW : Print weekday text A number between 1 and 7 is assigned to every day of the week with the key word WEEKDAY. (1=Monday, 2=Tuesday ... , 7=Sunday) You must assign the appropriate weekday text to each of these numbers just as you do when creating a text element:
Fnst GR K D < ....+....1....+....2....+....3....+....4....+....5.. ------------------------------------------------------------------ TE XT W 1 Monday TE XT W 2 Tuesday TE XT W 3 Wednesday TE XT W 4 Thursday TE XT W 5 Friday TE XT W 6 Saturday TE XT W 7 Sunday
TS : If no time pair exists for a day of the week, this day does not appear on the form. You must also enter a text for each day of the week on which this conversion shold be carried out