Transaction Extended

This topic describes how to use the same transaction to read and write values simultaneously.

To create a transaction to work for both read-only and read/write modes

  1. Record a new transaction for MM02. You can refer the tutorial section of Process Runner for recording a new transaction.
  2. On the Mapper tab, right-click MARA-GREW (Gross Weight) and select Clone.
  3. Map the newly copied row to SAP To Excel and column D to retrieve the Gross Weight value before update from column B; the value in this column is what we get before updates to that field.
  4. Repeat the steps for net weight.
  5. Go to Home. An extra option on the Control Parameter tab is automatically suggested by Process Runner. Select the following options:
    • To read the SAP To Excel fields, clear Stop transaction on Commit and run in BI mode.
    • To perform normal MM02 write function, select Suppress All "Copy from SAP To Excel" mappings.
  6. Run the Process file. The Excel file shows gross weight and net weight before change in column D and E. It also updated gross weight and net weight from column B and C. The same transaction works for both the modes: read-only and read/write.