openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_RDDICFIELDS:
    post:
      tags:
      - SCR1
      summary: 'Graphical Screen Painter: Request Dictionary/ Program Fields'
      operationId: /rfc/RS_SCRP_GF_RDDICFIELDS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FIELDNAME:
                  type: string
                  default: ' '
                  maxLength: 132
                  description: Dictionary fieldnames or names from program (gen.)
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                PROGRAM:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Program/ Module pool name
                RFCDEST:
                  type: string
                  default: SY-SYSID
                  maxLength: 32
                  description: Program/ Module pool name
                TABNAME:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Dictionary table name
                DFIELD:
                  type: array
                  items:
                    type: object
                    properties:
                      FELDNAME:
                        type: string
                        maxLength: 132
                        description: Name of a Screen Element
                      INTTYP:
                        type: string
                        maxLength: 1
                        description: Internal dictionary type for a field
                      FELDFORMAT:
                        type: string
                        maxLength: 4
                        description: 'Field format (ABAP Dictionary data type)  enumValues: STRG=Character string of variable length,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,RSTR=Byte string of variable length (hexadecimal representation),INT1=1-byte integer, decimal number <= 254,ACCP=Posting period YYYYMM,SSTR=Short String of Variable Length,INT2=2-byte integer, only for length field before VARC or RAW,LANG=Language ID,PREC=Accuracy
                          of a QUAN field,NUMC=Character field with only digits,DATS=Date field YYYYMMDD, stored as CHAR(8),INT4=4-byte integer, decimal number with sign,CHAR=Character strings, fixed length,RAW=Byte string of fixed length (hexadecimal representation),TIMS=Time field (hhmmss), stored as CHAR(6),UNIT=Unit key for QUAN fields,CURR=Currency field, stored as DEC,DEC=Calculation and amount field with comma and sign'
                        enum:
                        - STRG
                        - CUKY
                        - QUAN
                        - RSTR
                        - INT1
                        - ACCP
                        - SSTR
                        - INT2
                        - LANG
                        - PREC
                        - NUMC
                        - DATS
                        - INT4
                        - CHAR
                        - RAW
                        - TIMS
                        - UNIT
                        - CURR
                        - DEC
                      LAENGE:
                        type: string
                        maxLength: 3
                        description: (def). Field length
                      FLG1:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FLG2:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FLG3:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FMB1:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FMB2:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      ALLOWED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Data type allowed in screen  enumValues: X='
                        enum:
                        - X
                      PAID:
                        type: string
                        maxLength: 20
                        description: Parameter ID SAP memory
                      UCNV:
                        type: string
                        maxLength: 5
                        description: Conversion Exit
                      AGLT:
                        type: string
                        maxLength: 3
                        description: Number of valid positions
                      ADEZ:
                        type: string
                        maxLength: 3
                        description: Number of decimal places
                      AUTH:
                        type: string
                        maxLength: 3
                        description: Authorization ID
                      WNAM:
                        type: string
                        maxLength: 132
                        description: Multi-purpose field currency key matchcode file
                      FIELDTEXT:
                        type: string
                        maxLength: 60
                        description: Short Description of Repository Objects
                      HEADLEN:
                        type: integer
                        format: int64
                        description: Maximum length of heading
                      REPTEXT:
                        type: string
                        maxLength: 55
                        description: Heading
                      SCRLEN1:
                        type: integer
                        format: int64
                        description: Max. length for short field label
                      SCRTEXT_S:
                        type: string
                        maxLength: 10
                        description: Short Field Label
                      SCRLEN2:
                        type: integer
                        format: int64
                        description: Max. length for medium field label
                      SCRTEXT_M:
                        type: string
                        maxLength: 20
                        description: Medium Field Label
                      SCRLEN3:
                        type: integer
                        format: int64
                        description: Max. length for long field label
                      SCRTEXT_L:
                        type: string
                        maxLength: 40
                        description: Long Field Label
                      RES1:
                        type: string
                        maxLength: 255
                        description: Screen source reserve field area without structure
                PFIELD:
                  type: array
                  items:
                    type: object
                    properties:
                      FELDNAME:
                        type: string
                        maxLength: 132
                        description: Name of a Screen Element
                      INTTYP:
                        type: string
                        maxLength: 1
                        description: Internal dictionary type for a field
                      FELDFORMAT:
                        type: string
                        maxLength: 4
                        description: 'Field format (ABAP Dictionary data type)  enumValues: STRG=Character string of variable length,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,RSTR=Byte string of variable length (hexadecimal representation),INT1=1-byte integer, decimal number <= 254,ACCP=Posting period YYYYMM,SSTR=Short String of Variable Length,INT2=2-byte integer, only for length field before VARC or RAW,LANG=Language ID,PREC=Accuracy
                          of a QUAN field,NUMC=Character field with only digits,DATS=Date field YYYYMMDD, stored as CHAR(8),INT4=4-byte integer, decimal number with sign,CHAR=Character strings, fixed length,RAW=Byte string of fixed length (hexadecimal representation),TIMS=Time field (hhmmss), stored as CHAR(6),UNIT=Unit key for QUAN fields,CURR=Currency field, stored as DEC,DEC=Calculation and amount field with comma and sign'
                        enum:
                        - STRG
                        - CUKY
                        - QUAN
                        - RSTR
                        - INT1
                        - ACCP
                        - SSTR
                        - INT2
                        - LANG
                        - PREC
                        - NUMC
                        - DATS
                        - INT4
                        - CHAR
                        - RAW
                        - TIMS
                        - UNIT
                        - CURR
                        - DEC
                      LAENGE:
                        type: string
                        maxLength: 3
                        description: (def). Field length
                      FLG1:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FLG2:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FLG3:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FMB1:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      FMB2:
                        type: string
                        maxLength: 2
                        description: Flag or format byte of a field
                      ALLOWED:
                        type: string
                        maxLength: 1
                        description: 'Flag: Data type allowed in screen  enumValues: X='
                        enum:
                        - X
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MESS_CODE:
                    type: string
                    maxLength: 6
                    description: Message code in formate TXXNNN
                  MESS_TEXT:
                    type: string
                    maxLength: 158
                    description: Message long text
                  DFIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        FELDNAME:
                          type: string
                          maxLength: 132
                          description: Name of a Screen Element
                        INTTYP:
                          type: string
                          maxLength: 1
                          description: Internal dictionary type for a field
                        FELDFORMAT:
                          type: string
                          maxLength: 4
                          description: 'Field format (ABAP Dictionary data type)  enumValues: STRG=Character string of variable length,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,RSTR=Byte string of variable length (hexadecimal representation),INT1=1-byte integer, decimal number <= 254,ACCP=Posting period YYYYMM,SSTR=Short String of Variable Length,INT2=2-byte integer, only for length field before VARC or RAW,LANG=Language ID,PREC=Accuracy
                            of a QUAN field,NUMC=Character field with only digits,DATS=Date field YYYYMMDD, stored as CHAR(8),INT4=4-byte integer, decimal number with sign,CHAR=Character strings, fixed length,RAW=Byte string of fixed length (hexadecimal representation),TIMS=Time field (hhmmss), stored as CHAR(6),UNIT=Unit key for QUAN fields,CURR=Currency field, stored as DEC,DEC=Calculation and amount field with comma and sign'
                          enum:
                          - STRG
                          - CUKY
                          - QUAN
                          - RSTR
                          - INT1
                          - ACCP
                          - SSTR
                          - INT2
                          - LANG
                          - PREC
                          - NUMC
                          - DATS
                          - INT4
                          - CHAR
                          - RAW
                          - TIMS
                          - UNIT
                          - CURR
                          - DEC
                        LAENGE:
                          type: string
                          maxLength: 3
                          description: (def). Field length
                        FLG1:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FLG2:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FLG3:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FMB1:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FMB2:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        ALLOWED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Data type allowed in screen  enumValues: X='
                          enum:
                          - X
                        PAID:
                          type: string
                          maxLength: 20
                          description: Parameter ID SAP memory
                        UCNV:
                          type: string
                          maxLength: 5
                          description: Conversion Exit
                        AGLT:
                          type: string
                          maxLength: 3
                          description: Number of valid positions
                        ADEZ:
                          type: string
                          maxLength: 3
                          description: Number of decimal places
                        AUTH:
                          type: string
                          maxLength: 3
                          description: Authorization ID
                        WNAM:
                          type: string
                          maxLength: 132
                          description: Multi-purpose field currency key matchcode file
                        FIELDTEXT:
                          type: string
                          maxLength: 60
                          description: Short Description of Repository Objects
                        HEADLEN:
                          type: integer
                          format: int64
                          description: Maximum length of heading
                        REPTEXT:
                          type: string
                          maxLength: 55
                          description: Heading
                        SCRLEN1:
                          type: integer
                          format: int64
                          description: Max. length for short field label
                        SCRTEXT_S:
                          type: string
                          maxLength: 10
                          description: Short Field Label
                        SCRLEN2:
                          type: integer
                          format: int64
                          description: Max. length for medium field label
                        SCRTEXT_M:
                          type: string
                          maxLength: 20
                          description: Medium Field Label
                        SCRLEN3:
                          type: integer
                          format: int64
                          description: Max. length for long field label
                        SCRTEXT_L:
                          type: string
                          maxLength: 40
                          description: Long Field Label
                        RES1:
                          type: string
                          maxLength: 255
                          description: Screen source reserve field area without structure
                  PFIELD:
                    type: array
                    items:
                      type: object
                      properties:
                        FELDNAME:
                          type: string
                          maxLength: 132
                          description: Name of a Screen Element
                        INTTYP:
                          type: string
                          maxLength: 1
                          description: Internal dictionary type for a field
                        FELDFORMAT:
                          type: string
                          maxLength: 4
                          description: 'Field format (ABAP Dictionary data type)  enumValues: STRG=Character string of variable length,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,RSTR=Byte string of variable length (hexadecimal representation),INT1=1-byte integer, decimal number <= 254,ACCP=Posting period YYYYMM,SSTR=Short String of Variable Length,INT2=2-byte integer, only for length field before VARC or RAW,LANG=Language ID,PREC=Accuracy
                            of a QUAN field,NUMC=Character field with only digits,DATS=Date field YYYYMMDD, stored as CHAR(8),INT4=4-byte integer, decimal number with sign,CHAR=Character strings, fixed length,RAW=Byte string of fixed length (hexadecimal representation),TIMS=Time field (hhmmss), stored as CHAR(6),UNIT=Unit key for QUAN fields,CURR=Currency field, stored as DEC,DEC=Calculation and amount field with comma and sign'
                          enum:
                          - STRG
                          - CUKY
                          - QUAN
                          - RSTR
                          - INT1
                          - ACCP
                          - SSTR
                          - INT2
                          - LANG
                          - PREC
                          - NUMC
                          - DATS
                          - INT4
                          - CHAR
                          - RAW
                          - TIMS
                          - UNIT
                          - CURR
                          - DEC
                        LAENGE:
                          type: string
                          maxLength: 3
                          description: (def). Field length
                        FLG1:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FLG2:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FLG3:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FMB1:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        FMB2:
                          type: string
                          maxLength: 2
                          description: Flag or format byte of a field
                        ALLOWED:
                          type: string
                          maxLength: 1
                          description: 'Flag: Data type allowed in screen  enumValues: X='
                          enum:
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
