SAPScript Export & Import

SAPDue to fact that SAPScripts do NOT offer the version management functionality it’s good idea to store each final (production) version of your SAPScript as a file exported to your PC or to some version management system (i.e. Subversion). Follow the steps below to export your SAPScript to a local file which you can manipulate further according to your needs.

  1. Run TCode SE38 and execute program RSTXSCRP
  2. Choose the desired object type (Form / Style / Standard Text / Device Type) from the list. In our case we would like to export our SAPScript (Form)
  3. The direction is determined by the Mode parameter.
    – Export means download to local file
    – Import means upload from local file
  4. Enter the object name you want to export (name of the SAPScript)
  5. The default export path is in the following format
    C:\temp\********&&&&

    …where stars stand for the first 8 characters of the object name and &’s stand for the file extension (“.TXT”, “.STY”, “.FOR” or “.PRI”)

  6. Execute the report, select desired location on your PC and press SAVE.
  7. You should now have your SAPScript exported into local file on your PC.

Note about parameter Only export original language –  If this parameter is selected, only the original language for layout sets and styles is transported when exporting, and no translations.

Leave a Reply