CreateFunctionSchema
Generates an .rsd schema file based on the metadata of a specified SAP function module, enabling integration tools to map its structure.
Input
| Name | Type | Description |
| Function | String | Name of the SAP function module for which the schema will be generated. |
| FunctionDescription | String | Optional user-provided description of the SAP function module being processed. |
| ReturnTables | String | Comma-separated list of SAP function tables to include in the schema. Use an asterisk (*) to return all available tables.
The default value is *. |
| SchemaType | String | Specifies the schema format to generate, such as a flat schema or one using nested structures.
The allowed values are StoredProcedure, View. The default value is StoredProcedure. |
Result Set Columns
| Name | Type | Description |
| Result | String | Indicates whether the schema generation process completed successfully. |
| SchemaFile | String | Path or name of the generated schema file representing the structure of the SAP function. |
| Columns | String | Total number of columns detected and included in the generated schema. |