openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BX_AGR_MIGRATE_ACTIVITY_GROUP:
    post:
      tags:
      - SMTR_NAVIGATION_MODULES_AX
      operationId: /rfc/BX_AGR_MIGRATE_ACTIVITY_GROUP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTIVITY_GROUP:
                  type: string
                  maxLength: 30
                  description: Activity group name
                AUTHORITY_CHECK:
                  type: string
                  default: X
                  maxLength: 1
                  description: Execute authorization check
                CHANGE_DATE:
                  type: string
                  format: date
                  description: Date of Last Change
                CHANGE_TIME:
                  type: string
                  maxLength: 6
                  description: Last changed at
                CHANGE_USER:
                  type: string
                  maxLength: 12
                CHECK_AGR_EXISTS:
                  type: string
                  default: X
                  maxLength: 1
                CREATE_DATE:
                  type: string
                  format: date
                  description: Created On
                CREATE_TIME:
                  type: string
                  maxLength: 6
                  description: Created At
                CREATE_USER:
                  type: string
                  maxLength: 12
                MIX_REQUIRED:
                  type: string
                  default: ' '
                  maxLength: 1
                PARENT_ACTIVITY_GROUP:
                  type: string
                  maxLength: 30
                PROFILE_IS_GENERATED:
                  type: string
                  default: ' '
                  maxLength: 1
                TARGET_CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                1016_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      COUNTER:
                        type: integer
                        format: int64
                        description: Menu ID for BIW
                      PROFILE:
                        type: string
                        maxLength: 12
                        description: Profile Name
                      VARIANT:
                        type: string
                        maxLength: 4
                        description: Variants for Profile Generator
                      GENERATED:
                        type: string
                        maxLength: 1
                        description: 'Indicator: Entry generated  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      PSTATE:
                        type: string
                        maxLength: 1
                        description: Active or maintenance version
                1221_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      COUNTER:
                        type: integer
                        format: int64
                        description: Menu ID for BIW
                      REPORTTYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      REPORT:
                        type: string
                        maxLength: 48
                        description: Extended program name
                      PAR_MENU:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      PAR_REPORT:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                1250_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      COUNTER:
                        type: integer
                        format: int64
                        description: Menu ID for BIW
                      OBJECT:
                        type: string
                        maxLength: 10
                        description: Authorization Object
                      AUTH:
                        type: string
                        maxLength: 12
                        description: Authorization name in user master maintenance
                      VARIANT:
                        type: string
                        maxLength: 4
                        description: Variants for Profile Generator
                      MODIFIED:
                        type: string
                        maxLength: 1
                        description: 'Object status  enumValues: G=Maintained,M=Modified,U=Manual,S=Standard,?=???'
                        enum:
                        - G
                        - M
                        - U
                        - S
                        - '?'
                      DELETED:
                        type: string
                        maxLength: 1
                        description: 'ID whether object is deleted  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      COPIED:
                        type: string
                        maxLength: 1
                        description: 'ID whether object is copied  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      NEU:
                        type: string
                        maxLength: 1
                        description: 'ID whether object is new  enumValues: O=Object - old,N=Object - new'
                        enum:
                        - O
                        - N
                      NODE:
                        type: integer
                        format: int64
                        description: 'Internal: Node ID'
                      ATEXT:
                        type: string
                        maxLength: 60
                        description: Texts in user master/authorizations
                1251_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      COUNTER:
                        type: integer
                        format: int64
                        description: Menu ID for BIW
                      OBJECT:
                        type: string
                        maxLength: 10
                        description: Auth. Object in User Master Maintenance
                      AUTH:
                        type: string
                        maxLength: 12
                        description: Authorization name in user master maintenance
                      VARIANT:
                        type: string
                        maxLength: 4
                        description: Variants for Profile Generator
                      FIELD:
                        type: string
                        maxLength: 10
                        description: Field name of an authorization
                      LOW:
                        type: string
                        maxLength: 40
                        description: Authorization value
                      HIGH:
                        type: string
                        maxLength: 40
                        description: Authorization value
                      MODIFIED:
                        type: string
                        maxLength: 1
                        description: 'Object status  enumValues: G=Maintained,M=Modified,U=Manual,S=Standard,?=???'
                        enum:
                        - G
                        - M
                        - U
                        - S
                        - '?'
                      DELETED:
                        type: string
                        maxLength: 1
                        description: 'ID whether object is deleted  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      COPIED:
                        type: string
                        maxLength: 1
                        description: 'ID whether object is copied  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      NEU:
                        type: string
                        maxLength: 1
                        description: 'ID whether object is new  enumValues: O=Object - old,N=Object - new'
                        enum:
                        - O
                        - N
                      NODE:
                        type: integer
                        format: int64
                        description: 'Internal: Node ID'
                1252_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      COUNTER:
                        type: integer
                        format: int64
                        description: Menu ID for BIW
                      VARBL:
                        type: string
                        maxLength: 40
                        description: 'Profile generator: Organizational levels'
                      LOW:
                        type: string
                        maxLength: 40
                        description: Authorization value
                      HIGH:
                        type: string
                        maxLength: 40
                        description: Authorization value
                ACTIVITY_GROUP_TEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      LINE:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Role name
                AGR_AGRS_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Composite role
                      CHILD_AGR:
                        type: string
                        maxLength: 30
                        description: Single Role in Composite Role
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Assignment active
                AGR_BUFFI_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      LINK_TYPE:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      URL:
                        type: string
                        maxLength: 255
                        description: URL for the SAP Portal
                AGR_HIERT_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      SPRAS:
                        type: string
                        maxLength: 1
                        description: Language of menu texts
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      TEXT:
                        type: string
                        maxLength: 80
                        description: Menu entry text
                      DESCRIPTION:
                        type: string
                        maxLength: 255
                        description: Long Text for Menu Entry
                AGR_HIER_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      OBJECT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      PARENT_ID:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      FOLDER:
                        type: string
                        maxLength: 1
                        description: Customized ('C') or standard menu ('S') flag
                      SORT_ORDER:
                        type: integer
                        format: int64
                        description: Counter for Menu ID
                      REPORTTYPE:
                        type: string
                        maxLength: 2
                        description: Report type
                      REPORT:
                        type: string
                        maxLength: 48
                        description: Extended Program Name
                      MENU_LEVEL:
                        type: integer
                        format: int64
                        description: Level in the menu
                      SAP_GUID:
                        type: string
                        maxLength: 32
                        description: Unique ID - 32 characters
                      ATTRIBUTES:
                        type: string
                        maxLength: 10
                        description: Attributes of the menu
                      TARGET_SYS:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      X_POS:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      Y_POS:
                        type: integer
                        format: int64
                        description: Counter for menu ID
                      BOOK_INFO:
                        type: string
                        maxLength: 12
                        description: 'Structures: name of the structure'
                      SOURCE_AGR:
                        type: string
                        maxLength: 30
                        description: Role Name
                      ICON:
                        type: string
                        maxLength: 128
                        description: Icons for Role Menu Entries
                      FLAGS:
                        type: string
                        maxLength: 16
                        description: Attributes for Menu Entry
                TPRPROF_DATA:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      PROFILE:
                        type: string
                        maxLength: 12
                        description: Profile name
                      PTEXT:
                        type: string
                        maxLength: 60
                        description: Texts in user master/authorizations
                USERS:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      AGR_NAME:
                        type: string
                        maxLength: 30
                        description: Role Name
                      UNAME:
                        type: string
                        maxLength: 12
                        description: User Name in User Master Record
                      FROM_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      TO_DAT:
                        type: string
                        format: date
                        description: Date of validity
                      EXCLUDE:
                        type: string
                        maxLength: 1
                        description: Exclusive
                      CHANGE_DAT:
                        type: string
                        format: date
                        description: Date of menu generation
                      CHANGE_TIM:
                        type: string
                        maxLength: 6
                        description: Time when the menu was generated last
                      CHANGE_TST:
                        type: integer
                        format: int64
                        description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                      ORG_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag: Assignment Comes From HR Organization Management'
                      COL_FLAG:
                        type: string
                        maxLength: 1
                        description: 'Flag: Assignment from composite role  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
              required:
              - ACTIVITY_GROUP
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  1016_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        COUNTER:
                          type: integer
                          format: int64
                          description: Menu ID for BIW
                        PROFILE:
                          type: string
                          maxLength: 12
                          description: Profile Name
                        VARIANT:
                          type: string
                          maxLength: 4
                          description: Variants for Profile Generator
                        GENERATED:
                          type: string
                          maxLength: 1
                          description: 'Indicator: Entry generated  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        PSTATE:
                          type: string
                          maxLength: 1
                          description: Active or maintenance version
                  1221_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        COUNTER:
                          type: integer
                          format: int64
                          description: Menu ID for BIW
                        REPORTTYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        REPORT:
                          type: string
                          maxLength: 48
                          description: Extended program name
                        PAR_MENU:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        PAR_REPORT:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                  1250_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        COUNTER:
                          type: integer
                          format: int64
                          description: Menu ID for BIW
                        OBJECT:
                          type: string
                          maxLength: 10
                          description: Authorization Object
                        AUTH:
                          type: string
                          maxLength: 12
                          description: Authorization name in user master maintenance
                        VARIANT:
                          type: string
                          maxLength: 4
                          description: Variants for Profile Generator
                        MODIFIED:
                          type: string
                          maxLength: 1
                          description: 'Object status  enumValues: G=Maintained,M=Modified,U=Manual,S=Standard,?=???'
                          enum:
                          - G
                          - M
                          - U
                          - S
                          - '?'
                        DELETED:
                          type: string
                          maxLength: 1
                          description: 'ID whether object is deleted  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        COPIED:
                          type: string
                          maxLength: 1
                          description: 'ID whether object is copied  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        NEU:
                          type: string
                          maxLength: 1
                          description: 'ID whether object is new  enumValues: O=Object - old,N=Object - new'
                          enum:
                          - O
                          - N
                        NODE:
                          type: integer
                          format: int64
                          description: 'Internal: Node ID'
                        ATEXT:
                          type: string
                          maxLength: 60
                          description: Texts in user master/authorizations
                  1251_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        COUNTER:
                          type: integer
                          format: int64
                          description: Menu ID for BIW
                        OBJECT:
                          type: string
                          maxLength: 10
                          description: Auth. Object in User Master Maintenance
                        AUTH:
                          type: string
                          maxLength: 12
                          description: Authorization name in user master maintenance
                        VARIANT:
                          type: string
                          maxLength: 4
                          description: Variants for Profile Generator
                        FIELD:
                          type: string
                          maxLength: 10
                          description: Field name of an authorization
                        LOW:
                          type: string
                          maxLength: 40
                          description: Authorization value
                        HIGH:
                          type: string
                          maxLength: 40
                          description: Authorization value
                        MODIFIED:
                          type: string
                          maxLength: 1
                          description: 'Object status  enumValues: G=Maintained,M=Modified,U=Manual,S=Standard,?=???'
                          enum:
                          - G
                          - M
                          - U
                          - S
                          - '?'
                        DELETED:
                          type: string
                          maxLength: 1
                          description: 'ID whether object is deleted  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        COPIED:
                          type: string
                          maxLength: 1
                          description: 'ID whether object is copied  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        NEU:
                          type: string
                          maxLength: 1
                          description: 'ID whether object is new  enumValues: O=Object - old,N=Object - new'
                          enum:
                          - O
                          - N
                        NODE:
                          type: integer
                          format: int64
                          description: 'Internal: Node ID'
                  1252_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        COUNTER:
                          type: integer
                          format: int64
                          description: Menu ID for BIW
                        VARBL:
                          type: string
                          maxLength: 40
                          description: 'Profile generator: Organizational levels'
                        LOW:
                          type: string
                          maxLength: 40
                          description: Authorization value
                        HIGH:
                          type: string
                          maxLength: 40
                          description: Authorization value
                  ACTIVITY_GROUP_TEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        LINE:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Role name
                  AGR_AGRS_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Composite role
                        CHILD_AGR:
                          type: string
                          maxLength: 30
                          description: Single Role in Composite Role
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Assignment active
                  AGR_BUFFI_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        LINK_TYPE:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        URL:
                          type: string
                          maxLength: 255
                          description: URL for the SAP Portal
                  AGR_HIERT_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        SPRAS:
                          type: string
                          maxLength: 1
                          description: Language of menu texts
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        TEXT:
                          type: string
                          maxLength: 80
                          description: Menu entry text
                        DESCRIPTION:
                          type: string
                          maxLength: 255
                          description: Long Text for Menu Entry
                  AGR_HIER_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        OBJECT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        PARENT_ID:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        FOLDER:
                          type: string
                          maxLength: 1
                          description: Customized ('C') or standard menu ('S') flag
                        SORT_ORDER:
                          type: integer
                          format: int64
                          description: Counter for Menu ID
                        REPORTTYPE:
                          type: string
                          maxLength: 2
                          description: Report type
                        REPORT:
                          type: string
                          maxLength: 48
                          description: Extended Program Name
                        MENU_LEVEL:
                          type: integer
                          format: int64
                          description: Level in the menu
                        SAP_GUID:
                          type: string
                          maxLength: 32
                          description: Unique ID - 32 characters
                        ATTRIBUTES:
                          type: string
                          maxLength: 10
                          description: Attributes of the menu
                        TARGET_SYS:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        X_POS:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        Y_POS:
                          type: integer
                          format: int64
                          description: Counter for menu ID
                        BOOK_INFO:
                          type: string
                          maxLength: 12
                          description: 'Structures: name of the structure'
                        SOURCE_AGR:
                          type: string
                          maxLength: 30
                          description: Role Name
                        ICON:
                          type: string
                          maxLength: 128
                          description: Icons for Role Menu Entries
                        FLAGS:
                          type: string
                          maxLength: 16
                          description: Attributes for Menu Entry
                  TPRPROF_DATA:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        PROFILE:
                          type: string
                          maxLength: 12
                          description: Profile name
                        PTEXT:
                          type: string
                          maxLength: 60
                          description: Texts in user master/authorizations
                  USERS:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        AGR_NAME:
                          type: string
                          maxLength: 30
                          description: Role Name
                        UNAME:
                          type: string
                          maxLength: 12
                          description: User Name in User Master Record
                        FROM_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        TO_DAT:
                          type: string
                          format: date
                          description: Date of validity
                        EXCLUDE:
                          type: string
                          maxLength: 1
                          description: Exclusive
                        CHANGE_DAT:
                          type: string
                          format: date
                          description: Date of menu generation
                        CHANGE_TIM:
                          type: string
                          maxLength: 6
                          description: Time when the menu was generated last
                        CHANGE_TST:
                          type: integer
                          format: int64
                          description: UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
                        ORG_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag: Assignment Comes From HR Organization Management'
                        COL_FLAG:
                          type: string
                          maxLength: 1
                          description: 'Flag: Assignment from composite role  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
