openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/HELP_START_REMOTE:
    post:
      tags:
      - SPILOCALHELP
      summary: Call HELPs from DYNP
      operationId: /rfc/HELP_START_REMOTE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                HELP_INFOS:
                  type: object
                  properties:
                    CALL:
                      type: string
                      maxLength: 1
                      description: Help processor call type
                    OBJECT:
                      type: string
                      maxLength: 1
                      description: Screen object ID
                    PROGRAM:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    DYNPRO:
                      type: string
                      maxLength: 4
                      description: Number of the following screen
                    TABNAME:
                      type: string
                      maxLength: 30
                      description: Table Name
                    FIELDNAME:
                      type: string
                      maxLength: 30
                      description: Field Name
                    FIELDTYPE:
                      type: string
                      maxLength: 4
                      description: 'Data Type in ABAP Dictionary  enumValues: NUMC=Character string with only digits,INT2=2-byte integer, only for length field before LCHR or LRAW,DEC=Counter or amount field with comma and sign,VARC=Long character string, no longer supported from Rel. 3.0,INT1=1-byte integer, integer number <= 255,RAW=Uninterpreted sequence of bytes,CUKY=Currency key, referenced by CURR fields,QUAN=Quantity field, points to a unit field with format UNIT,FLTP=Floating point number,
                        accurate to 8 bytes,LRAW=Long byte string, requires preceding INT2 field,PREC=Precision of a QUAN field,CHAR=Character String,ACCP=Posting period YYYYMM,INT4=4-byte integer, integer number with sign,RSTR=Byte String of Variable Length,STRG=Character String of Variable Length,LANG=Language key,TIMS=Time field (hhmmss), stored as char(6),UNIT=Unit key for QUAN fields,CLNT=Client,DATS=Date field (YYYYMMDD) stored as char(8),LCHR=Long character string, requires preceding INT2 field,CURR=Currency
                        field, stored as DEC,SSTR=Short Character String of Variable Length'
                      enum:
                      - NUMC
                      - INT2
                      - DEC
                      - VARC
                      - INT1
                      - RAW
                      - CUKY
                      - QUAN
                      - FLTP
                      - LRAW
                      - PREC
                      - CHAR
                      - ACCP
                      - INT4
                      - RSTR
                      - STRG
                      - LANG
                      - TIMS
                      - UNIT
                      - CLNT
                      - DATS
                      - LCHR
                      - CURR
                      - SSTR
                    KEYWORD:
                      type: string
                      maxLength: 40
                      description: Text, 40 Characters Long
                    FIELDLNG:
                      type: string
                      maxLength: 2
                      description: Version Number Component
                    FLDVALUE:
                      type: string
                      maxLength: 255
                      description: Screen Field Contents
                    MCOBJ:
                      type: string
                      maxLength: 30
                      description: Name of a Search Help
                    SPRAS:
                      type: string
                      maxLength: 1
                      description: Language Key
                    MENUFUNCT:
                      type: string
                      maxLength: 20
                      description: Function Code
                    MESSAGEID:
                      type: string
                      maxLength: 20
                      description: Message identification
                    MESSAGENR:
                      type: string
                      maxLength: 3
                      description: Message number
                    MESSAGE:
                      type: string
                      maxLength: 300
                      description: Text length 300
                    TITLE:
                      type: string
                      maxLength: 79
                      description: Text (79 characters)
                    DYNPROFLD:
                      type: string
                      maxLength: 132
                      description: Field name
                    DYNPROFLAG:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    CHECKTABLE:
                      type: string
                      maxLength: 30
                      description: Table Name
                    CHECKFIELD:
                      type: string
                      maxLength: 30
                      description: Field Name
                    VALEXIST:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    TCODE:
                      type: string
                      maxLength: 20
                      description: Transaction Code
                    PFKEY:
                      type: string
                      maxLength: 20
                      description: GUI status
                    DOCUKEY:
                      type: string
                      maxLength: 79
                      description: Character field length 79
                    REPORT:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    DOCUID:
                      type: string
                      maxLength: 2
                      description: Document class
                    DOCUOBJECT:
                      type: string
                      maxLength: 60
                      description: Documentation Object
                    HEADERTEXT:
                      type: string
                      maxLength: 132
                      description: Text Line
                    F1SYSHEL:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    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
                    SHOW:
                      type: string
                      maxLength: 1
                      description: Display field flag
                    POV:
                      type: string
                      maxLength: 1
                      description: PROCESS-ON-VALUE-REQUEST flag
                    CUROW:
                      type: integer
                      format: int32
                      description: Vertical Cursor Position at PAI
                    CUCOL:
                      type: integer
                      format: int32
                      description: Horizontal Cursor Position at PAI
                    SY_DYN:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    DYNPPROG:
                      type: string
                      maxLength: 40
                      description: ABAP Program Name
                    STEPL:
                      type: integer
                      format: int32
                      description: Index of Current Step Loop Line
                    SELECTART:
                      type: string
                      maxLength: 1
                      description: CHAR01 data element for SYST
                DYNPSELECT:
                  type: array
                  items:
                    type: object
                    properties:
                      FLDNAME:
                        type: string
                        maxLength: 132
                        description: Field name
                      FLDINH:
                        type: string
                        maxLength: 132
                        description: Field contents, min./max. value
                      DYFLDNAME:
                        type: string
                        maxLength: 132
                        description: Field name
                DYNPVALUETAB:
                  type: array
                  items:
                    type: object
                    properties:
                      LOWVALUE:
                        type: string
                        maxLength: 132
                        description: Field contents, min./max. value
                      HIGHVALUE:
                        type: string
                        maxLength: 132
                        description: Field contents, min./max. value
              required:
              - HELP_INFOS
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RSMDY_RET:
                    type: object
                    properties:
                      MCSELOBJ:
                        type: string
                        maxLength: 30
                        description: Name of a Search Help
                      MCSELSTR:
                        type: string
                        maxLength: 80
                        description: Matchcode selection string ('=A.xx.yyyy....')
                      MCFLDIDS:
                        type: string
                        maxLength: 30
                        description: Selected MC field IDs
                      MCFLDLNGS:
                        type: string
                        maxLength: 10
                        description: Lengths of selected MC fields
                      MCFLDVALS:
                        type: string
                        maxLength: 254
                        description: Values of selected MC fields (unformatted)
                      MCSELFLG:
                        type: string
                        maxLength: 1
                        description: 'Flag indicating whether MC selection was made  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                  SELECT_VALUE:
                    type: string
                    maxLength: 255
                    description: Selected value
                  DYNPSELECT:
                    type: array
                    items:
                      type: object
                      properties:
                        FLDNAME:
                          type: string
                          maxLength: 132
                          description: Field name
                        FLDINH:
                          type: string
                          maxLength: 132
                          description: Field contents, min./max. value
                        DYFLDNAME:
                          type: string
                          maxLength: 132
                          description: Field name
                  DYNPVALUETAB:
                    type: array
                    items:
                      type: object
                      properties:
                        LOWVALUE:
                          type: string
                          maxLength: 132
                          description: Field contents, min./max. value
                        HIGHVALUE:
                          type: string
                          maxLength: 132
                          description: Field contents, min./max. value
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
