Entering content frame

Function documentation ASSIGNMENT_STATUS_CHANGE Locate the document in its SAP Library structure

 

Use

 

This method is used to delete or change the status of an assignment. It can be called, for example, when saving the confirmation or changing a status in the Resource Planning Tool, or on mobile devices.

 

Features

 

Parameters:

Transfer Parameter

Type

Function

I_ACTIVITY

Import

Entry determining what should be done

Possible values:
U = Update
D = Delete

I_ACTION

Import

Business transaction in general Status Management, which is performed in the assignment if the parameter I_ACTIVITY has the value U

I_ASSIGNMENT_GUID

Import

Assignment GUID

I_NO_COMMIT

Import

Entry determining whether or not an independent update should occur

Note

This parameter is relevant if general Status Management is used and a database commit should be performed centrally

Example

This method is run, for example, when saving the confirmation. At the same time, the document updates the status. The commit cannot then be performed directly after the assignment status has been changed, otherwise it updates the document status

I_SYNCHRON

Import

Entry about whether the update should occur synchronously or asynchronously. An asynchronous update only occurs when creating assignments on mobile devices

Possible values:
X = Synchronous update
(Empty) = Asynchronous update

I_PROCESS_NUMBER

Import

Number of the relevant service process

I_PROCESS_TYPE

Import

Relevant transaction type

FLT_VAL

Import

Filter value that refers to the activated Scheduling Engine and is entered automatically

 

Caution

The statuses for assignments supplied by SAP must be used.  If these statuses are not used, texts cannot be determined for the technical keys. In addition, programs would no longer function properly on mobile devices because the statuses mentioned above are essential to these programs.

 

 

Leaving content frame