Warning: Deprecated articles
You are using the old version of the knowledge base for yunIO.
Make sure to use the samples within the new HelpCenter for yunIO.

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.

  1. Create a new Service with the integration type Transaction. For more information on creating a service, see Creating a Service.
  2. In the transaction service enter the transaction PA40 and press [Start]. A replicated SAP GUI of the transaction PA40 is displayed. personnel-actions
  3. 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.
  4. Select the action type Hiring.
  5. Click Execute to execute the action and continue to the next screen. All actions are logged in the GUI Steps section of the UI.
  6. Fill in the data of the new employee.
  7. Click [Submit] to check if the input is valid.
  8. Click [Save] to save the employee data in SAP and to continue to the next screen.
  9. 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.
  10. Once all necessary data is entered, click [Infotype] > [Exit] to stop the input. Example:
  11. Click [Save] to save your actions.
    Alternatively, click [Stop] to start parameterizing, see yunIO Help: Parameterize Transactions.
  12. Copy the URL of the service definition ( copy-URL icon) or download the service definition ( download-file icon) to integrate the service in your workflow.
    For information on how to use yunIO services in Power Automate or Nintex, see Integrating a yunIO Service with Power Automate or Integrating a yunIO Service with Nintex. yunio-Services

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.