Ansicht
Dokumentation

00665 - Client Copy Active

00665 - Client Copy Active

General Material Data   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

Client Copy Active

Chris,

Check table T000 (zeroes), field CCTEMPLOCK. For the sandbox client, if the
value is 'X', then the client is locked.

Here is an ABAP you can run to toggle the lock status of the client. Note that
you need to be logged into the client when using it.


REPORT Z_BC_LOCK_UNLOCK_CLIENT .

parameters: P_flag as checkbox.

START-OF-SELECTION.
If p_flag = 'X'.


CALL FUNCTION 'SCCR_LOCK_CLIENT'
EXPORTING
CLIENT = sy-mandt
EXCEPTIONS
NO_LOCK = 1
OTHERS = 2.

else.

CALL FUNCTION 'SCCR_UNLOCK_CLIENT'
EXPORTING
CLIENT = sy-mandt
EXCEPTIONS
NO_LOCK = 1
OTHERS = 2.

endif.



Set your selection texts:

Program name Z_BC_LOCK_UNLOCK_CLIENT
Language EN English Sort sequence name

Name L. Text Typen.used
P_FLAG Lock Client? ('X' = yes)






Regards,

Robert Clay
Database/Systems Administrator
Kerr Drug
2522 South Tri-Center Blvd.
Durham, North Carolina 27713
Telephone: 919-544-3896 Fax: 919-544-3796
rclayZk...






Durban Tours - Südafrika Safari

BAL_S_LOG - Application Log: Log header data   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 1620 Date: 20231208 Time: 195017     sap01-206 ( 2 ms )