openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWFMOD_CREATE_ACTION_CUSTOMIZE:
    post:
      tags:
      - SWFMOD_ACTION_GEN
      summary: Generate customizing for action
      operationId: /rfc/SWFMOD_CREATE_ACTION_CUSTOMIZE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_DO_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Execute commit work
                IP_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language Key
                IP_NEW_PROFILE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Create new action profile
                IP_SCHEDULE_CONDITION:
                  type: string
                  format: byte
                  description: Schedule condition
                IP_START_CONDITION:
                  type: string
                  format: byte
                  description: Start condition
                IP_TRKORR:
                  type: string
                  maxLength: 20
                  description: Request/Task
                IP_WF_TASK:
                  type: string
                  maxLength: 14
                  description: Workflow ID
                IS_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
                IS_ACTION_PROFILE:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client ID of Current User
                    NAME:
                      type: string
                      maxLength: 30
                      description: 'PPF: Name of Action Profile'
                    CLASS:
                      type: string
                      maxLength: 30
                      description: 'PPF: Class Name'
                    APPLNAME:
                      type: string
                      maxLength: 30
                      description: Application Name
                    TEXT:
                      type: string
                      maxLength: 60
                      description: 'PPF: Description of Action Profile'
                    TIMEPROF:
                      type: string
                      maxLength: 12
                      description: Name of Date Profile
                    OBJCATID:
                      type: string
                      maxLength: 2
                      description: 'Category of Objects in Persistent Object References  enumValues: NN=Category (still) Not Known - Internal use only!!!,BC=Instances of Business Classes (ABAP Objects),BO=Instances of BOR Object Types,CL=Instances of ABAP Objects Classes - Internal Use Only!'
                      enum:
                      - NN
                      - BC
                      - BO
                      - CL
                    OBJTYPEID:
                      type: string
                      maxLength: 32
                      description: Type of Objects in Persistent Object References
                    INCLPROFIL:
                      type: string
                      maxLength: 30
                      description: 'PPF: Name of Action Profile'
                    ISINCLPROF:
                      type: string
                      maxLength: 1
                      description: 'PPF: Common Profile Indicator  enumValues: ""=Is Not a Composite Profile,X=Is a Composite Profile'
                      enum:
                      - ''
                      - X
                IT_ACTION_TEXT:
                  type: array
                  items:
                    type: string
                    maxLength: 72
                    description: 'EDIC: Program editor line'
              required:
              - IP_SCHEDULE_CONDITION
              - IP_START_CONDITION
              - IP_TRKORR
              - IP_WF_TASK
              - IS_ACTION
              - IS_ACTION_PROFILE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EP_CUSTOMIZING_COMPLETE:
                    type: string
                    maxLength: 1
                    description: Customizing completely generated
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
