ISU Contract Account

Hi All,
I am working on ISU Project. I want to copy Alternative Invoice Recipient (FKKVKP-ABWRH) to Alternative dunning recipient (FKKVKP-ABWMA) during creation and change of ISU Contract Account. I searched for User Exits and BADIs but could not get it. I have also implemented BDT for additional Z fields and it is working fine. Do I have to do something using BDT??? or is there any User Exit or BADI which I can use????
Thanks in Advance.
Br,
Sunil
Message was edited by: Sunil Joshi

Here's some sample code:
FUNCTION z_cs_ca_bankr_pbc.
""Local interface:
*"  IMPORTING
*"     VALUE(VKONT) TYPE  VKONT_KK OPTIONAL
Description  : This function module is called from configuration.
                  : It was set up with transaction CAS with view
                  : ZBANKR.
                  : Functionality retrieves the CA Bankruptcy Related
                  : Info from the the database Only Once Per Call
                  : create/change/display modes.
Type           : FModule is dynamically called from configuration
*&Read CA Details From Memory
  CHECK x_fkkvkp IS INITIAL.
  CALL FUNCTION 'VKK_FICA_ACT_FKKVKP_LINE_GET'
       IMPORTING
            e_fkkvkp = x_fkkvkp
            e_akttyp = g_aktyp
            e_fkkvkd = x_fkkvkd.
  x_fkkvkp_old = x_fkkvkp.
  CALL FUNCTION 'ZCS_GET_COLLECTION_INFO'
       EXPORTING
            vkont        = x_fkkvkp-vkont
       IMPORTING
            cb_send_date = zcs_cred_bureau-initial_send_dte.
*&Move Related Data to the Structure.
  CHECK NOT g_aktyp = '01'.
  zcs_bankruptcy-zz_case_no       = x_fkkvkp-zz_case_no.
  zcs_bankruptcy-zz_file_date     = x_fkkvkp-zz_file_date.
  zcs_bankruptcy-zz_debtor_name   = x_fkkvkp-zz_debtor_name.
  zcs_bankruptcy-zz_consumer_info = x_fkkvkp-zz_consumer_info.
  PERFORM get_con_text USING zcs_bankruptcy-zz_consumer_info
                    CHANGING zcs_bankruptcy-zz_cons_text.
ENDFUNCTION.
FUNCTION z_cs_ca_bankr_pai.
""Local interface:
Description  : This function module is called from configuration.
                  : It was set up with transaction CAS with view
                  : ZBANKR.
                  : Functionality changes the CA Bankruptcy
                  : to the CA Memory Data So the Program Save the
                  : Changes in Change Mode
Type           : FModule is dynamically called from configuration
Only if it's in change mode
  IF ( sy-ucomm = 'BUSS' OR          "from main menu
       sy-ucomm = 'BUSB' OR          "from main menu
       sy-ucomm = 'BUSE' OR          "Enter key
       sy-ucomm = 'BUSCR02' OR
       sy-ucomm = 'BUSCR03' OR
       sy-ucomm = 'BUSCR04' OR
       sy-ucomm = 'BUSCR05' OR
       sy-ucomm = 'BUSCR06' OR
       sy-ucomm = 'YES' ) AND        "from main menu
       g_aktyp = '02' .
  Check Consumer Information Consumer
    IF NOT zcs_bankruptcy-zz_consumer_info IS INITIAL.
      PERFORM validate_cons_info CHANGING
                                       zcs_bankruptcy-zz_consumer_info
                                       g_zccs_bankruptcy
                                       zcs_bankruptcy-zz_cons_text
                                       g_error.
      IF g_error = 'X'.
        MESSAGE e000(zcs_general) WITH text-001.
      ENDIF.
    ENDIF.
  Validate file date
    perform validate_file_date using zcs_bankruptcy-zz_file_date
                            changing g_error.
    if g_error = 'X'.
       message e000(zcs_general) with text-004.
    endif.
  Check other fields, if one is filled, then all fields are required.
    PERFORM check_required_fields CHANGING g_error.
    IF g_error = 'X'.
      MESSAGE e000(zcs_general) WITH text-002.
    ENDIF.
    MOVE-CORRESPONDING zcs_bankruptcy TO x_fkkvkp.
    IF x_fkkvkp <> x_fkkvkp_old.
      CALL FUNCTION 'VKK_FICA_ACT_FKKVKP_LINE_COLLE'
           EXPORTING
                i_fkkvkp = x_fkkvkp.
    ENDIF.
  ENDIF.
