Transaction - Header Detail

Transaction - Header Detail

When you need to upload many lines of the same type of information, such as in a table or a grid where the header stays the same and the line-item data changes, you can use a loop. An example of such a transaction is a VA01 sales order creation. The loop tells the script to process each row of line item data that is associated with the header data.

 

Some SAP transactions require multiple rows of data to be processed at the same time. For many of these transactions, SAP separates the data into two parts:

Header: The header contains data that remains constant for the entire transaction, such as a date.

One or more line item: Each line item section typically contains reiterative data, which is entered in a grid-like area of the SAP transaction, such as journal entry line items.

 

To run a loop

 

1.In the Mapper, select the Start Loop for the screen that contains the fields. End Loop is automatically displayed for the selected loop items.

2.In the Block Type column, select one of the following:

Fix Block

On Change

On Change-Ignore Blank

On Blank Cell In Column

On Value-Ignore Blank

Legacy Loop

TX-Header Detail-1

3.Optionally, repeat for the remaining line items that you want to upload.

4.Select Save > Run.

 

 

 

Next

Transaction - Block Types for Looping