0% found this document useful (0 votes)
223 views9 pages

Dunning - Adding CC

This document shows to add recipients to the CC category of a Dunning mail. An Implicit Enhancement inside Function Module PRINT_DUNNING_NOTICE_PDF is made. This enhancement is valid only if Adobe forms are used as Dunning letters.

Uploaded by

fourthsignal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
223 views9 pages

Dunning - Adding CC

This document shows to add recipients to the CC category of a Dunning mail. An Implicit Enhancement inside Function Module PRINT_DUNNING_NOTICE_PDF is made. This enhancement is valid only if Adobe forms are used as Dunning letters.

Uploaded by

fourthsignal
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
  • Summary
  • Enhancement of Function Module
  • Dunning
  • Output

Dunning- Adding CC to e-Mail

Author

: Prasanthi Sridhar
([Link]

Firm

: Fourth Signal (I) Pvt Ltd


Focused SAP Financials Business Solutions

Contact us

: [Link]
[Link]/company/fourth-signal
+91 22 265 11872

Summary
This document shows to add recipients to the CC category of a Dunning mail.
An implicit enhancement inside Function Module PRINT_DUNNING_NOTICE_PDF is
made .
This enhancement is valid only if Adobe forms are used as Dunning letters.

Dunning- Adding CC to e-Mail

Table of Contents
Dunning- Adding CC to e-Mail..................................................................1
Summary.................................................................................................................................1
Table of Contents....................................................................................................................2
Enhancement of Function Module..........................................................................................3
Display Function Module.....................................................................................3
Enhance Form.......................................................................................................4
Implicit Enhancement...........................................................................................5
Code Enhancement...............................................................................................6
Code for Enhancement.........................................................................................7
Dunning...................................................................................................................................8
Output......................................................................................................................................9

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail

Enhancement of Function Module


Display Function Module

T-Code: SE37
1. Enter function module name PRINT_DUNNING_NOTICE_PDF
2. Click on Display

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail

Enhance Form

In function module PRINT_DUNNING_NOTICE_PDF, enhancement is made in form


FILL_PDF_SYSTEM_PARAM
Navigate to the definition of the form by using the Find option

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail

Implicit Enhancement

1.
2.
3.
4.

Select form name


Click on the Enhance button
Right click and choose Enhancement Operations
Choose Show Implicit ENhancement Options

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail

Code Enhancement

1. Towards the end of the form spot where a black arrow points right
2. Right click and choose Enhancement Operations
3. Select Create Implementation
Note: In the custom code , a check is made on the dunning level. Only if the dunning level
is 2 , the dunning mail is cc'ed to another email [Link] cc address is hardcoded here for
testing purpose.

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail

Code for Enhancement


ENHANCEMENT 1 ZFTR_GUAR_CC. "active version
DATA : ls_mail_recip TYPE Somlreci1 .
if IS_T047E-MAHNS = 2 ."dunnig level 2 . "I_MHNK-MAHNS
"
ls_mail_recip-RECEIVER = 'prasanthi1@[Link]'.
ls_mail_recip-REC_TYPE = 'U'.
ls_mail_recip-com_type = 'INT'.
ls_mail_recip-COPY = 'X'.
APPEND ls_mail_recip to Ct_mail_recip .
ENDIF.
ENDENHANCEMENT.

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail

Dunning

T-Code: F150
1. Choose Indiv. dunn. notice
2. Fill in the parameters
Note: The dunning level is 2 for this BP for this particular dunning date

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail

Output

T-Code: SOST
Send the mail in order to check the contents
Note: prasanthi1@[Link] is the hard coded cc address

Fourth Signal (I) Pvt Ltd ([Link])

Dunning- Adding CC to e-Mail
Author
: Prasanthi Sridhar 
  (http://www.linkedin.com/in/prasanthisridhar)
Firm
: Fourth Signal
Dunning- Adding CC to e-Mail
Table of Contents
Dunning- Adding CC to e-Mail..................................................
Dunning- Adding CC to e-Mail
Enhancement of Function Module
Display Function Module
T-Code: SE37
1. Enter function module nam
Dunning- Adding CC to e-Mail
Enhance Form
In function module PRINT_DUNNING_NOTICE_PDF, enhancement is made in form 
FILL_PDF_
Dunning- Adding CC to e-Mail
Implicit Enhancement
1. Select form name
2. Click on the Enhance button
3. Right click and choos
Dunning- Adding CC to e-Mail
Code Enhancement
1. Towards the end of the form spot where a  black arrow points right
2. Right
Dunning- Adding CC to e-Mail
Code for Enhancement
ENHANCEMENT 1  ZFTR_GUAR_CC.    "active version
DATA : ls_mail_recip TYPE S
Dunning- Adding CC to e-Mail
Dunning
T-Code: F150
1. Choose Indiv. dunn. notice
2. Fill in the parameters
Note: The dunning l
Dunning- Adding CC to e-Mail
Output
T-Code: SOST
Send the mail in order to check the contents
Note: prasanthi1@abcd.com  (mai

You might also like