Transaction VA02 - Change Sales Order
The following article shows how to use the Transaction service type to automate transaction VA02. The depicted example application uses the transaction VA02 to change a sales order in SAP.
Prerequisites
The SAP connection assigned to a transaction service must use an SAP dialog user with enough access rights to edit sales orders.
Update Items in a Sales Order
To create a service that changes items in a sales order in SAP:
- Create a new service that uses the Transaction service type.
- In the transaction service enter the transaction VA02 and press [Start]. Xtract Universal.iQ starts recording you actions and loads a replication of the SAP GUI that corresponds to the transaction.
- Enter an order number between 1 - 4999999.
This input can be replaced with a runtime parameter after the transaction is recorded. - Click [Submit] to execute the action and to continue to the next screen.
- If a pop-op window opens in SAP, the message of the pop-up window is displayed in Xtract Universal.iQ. Click [Submit] to close any pop-up windows and continue to the next screen.
- Edit the sales order or open screens that contain settings you want to parameterize.
- Click [Submit] to submit any changes to SAP. If SAP messages open, repeat submitting the input until no messages open.
- Click Sales document > Save to save any changes in SAP.
- Click [Stop] to start parameterizing, see Documentation: Parameterize Transactions. Make sure to replace the entered order number with a runtime parameter to make the service usable for multiple sales orders.
- After defining the parameters, click [Save] to save the service.
- In the Services menu, click Run > Service > Run to test the service and copy the service URL.
The service can now be integrated with third-party tools.
Note
When using Transaction, warnings and error messages from SAP are displayed in Xtract Universal.iQ e.g., "Equipment number... not in external number interval". These messages are not Xtract Universal.iQ specific and should be treated accordingly.
Related Topics
Last update: June 24, 2026