openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCCR_RUN_REMOTE_PHASES:
    post:
      tags:
      - SCCR
      operationId: /rfc/SCCR_RUN_REMOTE_PHASES
      requestBody:
        content:
          application/json:
            schema:
              properties:
                TAB_PROFIL:
                  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
                TEST:
                  type: string
                  maxLength: 1
                  description: Yes/No (X/ )
                TESTMODE:
                  type: string
                  maxLength: 1
                  description: Yes/No (X/ )
                TRKORR:
                  type: string
                  maxLength: 20
                  description: Request/Task
                TSTAMP:
                  type: integer
                  format: int64
                L_E071:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJ_NAME:
                        type: string
                        maxLength: 120
                        description: Object Name in Object List
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                        enum:
                        - M
                        - ''
                        - D
                        - K
                      LOCKFLAG:
                        type: string
                        maxLength: 1
                        description: 'Lock status or import status of an object entry  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      GENNUM:
                        type: string
                        maxLength: 3
                        description: Language information for object entry in Transport Organizer
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ACTIVITY:
                        type: string
                        maxLength: 20
                        description: Activity that wrote the entry to the object list
                L_E071K:
                  type: array
                  items:
                    type: object
                    properties:
                      TRKORR:
                        type: string
                        maxLength: 20
                        description: Request/Task
                      PGMID:
                        type: string
                        maxLength: 4
                        description: Program ID in Requests and Tasks
                      OBJECT:
                        type: string
                        maxLength: 4
                        description: Object Type
                      OBJNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      AS4POS:
                        type: integer
                        format: int64
                        description: 'Dictionary: Line item'
                      MASTERTYPE:
                        type: string
                        maxLength: 4
                        description: Object Type
                      MASTERNAME:
                        type: string
                        maxLength: 40
                        description: Object Name in Object Directory
                      VIEWNAME:
                        type: string
                        maxLength: 30
                        description: Name of SAP table view
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: Do not use
                      TABKEY:
                        type: string
                        maxLength: 120
                        description: Object Name in Object List
                      SORTFLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      LANG:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ACTIVITY:
                        type: string
                        maxLength: 20
                        description: Activity that wrote the entry to the object list
                L_SELTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TABNAME:
                        type: string
                        maxLength: 30
                        description: Table Name
                      CONTFLAG:
                        type: string
                        maxLength: 1
                        description: 'Delivery class  enumValues: C=Customizing table, maintenance only by cust., not SAP import,G=Customizing table, protected against SAP Upd., only INS all.,A=Application table (master and transaction data),E=Control table, SAP and customer have separate key areas,W=System table, contents transportable via separate TR objects,S=System table, maint. only by SAP, change = modification,L=Table for storing temporary data, delivered empty'
                        enum:
                        - C
                        - G
                        - A
                        - E
                        - W
                        - S
                        - L
                      CLIDEP:
                        type: string
                        maxLength: 1
                        description: 'Flag indicating client-specific entries  enumValues: X=Client-dependent, valid only for current client,""=No client-dependence, valid throughout system'
                        enum:
                        - X
                        - ''
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Package
                      TABCLASS:
                        type: string
                        maxLength: 8
                        description: 'Table category  enumValues: TRANSP=Transparent table,CLUSTER=Cluster table,VIEW=General view structure,APPEND=Append structure,INTTAB=Structure,POOL=Pooled table'
                        enum:
                        - TRANSP
                        - CLUSTER
                        - VIEW
                        - APPEND
                        - INTTAB
                        - POOL
                      COUNTER:
                        type: integer
                        format: int32
                        description: Number of table entries
                      TABLEN:
                        type: integer
                        format: int32
                        description: Table Width
                      OBJFUNC:
                        type: string
                        maxLength: 1
                        description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                        enum:
                        - M
                        - ''
                        - D
                        - K
                      BUFFERED:
                        type: string
                        maxLength: 1
                        description: 'Buffering flag  enumValues: ""='' '': buffering not allowed,E=''E'': buffering allowed (internal indicator),X=''X'': buffering allowed'
                        enum:
                        - ''
                        - E
                        - X
                      PROCFLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag (X or Blank)  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      PFLAG2:
                        type: string
                        maxLength: 1
                        description: 'Flag (X or Blank)  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      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
                      USEDTIME:
                        type: string
                        maxLength: 6
                        description: Time of day of the last parameter change
                      SQLTAB:
                        type: string
                        maxLength: 30
                        description: Name of an SQL table or an appended table
                      LANGDEP:
                        type: string
                        maxLength: 1
                        description: 'Flag for language-dependent values(not used)  enumValues: ""=Do not set flag,X=Set flag'
                        enum:
                        - ''
                        - X
                      MESSID:
                        type: string
                        maxLength: 20
                        description: 'AS400-DDIC: Output message ID in T100'
                      MESSNR:
                        type: string
                        maxLength: 3
                        description: Message number
                      SQLERR:
                        type: integer
                        format: int32
                        description: Natural number
                L_TEXTTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      TDOBJECT:
                        type: string
                        maxLength: 10
                        description: 'Texts: application object'
                      TDNAME:
                        type: string
                        maxLength: 70
                        description: Name
                      TDID:
                        type: string
                        maxLength: 4
                        description: Text ID
                      TDSPRAS:
                        type: string
                        maxLength: 1
                        description: Language Key
              required:
              - TAB_PROFIL
              - TEST
              - TRKORR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_T_SPROT_U:
                    type: array
                    items:
                      type: object
                      properties:
                        LEVEL:
                          type: integer
                          format: int64
                          description: Log Level
                        SEVERITY:
                          type: string
                          maxLength: 1
                          description: Error severity(' ',W(arning),E(rror),A(bnormal termination))
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        AG:
                          type: string
                          maxLength: 20
                          description: Application Area
                        MSGNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        NEWOBJ:
                          type: string
                          maxLength: 1
                          description: New Section
                        VAR1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        VAR2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        VAR3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        VAR4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                  L_E071:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJ_NAME:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                          enum:
                          - M
                          - ''
                          - D
                          - K
                        LOCKFLAG:
                          type: string
                          maxLength: 1
                          description: 'Lock status or import status of an object entry  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        GENNUM:
                          type: string
                          maxLength: 3
                          description: Language information for object entry in Transport Organizer
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ACTIVITY:
                          type: string
                          maxLength: 20
                          description: Activity that wrote the entry to the object list
                  L_E071K:
                    type: array
                    items:
                      type: object
                      properties:
                        TRKORR:
                          type: string
                          maxLength: 20
                          description: Request/Task
                        PGMID:
                          type: string
                          maxLength: 4
                          description: Program ID in Requests and Tasks
                        OBJECT:
                          type: string
                          maxLength: 4
                          description: Object Type
                        OBJNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        AS4POS:
                          type: integer
                          format: int64
                          description: 'Dictionary: Line item'
                        MASTERTYPE:
                          type: string
                          maxLength: 4
                          description: Object Type
                        MASTERNAME:
                          type: string
                          maxLength: 40
                          description: Object Name in Object Directory
                        VIEWNAME:
                          type: string
                          maxLength: 30
                          description: Name of SAP table view
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: Do not use
                        TABKEY:
                          type: string
                          maxLength: 120
                          description: Object Name in Object List
                        SORTFLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        LANG:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ACTIVITY:
                          type: string
                          maxLength: 20
                          description: Activity that wrote the entry to the object list
                  L_SELTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TABNAME:
                          type: string
                          maxLength: 30
                          description: Table Name
                        CONTFLAG:
                          type: string
                          maxLength: 1
                          description: 'Delivery class  enumValues: C=Customizing table, maintenance only by cust., not SAP import,G=Customizing table, protected against SAP Upd., only INS all.,A=Application table (master and transaction data),E=Control table, SAP and customer have separate key areas,W=System table, contents transportable via separate TR objects,S=System table, maint. only by SAP, change = modification,L=Table for storing temporary data, delivered empty'
                          enum:
                          - C
                          - G
                          - A
                          - E
                          - W
                          - S
                          - L
                        CLIDEP:
                          type: string
                          maxLength: 1
                          description: 'Flag indicating client-specific entries  enumValues: X=Client-dependent, valid only for current client,""=No client-dependence, valid throughout system'
                          enum:
                          - X
                          - ''
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Package
                        TABCLASS:
                          type: string
                          maxLength: 8
                          description: 'Table category  enumValues: TRANSP=Transparent table,CLUSTER=Cluster table,VIEW=General view structure,APPEND=Append structure,INTTAB=Structure,POOL=Pooled table'
                          enum:
                          - TRANSP
                          - CLUSTER
                          - VIEW
                          - APPEND
                          - INTTAB
                          - POOL
                        COUNTER:
                          type: integer
                          format: int32
                          description: Number of table entries
                        TABLEN:
                          type: integer
                          format: int32
                          description: Table Width
                        OBJFUNC:
                          type: string
                          maxLength: 1
                          description: 'Object function  enumValues: M=Delete and recreate on the database,""=Normally: transport to the target system (see F1 help),D=The object was deleted (only functions with deleted objects),K=Object keys according to entries in the key list'
                          enum:
                          - M
                          - ''
                          - D
                          - K
                        BUFFERED:
                          type: string
                          maxLength: 1
                          description: 'Buffering flag  enumValues: ""='' '': buffering not allowed,E=''E'': buffering allowed (internal indicator),X=''X'': buffering allowed'
                          enum:
                          - ''
                          - E
                          - X
                        PROCFLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag (X or Blank)  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        PFLAG2:
                          type: string
                          maxLength: 1
                          description: 'Flag (X or Blank)  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        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
                        USEDTIME:
                          type: string
                          maxLength: 6
                          description: Time of day of the last parameter change
                        SQLTAB:
                          type: string
                          maxLength: 30
                          description: Name of an SQL table or an appended table
                        LANGDEP:
                          type: string
                          maxLength: 1
                          description: 'Flag for language-dependent values(not used)  enumValues: ""=Do not set flag,X=Set flag'
                          enum:
                          - ''
                          - X
                        MESSID:
                          type: string
                          maxLength: 20
                          description: 'AS400-DDIC: Output message ID in T100'
                        MESSNR:
                          type: string
                          maxLength: 3
                          description: Message number
                        SQLERR:
                          type: integer
                          format: int32
                          description: Natural number
                  L_TEXTTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        TDOBJECT:
                          type: string
                          maxLength: 10
                          description: 'Texts: application object'
                        TDNAME:
                          type: string
                          maxLength: 70
                          description: Name
                        TDID:
                          type: string
                          maxLength: 4
                          description: Text ID
                        TDSPRAS:
                          type: string
                          maxLength: 1
                          description: Language Key
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
