|Sample code, images||Restrictions, R/3 Release, Sapgui version, GuiXT version|
|15 Processing multiple transactions in one script You want to create a simple user interface for a certain task that, in SAP standard, requires 2 or more different transactions. For example, you implement a “Create customer” form that fits on one screen, covering both the data for transaction XD01 (create new customer) and for transaction FD32 (credit control data). Problems:
To solve the first issue, use the “Retry on error” command.
To solve the second one, there are 3 possibilities:
To solve the 3rd issue, you can check all data in the InputScript before you start the first transaction. But in many cases a complete check will not be possible. An alternative approach is then: display the error message, let the user correct the values, and then perform the 2nd transaction alone, skipping the first one in the InputScript. We will cover this issue separately in our “Special topics”.
Last update: April 3, 2003