Ansicht
Dokumentation

00681 - Client Copy Active

00681 - Client Copy Active

CL_GUI_FRONTEND_SERVICES - Frontend Services   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Client Copy Active

Thanks Rick.

-----Original Message-----
From: Rick Githens [mailto:rgithensZg...]
Sent: Wednesday, February 07, 2001 2:09 PM
To: 'SAP400 ListServer'
Subject: RE: Re: RE: Client Copy Active


I'm assuming Robert wrote this little program and it probably is very
convenient. However we don't have it and get along just fine. Transaction
SE37 and enter the function module you want (SCCR_LOCK_CLIENT to lock them
and SCCR_UNLOCK_CLIENT to unlock them), click single test, enter the client
you want to lock or unlock (under Value), F8 (execute), etc. I use these
every time I do LCP's and they work just fine. Another alternative is good
old sql on the host: update r3<sid>data/t000 set cctemplock='X' where
mandt='yourclient'. Set cctemplock back to blanks to unlock. I would
recomment using the SAP provided function module but if you look at the
source, the above sql's are exactly what they do.

Rick Githens


-----Original Message-----
From: Sugg, Chris [mailto:aacsuggZN...]
Sent: Wednesday, February 07, 2001 1:42 PM
To: 'DoNotReply@consolut.eu'; SAP400 Mailing List (E-mail)
Subject: RE: Re: RE: Client Copy Active


Robert,

That program does not exist on our system. Could this have been done away
with in 4.6C? I have been working on ABAP code to do the same thing, I just
want to be sure I do it without any surprises.

Thanks

-----Original Message-----
From: rclay [mailto:rclayZk...]
Sent: Wednesday, February 07, 2001 10:31 AM
To: SAP400 Mailing List (E-mail)
Subject: Re: RE: 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...







To unsubscribe from this group, send an email to:
SAP on System i-unsubscribeZegroups.com



To unsubscribe from this group, send an email to:
SAP on System i-unsubscribeZegroups.com



Durban Tours - Südafrika Safari

Vendor Master (General Section)   General Material Data  
This documentation is copyright by SAP AG.

Length: 4313 Date: 20240329 Time: 015318     sap01-206 ( 3 ms )