CreateSchema
Creates a schema file for a specified SAP table or view, facilitating structured access to SAP data from external applications.
Stored Procedure-Specific Information
To execute this procedure, enter:EXEC CreateSchema TableName = 'MARA', FileName = 'C:\schemas\MARA.rsd'
The TableName input specifies the SAP table or view, and the FileName input defines the path for the generated schema file.
Input
| Name | Type | Description |
| TableName | String | Name of the SAP table or view to generate a schema for. This is used to retrieve metadata from the SAP system. |
| FileName | String | Full path and filename for the generated schema file. For example: 'C:\\Users\\User\\Desktop\\SmartSheet\\sheet.rsd'. |
Result Set Columns
| Name | Type | Description |
| Result | String | Indicates whether the schema creation process was successful or failed. |