Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How can i add dynamic value to mail body of dunning form ?

Former Member
0 Kudos


Hi Experts,

I want to add dynamic value to mail body of dunning form. I'm printing mail body by passing standard text to FINAA structure.

Please help me.

Regards,

Ashok.

5 REPLIES 5

michael_kozlowski
Active Contributor
0 Kudos

In standard text you can use symbols like &xyz&. In SO10 you will find in Menu Insert->Symbols.

Former Member
0 Kudos

I'm doing like that but it is not going to print &wa_kna1-name1& along standard text.

Standard Text Name :MAIL

I'm passing  c_finaa-mail_body_text    = 'MAIL'

It is printing only standard text but not &wa_kna1-name1&

0 Kudos

Hi,

for program symbol &wa_kna1-name1& in Form MAIL is there a print-program assigned?

Br

Michael

0 Kudos

Hi,

I'm doing it in ysample_process_1040 custom function module. I'm not doing any coding in print program(i.e. Standard  Program). I'm passing standard text MAIL to c_finaa-mail_body_text .


0 Kudos

Hi,

in SAP Script Form MAIL call a sub to assign value to &wa_kna1-name1&' like this

/: PERFORM get_name1 IN PROGRAM your_main_sub

/: CHANGING '&wa_kna1-name1&'

/:  ENDFORM

-> create get_name1 in INCLUDE for subs of your main program.