Cmdlets for SAP ERP

Build 25.0.9434

GenerateSchemaFiles Parameter (Connect-SAPERP Cmdlet)

Determines how and when schema files are generated.

Syntax

Connect-SAPERP -GenerateSchemaFiles string

Possible Values

Never, OnUse, OnStart

Data Type

cstr

Default Value

"Never"

Remarks

The cmdlet can generate schema files corresponding to views returned by the cmdlet. Editing these generated schema files gives you granular control over the metadata (such as columns) returned by the cmdlet when the corresponding views are queried.

For example, removing a column (<attr> element) from a generated schema file causes that column not to be reported.

Schema files generated by the cmdlet are output to the folder specified in the Location connection property.

When this connection property is set to OnUse, upon making a metadata request for a view, the cmdlet generates a schema file for that view.

When this connection property is set to OnStart, the cmdlet generates schema files for all the views that are discovered when the connection begins.

Schema files are not overwritten if they already exist in the Location folder. To update a specific schema file with updated metadata, first delete that schema file from this folder, then trigger the schema file creation again.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434