openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_GET_ACTION_DATA:
    post:
      tags:
      - SWFMOD_ACTION_GEN
      summary: Get configuration of an action definition
      operationId: /rfc/SWFMOD_GET_ACTION_DATA
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_ACTION:
                  type: string
                  maxLength: 30
                  description: 'PPF: Name of Action Definition'
                IP_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: R/3 System, current language
              required:
              - IP_ACTION
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ES_ACTION:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      NAME:
                        type: string
                        maxLength: 30
                        description: 'PPF: Name of Action Definition'
                      CONTXTNAME:
                        type: string
                        maxLength: 30
                        description: 'PPF: Name of Action Profile'
                      CHANGEABLE:
                        type: string
                        maxLength: 1
                        description: 'Action Manually Modifiable  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      MULTIPLE:
                        type: string
                        maxLength: 1
                        description: 'PPF: Display Actions in the Toolbar  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      PARTINDEP:
                        type: string
                        maxLength: 1
                        description: 'PPF: Action Can Only Be Scheduled with Partner  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      DSPTCHTIME:
                        type: string
                        maxLength: 1
                        description: 'PPF: Processing Time  enumValues: 1=Processing using selection report,4=Processing when saving document,3=Immediate processing'
                        enum:
                        - '1'
                        - '4'
                        - '3'
                      INACTIVE:
                        type: string
                        maxLength: 1
                        description: 'PPF: Inactive Action Definition  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      DETERMCLS:
                        type: string
                        maxLength: 30
                        description: 'PPF: Class Name'
                      DETERMGUID:
                        type: string
                        format: byte
                        description: GUID
                      MERGECLS:
                        type: string
                        maxLength: 30
                        description: 'PPF: Class Name'
                      MERGEGUID:
                        type: string
                        format: byte
                        description: GUID
                      TEXT:
                        type: string
                        maxLength: 60
                        description: 'PPF: Description of Action Definition'
                      PARTNROLE:
                        type: string
                        maxLength: 8
                        description: 'PPF: Partner Function'
                      EXECDIALOG:
                        type: string
                        maxLength: 1
                        description: 'PPF: Action Definition for Manually Executable Actions  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      SORTFIELD1:
                        type: string
                        maxLength: 61
                        description: 'PPF: Name of Sort Field'
                      SORTFIELD2:
                        type: string
                        maxLength: 61
                        description: 'PPF: Name of Sort Field'
                      SORTFIELD3:
                        type: string
                        maxLength: 61
                        description: 'PPF: Name of Sort Field'
                      EXECANDDEL:
                        type: string
                        maxLength: 1
                        description: 'PPF: Delete Actions After Successful Execution  enumValues: ""=Do Not Delete After Execution,X=Delete After Execution'
                        enum:
                        - ''
                        - X
                      SETINGRID:
                        type: string
                        maxLength: 1
                        description: 'PPF: Schedule Actions Automatically  enumValues: X=TRUE,""=FALSE'
                        enum:
                        - X
                        - ''
                      TTSORT:
                        type: integer
                        format: int64
                        description: 'PPF: Sort Field for Action Definitions'
                      LONGTEXT:
                        type: string
                        maxLength: 70
                        description: Name
                      DSPTCHNOTA:
                        type: string
                        maxLength: 5
                        description: 'PPF: Invalid Processing Time  enumValues: X0000=Immediate Processing and Processing When Saving,000X0=Selection Report and Immediate Processing,XX000=Processing When Saving,XXXXX=No Restrictions,00X00=Selection Report and Processing When Saving,00XX0=Selection Report,X00X0=Immediate Processing'
                        enum:
                        - X0000
                        - 000X0
                        - XX000
                        - XXXXX
                        - 00X00
                        - 00XX0
                        - X00X0
                      RULETYPE:
                        type: string
                        maxLength: 3
                        description: Determination Technology Used
                  ET_ACTION_TEXT:
                    type: array
                    items:
                      type: string
                      maxLength: 72
                      description: 'EDIC: Program editor line'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
