openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_CUST_NAMESPACE:
    post:
      tags:
      - SWFMOD_WORKFLOW
      summary: Get customer namespace of a table (default PPFTTTCU)
      operationId: /rfc/SWFMOD_GET_CUST_NAMESPACE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_TABNAME:
                  type: string
                  default: PPFTTTCU
                  maxLength: 30
                  description: Table name
                ET_ACT_CUST_NAMES:
                  type: array
                  items:
                    type: object
                    properties:
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      KEYLOW:
                        type: string
                        maxLength: 30
                        description: Generic Entry of Protected Namespace (Lowercase)
                      GENFLAG:
                        type: string
                        maxLength: 1
                        description: 'ID for "implicitly generated"  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      IGNOREFLAG:
                        type: string
                        maxLength: 1
                        description: 'ID for "Entry to be ignored"  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      LASTNAME:
                        type: string
                        maxLength: 12
                        description: Entry last changed by
                      LASTDATE:
                        type: string
                        format: date
                        description: Date on which entry was last changed
                ET_MESSAGE_LINES:
                  type: array
                  items:
                    type: object
                    properties:
                      MSG_TYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      LINE:
                        type: string
                        maxLength: 273
                        description: Text line for message
                ET_MESSAGE_STRUCT:
                  type: array
                  items:
                    type: object
                    properties:
                      MSGID:
                        type: string
                        maxLength: 20
                        description: Message Class
                      MSGTY:
                        type: string
                        maxLength: 1
                        description: Message Type
                      MSGNO:
                        type: integer
                        format: int64
                        description: Message Number
                      MSGV1:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV2:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV3:
                        type: string
                        maxLength: 50
                        description: Message Variable
                      MSGV4:
                        type: string
                        maxLength: 50
                        description: Message Variable
              required:
              - IV_TABNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_RETCODE:
                    type: integer
                    format: int32
                    description: Return Value, Return Value After ABAP Statements
                  ET_ACT_CUST_NAMES:
                    type: array
                    items:
                      type: object
                      properties:
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        KEYLOW:
                          type: string
                          maxLength: 30
                          description: Generic Entry of Protected Namespace (Lowercase)
                        GENFLAG:
                          type: string
                          maxLength: 1
                          description: 'ID for "implicitly generated"  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        IGNOREFLAG:
                          type: string
                          maxLength: 1
                          description: 'ID for "Entry to be ignored"  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        LASTNAME:
                          type: string
                          maxLength: 12
                          description: Entry last changed by
                        LASTDATE:
                          type: string
                          format: date
                          description: Date on which entry was last changed
                  ET_MESSAGE_LINES:
                    type: array
                    items:
                      type: object
                      properties:
                        MSG_TYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        LINE:
                          type: string
                          maxLength: 273
                          description: Text line for message
                  ET_MESSAGE_STRUCT:
                    type: array
                    items:
                      type: object
                      properties:
                        MSGID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        MSGTY:
                          type: string
                          maxLength: 1
                          description: Message Type
                        MSGNO:
                          type: integer
                          format: int64
                          description: Message Number
                        MSGV1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MSGV4:
                          type: string
                          maxLength: 50
                          description: Message Variable
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
