Some SAP business processes require actions to be performed by different users with different authorization levels.
Typical examples include approval flows or hand-offs between operational users and managers within a single end-to-end process.
This often raises the question of whether such scenarios can be automated without splitting them into multiple tests.
⚙️ How it works
Yes. PerfecTwin supports executing a single scenario using multiple user accounts, while also passing data between T-Codes.
Each T-Code in the scenario can be configured with the login information of the user role that has the required authorization.
During execution, PerfecTwin automatically:
Logs in with the user account assigned to the current T-Code
Executes the T-Code
Extracts required data (such as a document number)
Logs out and switches to the next user account when needed
At the same time, data created in earlier steps can be used in later steps.
For example, if a Sales Order is created in VA01, the generated order number can be extracted and stored as a Variable.
When the scenario proceeds to VL01N, PerfecTwin can automatically input that order number as an execution value, even though the transaction is performed under a different user account.
This allows the scenario to follow the same flow as a real SAP business process, where data is handed over between users.
Comments
0 comments
Please sign in to leave a comment.