Insert Loop in Custom Transaction

This topic describes how looping functionality allows Process Runner users to repeat specific steps until a certain requirement is met. Many of the SAP transactions have multiple line items. When your SAP transactions require multiple line items to be entered and the number of line items vary, loop technology is required to handle such transactions. Incorporate looping in Process files to handle multi-line (Header /Line item) documents.

Refer to the video to understand the looping functionality in VA01-Create Sales Order Transaction.

Current Recording:

  • Select the screen that is not required. The fields are often recorded to balance the recording to exit from SAP GUI.

After above adjustments:

  • Exclude the Header items and then click and select 'Start loop' from the dropdown menu as shown in the image below.
  • Start Loop is inserted automatically as illustrated in the image below.