Cross system locks while PGI

We are facing issues with cross system locks while trying to PGI a shipment which has multiple deliveries belonging to the same sales order.
For example if we have two deliveries D1 and D2 belonging to sales order S1, when we try to complete the shipment (using VT12) which has both the deliveries, the first delivery D1 gets PGI'd but the second delivery gets stuck because of the CSL lock on the common sales order.
This is a high priority issue for us.
Regards,
Arun
Edited by: Arunachalam Raja on Feb 6, 2008 9:05 PM

depends what you mean by standard way. If you're looking at configurable/customizing way, I'd say no way.
if you're looking at implementation way and really want to use WS, you could call the bapi that lock the contract in ERP using the web service layer of SRM something like http://<ERP host ip>/sap/bc/soap/wsdl11?services=Z<whatever BAPI changes the ERP contract>&sap-client=800&sap-user=<username>&sap-password=<password>.
for example the Purchase Order can be lock this way using BAPI_PO_CHANGE but you have to create a wrapper to it as BAPI_PO_CHANGE doesn't not commit to DB.

Similar Messages

  • Cross System lock between CRM & R3

    Hello Experts,
    I really appreciate if someone route me in right direction for below scenario:
    Requirements: We used standards SALESCONTRACT object to download salescontracts from R3 to CRM, additonally development custom XCONTRACT object to replicate from CRM to R3. Now I would like to introduce cross system lock similar way of Sales Order. Do you recogn this will work out or any other suggestions?
    Thanks,
    Bob

    hi,
    write a BAPI while creating a Contract in CRM pass the contract number as import Parameter check for the contract in R/3 output the Flag if present eq 'X'.
    Regards,
    Balakumar.G
    Reward Points if helpful.

  • Cross System Lock using for roles?

    Hi everybody,
    maybe one of you can support me or have some experiences in case of using the Cross System Lock. We are checking the possibilty to implement the Cross System Lock (using in ChaRM, Scenario E (/TMWFLOW/Config_Lock).
    First of all, we made a successful test in usage of table content.
    Example:
    You save a table modification in a Transport Request generated in ChaRM. Thus, the Transport Request is buffered in a Change Document. The result is that the table modification is locked in the object-monitor (/TMWFLOW/LOCKMON).
    However, you save a role (pfcg) in a Transport Request generated in ChaRM the included objects in this role are not buffered in the object-monitor (/TMWFLOW/LOCKMON)
    Thanks for your answers!
    Best regards
    Joachim Eichner

    If you use the report TMW_TRKORR_LOCK_UPDATE against the role transport after saving your changes in it, this will register the role objects in the CSOL.
    The Role transport tool does not automatically trigger the FM that registers the objects in the CSOL, just like manually adding objects to a transport doesn't trigger it. Therefore the workaround is to run this report. Only the transport owner is allowed to run TMW_TRKORR_LOCK_UPDATE.
    In our experience it is not that CSOL does not support roles and authorizations; for the purpose of retrofit, it is able to detect conflicts reliably if the report is run consistently after saving role changes to transport. If no conflicts exists, auto-import works fine. If conflicts exist, then roles must be manually retrofitted.

  • Cross System Locks and WebServices

    Hi All,
    is there a standard way to set cross systems locks using webservices?
    My situation is that i have a contract in SRM and this contract has a link to an object in an ERP System. So whenever a user is changing the SRM object I need to lock the ERP object to make sure the data are consistent.
    THX,
    Christoph

    depends what you mean by standard way. If you're looking at configurable/customizing way, I'd say no way.
    if you're looking at implementation way and really want to use WS, you could call the bapi that lock the contract in ERP using the web service layer of SRM something like http://<ERP host ip>/sap/bc/soap/wsdl11?services=Z<whatever BAPI changes the ERP contract>&sap-client=800&sap-user=<username>&sap-password=<password>.
    for example the Purchase Order can be lock this way using BAPI_PO_CHANGE but you have to create a wrapper to it as BAPI_PO_CHANGE doesn't not commit to DB.

  • Cross system lock for Contracts

    Hello Experts,
    I really appreciate if someone route me in right direction for below scenario:
    Requirements: We used standards SALESCONTRACT object to download salescontracts from R3 to CRM, additonally development custom XCONTRACT object to replicate from CRM to R3. Now I would like to introduce cross system lock similar way of Sales Order. Do you recogn this will work out or any other suggestions?
    Thanks,
    Bob

    If you use the report TMW_TRKORR_LOCK_UPDATE against the role transport after saving your changes in it, this will register the role objects in the CSOL.
    The Role transport tool does not automatically trigger the FM that registers the objects in the CSOL, just like manually adding objects to a transport doesn't trigger it. Therefore the workaround is to run this report. Only the transport owner is allowed to run TMW_TRKORR_LOCK_UPDATE.
    In our experience it is not that CSOL does not support roles and authorizations; for the purpose of retrofit, it is able to detect conflicts reliably if the report is run consistently after saving role changes to transport. If no conflicts exists, auto-import works fine. If conflicts exist, then roles must be manually retrofitted.

  • Cross System Lock

    Hi
    I have an requirement,  when a contract edited in CRM system the same contract should not be available for edidting in R/3 system.
    can any one guide me how to implement this functionality in R/3
    thanks & regards.

    hi,
    write a BAPI while creating a Contract in CRM pass the contract number as import Parameter check for the contract in R/3 output the Flag if present eq 'X'.
    Regards,
    Balakumar.G
    Reward Points if helpful.

  • Cross-system locks on business partner CRM/ERP

    Hello,
    we're working with business partners (BUT000) in both CRM and ERP system. The business partners are exchanged using the CRM middleware (BUPA_MAIN).
    Is there any SAP standard way to prevent the business partner from being edited in CRM (web UI) when it's currently locked in ERP (tcode BP) and vice versa?
    Thanks & Regards
    Wolfgang

    Hi Wolfgang,
    I think you need to develop some custom code to do this. Create a rfc to perform a enqueue in remote system.
    Best regards,
    Caíque Escaler

  • Cross system object locking -Object editor popup does not show in dev sys

    Hi ,
    we want to use the cross system locking for r/3 system .
    we have done all the configuration required for cross system object locking in central solution manager system and also in development r/3 system .
    also we observed that object lock information is avaible in central lock monitor transcation but when ever there is object lcok it does not show us the the popup for object editing. 
    appreciate your valuable inputs.
    Regards,
    Amar Kamat

    We found the problem.
    The structure was being locked by a user in the QA system and overnight the M version finally activated after another transport attempt. 
    The second structure with this problem was only referenced as a local object (even though it had a proper tech name and package assignment) preventing its activation in the QA system.  We needed to hack the query tables to make it look like a proper global structure, then re-transported and it activated.

  • Cross System Object Lock with ChaRM Retrofit

    Hi-
    I need to know if there is the ability to have a cross system object lock while utiliziing Retrofit within ChaRM. For example I am working with an N, N1 landscape. When I release a transport request in N I need the object to be locked in the N, and N1 (after retrofit) landscapes.
    Will this be supported with both Workbench and Customizing requests?

    I dont believe this is possible at the moment. As you must be already aware, that SAP releases the locks from the objects as soon as the transport request is released from the Development System. Unless, this locking mechanism is extended to various systems first (DEV and QAS) and later to parallel landscapes (eg:- Project landscapes) it would be difficult to bring in this feature.
    Rgds,
    Abhijeet Bhagat

  • ChaRM:Cross system object lock:Ovelapping

    Hi Friends,
    In SE38, while activating the service "/TMWFLOW/CONFIG_SERVICES", i am seeing following conflict scenarios:
    Cross-Project, Client Specifi, Ovelapping
    Cross-Project, Client Specifi, Partial Ovelapping
    What is the meaning of overlapping? In which scenario it can be used?
    Thnaks for your input
    PSK

    Hi
    There is a feature call cross object locking in solman it is used for that
    you can check below note for all the available modes
    Note 981729 - Cross-system object lock: Alternative lock modes
    Hope it solved ur basic doubt
    Regards
    Prakhar

  • Cross system object lock after SP24 upgrade

    Hi Team,
    We have recently updated from Sol Man SP23 to SP24. I have set-up cross system object lock (CSOL) in SP23. It was working perfectly.
    When we are in SP23, i have made following settings:
    In T.code: u201C/TMWFLOW/CONFIG_SERVICESu201D , i have set he conflict analysis as "Cross-Project, Cross-Client". So i that i will always get "Warning" Messge while processing SDHF and SDMJ correction.
    In t.code: /n/TMWFLOW/CMSCONF , the CSOL is active.
    Recently we have upgraded to SP24. After SP24 upgrade, the CSOL is not working properly. The configurations are same as earlier.(Before SP24). Now if i process SDMJ or SDHF corrections, the CSOL always gives me "ERROR" message but i want to get "WARNING" message as earlier. I have checked the conflict analysis in t.code u201C/TMWFLOW/CONFIG_SERVICES". It is still "Cross Project, Cross-Client" only.
    Any additinal SAP notes to be implemrnted to correct this behaviour.
    Your valuable guidance required.
    Thanks
    Kumar

    I dont believe this is possible at the moment. As you must be already aware, that SAP releases the locks from the objects as soon as the transport request is released from the Development System. Unless, this locking mechanism is extended to various systems first (DEV and QAS) and later to parallel landscapes (eg:- Project landscapes) it would be difficult to bring in this feature.
    Rgds,
    Abhijeet Bhagat

  • Error while performing Risk Analysis at user level for a cross system user

    Dear All,
    I am getting the below error, while performing the risk analysis at user level for a cross system (Oracle) user.
    The error is as follows:
    "ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot get connection for 120 seconds. Possible reasons: 1) Connections are cached within SystemThread(can be any server service or any code invoked within SystemThread in the SAP J2EE Engine), 2) The pool size of adapter "SAPJ2EDB" is not enough according to the current load of the system or 3) The specified time to wait for connection is not enough according to the pool size and current load of the system. In case 1) the solution is to check for cached connections using the Connector Service list-conns command, in case 2) to increase the size of the pool and in case 3) to increase the time to wait for connection property. In case of application thread, there is an automatic mechanism which detects unclosed connections and unfinished transactions.RC:1
    Can anyone please help.
    Regards,
    Gurugobinda

    Hi..
    Check the note # SAP Note 1121978
    SAP Note 1121978 - Recommended settings to improve peformance risk analysis.
    Check for the following...
    CONFIGTOOL>SERVER>MANAGERS>THREADMANAGER
    ChangeThreadCountStep =50
    InitialThreadCount= 100
    MaxThreadCount =200
    MinThreadCount =50
    Regards
    Gangadhar

  • Error whiel activating cross system object lock

    Hi ,
    when I am trying to activate the cross system object lock functionality for developement system in tcode /TMWFLOW/CMSCONF  from our solman system , it showing the following error
    'Error RFC destination SM_SMDCLNT000_TRUSTED: You are not authorized to logon to the target system (error code 1).
    Message no. /TMWFLOW/TRACK_N106'
    In the above RFC connection the 'Current user' is provided.
    Can anyone please let me know what I am missing in this?

    Hi Farzan,
        I dont have autorization in Client 000 of SMD system thats why its giving authorization error but when I am trying to activate the object locking for SMD client 321 why the system is trying to logging into the SMD : 000 can we somewhere modify the RFC conection which needs to be used.
    Regards,
    Amar Kamat

  • Cross system object lock -how to build up lock entries for existing request

    Hello,
    we implemented ChaRM for some years and  intend to activate cross system object lock (CSOL), now.
    But there are a lot of existing transport requests, which have not been imported to productive system, yet.
    It would be very helpful to create lock entries for objects, which are assigned to those transport requests.
    Does anyone know any standard report for this purpose?
    Thanks a lot for any hint.
    Best regards
    Horst

    If anyone else needs that feature:
    Report TMW_TRKORR_LOCK_UPDATE (executed in satellite system) will lock the objects of a transport request in solution manager system.

  • Charm without Cross system object lock

    Dear All,
    We have requirement for configuration of Charm without cross system object lock i.e. solution manager will be used for documentation but create, release, import request from the development system itself.
    Can we make changes in the functionality and use charm for documentation only?
    if anyone has the same requirement can you please let me know steps to be followed.
    Thanks in advance
    Regards
    Sushant

    Dear Prabhakar,
    Thanks for the reply.
    Our project has just gone live and issues immediate resolution is being carried. Charm will integrate with system and training is required for that which at this point of time not possible but at the same time without affecting the issue resolution we want to log the changes in solution manager.
    We will use the CSOL feature may be some time later.
    At present i have not activate CSOL, still the document doesn't flow through. Document got stuck at "In development" phase and doesn't move forward. It doesn't allow to change the status.
    Regards
    Sushant

Maybe you are looking for

  • Project organization help needed

    I work for a rather large health care company and we are just beginning our move from eGate to JCAPS. We have approximately 100 separate interfaces, each with an average of five eWays. Our initial idea was to organize our JCAPS projects as follows: O

  • Exporting Information out from Vendor Master

    Hi Guys, I would like to change some information in batch for vendor master, what is the best way to extract all the vendor data, change it in excel and then importing all the data back agian? Thanks

  • Ichat settings grayed out after 10.6.4 update

    I just updated from 10.6.3 to 10.6.4. I quit all services prior to installing the update. I ran the update, the machine restarted. I logged in and ran disk utility and repaired permissions. I restarted all services, but noticed ichat was already star

  • "Archive file does not exist" error message in KSB1

    I'm fairly new to SAP, and I am receiving this error in KSB1:    Archive file 000786-002 CO_ITEM does not exist. When my co-worker runs the report using the same cost center, data is returned. We are running this for the current accounting period. Is

  • Dreamweaver CS3 Template

    I'm using Dreamweaver CS3. I use a template that I've always been able to make changes and automatically update the pages that use it on save. I've made some changes to the template, but when I go to update all the pages using that template it says: