openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_SCRP_GF_RSTATUS_40:
    post:
      tags:
      - SCR1
      operationId: /rfc/RS_SCRP_GF_RSTATUS_40
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language
                PROGRAM:
                  type: string
                  maxLength: 40
                  description: Program Name
                STATUS_ID:
                  type: string
                  maxLength: 20
                  description: Status
                TITLE_ID:
                  type: string
                  maxLength: 20
                FUNCTIONKEYS:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGRAM:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      STATUS:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Status code'
                      PFNO:
                        type: string
                        maxLength: 2
                        description: F key number
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      TEXT:
                        type: string
                        maxLength: 40
                        description: 'Menu Painter: Function or menu text (4.0)'
                      ICON_ID:
                        type: string
                        maxLength: 4
                        description: Icon in text fields (substitute display, alias)
                      ICONTEXT:
                        type: string
                        maxLength: 40
                        description: 'Menu Painter: Function or menu text (4.0)'
                      QUICKINFO:
                        type: string
                        maxLength: 60
                        description: 'Menu Painter: Info text (4.0)'
                      FIELDNAME:
                        type: string
                        maxLength: 132
                        description: ''
                      BUTNO:
                        type: string
                        maxLength: 2
                        description: Number of pushbutton
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                        enum:
                        - X
                        - ''
                      SYS_ICON:
                        type: string
                        maxLength: 4
                        description: Icon in text fields (substitute display, alias)
                      INVARIABLE:
                        type: string
                        maxLength: 1
                        description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                        enum:
                        - X
                        - ''
                      SEPARATOR:
                        type: string
                        maxLength: 1
                        description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                        enum:
                        - X
                        - ''
                MENUTREE:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGRAM:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      STATUS:
                        type: string
                        maxLength: 20
                        description: GUI status
                      POS_1:
                        type: string
                        maxLength: 2
                        description: 'GUI: Menu position'
                      POS_2:
                        type: string
                        maxLength: 2
                        description: 'GUI: Menu position'
                      POS_3:
                        type: string
                        maxLength: 2
                        description: 'GUI: Menu position'
                      POS_4:
                        type: string
                        maxLength: 2
                        description: 'GUI: Menu position'
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      TEXT:
                        type: string
                        maxLength: 40
                        description: 'Menu Painter: Function or menu text (4.0)'
                      QUICKINFO:
                        type: string
                        maxLength: 60
                        description: 'Menu Painter: Info text (4.0)'
                      FIELDNAME:
                        type: string
                        maxLength: 132
                        description: ''
                      TYPE:
                        type: string
                        maxLength: 1
                        description: 'GUI: Menu type  enumValues: ""=Normal Application Function,S=System Function,E=Exit Command (MODULE xxx AT EXIT-COMMAND),H=Internal Use,T=Call a Transaction,P=Local GUI Functions'
                        enum:
                        - ''
                        - S
                        - E
                        - H
                        - T
                        - P
                      FTYPE:
                        type: string
                        maxLength: 1
                        description: 'Function type  enumValues: ""=Normal Application Function,S=System Function,E=Exit Command (MODULE xxx AT EXIT-COMMAND),H=Internal Use,T=Call a Transaction,P=Local GUI Functions'
                        enum:
                        - ''
                        - S
                        - E
                        - H
                        - T
                        - P
                      ACTIVE:
                        type: string
                        maxLength: 1
                        description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                        enum:
                        - X
                        - ''
                      PATH:
                        type: string
                        maxLength: 1
                        description: Fastpath ID
                      INC_POS:
                        type: string
                        maxLength: 2
                        description: 'GUI: Menu position'
                      INTERNAL:
                        type: string
                        maxLength: 1
                        description: CHAR01 data element for SYST
                      INT_CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                TITLES:
                  type: array
                  items:
                    type: object
                    properties:
                      PROGNAME:
                        type: string
                        maxLength: 40
                        description: Program/transaction in SQL trace analysis
                      SPRSL:
                        type: string
                        maxLength: 1
                        description: Language Key
                      OBJ_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Menu Painter: Standards maintenance: Object type  enumValues: C=Status,F=Function,P=Function Key Setting,A=Menu Bar,T=Title,B=Pushbutton settings,M=Menu'
                        enum:
                        - C
                        - F
                        - P
                        - A
                        - T
                        - B
                        - M
                      OBJ_CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      SUB_CODE:
                        type: string
                        maxLength: 4
                        description: Menu Painter. Function key code
                      TEXTTYPE:
                        type: string
                        maxLength: 1
                        description: 'Menu Painter: Text type  enumValues: Q=Quick info,I=Icontext,T=Technical Information,M=Object text'
                        enum:
                        - Q
                        - I
                        - T
                        - M
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'Menu Painter: Info text (4.0)'
                      PATH:
                        type: string
                        maxLength: 1
                        description: Fastpath ID
              required:
              - PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  FUNCTIONKEYS:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGRAM:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        STATUS:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Status code'
                        PFNO:
                          type: string
                          maxLength: 2
                          description: F key number
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        TEXT:
                          type: string
                          maxLength: 40
                          description: 'Menu Painter: Function or menu text (4.0)'
                        ICON_ID:
                          type: string
                          maxLength: 4
                          description: Icon in text fields (substitute display, alias)
                        ICONTEXT:
                          type: string
                          maxLength: 40
                          description: 'Menu Painter: Function or menu text (4.0)'
                        QUICKINFO:
                          type: string
                          maxLength: 60
                          description: 'Menu Painter: Info text (4.0)'
                        FIELDNAME:
                          type: string
                          maxLength: 132
                          description: ''
                        BUTNO:
                          type: string
                          maxLength: 2
                          description: Number of pushbutton
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                          enum:
                          - X
                          - ''
                        SYS_ICON:
                          type: string
                          maxLength: 4
                          description: Icon in text fields (substitute display, alias)
                        INVARIABLE:
                          type: string
                          maxLength: 1
                          description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                          enum:
                          - X
                          - ''
                        SEPARATOR:
                          type: string
                          maxLength: 1
                          description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                          enum:
                          - X
                          - ''
                  MENUTREE:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGRAM:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        STATUS:
                          type: string
                          maxLength: 20
                          description: GUI status
                        POS_1:
                          type: string
                          maxLength: 2
                          description: 'GUI: Menu position'
                        POS_2:
                          type: string
                          maxLength: 2
                          description: 'GUI: Menu position'
                        POS_3:
                          type: string
                          maxLength: 2
                          description: 'GUI: Menu position'
                        POS_4:
                          type: string
                          maxLength: 2
                          description: 'GUI: Menu position'
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        TEXT:
                          type: string
                          maxLength: 40
                          description: 'Menu Painter: Function or menu text (4.0)'
                        QUICKINFO:
                          type: string
                          maxLength: 60
                          description: 'Menu Painter: Info text (4.0)'
                        FIELDNAME:
                          type: string
                          maxLength: 132
                          description: ''
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'GUI: Menu type  enumValues: ""=Normal Application Function,S=System Function,E=Exit Command (MODULE xxx AT EXIT-COMMAND),H=Internal Use,T=Call a Transaction,P=Local GUI Functions'
                          enum:
                          - ''
                          - S
                          - E
                          - H
                          - T
                          - P
                        FTYPE:
                          type: string
                          maxLength: 1
                          description: 'Function type  enumValues: ""=Normal Application Function,S=System Function,E=Exit Command (MODULE xxx AT EXIT-COMMAND),H=Internal Use,T=Call a Transaction,P=Local GUI Functions'
                          enum:
                          - ''
                          - S
                          - E
                          - H
                          - T
                          - P
                        ACTIVE:
                          type: string
                          maxLength: 1
                          description: 'Selection of element to be edited  enumValues: X=Selection,""=No selection'
                          enum:
                          - X
                          - ''
                        PATH:
                          type: string
                          maxLength: 1
                          description: Fastpath ID
                        INC_POS:
                          type: string
                          maxLength: 2
                          description: 'GUI: Menu position'
                        INTERNAL:
                          type: string
                          maxLength: 1
                          description: CHAR01 data element for SYST
                        INT_CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                  TITLES:
                    type: array
                    items:
                      type: object
                      properties:
                        PROGNAME:
                          type: string
                          maxLength: 40
                          description: Program/transaction in SQL trace analysis
                        SPRSL:
                          type: string
                          maxLength: 1
                          description: Language Key
                        OBJ_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Menu Painter: Standards maintenance: Object type  enumValues: C=Status,F=Function,P=Function Key Setting,A=Menu Bar,T=Title,B=Pushbutton settings,M=Menu'
                          enum:
                          - C
                          - F
                          - P
                          - A
                          - T
                          - B
                          - M
                        OBJ_CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                        SUB_CODE:
                          type: string
                          maxLength: 4
                          description: Menu Painter. Function key code
                        TEXTTYPE:
                          type: string
                          maxLength: 1
                          description: 'Menu Painter: Text type  enumValues: Q=Quick info,I=Icontext,T=Technical Information,M=Object text'
                          enum:
                          - Q
                          - I
                          - T
                          - M
                        TEXT:
                          type: string
                          maxLength: 60
                          description: 'Menu Painter: Info text (4.0)'
                        PATH:
                          type: string
                          maxLength: 1
                          description: Fastpath ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
