openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCPR_TEMPLATE_DATA_GET:
    post:
      tags:
      - SCPR
      operationId: /rfc/SCPR_TEMPLATE_DATA_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COMPARE_ID:
                  type: string
                  maxLength: 10
                ID:
                  type: string
                  maxLength: 32
                COMP_VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Business Configuration Set
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                        enum:
                        - C
                        - O
                        - N
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: 'BC Set: Table/View Name'
                      RECNUMBER:
                        type: string
                        maxLength: 10
                        description: 'BC Set: Template record number'
                      LINES:
                        type: string
                        maxLength: 8096
                        description: 'BC Set: Long char. field for compressed data'
                PROFILES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Business Configuration Set
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                        enum:
                        - C
                        - O
                        - N
                      MODDATE:
                        type: string
                        format: date
                        description: 'BC Set: Changed on'
                      MODTIME:
                        type: string
                        maxLength: 6
                        description: 'BC Set: Last changed at'
                      MODIFIER:
                        type: string
                        maxLength: 12
                        description: 'BC Set: Changed by'
                      TYPE:
                        type: string
                        maxLength: 3
                        description: 'BC Set: Type  enumValues: CPR=Customizing Profile (No Longer Used),MET=BC Set With Customizing Distribution Meta Data,TMP=Hierarchical BC Sets,TMV=BC Set With Direct Value Assignment,GEN=Generated BC Set'
                        enum:
                        - CPR
                        - MET
                        - TMP
                        - TMV
                        - GEN
                      CATEGORY:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Category  enumValues: S=Switch BC Set,""=Classical BC Set'
                        enum:
                        - S
                        - ''
                      CLI_DEP:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Client-Dependent BC Set Data/Contents  enumValues: ""=BC Set contents can be client-dependent or client-indep.,I=BC Set contents are client-independent,D=BC Set contents are client-dependent'
                        enum:
                        - ''
                        - I
                        - D
                      CLI_CAS:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Cascading BC Set Data/Contents in Clients  enumValues: C=BC Set contains contents which are cascaded into all clients,""=Contents of BC Set can be cascading or non-cascading,N=BC Sets contents are only for the current client'
                        enum:
                        - C
                        - ''
                        - N
                      REFTYPE:
                        type: string
                        maxLength: 4
                        description: 'BC Set: Reference Object Type at Creation  enumValues: IMG=Implementation Guide,COBJ=Customizing Object,CTC=Central Technical Configuration,CREC=Automatic Customizing Recording,TRAN=Transport Request,PROC=Processes'
                        enum:
                        - IMG
                        - COBJ
                        - CTC
                        - CREC
                        - TRAN
                        - PROC
                      REFNAME:
                        type: string
                        maxLength: 40
                        description: 'BC Set: Reference Object Name at Creation'
                      ORGID:
                        type: string
                        maxLength: 10
                        description: Company short name
                      ACT_INFO:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Flag to Copy Special Customizing  enumValues: X=Adjusting Special Customizing Allowed,""=Adjusting Special Customizing Not Allowed'
                        enum:
                        - X
                        - ''
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      MINRELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      MAXRELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'BC Set: Description'
                      DIRECT_USE:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Flag to Copy Special Customizing  enumValues: X=Adjusting Special Customizing Allowed,""=Adjusting Special Customizing Not Allowed'
                        enum:
                        - X
                        - ''
                      DOCU_EXIST:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Flag to Copy Special Customizing  enumValues: X=Adjusting Special Customizing Allowed,""=Adjusting Special Customizing Not Allowed'
                        enum:
                        - X
                        - ''
                      BCS_ICON:
                        type: string
                        maxLength: 4
                        description: 'BC Sets: Icons in Screen'
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      MASTERLANG:
                        type: string
                        maxLength: 1
                        description: Original Language in Repository objects
                      SWITCH:
                        type: string
                        maxLength: 30
                        description: Id of a Switch in Switch Framework
                      ACT_STATUS:
                        type: string
                        maxLength: 1
                        description: 'BC Sets: Activation Status  enumValues: S=Activated,W=Activation Warnings,D=Activation Cancelled by Program (without Log),G=Batch Activation Scheduled with Execution Time,""=Status Unknown,I=Activation Ended with Information,F=Batch Activation Scheduled without Execution Time,A=Activation Cancelled by Program (with Log),E=Activation Ended with Errors,B=Activation Started,C=Activation Cancelled by User'
                        enum:
                        - S
                        - W
                        - D
                        - G
                        - ''
                        - I
                        - F
                        - A
                        - E
                        - B
                        - C
                RECATTR:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Business Configuration Set
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                        enum:
                        - C
                        - O
                        - N
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: 'BC Set: Table/View Name'
                      RECNUMBER:
                        type: string
                        maxLength: 10
                        description: 'BC Set: Template record number'
                      OBJECTNAME:
                        type: string
                        maxLength: 30
                        description: Object Name
                      OBJECTTYPE:
                        type: string
                        maxLength: 1
                        description: 'Object type  enumValues: D=Dummy object,T=Individual transaction object,C=View cluster,S=Table (with text table),L=Logical transport object,V=View'
                        enum:
                        - D
                        - T
                        - C
                        - S
                        - L
                        - V
                      ACTIVITY:
                        type: string
                        maxLength: 60
                        description: Documentation Object
                      CLUSTNAME:
                        type: string
                        maxLength: 30
                        description: Object Name
                      UNCOMPLETE:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Data record incompletely saved flag'
                      DELETEFLAG:
                        type: string
                        maxLength: 1
                        description: 'BC Sets: Data Record Deletion Flag  enumValues: X=BC Sets for all Subordinate Levels of a Template,E=New Version must be Compared with Current Version,G=Generic Deletions Flag,L=Data Record Delete Flag'
                        enum:
                        - X
                        - E
                        - G
                        - L
                      GENREF:
                        type: string
                        maxLength: 10
                        description: 'BC Set: Template record number'
                VALUES:
                  type: array
                  items:
                    type: object
                    properties:
                      ID:
                        type: string
                        maxLength: 32
                        description: Business Configuration Set
                      VERSION:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                        enum:
                        - C
                        - O
                        - N
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: 'BC Set: Table/View Name'
                      RECNUMBER:
                        type: string
                        maxLength: 10
                        description: 'BC Set: Template record number'
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: 'BC Set: Field name'
                      FLAG:
                        type: string
                        maxLength: 3
                        description: 'BC Set: Additional Info  enumValues: KEY=Key field must be specified at activation,FIX=Value from BC Set is not changeable in source table,VAR=Value must be specified at activation,UKY=Key field copied from BC Set at activation,FKY=Key field that is relevant and has FIXed value,USE=Value taken from BC Set at activation'
                        enum:
                        - KEY
                        - FIX
                        - VAR
                        - UKY
                        - FKY
                        - USE
                      VALUE:
                        type: string
                        maxLength: 255
                        description: 'BC Set: Values'
              required:
              - ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMP_VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                          enum:
                          - C
                          - O
                          - N
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: 'BC Set: Table/View Name'
                        RECNUMBER:
                          type: string
                          maxLength: 10
                          description: 'BC Set: Template record number'
                        LINES:
                          type: string
                          maxLength: 8096
                          description: 'BC Set: Long char. field for compressed data'
                  PROFILES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                          enum:
                          - C
                          - O
                          - N
                        MODDATE:
                          type: string
                          format: date
                          description: 'BC Set: Changed on'
                        MODTIME:
                          type: string
                          maxLength: 6
                          description: 'BC Set: Last changed at'
                        MODIFIER:
                          type: string
                          maxLength: 12
                          description: 'BC Set: Changed by'
                        TYPE:
                          type: string
                          maxLength: 3
                          description: 'BC Set: Type  enumValues: CPR=Customizing Profile (No Longer Used),MET=BC Set With Customizing Distribution Meta Data,TMP=Hierarchical BC Sets,TMV=BC Set With Direct Value Assignment,GEN=Generated BC Set'
                          enum:
                          - CPR
                          - MET
                          - TMP
                          - TMV
                          - GEN
                        CATEGORY:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Category  enumValues: S=Switch BC Set,""=Classical BC Set'
                          enum:
                          - S
                          - ''
                        CLI_DEP:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Client-Dependent BC Set Data/Contents  enumValues: ""=BC Set contents can be client-dependent or client-indep.,I=BC Set contents are client-independent,D=BC Set contents are client-dependent'
                          enum:
                          - ''
                          - I
                          - D
                        CLI_CAS:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Cascading BC Set Data/Contents in Clients  enumValues: C=BC Set contains contents which are cascaded into all clients,""=Contents of BC Set can be cascading or non-cascading,N=BC Sets contents are only for the current client'
                          enum:
                          - C
                          - ''
                          - N
                        REFTYPE:
                          type: string
                          maxLength: 4
                          description: 'BC Set: Reference Object Type at Creation  enumValues: IMG=Implementation Guide,COBJ=Customizing Object,CTC=Central Technical Configuration,CREC=Automatic Customizing Recording,TRAN=Transport Request,PROC=Processes'
                          enum:
                          - IMG
                          - COBJ
                          - CTC
                          - CREC
                          - TRAN
                          - PROC
                        REFNAME:
                          type: string
                          maxLength: 40
                          description: 'BC Set: Reference Object Name at Creation'
                        ORGID:
                          type: string
                          maxLength: 10
                          description: Company short name
                        ACT_INFO:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Flag to Copy Special Customizing  enumValues: X=Adjusting Special Customizing Allowed,""=Adjusting Special Customizing Not Allowed'
                          enum:
                          - X
                          - ''
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        MINRELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        MAXRELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'BC Set: Description'
                        DIRECT_USE:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Flag to Copy Special Customizing  enumValues: X=Adjusting Special Customizing Allowed,""=Adjusting Special Customizing Not Allowed'
                          enum:
                          - X
                          - ''
                        DOCU_EXIST:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Flag to Copy Special Customizing  enumValues: X=Adjusting Special Customizing Allowed,""=Adjusting Special Customizing Not Allowed'
                          enum:
                          - X
                          - ''
                        BCS_ICON:
                          type: string
                          maxLength: 4
                          description: 'BC Sets: Icons in Screen'
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        MASTERLANG:
                          type: string
                          maxLength: 1
                          description: Original Language in Repository objects
                        SWITCH:
                          type: string
                          maxLength: 30
                          description: Id of a Switch in Switch Framework
                        ACT_STATUS:
                          type: string
                          maxLength: 1
                          description: 'BC Sets: Activation Status  enumValues: S=Activated,W=Activation Warnings,D=Activation Cancelled by Program (without Log),G=Batch Activation Scheduled with Execution Time,""=Status Unknown,I=Activation Ended with Information,F=Batch Activation Scheduled without Execution Time,A=Activation Cancelled by Program (with Log),E=Activation Ended with Errors,B=Activation Started,C=Activation Cancelled by User'
                          enum:
                          - S
                          - W
                          - D
                          - G
                          - ''
                          - I
                          - F
                          - A
                          - E
                          - B
                          - C
                  RECATTR:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                          enum:
                          - C
                          - O
                          - N
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: 'BC Set: Table/View Name'
                        RECNUMBER:
                          type: string
                          maxLength: 10
                          description: 'BC Set: Template record number'
                        OBJECTNAME:
                          type: string
                          maxLength: 30
                          description: Object Name
                        OBJECTTYPE:
                          type: string
                          maxLength: 1
                          description: 'Object type  enumValues: D=Dummy object,T=Individual transaction object,C=View cluster,S=Table (with text table),L=Logical transport object,V=View'
                          enum:
                          - D
                          - T
                          - C
                          - S
                          - L
                          - V
                        ACTIVITY:
                          type: string
                          maxLength: 60
                          description: Documentation Object
                        CLUSTNAME:
                          type: string
                          maxLength: 30
                          description: Object Name
                        UNCOMPLETE:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Data record incompletely saved flag'
                        DELETEFLAG:
                          type: string
                          maxLength: 1
                          description: 'BC Sets: Data Record Deletion Flag  enumValues: X=BC Sets for all Subordinate Levels of a Template,E=New Version must be Compared with Current Version,G=Generic Deletions Flag,L=Data Record Delete Flag'
                          enum:
                          - X
                          - E
                          - G
                          - L
                        GENREF:
                          type: string
                          maxLength: 10
                          description: 'BC Set: Template record number'
                  VALUES:
                    type: array
                    items:
                      type: object
                      properties:
                        ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Version  enumValues: C=Current version,O=Old version from preceding system,N=New version from preceding system'
                          enum:
                          - C
                          - O
                          - N
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: 'BC Set: Table/View Name'
                        RECNUMBER:
                          type: string
                          maxLength: 10
                          description: 'BC Set: Template record number'
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: 'BC Set: Field name'
                        FLAG:
                          type: string
                          maxLength: 3
                          description: 'BC Set: Additional Info  enumValues: KEY=Key field must be specified at activation,FIX=Value from BC Set is not changeable in source table,VAR=Value must be specified at activation,UKY=Key field copied from BC Set at activation,FKY=Key field that is relevant and has FIXed value,USE=Value taken from BC Set at activation'
                          enum:
                          - KEY
                          - FIX
                          - VAR
                          - UKY
                          - FKY
                          - USE
                        VALUE:
                          type: string
                          maxLength: 255
                          description: 'BC Set: Values'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