ENDFUNCTION.
Good luck!
K---

Similar Messages

  • ISU Contract account screen

    Hi friends ,i need to change standard screen field values dependent on some other input in the other fields at time of user interaction. i have created custom fields in the contract account using BDT(BUSSINESS DATA TOOL SET).So, based on inputs in my custom screen fields i need to change standard screen field values. please give ur valueble suggestions in BDT.

    Hi thank u for ur reply ,my requirement is in contract account screen in general data tab i have added one custom field ok,
    its working fine it also saved in db correctly.in caa2 if i change the input in my custom field based on that value bb procedure i.e.
    standard screen filed value have to be changed.when i changed custom fileld value and pressed enter it will go to next tab ok,if i go back to previous screen bb procedure value should be automatically changed. that is my exact requirement.iam using vkk_...collect in custom subscreen pai module to fill the fkkvkp strucutre.but it is not working.

  • Contract account not found and replicated to ISU

    Hi Experts,
    Our users created s3 contract account in the Production system. But upon searching for 2 of them
    they are not able to find these two contract accounts in CRM as well on ISU side.I have also checked the queues and Bdocs if any one of them got failed but I am not able to find those as well.
    Can any one guide what can be done to find them and replicate the same to ISU.
    Regards,
    Manish
    Edited by: manish.dodeja on Jun 25, 2009 11:11 AM

    Hi Haresh,
    Check with middleware settings there must be something left out like in T.Code SMOEAC (Check Publication and Subscription) Business Agreement should be there..
    Check T.Code: CRM_BUT_CALL_FUN
    Depending on the business agreement class, the contract account templates are stored in SAP ERP
    in table TFK_BUAG_REF.
    You can find this table in Customizing for
    Financial Accounting under Contract Accounts Receivable and Payable->  Integration->Customer Relationship Management-> Business Agreement ->Determine Template for Contract Account for Replication
    Use FI-CA event 1023 to determine whether the busines agreement should be selected as a standard business agreement when it is downloaded. You can check the contract accounts of the business partner and decide whether you want to select the checkbox.
    Also check FI-CA event 1022 (see tables TFKFBM,TFKFBS, and TFKFBC in SAP ERP).
    Let me know if your issue is resolved
    Regards
    Ripunjay

  • Crm middleware : R/3-ISU to CRM Business agreements and Contract accounts

    Hi Guys
    We are Downloading BP data from R/3 ISU system to CRM system and I did the relevant customizations using setup and load guide, along with the BP data it is required to download <b>Business agreements and contract accounts (BDOC buag_main) also for this download I don't have any idea about what customizations to do</b> to download BUAG_MAIN does any one have the document which specifies the required custmizations for downloading Business partner agreements.
    My id :  [email protected]
    Thanks in advance
    Warm regards
    Rajasekhar

    Hi Madhu,
    Contract Account on ISU is Business Agreement on CRM. Please refer the following path to get the load guide for contract account.
    The SAP Service Marketplace, http://service.sap.com/utilities => Product Information => mySAP CRM for Utilities => Cookbooks & Guidelines => IS-U Specific Set-Up and Load Guide for Business Agreement / Contract Account.
    <b>Reward points if it helps.</b>

  • How to identify "have not been billed" contract accounts in ISU

    Hi
    I  am having requirement to create a BW report for "have not been billed" contract accounts.
    So could you please explain in ISU, how i can identify have not been billed contract accounts.
    Please provide T-codes and tables from where i can get this data and also any SAP standard Report is available for this requirement.
    Thanks,
    Sree

    Hi Sree,
    Also, for getting the list of contracts that are not billed - Do you need to get the list as on particular month, then you can directly check the billing header table ERCH passing all the list of active contracts and the allocation date of billing for that month range (say for March as 03/01/2009 - 03/31/2009) and based on the ouput you can compare them and get, if the billing document is missing for any of the particular contract.
    The query as per my understanding should be made on allocation date as this would be unique for a particular month.
    This process would have some performance constraints as you will be selecting all the active contracts in the system and then passing them to ERCH table along with the dates.
    Will check, if can get some other alternate approach.
    Thanks & Regards,
    Rajesh Popat

  • ISU: Find Business Partner, Contract account or contract to Table EABL

    Hi Experts,
    can you tell me, in which table I find the Business Partner or Contract Account to a meter reading document (table EABL)? I have the fields EQUNR and GERNR but I cannot assign the documents to a business partner.
    Regards,
    Michael

    Hi,
    You can surely get GPART and VKONT from DFKKOP table for the relevant OPBEL.
    Thanks,
    Vimala P

  • 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.

  • How to get Contract Account Number in Service Ticket

    Hi Experts,
    How to get Contract account number in Service Ticket, we are working in ISU environment. when i create the service ticket the contract account number is there in Business agreement number field in service tiket.
    Can anyone tell me how to retrieve that field.
    Answer will be appreciated.
    Praveen

    check tables tfk_buag_ref and fkkvkp

  • ISU Contract Parner with no SD Customer in ECC

    Hi All
    We have a scenario where ISU Contract Partner was created without a corresponding SD reference customer when the data was migrate from legacy. EMIGALL created entries only in BUT000 table, but none in KNA1 and corresponding SD customer tables.
    We are now integrating ISU with CRM. As CRM initial download requires a sold-to-party in ECC, I wanted to know  the options we have for creating SD customer for each of the ISU contract partner record.
    Can any one please guide me ?
    Thanks in advance...
    Ram

    Follow this Procedure... it works....
    Procedure
    1. Review the number ranges that have been created: The number ranges for the business partner in the Best Practices are defined as follows:
    IMG u2192 Cross Application Components u2192 SAP Business Partner u2192 Business Partner u2192 Basic Settings u2192 Number Ranges and Groupings u2192 Define Number Ranges
    01: The Regular business partner uses this number range: 2100000000 to 2199999999 and 03: 7100000000 to 7199999999 is used in the setting above for the ship-to party. Both are internal number ranges.
    XX is the external number assignment used to create the SD reference customer.
    2. The account group DEBI must temporarily be assigned to this external number assignment for the creation of this business partner:
    IMG u2192 Financial Accounting u2192 Accounts Receivable and Accounts Payable u2192 Customer Accounts u2192 Master Data u2192 Preparations for creation customer master data u2192 Assign Number Ranges to Customer Account Groups:
    Set account group: DEBI to external number range XX for the Business Partner creation step.
    3. Create an SD customer:
    Call transaction XD01: Easy Access u2192 Logistics u2192 Sales and Distribution u2192 Master Data u2192 Business Partner u2192 Customer u2192 Create u2192 Complete
    u2022 Select account group: Customer (general)
    u2022 Enter the Customer key: MUST_ALL
    u2022 Enter company code (1000)
    u2022 Enter sales area as follows:
    u2022 Sales organization: 1000,
    u2022 Distribution channel: 01
    u2022 Division: 10.
    u2022 Select Continue.
    Assign MUST_ALL in Master data>bp>settings for creating standard customers.

  • CRM Tables or Function Module in SAP CRM related Contract Account ot MPAN no.

    Hi Team,
    Could you please tell me  Any table or Function Module in CRM which is related to Contract Accont or MPAN Number( ISU).
    My Query is- Just I want to confirm that Data are exist in CRM system on the  basis of Contract Account or MPAN Number.
    Regards,
    Arif 

    Hi Mohd,
    Table for Contract Account in CRM is Business Agreement Table CRMM_BUAG & CRMM_BUAG_H
    To get the BP linkage CRMV_BUAG_ATTR
    Regards,
    Naresh

  • IS-U contract account field under R/3 quotation side

    Dear Friend,
    As I have a requirement called IS-U contract account field should be available in R/3 quotation side.
    what is the configuration for this, and I did the config for IS-U and SD side integration(reference field under FPP1), but the contact account field is not available.
    Can you please help me to know this.
    Thanks in advance.

    Hi Alin,
    Thank you for your reply.
    I'll try to explain these in some more detail :
    1/ We have a system landscape which includes ECC/IS-U & CRM
    2/ We have different scenarios active:
    - We have a scenario where IS-U is not involved, meaning SD customers (=ECC customers in the Sales & Distribution Module (KNA1)) are replicated to CRM
    - IS-U business partners are replicated to CRM. But not all IS-U business partners have an SD customer record active. When billing needs to be done for such a customer, an SD customer is created for this ISU business partner (from within ISU), using a reference customer in SD. Apparently this also seems to trigger a SD customer create sent from CRM which causes our problem ...
    There is no master system. Business partners can be created both in ISU and CRM, and should the be replicated in the other system
    Hopefully this clarifies it for you.
    Thank you very much in advance!!
    Michiel

  • 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

  • Tax Exemption for a Contract Account

    Dear Experts,
    A tax is raised during invoicing of electricity bill for all Contract Accounts. I have a requirement where I have to exempt tax for some Contract Accounts. The tax code has been defined in IMG in Financial Accounting.
    When inputting the Tax Code in CAA2 in the Tax Exemption grid, I get the error message - 'Enter a valid tax procedure' .
    Have I missed a Config?
    Kindly advise
    Malini

    Dear Richa,
    Find below the configuration done:
    1) Financial Acctg >>Fin Acctg Global Settings >> Tax on Sales/Purchases >> Calculation >> Define Tax codes for sales/Purchases>> Define Tax code
    2) Financial Acctg >>Fin Acctg Global Settings >> Tax on Sales/Purchases >>Basic Settings >> Check Calc Proc >>
       (a)Define Cond type (b) Define Proc
    3)  Financial Acctg >>Fin Acctg Global Settings >> Tax on Sales/Purchases >>Basic Settings >> Check & Change settings for Tax Proc
    4) Financial Acctg >>Fin Acctg Global Settings >> Tax on Sales/Purchases >> Postings >> Define Tax Acc
    5) Financial Acctg >> Contract Acc Receivable & Payable >> Basic Functions >> Doc >> Maintan Doc Assignment >> Maitain Transanction for ISU/IST > Define Acc Assignment for Auto Posting >> Auto GL Acc Determination >> ISU Define Acc Assignement Data Relevant to Transaction
    6) Financial Acctg >> Contract Acc Receivable & Payable >> Basic Functions >> Postg & Doc >> Doc >> Define Acc Assign >> Auto GL Determination >> Define Acc for Sales & Purchases Tax
    7) Financial Acctg >> Contract Acc Receivable & Payable >> Basic Functions >> Postg & Doc >> Doc >>  Maintain Doc Assign >> Define Sales/Purchases Tax Determination
    Have I missed something?

  • 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

  • Configuration settings for Contract account create\change\display transacti

    Hello all,
    Does any one know IMG path for settings for contract account related activities (Tcode - caa1\caa2\caa3). We have 2 systems of SAP ISU. One system shows various fields blocks under 'General data' tab like 'Account management data', 'contract account remarks', 'invoicing', 'associated work activity' while other system only shows 'Account management data' and 'associated work activity'  that too with very less no of fields in there.
    Is it because of any functional settings through IMG or is there any other reason?
    Regards,
    Abhi

    Hi ,
    In IMG there is a setting where in you can make settings for the fields of activities like contract account create , change , display .
    Following is the navigation for the same .
    SPRO - Financial accounting ( new ) - Contract accounts receivable and payable - basic functions - contract accounts - field modifications - configure field attributes per activity .
    Here you can make the necessay settings for your activities as to you want to make the field as hide , display , mandatory etc.
    Secondly , in case of authorizations - System checks for following Auhtorization objects ;
    F_KKVK_BUK - For  co code .
    F_KKVK_VKT - Contract account type .
    F_KKVK_BEG  - Aurhoization group in contract account .
    E_REGIOGRP - Regional structure group .
    do revert back in case of anyother issues .
    Regards ,
    Dewang T.

Maybe you are looking for