openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_PROCESS:
    post:
      tags:
      - SCR1
      summary: 'Screen Painter: Call Graphical Screen Painter via RFC (C Interface)'
      operationId: /rfc/RS_SCRP_GF_PROCESS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONNECTION_PARAMS:
                  type: object
                  properties:
                    LANGU:
                      type: string
                      maxLength: 1
                      description: Language Key
                    DISPLAY:
                      type: string
                      maxLength: 16
                      description: 'Graphical fullscreen: Connection parameter display'
                    TERMINAL:
                      type: string
                      maxLength: 16
                      description: 'Graphical fullscreen: Connection parameter Terminal'
                    SYSTEM:
                      type: string
                      maxLength: 16
                      description: 'Graphical fullscreen: Connection parameter System ID'
                    USERID:
                      type: string
                      maxLength: 16
                      description: 'Graphical fullscreen: Connection parameter User ID'
                    PROTVERS:
                      type: string
                      maxLength: 16
                      description: 'Graphical fullscreen: connection parameter protocol version'
                    PROGLENGTH:
                      type: string
                      maxLength: 16
                      description: 'Graphical fullscreen: Connection parameter Prog. name length'
                    WDWHANDLE:
                      type: string
                      maxLength: 16
                      description: 'Graphical Layout Editor: Connection params. window handle'
                HEADER:
                  type: object
                  properties:
                    PROG:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    DNUM:
                      type: string
                      maxLength: 4
                      description: CHAR04 data element for SYST
                    TYPE:
                      type: string
                      maxLength: 1
                      description: CHAR01 data element for SYST
                    FNUM:
                      type: string
                      maxLength: 4
                      description: CHAR04 data element for SYST
                    DGRP:
                      type: string
                      maxLength: 4
                      description: CHAR04 data element for SYST
                    BZMX:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    BZBR:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    MILI:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    MICO:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    MALI:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    MACO:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    NOLI:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    NOCO:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    VALP:
                      type: string
                      maxLength: 3
                      description: CHAR03 data element for SYST
                    CUAN:
                      type: string
                      maxLength: 1
                      description: CHAR01 data element for SYST
                    HDAT:
                      type: string
                      maxLength: 1
                      description: CHAR01 data element for SYST
                    SPRA:
                      type: string
                      maxLength: 1
                      description: Language Key of Current Text Environment
                    CUPO:
                      type: string
                      maxLength: 30
                      description: CHAR30 for SYST
                    DGEN:
                      type: string
                      format: date
                      description: Date data element for SYST
                    TGEN:
                      type: string
                      maxLength: 6
                      description: TIME Data Element for SYST
                STATUS_PARAMS:
                  type: object
                  properties:
                    ACTIVITY:
                      type: string
                      maxLength: 16
                      description: 'Status: Activity (requests and reactions to requests)'
                    MODUS:
                      type: string
                      maxLength: 1
                      description: 'Status: Change (''M'') or Display (''S'') mode'
                    SAVED:
                      type: string
                      maxLength: 1
                      description: 'Status: saved (''T'') / not saved (''F'')'
                    NEXT_PREV:
                      type: string
                      maxLength: 1
                      description: 'Status: with mass processing yes (''T'') or no (''F'')'
                    SHOWVERS:
                      type: string
                      maxLength: 1
                      description: 'Status: Show Version Yes(''T'')/No(''F'')'
                    CUSTOMIZE:
                      type: string
                      maxLength: 1
                      description: 'Status: Customizing yet (''T'') or no (''F'')'
                    EXTEND:
                      type: string
                      maxLength: 1
                      description: 'Status: Enhancement mode yes (''T'') or no (''F'')'
                    EXTENDED:
                      type: string
                      maxLength: 1
                      description: 'Status: Screen has enhancements (''T'' -> yes, ''F'' -> no)'
                    GENERATED:
                      type: string
                      maxLength: 1
                      description: 'Status: Generated / active / inactive / inactive for others'
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Status: With active/inactive sources (''T''); without (''F'')'
                    WB99:
                      type: string
                      maxLength: 1
                      description: 'Status of WB99 Active: yes (''T'') or no (''F'')'
                    ACTIVE_WD:
                      type: string
                      maxLength: 16
                      description: 'Status: Active window'
                    FIELD_IND:
                      type: string
                      maxLength: 3
                      description: Index in the field list
                    MESS_CODE:
                      type: string
                      maxLength: 6
                      description: Message code
                    MESS_TEXT:
                      type: string
                      maxLength: 158
                      description: Message Text
                FIELDS:
                  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
                      LINE:
                        type: string
                        maxLength: 3
                        description: Line number of beginning of field
                      COLN:
                        type: string
                        maxLength: 3
                        description: Column number of beginning of field
                      LOOPTYPE:
                        type: string
                        maxLength: 1
                        description: Loop type/ TC field
                      LOOPBEGIN:
                        type: string
                        maxLength: 3
                        description: 'Loop: Starting line'
                      LOOPBLOCK:
                        type: string
                        maxLength: 3
                        description: 'Loop: Number of lines in loop block'
                      LOOPREPEAT:
                        type: string
                        maxLength: 3
                        description: 'Loop: Number of repetitions'
                      FMKY:
                        type: string
                        maxLength: 3
                        description: Function menu key (unfilled)
                      DIDX:
                        type: string
                        maxLength: 3
                        description: Height/ visible length
                      FILL:
                        type: string
                        maxLength: 1
                        description: Graphical type / filler character leading zero
                      COLR:
                        type: string
                        maxLength: 1
                        description: Color (unfilled)
                      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
                      DMAC:
                        type: string
                        maxLength: 132
                        description: Matchcode filename/ Function code and type
                      GRP1:
                        type: string
                        maxLength: 3
                        description: Modification group 1
                      GRP2:
                        type: string
                        maxLength: 3
                        description: Modification group 2
                      GRP3:
                        type: string
                        maxLength: 3
                        description: Modification group 3
                      GRP4:
                        type: string
                        maxLength: 3
                        description: Modification group 4
                      STXT:
                        type: string
                        maxLength: 132
                        description: Text/template for a screen element
                      RES1:
                        type: string
                        maxLength: 255
                        description: Screen source reserve field area without structure
                      RES2:
                        type: string
                        maxLength: 255
                        description: Screen source reserve field area without structure
              required:
              - CONNECTION_PARAMS
              - HEADER
              - STATUS_PARAMS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  HEADER:
                    type: object
                    properties:
                      PROG:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      DNUM:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      TYPE:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      FNUM:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      DGRP:
                        type: string
                        maxLength: 4
                        description: CHAR04 data element for SYST
                      BZMX:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      BZBR:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      MILI:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      MICO:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      MALI:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      MACO:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      NOLI:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      NOCO:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      VALP:
                        type: string
                        maxLength: 3
                        description: CHAR03 data element for SYST
                      CUAN:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      HDAT:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      SPRA:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      CUPO:
                        type: string
                        maxLength: 30
                        description: CHAR30 for SYST
                      DGEN:
                        type: string
                        format: date
                        description: Date data element for SYST
                      TGEN:
                        type: string
                        maxLength: 6
                        description: TIME Data Element for SYST
                  STATUS_PARAMS:
                    type: object
                    properties:
                      ACTIVITY:
                        type: string
                        maxLength: 16
                        description: 'Status: Activity (requests and reactions to requests)'
                      MODUS:
                        type: string
                        maxLength: 1
                        description: 'Status: Change (''M'') or Display (''S'') mode'
                      SAVED:
                        type: string
                        maxLength: 1
                        description: 'Status: saved (''T'') / not saved (''F'')'
                      NEXT_PREV:
                        type: string
                        maxLength: 1
                        description: 'Status: with mass processing yes (''T'') or no (''F'')'
                      SHOWVERS:
                        type: string
                        maxLength: 1
                        description: 'Status: Show Version Yes(''T'')/No(''F'')'
                      CUSTOMIZE:
                        type: string
                        maxLength: 1
                        description: 'Status: Customizing yet (''T'') or no (''F'')'
                      EXTEND:
                        type: string
                        maxLength: 1
                        description: 'Status: Enhancement mode yes (''T'') or no (''F'')'
                      EXTENDED:
                        type: string
                        maxLength: 1
                        description: 'Status: Screen has enhancements (''T'' -> yes, ''F'' -> no)'
                      GENERATED:
                        type: string
                        maxLength: 1
                        description: 'Status: Generated / active / inactive / inactive for others'
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Status: With active/inactive sources (''T''); without (''F'')'
                      WB99:
                        type: string
                        maxLength: 1
                        description: 'Status of WB99 Active: yes (''T'') or no (''F'')'
                      ACTIVE_WD:
                        type: string
                        maxLength: 16
                        description: 'Status: Active window'
                      FIELD_IND:
                        type: string
                        maxLength: 3
                        description: Index in the field list
                      MESS_CODE:
                        type: string
                        maxLength: 6
                        description: Message code
                      MESS_TEXT:
                        type: string
                        maxLength: 158
                        description: Message Text
                  FIELDS:
                    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
                        LINE:
                          type: string
                          maxLength: 3
                          description: Line number of beginning of field
                        COLN:
                          type: string
                          maxLength: 3
                          description: Column number of beginning of field
                        LOOPTYPE:
                          type: string
                          maxLength: 1
                          description: Loop type/ TC field
                        LOOPBEGIN:
                          type: string
                          maxLength: 3
                          description: 'Loop: Starting line'
                        LOOPBLOCK:
                          type: string
                          maxLength: 3
                          description: 'Loop: Number of lines in loop block'
                        LOOPREPEAT:
                          type: string
                          maxLength: 3
                          description: 'Loop: Number of repetitions'
                        FMKY:
                          type: string
                          maxLength: 3
                          description: Function menu key (unfilled)
                        DIDX:
                          type: string
                          maxLength: 3
                          description: Height/ visible length
                        FILL:
                          type: string
                          maxLength: 1
                          description: Graphical type / filler character leading zero
                        COLR:
                          type: string
                          maxLength: 1
                          description: Color (unfilled)
                        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
                        DMAC:
                          type: string
                          maxLength: 132
                          description: Matchcode filename/ Function code and type
                        GRP1:
                          type: string
                          maxLength: 3
                          description: Modification group 1
                        GRP2:
                          type: string
                          maxLength: 3
                          description: Modification group 2
                        GRP3:
                          type: string
                          maxLength: 3
                          description: Modification group 3
                        GRP4:
                          type: string
                          maxLength: 3
                          description: Modification group 4
                        STXT:
                          type: string
                          maxLength: 132
                          description: Text/template for a screen element
                        RES1:
                          type: string
                          maxLength: 255
                          description: Screen source reserve field area without structure
                        RES2:
                          type: string
                          maxLength: 255
                          description: Screen source reserve field area without structure
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
