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: 

Custom write off error message in CRM UI

former_member199199
Active Participant
0 Kudos

Hi there,

We are using CRM FCC to process FICA write off.

And we have also implemented rules to abort or proceed the process. We are invoking the BRF+ rule from event 5008 and each rule has its own error message that we would want to show the user in UI.

Problem is, the standard FM FKK_CRM_ACCOUNT_WRITEOFF has not given any chance to capture the error message (T_FIMSG) from event 5008.

Has anyone faced this error and was able to tackle this using the standard FM?

Regards,

Bodhisattwa

1 REPLY 1

AmlanBanerjee
Active Contributor
0 Kudos

Hi Bodhisattwa,

The problem is in the FM, FKK_WRITEOFF_VERIFY, where in the Event 5008 is called internally.

However, as you have pointed it out, the export Structure, T_FIMSG, from event 5008 is not available into this FM, as because T_FIMSG is an optional one 

To start with, you can raise an OSS with SAP for the same.

Alternatively, you can enhance (implicit enhancement) the form, openitem_5008_check,in the include LFKAF01, to incorporate the T__FIMSG structure, which you can map into internal table, T_MESSA, of the FM,FKK_WRITEOFF_VERIFY, that ultimately will feed it back to FM, FKK_CRM_ACCOUNT_WRITEOFF.

Hope it helps..

Thanks,

Amlan