Question about SCC1 - Client Copy by Transport Request in ABAP

I have a problem about SCC1, I created program for copying Request No. to another client by using SCC1.
But SCC1 can use only one user and another can not use it at the same time. So I want to know how can I check status or something that SCC1 is used by other user.
Thanks in advance for your kindly help.

Hi Chai Chai,
Try the following code (I ripped it out of the standard code that performs the check):
  DATA : ENQTABLE_ID   LIKE RSTABLE-TABNAME,
         ENQKEY        LIKE RSTABLE-VARKEY.
  ENQTABLE_ID = 'RSCLICOPY'.
  ENQKEY(3)   = SY-MANDT.
  CALL FUNCTION 'ENQUEUE_E_TABLE'
    EXPORTING
      TABNAME        = ENQTABLE_ID
      VARKEY         = ENQKEY
    EXCEPTIONS
      FOREIGN_LOCK   = 4
      SYSTEM_FAILURE = 8.
  IF SY-SUBRC <> 0.
*   Then SCC1 is locked in this client!!!!!
  ENDIF.
Hope that helps.
Cheers,
Brad
Message was edited by: Brad Williams (added the variable declarations)

Similar Messages

  • How to copy a transport request

    Hi,
        i need to copy a transport request from client 200 to 400 on the DEV server.
    how do i go about it?
    thnks.

    Hi,
    For local tranport u have to use SCC1 in target client and import the request.
    -Srini

  • How to change Client of a Transport Request?

    Hi friends,
    I am trying to Change the clien of a Transport Request in se01 but the field is disabled.. Is there any way to change the Client of a Transport Request?
    Pls Help me.
    Regards
    Venkatesh.S

    Why you want to change the client ?
    I assume, you are not talking about changing the traget system client but the client of the source system TR  ie for ex 100 or 120.
    If the Development Server has two clients say 100 (Configuration) and 120 (Development and Unit Test) then for configuration changes Functionals will get the TR created in 100 where as we developers get the TR created in 120.
    For Development,if you get a workbench TR in 100 client but trying to change the program in 120,then while saving the changes in the TR it will not let you save your changes because the TR is created in 100 but you are trying to use that TR to capture the changes that you are doing in 120.
    To my knowledge we can't get THIS client changed,instead we need to get a new TR in the client say 120 where the workbench changes are supposed to be done.
    K,Kiran

  • Whats the diff between copying a Transport request and Importing a request?

    Hi gurus,
    Can some one explain me the difference between copying a transport request between clients and importing transport request between clients? say for eg: difference between copying a transport request containing a datasource being copied from client 100 to client 200 and importing the same request from client 100 to client 200?... When do we follow such scenario's?
    thanks.
    kishore

    Hi Kishore,
    A request copy applies only for customizing (client dependent) objects.
    A request tracks object modifications since its last transport. if the object is created in source system and included in a transport request, when it is transported to another system, it will create the object in target system. Then if you modify the  object, it will include modifications since last transport.
    As i said, a request copy is only valid for customizing objects. This is entries in tables, you will see that you have two kind of requests, customizing and workbench. Workbench objects are client independent, so request copy doesn't applies.
    it's very important to keep the order of requests when you transport and also not to delete requests in any system.
    Hope this helps (and hope it is clear, if you have any doubt, just ask!).
    Regards,
    Diego

  • What is about remote client copy?

    hi
    pls send me about remote client copy
    regards,
    jana

    Hi All,
        This is the web site that is built to help the consultant who is having problem in implimentation, support & while practice. But you are playing is this to gain point Both the reddy. from morning you ask the query & other on replays. this in not fair.
    Stop this things immediatly.
    pherasath

  • Question about  SAP client setting when create new connection in CR2008

    Dear All,
    I have a question about SAP client setting in Crystal Report 2008 when I try to create a new connection use SAP OpenSQL(SAP Table,Cluster,or Function).
    I have a SAP IDES environment with 5 clients.
    While I try to create a CR standard report use SAP OpenSQL, I entered 800 into Client field in u201CUser logon credentialsu201D. The connection can be created and I can get table list. After I built a report ,I can not get data from IDES client 800, but I can get data from client 000.
    I am sure client 800 has data.I checked client 800 table with Tcord se16.
    I also did other tests and felt confused a lot.
    Even inexistent client, such as u201C00u201Dand u201C8000u201D can be used for creating connection.
    I just want to know how can I get data from client 800.
    Thanks for your kindly help!
    Wayne

    Dear Ingo,
    Thanks for your reply!
    I am not sure about your suggestion clearly. What's your mean all the authorizations to use CR?
    Maybe I should clarify my operations.
    I logon CR2008 as administrator and created two SAP connections with different client.
    There is a table named "/BEV3/CHBALLG" be showed in these connections.
    I checked  clients "000" and "800" both have data in the table.
    I can use client 000 connection create report and get right data, but the report base on client 800 connection could not get data.
    If change to another table,such as "/SAPDMC/LSOFIL", I can get data both form these connections.
    I found one thing is very weird. Client "00" and "8000" do not exist in my IDES environment, but I can use them for creating connection.
    May I have your further suggestions?
    Wayne

  • Copy Released Transport request ?

    Hello Experts,
    Tranreq1 is the transport request already released. I have to create a new transport request which should contain the same as Tranreq1.
    Is there any transaction to copy the transport request to a new request. Is there any alternate method.
    Thanks,
    BWer
    Message was edited by: BWer

    Hi BWer,
    Go to se09.
    Create a new request.
    Right click on new request and click on INCLUDE OBJECTS.
    Specify the old request number.
    The new request will have all the objects from the pld request.
    Ashish.

  • Question about source system copy for BW

    Dear all,
    I have a quick question about copying a source system for BW.
    We have two clients in the source ERP:
    100 Customizing
    200 Testing
    Our BW is only linked to client 200, so when we now delete client 200 and make a copy from 100 to 200, are we then still able to restore the source system connection so that our extraction will work, or will it fail, as in client 100 I have no BW related (except the cross-client-objects like datasource) information, that can be used for a possible restore of this connection.
    What is the procedure in this case?
    Thanks,
    Andreas

    Unfortunately, you will lose your source connection and need to create a new one in R/3.  You can use the same source system name in BW, but check the source system connection after the copy (SM59).  Also, I would "Restore" the source system (in BW, right-click on Source system in RSA1, and click "Restore") to insure the datasources get replicated from R/3 to BW.
    Depending on how much you want your BW and R/3 systems to be in synch, you will need to rebuild all your data providers (cubes/ODS's) from your R/3 system.  This means deleting all the data and running the initializations from scratch.  At the very least, you will need to rebuild the delta queues.
    Curious, if 100 is just for customizing, is there any data in it?  Are you just creating a new blank client 200?

  • Regarding Client change for transport request

    In 46C system, How to change client for transport request?
    Before Upgrade, we have Trans Request-DEVK900002 for client XXX, and this client does not exists anymore. now How to delete this trans request or release it.
    one of the way i think is to change client for transport request and release it. Please share your suggestions.
    regards
    Jaichan

    Hi shlesa,
    Thanks for your reply.
    I tried now..it does not worked out.
    i created request at 000 using DDIC and then logged with 001 client using DDIC.
    then i executed SCC1, gave Source Client 000 and Request number and executed.
    i checked in SE09, was still the Request appeared with 000 client.
    Any other alternatives.
    Jaichan

  • Copy by Transport Request issue

    Hi Everyone,
                   I have some transport requests in my development Client. all are functional related. My Functional people wanted me to move this to Quality client which is in the same server. I did that by using SCC1 Transaction. It ran successfully. But no Updation took place. What may be the reason?
                   To check this, i created a Z role in DEV(700) client and transported in the same way to QTY(800). This ran successfully and i could able to see my Zrole in the QTY client with authorizations i have assigned in DEV.this is also a Customizing request and all those previouslly transport request are also customizing request. then why the functional thing is not updating in the Quality client.
                  (Functional details: Company code available in 700 , not available in 800 even after importing TR)
    My QTY details from SCC4:
                 Client role :Test
                  Automatic Recording of changes
                  Cross customizing aloowed
                  Protction level 0:No restriction
    Regards,
    Siva

    Hi,
    Customizing request are client dependent. So you need to transport the requests.
    You have three data types in SAP system.
    1.Client dependent(some spro settings) 
    2.Client independent(Cross-client).
    3.Repositiry object.(like tables,reports)
    As client dependent settings are locked in customizing request, you need to import them in every client you need even they are in the same system. If it is a workbench request in which a report is locked then you need not to transport it because it is cross-client.
    Regards,
    vamshi.

  • How i can copy my transport request from one system to another system

    hi,
    i want to copy all my code  means( programs,tcode,class,FM...every thing.) which is under a transport request, now i want to copy all this code same as it is in another system
    eg.
    i have all my objects in for example D10 now i want all my code in some another system for e.g in D30.
    how it is possible....

    Hi Vipin,
    Check tcode SE03 for transport related issues.
    as suggested by all the TR needs to be released from the current system to make it ready to be transported to next system.
    Once you release the request ask your basis administrator to transport the request to D30.
    <b>Before releasing the request check with the basis administrator if the target system has been set to D30.</b>
    Lokesh
    Message was edited by:
            Lokesh Aggarwal

  • Merging Java Transport request with Abap Transport Request in Charm

    Hello All,
    We have activated the Change request Management in Solution Manager. Therefore transport request of type workbench and customising can be created when you choose action 'Create Transport Request'.
    However we have some SAP systems that have CTS+ integrated which allows to generate transport request number and attach objects in PI Integration Directory  - java transports.
    Question is - Is there a way we can integrate the java transports generated in these SAP systems  with Solution Manager  CHarm and transport creation.
    Or can we assign the java transports to charm in any way. 
    We are basically looking for how  when users create Charm, the abap and java transports relating to the charm are generated and created only from  Solution Manager manager or how these two transports can be linked together in Solution Manager.
    Thanking you in advance for your help.
    Tolly

    Hello Friends
    I have read the links and followed the instructions and tried to create object
    TABLENAME   R3TR  TABU and tried to save it.
    I keep getting a warning message 
    Note: ZTABLE1 is an application table
    Object TABU ZTABLE1 has object function "k", but no key.
    (I don't know what key to enter. I tried the Key field name, but it said 'Enter Numeric values only').
    If I ignore and save and try to create transport request and then import it on a different server, again only table structure is getting transported and not the contents/data of the table.
    I would appreciate if some one can please let me konw what I am doing wrong.
    Thanks
    Ram
    Edited by: Ram Prasad on Jun 2, 2009 3:38 PM
    Edited by: Ram Prasad on Jun 2, 2009 3:40 PM

  • Transport request for ABAP OO Class

    Hi,
    I have created a class with multiple methods and saved into one TR. Now under the TR contains task and under the task contains
    ->Class (ABAP Objects)
        ZCL_VRL_ZCFA_CLASS =>This is normal and fine.
    Now I have created new class with 3 methods but the methods are recorded separately and the class name recorded separately, please find the below details.
    SD1K977104(Main TR)
    SD1K977105(Task)
    ->Method (ABAP Objects)
        ZCL_BASECLASS             CHECK_CONTRACT_MCON_ACON
        ZCL_BASECLASS             CHECK_CONTRACT_QUOTATION
        ZCL_BASECLASS             CHECK_CREATION_DATE
    ->Class (ABAP Objects)
        ZCL_BASECLASS
    The separate recording will be happen when the TR is transported earlier, whenever creating new class this separate(class and methods) recording should not happen.
    While transporting into Quality the first method trying to activate but the second method(which is called in 1st method) doesnt exist at this time. Anyhow the class(Object) getting transported and activated and working as expected but transport error log appearing in SE09/SE10.
    " Ended with return code:  ===> 8 <==="
    My question is why the class name and method name recorded separately.
    I appreciate your quick reply.
    Regards,
    Vadamalai A.

    Please find the log.
    Log file:                /usr/sap/trans/R3/log/SX1K997477.SX2
               Generation of programs and screens
               Transport request___: SX1K997477
               System______________: SX1
               tp path             : tp
               Version and Release: 340.16.41 640
               Generation of programs and screens for transport request SX1K997477
               Only generates programs with LOAD versions
               Start on 20.05.14 at 23:28:38
               Generation of the transported programs
               Generation of the users of the transported Includes
               Program ZCL_VRL_BASECLASS=============CP, Include ZCL_VRL_BASECLASS=============CM00L: Syntax error in line 000001
               Method 'MCON_FUTURE_DELETE_OPTI' is not declared or inherited in class 'ZCL_VRL_BASECLASS' -
               Ended on 20.05.14 at 23:28:42
               No. of programs  /Min/Avg/Max (sec): 7   0 1 1
               Generation of programs and screens
               End date and time : 20140520232842
               Ended with return code:  ===> 8 <===

  • Changing the source client of a transport request

    Hi!
    I transported few requests from client 300 to client 200 using transaction scc1.
    Now, i want to transport them to another client from 200. But when i try to release those requests the systems prompts "Request <#> (300) belongs to a different client".
    I tried changing the source by double clicking the request, but I'm unable to do so.
    Can u please suggest any way of changing the source client of these requests ?
    Thanks!!
    Regards,
    Muzammil.

    Hi,
    Goto SE01,
    The type transport number
    Display
    Place cursor on the TR
    Click Utilities=>Reorganize=>Change Project.
    Best regards,
    Prashant

  • Question About Inactive Clients / Re-Imaged Clients

    Hopefully a quick question...  We have client push installation enabled site-wide in our SCCM 2012 implementation.  What is expected behavior if a workstation is rebuilt on the same hardware with the same name and the same AD computer account is
    reused?  
    So, for example, one of my coworkers asked me about his workstation.  He reinstalled Windows on it recently but the SCCM client hasn't installed since he rebuilt.  SCCM shows the client (the one tied to his old SMS GUID I imagine) as inactive.
    There is no ccmsetup folder in c:\windows on his newly built workstation - I can't find any evidence that the client attempted to install.  I confirmed that the OU where his computer account is located does fall under the OU structure configured in Active
    Directory System Discovery.  He said that when he joined it to the domain he was prompted (as expected I believe) that there was already a computer account with the same name and asked if he wanted to use the existing account, which he did.  
    I'd just like to know what behavior should be expected in this scenario.  I haven't checked yet but, given how frequently systems get re-imaged in our environment, unless this is abnormal behavior and an isolated instance, I may find I have quite a
    few clients that no longer have SCCM installed due to having been re-imaged.

    Hi,
    The installed flag prevents Configuration Manager from reinstalling the client when automatic site-wide client push installation is enabled. 
    Delete aged discovery data
    deletes inactive client records from the site database.
    I think the newly built workstation should be assigned a new GUID.
    Best Regards,
    Joyce Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

Maybe you are looking for

  • End Routine Problem

    Hi gurus, I have written end routine for a cube for getting the data for fields net due date and discount date from other cube. The code was fine and im able to see the data for those fields in the new table of DSO and once  the request is activated

  • Java trigger: How to pass new.ID as in/out?

    I've got a simple trigger that calls a Java proc (see below for details). All I want to do is set the ID field of a table to the next value of a sequence. However, I can't get Oracle lite to pass a non-null int[] to Java. I assume that's the only way

  • Office 2013 system administrator Undeliverable messages, only on 2013 NOT 2010

    Some of users who are using Outlook 2013 and receiving these messages when trying to send emails. It doesn't matter if they type out the address, find from an address book, or just reply to a message. Outlook 2010 does not have this issue. The diagno

  • How to pass .txt file as an attachment to the web service (SOAP Attachment)

    Hi, I am creating web service using NetBeans 6.5 IDE and JAX-WS. I create a web application and then create web service using provided interface. I want to add .txt file as an attachment/parameter to the web service operation using "Add operation" in

  • New ALS Demo Application (release 9.0.5.x)

    AMIS just released the ALS (AMIS Library System) application based on BC4J and JSP with JSTL for JDeveloper 10g and JHeadstart 9.0.5.x. The ALS application is shipped with JHeadstart 9.0.5.x, to demonstrate the use of Toplink with JHeadstart. The app