openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCPR_VARIABLES_GET_REMOTE:
    post:
      tags:
      - SCPR
      operationId: /rfc/SCPR_VARIABLES_GET_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CATEGORY:
                  type: string
                  default: ' '
                  maxLength: 1
                LANGUAGES:
                  type: array
                  items:
                    type: object
                    properties:
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
                      SPTXT:
                        type: string
                        maxLength: 16
                        description: Language
                VAR_WITH_LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                BCSET_IDS:
                  type: array
                  items:
                    type: object
                    properties:
                      BCSET_ID:
                        type: string
                        maxLength: 32
                        description: Business Configuration Set
                      CATEGORY:
                        type: string
                        maxLength: 1
                        description: 'BC Set: Category'
                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'
                VALUESL:
                  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'
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      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'
                VARIABLES:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: 'BC Set: Table/View Name'
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: 'BC Set: Field name'
                      DATAELEM:
                        type: string
                        maxLength: 30
                        description: Data element (semantic domain)
                      FIELDTEXT:
                        type: string
                        maxLength: 40
                        description: Short text of table field
                      OUTPUTLEN:
                        type: integer
                        format: int64
                        description: Output Length
                      INTLEN:
                        type: integer
                        format: int64
                        description: Internal Length in Bytes
                      VTYPE:
                        type: string
                        maxLength: 1
                        description: 'BC Set value data type  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                          (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                        enum:
                        - N
                        - s
                        - h
                        - y
                        - l
                        - b
                        - P
                        - T
                        - u
                        - I
                        - F
                        - v
                        - V
                        - X
                        - C
                        - g
                        - r
                        - D
                      DATATYPE:
                        type: string
                        maxLength: 4
                        description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                          accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                          field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                        enum:
                        - NUMC
                        - INT2
                        - DEC
                        - VARC
                        - INT1
                        - RAW
                        - CUKY
                        - QUAN
                        - FLTP
                        - LRAW
                        - PREC
                        - CHAR
                        - ACCP
                        - INT4
                        - RSTR
                        - STRG
                        - LANG
                        - TIMS
                        - UNIT
                        - CLNT
                        - DATS
                        - LCHR
                        - CURR
                        - SSTR
                      DECIMALS:
                        type: integer
                        format: int64
                        description: Number of Decimal Places
                      CONVEXIT:
                        type: string
                        maxLength: 5
                        description: Conversion Routine
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Flag for sign in numerical fields  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      LOWERCASE:
                        type: string
                        maxLength: 1
                        description: 'Lowercase letters allowed/not allowed  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      VALUE:
                        type: string
                        maxLength: 255
                        description: 'BC Set: Any value'
                      OLDVALUE:
                        type: string
                        maxLength: 255
                        description: 'BC Set: Any value'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BCSETS_PARENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        BCSET_ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        PARENT_ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        ACT_STATUS:
                          type: string
                          maxLength: 1
                          description: 'BC Sets: Activation Status'
                        ACT_USER:
                          type: string
                          maxLength: 12
                          description: User Name
                        ACT_DATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        ACT_TIME:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                  VARIABLES_NEW:
                    type: array
                    items:
                      type: object
                      properties:
                        BCSET:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        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'
                        DATAELEM:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        LANGUTEXT:
                          type: string
                          maxLength: 16
                          description: Language
                        FIELDTEXT:
                          type: string
                          maxLength: 40
                          description: Short text of table field
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        VTYPE:
                          type: string
                          maxLength: 1
                          description: BC Set value data type
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: Data Type in ABAP Dictionary
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        SIGN:
                          type: string
                          maxLength: 1
                          description: Flag for sign in numerical fields
                        LOWERCASE:
                          type: string
                          maxLength: 1
                          description: Lowercase letters allowed/not allowed
                        VALUE:
                          type: string
                          maxLength: 255
                          description: 'BC Set: Any value'
                        OLDVALUE:
                          type: string
                          maxLength: 255
                          description: 'BC Set: Any value'
                  BCSET_IDS:
                    type: array
                    items:
                      type: object
                      properties:
                        BCSET_ID:
                          type: string
                          maxLength: 32
                          description: Business Configuration Set
                        CATEGORY:
                          type: string
                          maxLength: 1
                          description: 'BC Set: Category'
                  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'
                  VALUESL:
                    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'
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        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'
                  VARIABLES:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: 'BC Set: Table/View Name'
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: 'BC Set: Field name'
                        DATAELEM:
                          type: string
                          maxLength: 30
                          description: Data element (semantic domain)
                        FIELDTEXT:
                          type: string
                          maxLength: 40
                          description: Short text of table field
                        OUTPUTLEN:
                          type: integer
                          format: int64
                          description: Output Length
                        INTLEN:
                          type: integer
                          format: int64
                          description: Internal Length in Bytes
                        VTYPE:
                          type: string
                          maxLength: 1
                          description: 'BC Set value data type  enumValues: N=Character string with only digits,s=2-byte integer, only for length field before LCHR or LRAW,h=Table type,y=Byte sequence with variable length (ABAP type XSTRING),l=Reference to data object,b=1-byte integer, integer number <= 254,P=Packed number,T=Time (Time: HHMMSS),u=Structured type, flat,I=Integer number (4-byte integer with sign),F=Floating point number to accuracy of 8 bytes,v=Structured type, deep,V=Character string
                            (old Dictionary type VARC),X=Byte sequence (heXadecimal),C=Character string,g=Character string with variable length (ABAP type STRING),r=Reference to class/interface,D=Date (Date: YYYYMMDD)'
                          enum:
                          - N
                          - s
                          - h
                          - y
                          - l
                          - b
                          - P
                          - T
                          - u
                          - I
                          - F
                          - v
                          - V
                          - X
                          - C
                          - g
                          - r
                          - D
                        DATATYPE:
                          type: string
                          maxLength: 4
                          description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                            accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2
                            field,CURR=Currency field, stored as DEC,SSTR=Short Character String of Variable Length'
                          enum:
                          - NUMC
                          - INT2
                          - DEC
                          - VARC
                          - INT1
                          - RAW
                          - CUKY
                          - QUAN
                          - FLTP
                          - LRAW
                          - PREC
                          - CHAR
                          - ACCP
                          - INT4
                          - RSTR
                          - STRG
                          - LANG
                          - TIMS
                          - UNIT
                          - CLNT
                          - DATS
                          - LCHR
                          - CURR
                          - SSTR
                        DECIMALS:
                          type: integer
                          format: int64
                          description: Number of Decimal Places
                        CONVEXIT:
                          type: string
                          maxLength: 5
                          description: Conversion Routine
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Flag for sign in numerical fields  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        LOWERCASE:
                          type: string
                          maxLength: 1
                          description: 'Lowercase letters allowed/not allowed  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        VALUE:
                          type: string
                          maxLength: 255
                          description: 'BC Set: Any value'
                        OLDVALUE:
                          type: string
                          maxLength: 255
                          description: 'BC Set: Any value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
