Fonction SAP BAPI_CTREQUEST_RELEASE - Release task or request (method for object CTREQUEST)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
COMPLETE BAPISCTS01-FLAG C 1 X Flag: Release request including tasks
REQUESTID BAPISCTS01-REQUESTID C 20 Request number
TASKID BAPISCTS01-REQUESTID C 20 X Number of the task to be released

Paramètre Reférence Type Long. Description
RETURN BAPIRET2 u 548 Error return structure

Functionality
You can use this function module to release tasks and requests.

  • To release a single task, you need to enter the task number and the
  • number of the corresponding request.
    • To release an empty request, you need to enter the request number.

    • To release a request together with all its tasks, you need to enter the
    • request number, and set the COMPLETE flag. Do not enter a task numberin this case, since this releases the specified task only.
      The function module checks whether the numbers entered are a requestand an assigned task. If the persons responsible for the request andtasks are not the current user, then a check is made before the releaseto see whether this user has the authorization to release tasks orrequests that belong to other users.
      You cannot release unclassified requests and tasks.
      You can release undocumented tasks. No object checks are made beforethe release.
      This function performs an implicit COMMIT, which means that it cannotbe combined with other functions in an LUW.

      Notes
      This module performs the method RELEASE for the object type CTREQUEST.