Ansicht
Dokumentation
OHAFFORS070 - Example: Message in Window
TXBHW - Original Tax Base Amount in Local Currency CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
This step outlines how to print a notification in a window. For more information, refer to the SAP Library, under Payroll ->
You want to set up a general notification for your employees on the remuneration statement. You want to print the notification in subgroup 01 of group 01 in window F1.
You must create the notification in the Notifications infotype (0128).
- In the Form editor, choose Line layout -> Change.
- Create a layout:
- In the Line type field, enter 01.
- In the Column type field, enter X.
- Create an individual field with the following data:
Column Table Table field Print length |
---|
1 TXT ENTRY 65 |
- Choose Goto -> Window.
- Define a subgroup with the following data:
Subgroup Table Identifier LType CType |
---|
01 TXT 1 01 X |
The text of the general notification (Identifier 1) is created in a line with a length of 65 characters. Personnel numbers and text module are assigned in the Notifications infotype (0128).
The general notification is printed on the remuneration statement in subgroup 01 of group 01 in window F1 with a lenth of 65 characters. The window width must be greater than the print length, otherwise the text will be truncated.
The SAP system only prints notifications on the remuneration statement that are assigned to the current payroll period. No notifications regarding retroactive payroll accounting are printed on the remuneration statement.
If you want to print a personal notification, enter identifier 2.
ABAP Short Reference rdisp/max_wprun_time - Maximum work process run time
This documentation is copyright by SAP AG.
Length: 2966 Date: 20240523 Time: 185859 sap01-206 ( 32 ms )