Skip to Content
Author's profile photo Former Member

Exporting Single Scripts from non-Prod to PROD SAP Sourcing / CLM systems

There are many examples that we come across wherein a particular script is not functioning as desired and needs to be corrected in DEV system. At this stage after correction of the erroneous script when we build an OMA (Object Migration Archive) file, system provides an option to export all the scripts as a Dataset.

Image 1.png

When we select the Single Object in the Add Package Item Wizard screen, system does not show a Script Definition option on the screen.

Obviously there is a high level of risk since SAP Sourcing / CLM scripts are run in real time and require no compilation as such so copying / pasting from source to target environment is not the ideal solution.

In order to get around this situation, a custom query can be created.

Image 2.png

A custom query group CUSTOM-ScriptDefinitionPicker seen below with class ID 9150 for script definition needs to be created and then it needs to be associated to the FCI-ScriptDefinitionBuySideList Query Group

Image 3.png

Image 4.png

Image 5.png

Finally, when we go into creating an OMA file via Setup > Export Data, we can see the Script definition as an option in Single Object

Image 6.png

Image 7.png

Image 8.png

Ideally, in my opinion, this is something that should be built into the standard software but we have used this as a work around for the time being and have had no issues with it so far. Hope this helps all readers who want to migrate single scripts from one SAP Sourcing environment into another.

Thank you,

Vikram Shukla

Assigned Tags

      Be the first to leave a comment
      You must be Logged on to comment or reply to a post.