Lock object update in contract account

Hi All,
If anyone knows any BAPI which updates the lockobject in the outgoing payment of a contract account,please respond.
My requirement is to update the TO date of lock object in the outgoing payment of a contract account.
Is there any other possibility to do the same.
Awaiting for response.
Regards,
Bharathi.J

Hello,
Sorry, we don't use a BAPI to update locks, but we do use the following function modules:
FKK_O_LOCK_OPEN
FKK_O_LOCK_METHOD_SET_LOCKDATA
FKK_O_LOCK_METHOD_SAVE
FKK_O_LOCK_CLOSE
You can use BAPI_ISUACCOUNT_CHANGE to issue a new lock.
K---
Message was edited by:
        Kathryn McGallicher

Similar Messages

  • Connection between Connection Object & Contract Account

    Hi ISU GURU's
    Could any one pls let me know where exactly connetion object is linked to contract account.
    Basically our problem is where exactly we can maintain connection between technical master data to business master data.
    Thanks in advance
    sree

    Hi Owk,
    Well, I love to explain the things with the example, i don't know would you follow the same approach... Never the less, first with the example and then bit technical:
    E.g.
    I have a building:
    4290, El camino real Palo Alto - 94301, CA
    It contains number of Aprtments : 3
    Every aprtments have : 1 individual Electric connection
    Payment = Individually
    So there are 2 questions raised,
    >> what physical entities are mapped to what technical objects in IS-U master data??
    >> Where are the link between customer data and technical things ??
    Ans 1:
    1 Building = Connection Object
    3 Apartments = 3 premise
    3 customers = 3 contract accounts
    3 Individual payments/Connections = 3 contracts & 3 installations
    Ans 2:
    There si no direct linkage between connection objec and contracty account as both are sperate entities but
    : Customer - > contract account
    : Connection object -> Premise
    >>>>>>>>>>>>At the time of Move-in (EC52E), the Business master data (Customer -> contract account) is got linked to the Technical master data (Installation - > Devices -> Device Location - >Premise -> COnnection Object).
    Customer - > Contract account
                           Contract (Contract gets cretaed at the time of move-in so as link)
                           Installation - Premise - Connection Object
                           Device Location
                           Devices and registers
    Don't hesitate to ask again, if it doesn't solve the problem
    Cheers,
    Amit

  • Require FM for setting lock on contract Account

    Hi,
    Please let me know Function module.
    I want to maintain on intrest  lock  as X  on  contract account and dunning lock as 'X'  under Tab  Dunning.
    Thanks,
    Sam

    Hi Tamas,
    I think you will need to save it and look into event 1800 which you can use to create the locks.
    regards,
    David

  • Contract Account Custom view not called when replicating thru CRM

    Hi All,
    We have modified the Contract account screen through BDT.
    Functionality -
    We have a custom table, that needs to be updated during contract account creation when reference contract account is used for creation.
    The update is successful when creating contract account via ISU, but when creating thru CRM, the custom view is not getting triggerred.
    I have checked in debugging as well, the process flow triggered via CRM is different than that from ISU. When Business Agreement is created via CRM, neither of PAI / PBO event is triggerred defined for the custom view created in BDT.
    When we have the custom field passed from CRM, it is getting updated correctly, but if the field is not passed from CRM view and we are updating using code logic in BDT modules, it is not successful.
    Could you please help in case I have missed on some config or is there any alternate way to get the custom requirement achieved.
    The requirement is to have custom table updated in both Create and Change mode.
    Thanks in Advance!!
    Regards,
    Rajesh Popat

    Hi Siva,
    Contract Account was replicating correctly for the ISU system. The issue was, we want to update some custom fields that are not passed as a part of CRM data, but using BDT and some validations, we were trying to populate that field and also update the custom table and link the same to sub screen attached for the contract account screen.
    The issues is now resolved. The custom view is getting triggered through CRM. There was some config missing for the BDT.
    When using BDT, only the PAI module gets called for all the views defined for the BDT.
    Thanks!!
    Regards,
    Rajesh Popat

  • Update dunning level and dunning details for a contract account

    Hi All,
    I need to update the dunning history details(dunning level) for a contract account.
    I am using the table FKKMAKO(dunning header).
    Let me know if there is a Function module/BAPI/ any other way to update the dunning history details
    Regards
    Shiva

    545315 - FAQ: Dunning
    [3] Question: How does the system determine the dunning level in the
                  master record?
           The master record stores the highest dunning level that has been
           determined for the account during the last dunning run.
           If an account receives several dunning notices (e.g. in the case
           of dunning by dunning level), make sure that you use ascending
           order when printing, since the master record is updated after
           each dunning notice.
    Note  838334 may also be the case.
    cheers,
    Jon

  • Error while doing multiple object updation from EP ! object lock error

    HI all,
    I am doing multiple  object updation using a standard RFC(BAPI_PROJECT_MAINTAIN). The RFC i am calling from Enterprise portal. I am sending data to RFC one by one. But the error i am getting is object is locked by user so data can't be save.
    Though i am using Lock and unlock method before and after calling RFC the project lock error comes up.
    What might be the reason
    regards
    sandeep

    Hi Sandeep,
    Is the RFC you use for locking in the same model as the bapi BAPI_PROJECT_MAINTAIN? If it is not then you are using two connections for communication with the sap R/3 backend.
    You can do 2 things.
    1. You could add the RFCs for locking in the same model as the BAPI_PROJECT_MAINTAIN
    2. Instead of adding the RFCs in one model synchronize the connections the models use as follows:
    IWDDynamicRFCModel model1 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model1.class);
    IWDDynamicRFCModel model2 = (IWDDynamicRFCModel) WDModelFactory.getModelInstance(Model2.class);
    model1.setConnectionProvider(model2);
    You can do this in the wdDoInit. This will make sure both models use the same connection but closing a connection will close both at the same time.
    The same problem applies to commit/rollback functionality.
    Regards,
    Jeschael

  • Contract account as Business Agreement not updated till baug_main reloaded

    Contract Acount is replicated as business agreement only after i re-load the baug_main object. I have to re-load this object each time i create a contract account and want to see in as business agreement in CRM.
    Does Anyone know a way around this problem.
    I will very grateful for any help or clue.
    Regards,
    Nasreen

    Hi,
    Please do the configuration at the below place.
    Your problem will be solved.
    IMG>Financial Accounting>Contract Account>Integration>Customer Relationship Management>Business Agreement>Determine Template for Contract Account Replication.
    Warm regards,
    Rahul

  • Locked Contract account can be cleared at Cash Desk

    Dear Experts,
    I have placed a Clearing lock on a Contract Account(tcode CAA2). But the due amounts on that contract account can still be cleared through the cash desk FPCJ.
    Where should the lock be placed to prevent all incoming payments for a particular contract account?
    Thanks & Regards,
    Malini

    HI ,
    In the view SM30 - V_TFK000S , should have the specification - Posting and clearing lock .
    Secondly the same has to be applied in the contract account in the payment lock reason .
    After assigning the same , system would not allow to accept payment against any document or even payment on account .
    Only thing that you have to remember is that the lock reason should have both payment as well as clearing lock .
    The other way is of pushing the locks in the documents through FPE2 or FPE2M , else the lock at contract account would work.
    Cheers ,
    Dewang

  • Update Contract Account in Background - BOR "ISUACCOUNT" Method "Change"

    Hi Experts,
    We are trying to update the "Dispatch Control" & "Alternative Bill Recipient" fields on the Contract Account in background.
    We are using BOR - "ISUACCOUNT" and Method - "Change". The Method is unable to update the field values but not giving any error or exception.
    Please sussest if someone has worked on such scenario before.
    Thanks,
    Ankur

    Hi ,
    Is it tiggering ur BADI implementation or not ? If yes then whats ur logic to update ?
    regards
    Prabhu

  • Lock Objects Problem while updating entries in custom table

    Hi Friends,
    Iam updating a custom table ztable from internal table entries.
    ie : Modify ZTABLE from table ITAB.
    Now the entries are updating and inserting perfectly..
    But my problem is i need to use lock objects before doing this..
    I have created a lock obect EZTABLE with all th ekey fields of the table.. ie : it has 2 key fields
    item & matnr .
    Now how to use lock objects here.. do i need to loop the internal table and use enque & deque function module each and every time in loop or use it out side the loop..
    Can any one explain me this..
    Regards,
    Kumar

    hi kumar,
    **check if the equipment is already locked by user, if yes, trigger a mail
                CALL FUNCTION 'ENQUEUE_EIEQUI'
                 EXPORTING
                MODE_EQUI            = 'E'
                MANDT                = SY-MANDT
                   equnr                = lv_equi_temp
                X_EQUNR              = ' '
                _SCOPE               = '2'
                _WAIT                = ' '
                _COLLECT             = ' '
                 EXCEPTIONS
                   foreign_lock         = 1
                   system_failure       = 2
                   OTHERS               = 3.
                IF sy-subrc <> 0.
                  lv_subrc1 =  sy-subrc.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
                ELSE.
                  CALL FUNCTION 'DEQUEUE_EIEQUI'
                   EXPORTING
                MODE_EQUI       = 'E'
                MANDT           = SY-MANDT
                     equnr           =  lv_equi_temp
                X_EQUNR         = ' '
                _SCOPE          = '3'
                _SYNCHRON       = ' '
                _COLLECT        = ' '
                ENDIF.
    try like this to check if the object is locked....
    u can also use
    call function 'ENQUEUE,.
    do the needful changes update the database then commit work
    then call function 'DEQUEUE'
    hope this helps,
    tanmaya

  • BDOCs not triggering on changin Contract Account thrU FM FKK_ACCOUNT_UPDATE

    Hi,
    We have integrate SAP ISU and CRM system. My scenario is, on Dunning til a specific level, customer is removed from Direct Debit if he's on an active Incoming Payment Method in a dunning activity.
    In my scenario, I'm reading Contract Account Details using FKK_ACCOUNT_READ, deleting incoming payment locks if any, clearing three fields of Incoming Payment Method Id, Bank ID and Credit Card ID (EZAWE, EBVTY, CCARD_ID) and then passing the new structure in FM FKK_ACCOUNT_UPDATE in below format:
            CALL FUNCTION 'FKK_ACCOUNT_UPDATE' IN UPDATE TASK
              EXPORTING
                x_fkkvk                 = wa_fkkvk
                y_fkkvk                 = wa_fkkvk_old
                vk_upd_mode             = lc_change
                udate                   = sy-datum
                planned_or_real_changes = lc_real
              TABLES
                x_fkkvkp                = lit_fkkvkp
                y_fkkvkp                = lit_fkkvkp_old.
    But it is not triggering any BDOCs and therefore DD details can still be seen in CRM system.
    I checked the standard process (CAA2), also uses the same FM in same format but it triggers BDOCs. I believe after this FM is called, some other FMs are being called to trigger BDOCs.
    Can someone help me in finding out, where am I going wrong. Thanks.
    Ravi

    Use BAPI_ISUACCOUNT_CHANGE instead.

  • Custom field in Contract Account ( CAA3 ) using BDT

    Hi,
    I need help on BDT Configuration.
    I have been trying to add custom fields in the Contract Account, under Payment/Taxes Tab using BDT.
    I have followed all the basic steps required for the configuration but still the fields donu2019t seem to appear.
    I did refer to BDT Developers Manual from SAP.
    Can anyone help?
    Thanks & Regards,
    Rahul.

    By Using CAWM area menu t-code you can do the screen enhancements.
    After adding fields to field group
    Create a view and add this to field group, Create  a screen and add ur fields and write code to update those fields in database..
    Add your view to the corresponding section.
    After this you have to call BUSP t-code , Application object as FICA and activate all screens.
    Let me know if you need any more help..
    Regards,
    Shiva Kumar

  • JDC addr on contract account populated from standard mailing address...HELP

    Hi, I am having a problem with the JDC address field on the Contract Account being updated with the standard mailing address when the customer uses a different mailing address other than the service address (connection object). This is causing an issue when we try to post FICA charges or dunn at an account that is using an out of state mailing address.
    Has anyone had this issue? What did you do? I was under the impression that the JDC addr field was being populated from the connection object.
    Thanks

    Hi Lisa,
    Every Contract Account picks up the standard address from the Business Partner.  However you could control this by Changing the fixed address at the contract account level.  If you go into transaction CAA2 ... You will see the header as seen below..
    Contract Acct   200000012853 Cont. Acct Cat. 02  Utilities Contract Account       
    Partner/Address 1000145433   ROMA HAWKINS    227 CHERRY AVE / HAMPTON VA 2        
    Valid from      07/17/2008                                                                               
    Next to the Address here you can see a FIX check box.  We can create a new address as per the connection object address on the BP address list and FIX the CA address based on the new address in the Business Partner.   Similary the JDC address also can be changed this way.
    However this is a manual process.  If you want this to happen during the move-in process, custom code will have to be written wherein when a new contract account is created, the list of addresses are shown to the Customer Service Agent and ask them to pick the Address which will be set as the FIXED address in the Contract Account.  We had once implemented this enhancement for a Utilities customer in US.  Let me know if you require details.
    Regards,
    Yuvi.

  • Contract Account delta load not happening

    Hi Gurus,
    I am doing integration between ISU and CRM 7.0. I have achieved integration both sides for BP . I have also done initial load for Contract Accounts using object 'BAUG_MAIN'. We are able to see Business Agreement getting created for the Business Partner in CRM but when I change the data in a particular Contract Account in ISU or create a new Contract account after the initial load it is not trigerring Delta Load for the Object.
    Please help me for the same.
    Regards,
    Nasreen

    Hello Nasreen,
    A possible reason for this issue could be that no module is assigned to the event 1030 in FQEVENTS. If you want to report FKKVK changes to BW (i.e. update the DataSource 0CACONT_ACC_ATTR_2) then the module FKK_EVENT_1030 should be activated here. The similar is valid for changes of FKKVKP table (= DataSource 0UC_ACCNTBP_ATTR_2) -> activate
    the module ISU_EVENT_1030.
    I hope this is helpful for you.
    Kind Regards
    Olivia

  • Lock object is not working automatically

    Hi experts,
    i have a problem , A table is updated by a program which is used by multiple user . I have used lock function module 'ENQUEUE_E_TABLE ' and 'DEQUEUE_E_TABLE' for that . when updation section occurs first user which come first go through it and for rest users amessage cones 'table is locked by XYZ user' . When first completes the updation resr users is not updating automatically they stand at that position where message comes. How to solve this issue?
    Avadhesh Chandra

    Hi,
    We can lock the table before updating the entries. Two types of locks are there.
    1. To lock the entire table. Here when the table is locked by one program, another program will not be able to modify it.
    2. To lock the particular record only. Here when the record is locked by one program, the other program can modify records other than the one locked.
    For option 1
    Use the FM ENQUEUE_E_TABLEE to lock the table and FM DEQUEUE_E_TABLEE to unlock table.
    For option 2
    Go to SE11. There enter the name of your lock object and create it. Next screen you have to mention which field you want to lock.
    For more info. on LOCK OBJECTS go to
    http://help.sap.com/saphelp_nw2004s/helpdata/en/cf/21eea5446011d189700000e8322d00/content.htm
    If you want to lock the entire table, then use the FM said in option 1 in DO-ENDDO loop. 
    Run the loop till it gets successful (sy-subrc = 0)
    DO.
    *Call the FM.
    IF sy-subrc = 0.
        EXIT.
    ENDIF.
    ENDDO.
    If you want to just try some number of times rather than keep on looping then can use for eg: DO 100 TIMES.

Maybe you are looking for