Skip to Content
avatar image
Former Member

Reg:intimation mail

Hi ,

We are working on one development for this we are using exit:MV45AFZZ and written code on it.The logic we have written is when ever the field FPLT:FAKSP is blank at contarct level ,then it should trigger an intimation mail .First time it is triggering mail and even when we go go second and third time and make some change other than field FAKSK again it is triggering mail.How to stop further mails ,it should trigger only when we make change in field FAKSK only .Pls help.

Regards,

Sash .

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Feb 26, 2009 at 11:51 AM

    You will have to write a logic in your ABAP code which would count the numbers if intimation sent for a particular Contract.

    This logic would restirct sending of the intimation only once. Your ABAPer can easily develop this count logic.

    Thanks,

    Jignesh Mehta

    Add comment
    10|10000 characters needed characters exceeded

    • I understand your point. You want to send the intimation mail only once. next time when you change any other data, intimation mail should not be changed.

      For this as I suggested you will have to define a count variable in your ABAP code. The value of the variable would be zero at start.

      Now when system would send first intimation, the value of this variable would become 0 + 1 = 1

      In future when the any changes are done to the document, the system would try to send the intimation again & increase the count variable to 1 + 1 = 2, but your ABAPer would have to write the logic such that intimation mail should be sent only if count in the variable is 1.

      Give this requirement to your programmer & he would do the needful.

      Thanks,

      Jignesh Mehta