Fonction SAP BAPI_CTREQUEST_CREATE_TASKS - Create tasks for request (method for object CTREQUEST)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
REQUESTID BAPISCTS01-REQUESTID C 20 Request number

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Return structure of the errors

Paramètre Reférence Long. Facultatif Description
AUTHORLIST BAPISCTS12 12 List of task authors and task types
TASK_LIST BAPISCTS07 128 List of header information for the tasks

Functionality
You can use this function module to create tasks for an existingrequest. The function module checks whether the number you enter is arequest. The task users are communicated through the interface. Anunclassified task is created for each task owner. This task isclassified as a correction or repair, depending on the first objectassigned to it. A correction is created for each task user in aCustomizing request. The tasks have the same short text as the request.
This function returns a list of the task names and their headerinformation.
This function performs an implicit COMMIT, which means that it cannotbe combined with other functions in an LUW.

Notes
This module implements the method CREATETASKS for the object typeCTREQUEST.