Before we begin recording a transaction, let’s launch Process Runner and initiate the process to create a new recording.
1.Launch Process Runner.
2.Go to File -> New Process -> New Transaction (from the grid icons) to record a new transaction.
'New Process' wizard is displayed.
Follow the below mentioned steps to record ME51N transaction.
Enter ME51N in Transaction Code field and click on Start Recording button. When you click on “Start Recording”, Process Runner will ask you which SAP System to use for recording. Select the appropriate system for performing a sample transaction recording.
Please keep in mind that while you execute a recording, actual database update in SAP takes place. After you select the system, you will be prompted to enter Client, User name, Password and Logon language. Process Runner will use this information and will log you in to SAP.
Process Runner will display message similar to below in “New Process" window.
Shortly after that your normal SAP GUI should be started with transaction code you provided before. For our example, it will start Create Purchase Requisition transaction and wait for your input. |
1.After entering the SAP TCode ME51N, you will be presented with Create Purchase Requisition window.
2.Select ‘NB Purch.requis.Stand.’ option from drop down in ‘Create Purchase Requisition’ window.
3.Press CTRL + F5 to close Header window, CTRL +F6 to close Item Overview window and CTRL +F7 to close Item Detail window.
4.Again press CTL +F2 to open Header window, CTL + F3 to open Item Overview window and CTL + F4 to open Item Detail window. Click on ‘Personal Setting’ option in Create Purchase Requisition window.
5.In Personal Settings window, uncheck the ‘Item overview as grid control’ option and click on save button.
6.Insert first row of your excel data in the 2nd row of Item Overview section as per the below screenshot. Enter the Requisn Item, Material, Quantity and Plant details as per your data file and press Enter.
7.Click on ‘Configure Filter’ option. Define the filter criteria.
8.Enter the ‘Item of Requisition’ value in filter criteria.
|
After completing the recording, Process Runner will open the file as new file with Mapper tab open to map the fields.
Your mapping should reflect as below in Simple View.
✓Click on Advanced view in Mapper toolbar. A more detailed view of Mapper will be displayed. ✓Now we will be using Process Runner Start – End Loop Mapping Mechanism to assign advanced mapping types. ✓Find the occurrence of Create Item in SAPLMEGUI – 0014 (View: Purchase Order Window) ✓ Set the Start Loop.
Automatically a new row with mapping type Start Loop & End Loop will be added in the Mapper. On the Block Type for Start Loop and set Block Type to “On Value - Ignore Blank” & "Block Value to A“.
Set Block Type to Header+Line Item Value for Material Number, Item Number, Plant & Purchase Requisition Quantity. |
Assign a file name to this transaction file.
Click on Save -> Save As Local option under Home menu or click on File -> Save As -> Save As Local to save the file.
Note: User cannot run or schedule file until it is saved, on clicking either Run options or trying to schedule the file Process Runner will prompt for saving the file.
Now click on Run option to execute the process file.
|
Next |
|