Transaction PA40 - Personnel Actions
The following article shows how to use the integration type Transaction with transaction PA40 in yunIO.
The depicted example application uses the transaction PA40 to define personnel actions in SAP.
Prerequisites
The SAP connection assigned to a transaction service must use an SAP dialog user with enough access rights to edit customer master data.
Tip
The transaction feature of yunIO offers the same functionalities as the SAP GUI.
Create a new Employee in SAP
The depicted example application uses a yunIO service to create a new employee in SAP.
Note
The parameters that are needed to create new employees are dependent on your customized SAP settings.
- Create a new Service with the integration type Transaction. For more information on creating a service, see Create a Service.
- In the transaction service enter the transaction PA40 and press [Start]. A replicated SAP GUI of the transaction PA40 is displayed.
- Enter a start date for the new employee in the format
DD.mm.YYYY
. This input can be replaced with a runtime parameter after the transaction is recorded. - Select the action type Hiring.
- Click Execute to execute the action and continue to the next screen. All actions are logged in the GUI Steps section of the UI.
- Fill in the data of the new employee.
- Click [Submit] to check if the input is valid.
- Click [Save] to save the employee data in SAP and to continue to the next screen.
- Optional: If a pop-op window opens in SAP, the message of the pop-up window is displayed in yunIO. Click [Continue] to close any pop-up windows and continue to the next screen.
- Once all necessary data is entered, click [Infotype] > [Exit] to stop the input. Example:
- Click [Save] to save your actions.
Alternatively, click [Stop] to start parameterizing, see Documentation: Parameterize Transactions. - Copy the URL of the service definition ( icon) or download the service definition ( icon) to integrate the service in your workflow. For information on how to use yunIO services in Power Automate or Nintex, see Integrate a yunIO Service with Power Automate or Integrate a yunIO Service with Nintex.
Note
When using Transaction, warnings and error messages from SAP are displayed in yunIO. These messages are not yunIO specific and should be treated accordingly.