Editing HR-Name in Compliance with National Regulations 
Name
RP-EDIT-NAME
Function
This RMAC module edits names in all HR standard evaluations in compliance with the national regulations of a particular country. Name editing is done according to the entries in Table T522N (HR name editing). HR name editing is also dependent on:
If the name format of the relevant HR standard evaluation corresponds to the one in the master data (format:
01 ), the name string stored in the master data is used in infotype P0001 (org. assignment/P0001-ENAME). The HR function module RP_EDIT_NAME (transaction: SE37) is used to edit names.Parameters
IN |
1. |
infotype P0001 |
Org. assignment (P0001-ENAME) |
|
2. |
infotype P0002 |
Person data or | |
|
infotype P0021 |
Family data | ||
|
3. |
MOLGA |
(T001P-MOLGA) | |
|
4. |
LANGU |
Language for mode of address | |
|
SPACE SAP logon language SY-LANGU | |||
|
x Receiver language P0002-SPRSL | |||
|
5. |
$$FORMAT |
Name format for editing | |
OUT |
1. |
$EDIT-NAME |
Edited name string for transfer |
|
2. |
$RET-CODE |
Return code from name editing |
Check
Usage
This RMAC module is meant for all HR reports that print out an employee's complete name. It is used only in combination with
RMAC module RP-SET-NAME-FORMAT ! (for example, HR standard letter reports RPBDSG00, RPBTAR00, RPBLET* etc.)