openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/S_ISSUE_RFC_F4_USER_READ:
    post:
      tags:
      - ISSUE_SOLAR
      operationId: /rfc/S_ISSUE_RFC_F4_USER_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FIELDNAME:
                  type: string
                  maxLength: 30
                  description: Field Name
                MULTIPLE_CHOICE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: 'DD: truth value'
                SEARCHHELP:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Name of a search help
                TABNAME:
                  type: string
                  maxLength: 30
                  description: Table Name
                VALUE:
                  type: string
                  maxLength: 255
                  description: Text (length 132)
                RETURN_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      SHLPNAME:
                        type: string
                        maxLength: 30
                        description: Name of a search help
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      RECORDPOS:
                        type: integer
                        format: int64
                        description: Record position in the matchcode F4 output table
                      FIELDVAL:
                        type: string
                        maxLength: 132
                        description: Field contents, min./max. value
                      RETFIELD:
                        type: string
                        maxLength: 132
                        description: Field name
                USER_ADDR:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      BNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      NAME_FIRST:
                        type: string
                        maxLength: 40
                        description: First name
                      NAME_LAST:
                        type: string
                        maxLength: 40
                        description: Last name
                      NAME_TEXTC:
                        type: string
                        maxLength: 80
                        description: Full Name of Person
                      TEL_EXTENS:
                        type: string
                        maxLength: 10
                        description: 'First Telephone No.: Extension'
                      KOSTL:
                        type: string
                        maxLength: 8
                        description: Cost center
                      BUILDING:
                        type: string
                        maxLength: 10
                        description: Building (number or code)
                      ROOMNUMBER:
                        type: string
                        maxLength: 10
                        description: Room or Appartment Number
                      DEPARTMENT:
                        type: string
                        maxLength: 40
                        description: Department
                      INHOUSE_ML:
                        type: string
                        maxLength: 10
                        description: Int. mail postal code
                      NAME1:
                        type: string
                        maxLength: 40
                        description: Name 1
                      CITY1:
                        type: string
                        maxLength: 40
                        description: City
                      POST_CODE1:
                        type: string
                        maxLength: 10
                        description: City postal code
                      MC_NAMEFIR:
                        type: string
                        maxLength: 25
                        description: First name in upper case for search help
                      MC_NAMELAS:
                        type: string
                        maxLength: 25
                        description: Last name in upper-case for search help
                      MC_NAME1:
                        type: string
                        maxLength: 25
                        description: Name (field NAME1) in upper case for matchcode
                      MC_CITY1:
                        type: string
                        maxLength: 25
                        description: City name in upper case for search help
              required:
              - FIELDNAME
              - MULTIPLE_CHOICE
              - SEARCHHELP
              - TABNAME
              - VALUE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        SHLPNAME:
                          type: string
                          maxLength: 30
                          description: Name of a search help
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        RECORDPOS:
                          type: integer
                          format: int64
                          description: Record position in the matchcode F4 output table
                        FIELDVAL:
                          type: string
                          maxLength: 132
                          description: Field contents, min./max. value
                        RETFIELD:
                          type: string
                          maxLength: 132
                          description: Field name
                  USER_ADDR:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        BNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        NAME_FIRST:
                          type: string
                          maxLength: 40
                          description: First name
                        NAME_LAST:
                          type: string
                          maxLength: 40
                          description: Last name
                        NAME_TEXTC:
                          type: string
                          maxLength: 80
                          description: Full Name of Person
                        TEL_EXTENS:
                          type: string
                          maxLength: 10
                          description: 'First Telephone No.: Extension'
                        KOSTL:
                          type: string
                          maxLength: 8
                          description: Cost center
                        BUILDING:
                          type: string
                          maxLength: 10
                          description: Building (number or code)
                        ROOMNUMBER:
                          type: string
                          maxLength: 10
                          description: Room or Appartment Number
                        DEPARTMENT:
                          type: string
                          maxLength: 40
                          description: Department
                        INHOUSE_ML:
                          type: string
                          maxLength: 10
                          description: Int. mail postal code
                        NAME1:
                          type: string
                          maxLength: 40
                          description: Name 1
                        CITY1:
                          type: string
                          maxLength: 40
                          description: City
                        POST_CODE1:
                          type: string
                          maxLength: 10
                          description: City postal code
                        MC_NAMEFIR:
                          type: string
                          maxLength: 25
                          description: First name in upper case for search help
                        MC_NAMELAS:
                          type: string
                          maxLength: 25
                          description: Last name in upper-case for search help
                        MC_NAME1:
                          type: string
                          maxLength: 25
                          description: Name (field NAME1) in upper case for matchcode
                        MC_CITY1:
                          type: string
                          maxLength: 25
                          description: City name in upper case for search help
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
