Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This is transaction is to be executed manually if needed . This is for sending of and serves the purpose of sending a personnel number (PA30) from SAP to FSM. When triggering program /PACG/ECM_TRIG_EMPLOYEE_MASTER, the determination of addresses with the 'PERN' type is called.

...

...

Info

It is required to enter a company ID before executing the program. If not, an error message is displayed at the bottom of the screen ('Fill in all required entry fields').

Expand
titleClick to learn more about Employee Adress determination

Configuration occurs on two levels.

  • The general level concerns the settings of the given E4C Company. In this configuration, we determine the general principle of sending addresses. Please note that only one type of address should be marked as 'default'.

The configuration can be found under the transaction '/PACG/ECM_DEFADR' or using the standard user menu '/PACG/EC'

Image Modified

The addresses from this configuration are read only when user-specific configuration is missing.

  •  User-specific level. Within this configuration, you can define specific addresses for a specific person. When defining this configuration, it is also important to remember exactly one 'default' address. Once we define the most specific settings for specific users, it is a good practice to set all three types of addresses (Home / Work / Other). This will avoid inconsistencies between the general configuration and the specific one for the user. (i.e. two addresses will be marked as 'default').

The configuration can be found under the transaction '/PACG/ECM_USRADR' or using the standard user menu '/PACG/EC'

Image Modified

 

Technical documentation

The logic for addresses was implemented in the following classes:

  • /PACG/ECM_CL_S_SEL_EMPLOYEE Employee selection class

  • /PACG/ECM_CL_S_SEL_USER User selection class

 

Process

After setting the configuration, when sending people to the FSM cloud system should send 3 Idocs with the appropriate addresses.

Below is a sample test.

Image ModifiedImage Modified

FSM database result:

Image Modified


As long as there is an entry of "HOME/WORK/OTHER" in transaction /PACG/ECM_DEFADR or /PACG/ECM_USRADR, then the addresses from PA30 infotype 0005 will be sent. In another case, if the employment is not "3 Active", then transaction_type = D will always be sent as this is checked internally. The employment field here is in PA0000-STAT2.

...