Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 10 Next »

This transaction serves the purpose of sending employees as personnel numbers (PA30) from SAP to FSM. When triggering program /PACG/ECM_TRIG_EMPLOYEE_MASTER, the determination of addresses with the 'PERN' type is called.

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').

After execution, idocs of type /PACG/ECM_ITYPE_USER (and /PACG/ECM_ITYPE_ADDRESS) are generated.

Employee Adress determination

 Click 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'

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'

 

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.

FSM database result:


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.




To locate the responsible outbound idoc creation class for a message type, look for the message type in "/PACG/ECM_CLSASSIG - E4C Outgoing Messages Configuration".

  • No labels