cancel
Showing results for 
Search instead for 
Did you mean: 

How can I view customer information from SOST report to whom mail was sent to?

Former Member
0 Kudos

Process I have followed:

I run F.27 transaction to send the monthly account statements to customer, I can see the detail of the mails sent to customers from SOST report but a recent requirement has come up and I want to see the detail of customer e.g. Customer Number, Customer Name e.t.c. these details are not visible in SOST report. As I am sending mail to multiple customers hence I can not use the display document feature to view them independently.

In SOST report I can see only the email address to whom the mail was sent to, but how can I see the customer's number or Customer name to whom mail was sent to. Is there any other way to view this detail?

Accepted Solutions (1)

Accepted Solutions (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Insert in the subject the ID for the customer or the name. See SAP Note 1360070 - E-mail function for correspondence for further information

I hope this helps you

Regards

Eduardo

Former Member
0 Kudos

Thanks Eduardo! This works!

Former Member
0 Kudos

Eduardo please tell me one last thing, I want to output the month of the account statement that I am sending in the mail. I am displaying this in C_FINAA-MAIL_BODY_TEXT but the problem is that I cant seem to find the right variable which contains the month. any idea how to access the month? The only date fields found contained the entire date i.e. 2009090120090930

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

It seems it is a range (01.09.2009 to 30.09.2009. Check if it behaves as a range (sing, option, low and high). Use the offset, so month will be if LT_RANGE = '2009090120090930', define LT_MONTH and LT_MONTH = LT_RANGE+2(2) and try to get the name with the function module MONTH_NAMES_GET.

I hope this helps you

Regards

Eduardo

Former Member
0 Kudos

This works! But when I assign C_FINAA-MAIL_BODY_TEXT to a text lets say:

*C_FINAA-MAIL_BODY_TEXT in the process exit 2310*


C_FINAA- MAIL_BODY_TEXT = 'Hello'.


It does not display in the email body, do you know what might be the problem here?

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Follow recommendations in SAP Note 1360070 - E-mail function for correspondence, point 1, define an introductory text.

Regards

Eduardo

Former Member
0 Kudos

I have made my standard text named zsd_email, how do I link it up in the process exit 2310?

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Have you created it with tcode SO10., with the ID FIKO? According the mentioned note, set the name in C_FINAA-MAIL_BODY_TEXT.

Regards

Eduardo

Former Member
0 Kudos

Yes I did it.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Can you share the coding for your function module?

Regards

Eduardo

Former Member
0 Kudos

Eduardo thanks for your reply! I solved the issue

Answers (0)