openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCCM_START_ALL_PROCESSES:
    post:
      tags:
      - SCCM
      operationId: /rfc/SCCM_START_ALL_PROCESSES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BATCH_FLAG:
                  type: string
                  maxLength: 1
                  description: Program running in background
                CCCFLOW_CURR:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Target client when copying a client
                    TSTAMP:
                      type: integer
                      format: int64
                      description: Time Stamp in CTS
                    SOURCEMAND:
                      type: string
                      maxLength: 3
                      description: Source Client for Client Copy
                    STATUS:
                      type: string
                      maxLength: 1
                      description: Processing status
                    UNAME:
                      type: string
                      maxLength: 12
                      description: User Name
                    SYHOST:
                      type: string
                      maxLength: 32
                      description: Name of Current Application Server
                    PROCLEVEL:
                      type: string
                      maxLength: 4
                      description: Not More Closely Defined Area, Possibly Used for Patchlevels
                    TABNAME:
                      type: string
                      maxLength: 30
                      description: Table Name
                    PARAMLIST:
                      type: string
                      maxLength: 50
                      description: Comment
                    LASTTIME:
                      type: string
                      maxLength: 6
                      description: Time of day of the last parameter change
                    NBRTAB:
                      type: integer
                      format: int32
                      description: Number of Tables
                    NBRINS:
                      type: integer
                      format: int32
                      description: No. of inserts
                    NBRUPD:
                      type: integer
                      format: int32
                      description: No. of updates
                    NBRDEL:
                      type: integer
                      format: int32
                      description: No. of deletions
                    RUNTIME:
                      type: integer
                      format: int32
                      description: Runtime
                    SAPRL:
                      type: string
                      maxLength: 4
                      description: SAP Release
                    TRKORR:
                      type: string
                      maxLength: 20
                      description: Request/Task
                    SYSNAME:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    NBRTOTAL:
                      type: integer
                      format: int32
                      description: Total no. of tables to be copied
                    NBRTABLES:
                      type: integer
                      format: int32
                      description: Total no. of tables to be copied
                    DELTABS:
                      type: string
                      maxLength: 1
                      description: 'Client copy: Delete non-selected application tables'
                    PROFIL:
                      type: string
                      maxLength: 8
                      description: Profile name for client copy
                    EXP_NBRDIF:
                      type: integer
                      format: int32
                      description: No. of inserts
                    CC_ERROR:
                      type: string
                      maxLength: 5
                      description: Error marker for cancelled client copy runs
                    EIS_COPY:
                      type: string
                      maxLength: 1
                      description: 'No copying of EIS data  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    COPY_VARI:
                      type: string
                      maxLength: 1
                      description: 'Also copy variants  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    TEST_MODE:
                      type: string
                      maxLength: 1
                      description: Test mode client copy
                    U_CLIENT:
                      type: string
                      maxLength: 3
                      description: Client
                    COMFILE:
                      type: string
                      maxLength: 20
                      description: Request/Task
                    EXCLUDES:
                      type: integer
                      format: int32
                      description: Excludes for a client copy
                    CUSTINDEP:
                      type: string
                      maxLength: 1
                      description: 'Copy flag: Cross-client Customizing objects with IMG  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    NOCDPOS:
                      type: string
                      maxLength: 1
                      description: 'Change Documents und Recovery  enumValues: ""=,X=Copy Change Documents,R=Recovery'
                      enum:
                      - ''
                      - X
                      - R
                    NOPROCS:
                      type: integer
                      format: int64
                      description: Process number
                    SERVER:
                      type: string
                      maxLength: 20
                      description: Logon/Server Group Name
                    REMOTE_SYS:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    FINAL_STAT:
                      type: string
                      maxLength: 1
                      description: Processing status
                    LOG_ERROR:
                      type: string
                      maxLength: 1
                      description: 'Yes/No (X/ )  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    LAST_DATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    ALTINP:
                      type: string
                      maxLength: 1
                      description: Table selection mode ('A' / 'T')
                    INACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Yes/No (X/ )  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    USER_PRFL:
                      type: string
                      maxLength: 1
                      description: Copy Authorization Profiles und Roles
                CCCOMFILE:
                  type: string
                  maxLength: 20
                  description: Request/Task
                CCMODUS:
                  type: string
                  maxLength: 1
                  description: Mode for client transport
                CCRESTART:
                  type: string
                  maxLength: 1
                  description: 'Client Copy: Restart Mode'
                CCSUPCOPY:
                  type: string
                  maxLength: 1
                  description: Test run without database update
                NR_PROCESSES:
                  type: integer
                  format: int32
                  description: Internal tables, current number of lines
                PROCESS:
                  type: integer
                  format: int64
                  description: Process number
                PROFILE:
                  type: object
                  properties:
                    PROFIL:
                      type: string
                      maxLength: 8
                      description: Profile name for client copy
                    MANDANT:
                      type: string
                      maxLength: 3
                      description: Source Client for Client Copy
                    USER_STAMM:
                      type: string
                      maxLength: 1
                      description: Copy User Masters ('X')
                    USER_PRFL:
                      type: string
                      maxLength: 1
                      description: Copy Authorization Profiles und Roles
                    HR_TABLES:
                      type: string
                      maxLength: 1
                      description: Copy without HR data (human resources)
                    APPL_DATA:
                      type: string
                      maxLength: 1
                      description: Select application data also ('X')
                    PARAMLIST:
                      type: string
                      maxLength: 50
                      description: Comment
                    MANDT_DATA:
                      type: string
                      maxLength: 1
                      description: Customizing Data
                    CLEAR_REST:
                      type: string
                      maxLength: 1
                      description: 'Client copy: Delete non-selected application tables'
                    NKRESET:
                      type: string
                      maxLength: 1
                      description: 'Client copy: Prevent number range reset'
                    CLII:
                      type: string
                      maxLength: 1
                      description: Cross-Client Customizing
                    MC_INCL:
                      type: string
                      maxLength: 1
                      description: Option 'With matchcodes' (MC tables additional selection)
                    CCRESET:
                      type: string
                      maxLength: 1
                      description: Client copy - reset client
                    CCVARCOP:
                      type: string
                      maxLength: 1
                      description: 'Copy Variants  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    CCMAXSTEP:
                      type: integer
                      format: int64
                      description: Profile step in client copy profile
                    USER_MANDT:
                      type: string
                      maxLength: 3
                      description: Source client for user master copies
                    SAP_INTERN:
                      type: string
                      maxLength: 1
                      description: 'Yes/No (X/ )  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    EIS_COPY:
                      type: string
                      maxLength: 1
                      description: 'No copying of EIS data  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    CH_USER:
                      type: string
                      maxLength: 12
                      description: User of last change
                    CH_DATE:
                      type: string
                      format: date
                      description: Date of Last Change
                    SOURCE_SYS:
                      type: string
                      maxLength: 32
                      description: Remote Client Copy Source System
                    TARGET_SYS:
                      type: string
                      maxLength: 10
                      description: Target system of a transport request
                    T000_DEL:
                      type: string
                      maxLength: 1
                      description: 'Delete entry from T000  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    TEMPLATE:
                      type: string
                      maxLength: 1
                      description: 'Profile template  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    CC_ACTION:
                      type: string
                      maxLength: 1
                      description: 'Action type in client copy  enumValues: R=Remote copy,X=Client export/import,L=Local copy,T=Client copy of a transport request'
                      enum:
                      - R
                      - X
                      - L
                      - T
                    CUSTINDEP:
                      type: string
                      maxLength: 1
                      description: 'Copy flag: Cross-client Customizing objects with IMG  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    NO_CDPOS:
                      type: string
                      maxLength: 1
                      description: 'Yes/No (X/ )  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                PROF_PARM:
                  type: object
                  properties:
                    PROFIL:
                      type: string
                      maxLength: 8
                      description: Profile name for client copy
                    COUNTER:
                      type: integer
                      format: int32
                      description: Natural number
                    TYPE:
                      type: string
                      maxLength: 1
                      description: 'Action type in client copy  enumValues: R=Remote copy,X=Client export/import,L=Local copy,T=Client copy of a transport request'
                      enum:
                      - R
                      - X
                      - L
                      - T
                    SRCCLIENT:
                      type: string
                      maxLength: 3
                      description: Source Client for Client Copy
                    SRCUCLINT:
                      type: string
                      maxLength: 3
                      description: Source Client for Client Copy
                    SOURCE_SYS:
                      type: string
                      maxLength: 32
                      description: Remote Client Copy Source System
                    TARGET_SYS:
                      type: string
                      maxLength: 10
                      description: Transport Target of Request
                START_PROC:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      PROCESS:
                        type: integer
                        format: int64
                        description: Process number
                      STARTTIME:
                        type: string
                        maxLength: 6
                        description: Time
                      STARTDATE:
                        type: string
                        format: date
                        description: Date
                      NBRTAB:
                        type: integer
                        format: int32
                        description: Number of Tables
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      HOSTNAME:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      CCPROCESS:
                        type: string
                        maxLength: 25
                        description: Process ID for parallel client copy processs
                      CHTIME:
                        type: string
                        maxLength: 6
                        description: Time
              required:
              - BATCH_FLAG
              - CCCFLOW_CURR
              - CCCOMFILE
              - CCMODUS
              - CCRESTART
              - CCSUPCOPY
              - NR_PROCESSES
              - PROCESS
              - PROFILE
              - PROF_PARM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  START_PROC:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        PROCESS:
                          type: integer
                          format: int64
                          description: Process number
                        STARTTIME:
                          type: string
                          maxLength: 6
                          description: Time
                        STARTDATE:
                          type: string
                          format: date
                          description: Date
                        NBRTAB:
                          type: integer
                          format: int32
                          description: Number of Tables
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        HOSTNAME:
                          type: string
                          maxLength: 32
                          description: Name of Current Application Server
                        CCPROCESS:
                          type: string
                          maxLength: 25
                          description: Process ID for parallel client copy processs
                        CHTIME:
                          type: string
                          maxLength: 6
                          description: Time
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
