openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RS_CUA_INTERNAL_FETCH:
    post:
      tags:
      - SMPI
      summary: 'Internal use: Source code access (read)'
      operationId: /rfc/RS_CUA_INTERNAL_FETCH
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  maxLength: 1
                PROGRAM:
                  type: string
                  maxLength: 40
                STATE:
                  type: string
                  default: A
                  maxLength: 1
                  description: 'ABAP: Program Status (Active, Saved, Transported...)'
                WITH_SECOND_LANGUAGE:
                  type: string
                  default: ' '
                  maxLength: 1
                ACT:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      'NO':
                        type: string
                        maxLength: 2
                        description: Number of pushbutton
                      MENUCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                BIV:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      SUB_CODE:
                        type: string
                        maxLength: 4
                        description: Menu Painter. Function key code
                      FCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                BUT:
                  type: array
                  items:
                    type: object
                    properties:
                      PFK_CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      CODE:
                        type: string
                        maxLength: 4
                        description: Menu Painter. Function key code
                      'NO':
                        type: string
                        maxLength: 2
                        description: Number of pushbutton
                      PFNO:
                        type: string
                        maxLength: 2
                        description: F key number
                DOC:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJ_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Menu Painter: Sub-object type'
                      OBJ_CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      SUB_CODE:
                        type: string
                        maxLength: 4
                        description: Menu Painter. Function key code
                      MODAL:
                        type: string
                        maxLength: 1
                        description: 'Type of status / menu bar / function key setting  enumValues: ""=Screen,B=List in dialog box,X=Dialog box,L=List'
                        enum:
                        - ''
                        - B
                        - X
                        - L
                      NORM:
                        type: string
                        maxLength: 1
                        description: Display menu bar standards
                      INT_NOTE:
                        type: string
                        maxLength: 60
                        description: Short Documentation
                FUN:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      TEXTNO:
                        type: string
                        maxLength: 3
                        description: 'Menu Painter: Function text number'
                      TYPE:
                        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
                      MODIF:
                        type: string
                        maxLength: 1
                        description: Function is flagged for user modification
                      TEXT_TYPE:
                        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
                      TEXT_NAME:
                        type: string
                        maxLength: 132
                        description: 'Menu Painter: Field name for dynamic texts'
                      ICON_ID:
                        type: string
                        maxLength: 4
                        description: Icon in text fields (substitute display, alias)
                      FUN_TEXT:
                        type: string
                        maxLength: 40
                        description: 'Menu Painter: Function or menu text (4.0)'
                      ICON_TEXT:
                        type: string
                        maxLength: 40
                        description: 'Menu Painter: Icon text (4.0)'
                      INFO_TEXT:
                        type: string
                        maxLength: 60
                        description: 'Menu Painter: Info text (4.0)'
                      PATH:
                        type: string
                        maxLength: 1
                        description: Fastpath ID
                      SFW_SWITCHID:
                        type: string
                        maxLength: 30
                        description: ID of Switch in Switch Framework
                      SFW_SHOWHIDE:
                        type: string
                        maxLength: 1
                        description: 'Reaction to Switch  enumValues: H=Hide,D=Display'
                        enum:
                        - H
                        - D
                MEN:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      'NO':
                        type: string
                        maxLength: 2
                        description: Number of pushbutton
                      REF_TYPE:
                        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
                      REF_CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      REF_NO:
                        type: string
                        maxLength: 3
                        description: 'Menu Painter: Function text number'
                MTX:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      TEXT_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of status / menu bar / function key setting  enumValues: ""=Screen,B=List in dialog box,X=Dialog box,L=List'
                        enum:
                        - ''
                        - B
                        - X
                        - L
                      TEXT_NAME:
                        type: string
                        maxLength: 132
                        description: 'Menu Painter: Field name for dynamic texts'
                      INC_PROG:
                        type: string
                        maxLength: 40
                        description: Program/transaction in SQL trace analysis
                      INC_STATUS:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Status code'
                      SFW_SWITCHID:
                        type: string
                        maxLength: 30
                        description: ID of Switch in Switch Framework
                      SFW_SHOWHIDE:
                        type: string
                        maxLength: 1
                        description: 'Reaction to Switch  enumValues: H=Hide,D=Display'
                        enum:
                        - H
                        - D
                      TEXT:
                        type: string
                        maxLength: 40
                        description: 'Menu Painter: Function or menu text (4.0)'
                      PATH:
                        type: string
                        maxLength: 1
                        description: Fastpath ID
                      INT_NOTE:
                        type: string
                        maxLength: 60
                        description: 'Menu Painter: Technical description of an object'
                PFK:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      PFNO:
                        type: string
                        maxLength: 2
                        description: F key number
                      FUNCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      FUNNO:
                        type: string
                        maxLength: 3
                        description: 'Menu Painter: Function text number'
                SET:
                  type: array
                  items:
                    type: object
                    properties:
                      STATUS:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Status code'
                      FUNCTION:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                STA:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Status code'
                      MODAL:
                        type: string
                        maxLength: 1
                        description: 'Type of status / menu bar / function key setting  enumValues: ""=Screen,B=List in dialog box,X=Dialog box,L=List'
                        enum:
                        - ''
                        - B
                        - X
                        - L
                      ACTCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      PFKCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                      BUTCODE:
                        type: string
                        maxLength: 4
                        description: Sequential pushbutton code numbers
                      INT_NOTE:
                        type: string
                        maxLength: 60
                        description: 'Menu Painter: Technical description of an object'
                      CTXCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Object code'
                TIT:
                  type: array
                  items:
                    type: object
                    properties:
                      CODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Title code'
                      TEXT:
                        type: string
                        maxLength: 60
                        description: Text of title line
              required:
              - PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ADM:
                    type: object
                    properties:
                      ACTCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      MENCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      PFKCODE:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      DEFAULTACT:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      DEFAULTPFK:
                        type: string
                        maxLength: 20
                        description: 'Menu Painter: Function code'
                      MOD_LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                  AUTHOR:
                    type: string
                    maxLength: 12
                  CAUTHOR:
                    type: string
                    maxLength: 12
                  CDATE:
                    type: string
                    format: date
                  CTIME:
                    type: string
                    maxLength: 6
                  DATE:
                    type: string
                    format: date
                  GDATE:
                    type: string
                    format: date
                  GTIME:
                    type: string
                    maxLength: 6
                  LANGU:
                    type: string
                    maxLength: 1
                  TIME:
                    type: string
                    maxLength: 6
                  ACT:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        'NO':
                          type: string
                          maxLength: 2
                          description: Number of pushbutton
                        MENUCODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                  BIV:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        SUB_CODE:
                          type: string
                          maxLength: 4
                          description: Menu Painter. Function key code
                        FCODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                  BUT:
                    type: array
                    items:
                      type: object
                      properties:
                        PFK_CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        CODE:
                          type: string
                          maxLength: 4
                          description: Menu Painter. Function key code
                        'NO':
                          type: string
                          maxLength: 2
                          description: Number of pushbutton
                        PFNO:
                          type: string
                          maxLength: 2
                          description: F key number
                  DOC:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJ_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Menu Painter: Sub-object type'
                        OBJ_CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        SUB_CODE:
                          type: string
                          maxLength: 4
                          description: Menu Painter. Function key code
                        MODAL:
                          type: string
                          maxLength: 1
                          description: 'Type of status / menu bar / function key setting  enumValues: ""=Screen,B=List in dialog box,X=Dialog box,L=List'
                          enum:
                          - ''
                          - B
                          - X
                          - L
                        NORM:
                          type: string
                          maxLength: 1
                          description: Display menu bar standards
                        INT_NOTE:
                          type: string
                          maxLength: 60
                          description: Short Documentation
                  FUN:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                        TEXTNO:
                          type: string
                          maxLength: 3
                          description: 'Menu Painter: Function text number'
                        TYPE:
                          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
                        MODIF:
                          type: string
                          maxLength: 1
                          description: Function is flagged for user modification
                        TEXT_TYPE:
                          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
                        TEXT_NAME:
                          type: string
                          maxLength: 132
                          description: 'Menu Painter: Field name for dynamic texts'
                        ICON_ID:
                          type: string
                          maxLength: 4
                          description: Icon in text fields (substitute display, alias)
                        FUN_TEXT:
                          type: string
                          maxLength: 40
                          description: 'Menu Painter: Function or menu text (4.0)'
                        ICON_TEXT:
                          type: string
                          maxLength: 40
                          description: 'Menu Painter: Icon text (4.0)'
                        INFO_TEXT:
                          type: string
                          maxLength: 60
                          description: 'Menu Painter: Info text (4.0)'
                        PATH:
                          type: string
                          maxLength: 1
                          description: Fastpath ID
                        SFW_SWITCHID:
                          type: string
                          maxLength: 30
                          description: ID of Switch in Switch Framework
                        SFW_SHOWHIDE:
                          type: string
                          maxLength: 1
                          description: 'Reaction to Switch  enumValues: H=Hide,D=Display'
                          enum:
                          - H
                          - D
                  MEN:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        'NO':
                          type: string
                          maxLength: 2
                          description: Number of pushbutton
                        REF_TYPE:
                          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
                        REF_CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        REF_NO:
                          type: string
                          maxLength: 3
                          description: 'Menu Painter: Function text number'
                  MTX:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        TEXT_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Type of status / menu bar / function key setting  enumValues: ""=Screen,B=List in dialog box,X=Dialog box,L=List'
                          enum:
                          - ''
                          - B
                          - X
                          - L
                        TEXT_NAME:
                          type: string
                          maxLength: 132
                          description: 'Menu Painter: Field name for dynamic texts'
                        INC_PROG:
                          type: string
                          maxLength: 40
                          description: Program/transaction in SQL trace analysis
                        INC_STATUS:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Status code'
                        SFW_SWITCHID:
                          type: string
                          maxLength: 30
                          description: ID of Switch in Switch Framework
                        SFW_SHOWHIDE:
                          type: string
                          maxLength: 1
                          description: 'Reaction to Switch  enumValues: H=Hide,D=Display'
                          enum:
                          - H
                          - D
                        TEXT:
                          type: string
                          maxLength: 40
                          description: 'Menu Painter: Function or menu text (4.0)'
                        PATH:
                          type: string
                          maxLength: 1
                          description: Fastpath ID
                        INT_NOTE:
                          type: string
                          maxLength: 60
                          description: 'Menu Painter: Technical description of an object'
                  PFK:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                        PFNO:
                          type: string
                          maxLength: 2
                          description: F key number
                        FUNCODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                        FUNNO:
                          type: string
                          maxLength: 3
                          description: 'Menu Painter: Function text number'
                  SET:
                    type: array
                    items:
                      type: object
                      properties:
                        STATUS:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Status code'
                        FUNCTION:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Function code'
                  STA:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Status code'
                        MODAL:
                          type: string
                          maxLength: 1
                          description: 'Type of status / menu bar / function key setting  enumValues: ""=Screen,B=List in dialog box,X=Dialog box,L=List'
                          enum:
                          - ''
                          - B
                          - X
                          - L
                        ACTCODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        PFKCODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                        BUTCODE:
                          type: string
                          maxLength: 4
                          description: Sequential pushbutton code numbers
                        INT_NOTE:
                          type: string
                          maxLength: 60
                          description: 'Menu Painter: Technical description of an object'
                        CTXCODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Object code'
                  TIT:
                    type: array
                    items:
                      type: object
                      properties:
                        CODE:
                          type: string
                          maxLength: 20
                          description: 'Menu Painter: Title code'
                        TEXT:
                          type: string
                          maxLength: 60
                          description: Text of title line
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
