SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

BDOCs not triggering on changin Contract Account thrU FM FKK_ACCOUNT_UPDATE

Former Member
0 Kudos

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

1 REPLY 1

raviahuja
Contributor
0 Kudos

Use BAPI_ISUACCOUNT_CHANGE instead.