Sapass

 Simplify SAP R/3 development with Excel VBA/VB RFC  
Home> Bapi>CTRequest



Index

CTRequest

CTRequest


Object CTRequest stands for change requests in the Change & Transport
System. It contains methods for editing CTS requests. Implementation is
not yet for general use, rather it is a prototype implementation for a single user.


11-Dec-2005


Methods

Available Methods


  • Create : Create request with tasks (method for object CTREQUEST) [ BAPI_CTREQUEST_CREATE ]
  • CreateTasks : Create tasks for request (method for object CTREQUEST) [ BAPI_CTREQUEST_CREATE_TASKS ]
  • Release : Release task or request (method for object CTREQUEST) [ BAPI_CTREQUEST_RELEASE ]

11-Dec-2005


Create

Create


You can use this function module to create a request with tasks. Therequest owner and the task users are communicated through the interface. An unclassified task is created for each task owner. Thistask is classified as a correction or repair, depending on the first
object assigned to it. You must enter a short text, but you can choose whether to assign the request to a project.

TYPE = W creates a Customizing request, otherwise a Workbench requestis created. You can specify a transport layer, or leave this out if you
want to use the standard transport layer. If you use TRANSLAYER-LAYER to specify a transport layer explicitly, then you must selectTRANSLAYER-LAYER_SET = X. The transport layer TRANSLAYER-LAYER = "SPACE" creates a local request. The transport layer specifies the
target system of the request.

This function returns the request name and header information for therequest. The task table contains the task names and their header information.

This function performs an implicit COMMIT, which means that it cannot be combined with other functions in an LUW.


Notes

This module implements the method CREATE for the object type CTREQUEST.


11-Dec-2005


CreateTasks

CreateTasks


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. An unclassified task is created for each task owner. This task is
classified as a correction or repair, depending on the first object assigned 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 header information.


This function performs an implicit COMMIT, which means that it cannot be combined with other functions in an LUW.

Notes

This module implements the method CREATETASKS for the object type CTREQUEST.


11-Dec-2005


Release

Release


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 therequest number, and set the COMPLETE flag. Do not enter a task number in this case, since this releases the specified task only.
  • The function module checks whether the numbers entered are a request
    and 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 or requests that belong to other users.

    You cannot release unclassified requests and tasks.


    You can release undocumented tasks. No object checks are made before the release.

    This function performs an implicit COMMIT, which means that it cannot be combined with other functions in an LUW.

    Notes

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



    11-Dec-2005