SAP Function SDOK_PHIOS_CHECKOUT_CANCEL - Cancel Checkout of Physical Documents

Parameter Reference Type Length Default Optional Text
CLIENT SYST-MANDT C 3 SY-MANDT X Client
FORCE_FLAG SYST-DATAR C 1 SPACE X 'X' -> Allows Checkout To Be Canceled by Another User

Parameter Reference Length Optional Text
BAD_OBJECTS SDOKERRKEY 44 Objects for Which Checkout Cannot Be Canceled
OBJECT_LIST SDOKOBJECT 42 List of Objects

Functionality
This function module deletes the status flag "checked out" from thespecified physical documents.
This function cannot be used for documents that are checked out orreserved by other users.
If the checkout flag cannot be deleted from individual documents, thenames of these documents and the corresponding error codes are writtento the table BAD_OBJECTS. Documents that were not checked out retaintheir status and are not entered in the table BAD_OBJECTS. The mostcommon error codes are:
,,0:,,bad class:,,,,class of physical documents cannot be determined
,,1:,,not_existing:,,,,document does not exist
,,2:,,not_allowed:,,,,operation cannot be executed
,,,,,,,,,,Possible cause:
,,,,,,,,,,document has been checked out or reserved by,,,,,,,,,,,,,,,,another user
,,6:,,not_authorized:,,no authorization

Notes
In later versions, an authorization concept will be implemented whichwill make it possible to delete a checked-out flag placed by anotheruser.