Due 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.
- Run TCode SE38 and execute program RSTXSCRP
- 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)
- The direction is determined by the Mode parameter.
– Export means download to local file
– Import means upload from local file - Enter the object name you want to export (name of the SAPScript)
- 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”)
- Execute the report, select desired location on your PC and press SAVE.
- 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.