Skip to main content

Run Process Files

This chapter explains how to run a Process file and schedule a task to run in logged-off mode.

Run a Process file

You can run a Process file according to the configurations made in CmdParameter text file.

To run Process file using Process Runner CMD,

  1. At the command prompt, go to the C:\ drive and type cd "<name_of_setup_folder>". For example,

    cd "Process Runner CMD"

  2. Press Enter.
  3. Type "ProRCmd" "<path_of_CmdParameter.txt>" and press Enter. The Process file you have mentioned in the CmdParameter.txt file is run and the log is generated at C:\Process Runner CMD\CMD Documents\Other.
  4. If Data type 3, Data type 4, and Data type 5 are used and you want to override the Excel file path entered in the CmdParameter.txt file, run the following command.

    “ProRCmd.exe” “<CmdParameter.txt file path>” <Datafile=“[.xlsx or .csv file path]"

    For example,

    “C:\Process Runner Cmd” “ProRCmd.exe” “C:\Process Runner Cmd\Sample\FBL1N Sample\CmdParameter.txt” Datafile=“C:\Users\testuser\Documents\New_Microsoft_Excel_Worksheet.xlsx”

  5. To override the Run Type entered in the CmdParameter.txt file, run the following command.

    “ProRCmd.exe” “<CmdParameter.txt file path>” <RunType=2>

    For example,

    “C:\Process Runner Cmd” "ProRCmd.exe” “C:\Process Runner Cmd\Sample\FBL1N Sample\CmdParameter.txt” RunType=2

  6. Note: The Datafile and RunType parameters will skip the existing file path entered in CmdParameter.txt and override it with the one entered in the command only for the current run. The existing file path at CmdParameter.txt will not be replaced physically with the new one; these type of parameters are used only when data file must be changed repeatedly for running a Process file.

Schedule Task to Run in Logged Off Mode

You can schedule a task to run a Process file in logged off mode. This service allows you to perform automated tasks like running a Process file at a convenient time for you or when you are out of office.

To run a Process file in offline mode,

  1. An auto-logon file is required to configure automatic logon to SAP Systems. Logon Shortcut provides authenticated access to sign in to SAP when scheduling and running Process file using scheduler. However, you can also run a Processs file in logged off mode by providing LogonShortcutPath parameter in the ProRSDKSettings.txt file. For information about how to Create Logon Shortcut, see the Process Runner help.
  2. Before proceeding towards scheduling a task, run the Process file manually using Process Runner to make sure that it works correctly. Once this is confirmed, schedule the task according to your business requirements.
  3. When a task is scheduled to run in Logged Off mode, make sure that the SAP GUI Security settings is disabled in Autofix Tool. For more information, see Use AutoFix Tool.

Was this article helpful?

We're sorry to hear that.