![]() When the script runs, Studio will look for a row where that field does not contain a value in SAP and then upload the data to that row. When you're setting up the loop in the Loop box, check Index Based Loop.Studio 12.x will base the indexed loop on that column in the grid. To use an indexed loop, you must specify an index field. Instead, you can use an Index Field condition on a regular loop. You can't use an indexed loop to perform a find or select an action. Indexed loops can be inserted only in scripts that were recorded in GUI Scripting mode. This is particularly helpful when there is no action in SAP that could be used in a normal loop. The index loop will imitate a scrolling action until it finds a blank row in the grid, ensuring that entries do not overwrite existing data. Indexed loopsĪn indexed loop is useful when there is no position, search, or filter option in an SAP grid. Step-by-step instructions for adding basic loops are in Add a loop in Excel and Add a loop in Access. The value in the Loop ID column tells Transaction whether the data in the row is part of the header section or a line of details. Then you set up your data file for the loop. Some t-codes, such as ME21N, require two line items, because the Filter function is not available until you complete the first line item.Īfter you record the script, including the line items, you create a loop around the line items. Tip: It's good to record two line items, so that you can see the repeatable pattern. One or more line item or detail sections: 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.A header section: The header contains data that remains constant for the entire transaction, such as a date.Some SAP transactions require multiple rows of data to be processed at the same time-for example, FB50, F-65, ME21, VA01, CS01, CA01, and FB70.įor many of these transactions, SAP separates the data into two parts: Find details for the t-code that you are recording in the Step-by-step guides or on the Winshuttle Support site. The way that you record line items depends on the transaction code. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |