openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GRAPH_STRU_SET_OPTIONS:
    post:
      tags:
      - GSUX
      summary: 'SAP Structural Graphics: Setting options'
      operationId: /rfc/GRAPH_STRU_SET_OPTIONS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALIGNMENT:
                  type: integer
                  format: int64
                  default: 0
                  description: Text alignment
                ARROWS:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Markings: With arrow    ('' ''/''X'')'
                BORDERX:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Print: Horizontal edge'
                BORDERY:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Print: Vertical edge'
                COLACTTIB:
                  type: integer
                  format: int64
                  default: 9
                  description: Color of active title line  (see TGSU5 table)
                COLACTTIT:
                  type: integer
                  format: int64
                  default: 0
                  description: Color of active title text (see TGSU5 table)
                COLBACK:
                  type: integer
                  format: int64
                  default: 15
                  description: Color of structure background (see TGSU5 table)
                COLEMPH:
                  type: integer
                  format: int64
                  default: 2
                  description: Color of marked objects (see TGSU5 table)
                COLFRAME:
                  type: integer
                  format: int64
                  default: 7
                  description: Color of frame             (see TGSU5 table)
                COLGRID:
                  type: integer
                  format: int64
                  default: 6
                  description: Color of auxiliary lines   (see TGSU5 table)
                COLINACTIB:
                  type: integer
                  format: int64
                  default: 8
                  description: Color of inactive title bar (see TGSU5 table)
                COLINACTIT:
                  type: integer
                  format: int64
                  default: 7
                  description: Color of inactive title bar (see TGSU5 table)
                COLSHADOW:
                  type: integer
                  format: int64
                  default: 8
                  description: Color of shading           (see TGSU5 table)
                DEFBOXCOL:
                  type: integer
                  format: int64
                  default: 13
                  description: Standard object box color  (see TGSU5 table)
                DEFLINECOL:
                  type: integer
                  format: int64
                  default: 10
                  description: Standard line color        (see TGSU5 table)
                DEFSHAPE:
                  type: integer
                  format: int64
                  default: 0
                  description: Standard object form       (see TGSU6 table)
                DEFSTYLE:
                  type: integer
                  format: int64
                  default: 0
                  description: Standard line type         (see TGSU7 table)
                DEFTEXTCOL:
                  type: integer
                  format: int64
                  default: 0
                  description: Standard object text color (see TGSU5 table)
                DEPTH:
                  type: integer
                  format: int64
                  default: 0
                  description: Display depth ('0' = all)
                DESTIN:
                  type: integer
                  format: int64
                  default: 2
                  description: 'Print: Target'
                DIRECTION:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Layout: Alignment'
                DISPLAY:
                  type: integer
                  format: int64
                  default: 0
                  description: Display Mode
                EXPORT:
                  type: integer
                  format: int64
                  default: 0
                  description: 'Print: Output format       (see TGSU1 table)'
                FORCE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Overlap settings with user settings
                FRAME:
                  type: integer
                  format: int64
                  default: 0
                  description: 'Print: Frame'
                GRID:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Auxiliary lines (' '/'X')
                GROUPTEXTS:
                  type: string
                  default: X
                  maxLength: 1
                  description: Combine same texts (' '/'X')
                INNERSCALX:
                  type: integer
                  format: int64
                  default: 70
                  description: Width of inner object frame (in %)
                INNERSCALY:
                  type: integer
                  format: int64
                  default: 70
                  description: Height of inner object frame (in &)
                KNOCKON:
                  type: integer
                  format: int64
                  default: 0
                  description: Subsequent mode
                LBUTTON:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Marking: With text     ('' ''/''X'')'
                LFONT:
                  type: integer
                  format: int64
                  default: 1
                  description: Font type for lines        (see table TGSU4)
                LINEWRAP:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Object representation: Line folding ('' ''/''X'')'
                LINKLOOK:
                  type: integer
                  format: int64
                  default: 1
                  description: Line display
                LTEXT:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Marking: With button ('' ''/''X'')'
                NUMERATION:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Print: Number ('' ''/''X'')'
                OFONT:
                  type: integer
                  format: int64
                  default: 0
                  description: Font type for objects      (see table TGSU4)
                ORIENT:
                  type: integer
                  format: int64
                  default: 0
                  description: 'Print: Alignment'
                OUTERSCALX:
                  type: integer
                  format: int64
                  default: 80
                  description: Width of outer object frame (in %)
                OUTERSCALY:
                  type: integer
                  format: int64
                  default: 80
                  description: Height of outer object frame (in %)
                OUTPUT:
                  type: string
                  default: sap.psc
                  maxLength: 128
                  description: 'Print: Output'
                PAGFORMAT:
                  type: integer
                  format: int64
                  default: 2
                  description: 'Print: Page format         (see table TGSU2)'
                PRINTABLEX:
                  type: integer
                  format: int64
                  default: 21
                  description: 'Print: Width of printable area'
                PRINTABLEY:
                  type: integer
                  format: int64
                  default: 29
                  description: 'Print: Height of printable area'
                PRINTMODE:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Print: Printing mode'
                PROFILE:
                  type: string
                  default: '  '
                  maxLength: 3
                  description: Profile
                PSLFONT:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Print: Font type for lines (see table TGSU3)'
                PSLFONTSZ:
                  type: integer
                  format: int64
                  default: 8
                  description: 'Print: Font size for lines'
                PSOFONT:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Print: Font type for objects (see table TGSU3)'
                PSOFONTSZ:
                  type: integer
                  format: int64
                  default: 12
                  description: 'Print: Font size for objects'
                REPRESENT:
                  type: integer
                  format: int64
                  default: 0
                  description: Display Type
                ROTATION:
                  type: integer
                  format: int64
                  default: 0
                  description: 'Type of representation: Rotation (''0''/''90''/''180''/''360'')'
                SAVESETTGS:
                  type: string
                  default: X
                  maxLength: 1
                  description: <OUT OF USE>
                SECASESENS:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Search: Upper/lower case ('' ''/''X'')'
                SEREMSELEC:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'Search: Delete previous marking ('' ''/''X'')'
                SHADOW:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Object representation: With shading ('' ''/''X'')'
                SOLID:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Object representation: Filled in ('' ''/''X'')'
                SOORDER:
                  type: string
                  default: '0'
                  maxLength: 1
                  description: 'Sort: Order'
                SOSORTMODE:
                  type: integer
                  format: int64
                  default: 0
                  description: 'Sort: Sorting'
                SOTEXTMODE:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Sort: Type of text'
                TBPOSX:
                  type: string
                  default: L
                  maxLength: 1
                  description: Toolbox position horizontal
                TBPOSY:
                  type: string
                  default: T
                  maxLength: 1
                  description: Toolbox position vertical
                TBSIZEX:
                  type: integer
                  format: int64
                  default: 15
                  description: Toolbox width (in % with regard to screen)
                TBSIZEY:
                  type: integer
                  format: int64
                  default: 25
                  description: Toolbox height (in % with regard to screen)
                UNIT:
                  type: integer
                  format: int64
                  default: 1
                  description: 'Print: Unit'
                WINPOSX:
                  type: string
                  default: C
                  maxLength: 1
                  description: Window position horizontal
                WINPOSY:
                  type: string
                  default: C
                  maxLength: 1
                  description: Window position vertical
                WINSIZEX:
                  type: integer
                  format: int64
                  default: 50
                  description: Window width (in % with regard to screen)
                WINSIZEY:
                  type: integer
                  format: int64
                  default: 50
                  description: Window height (in % with regard to screen)
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
