Skip to Content
author's profile photo Former Member
Former Member

Send smartform pdf in email only when email configured otherwise print it

Hello,

We are making customized program of RLB_INVOICE because of some requirement. we are also printing a smartform with this program in an output type with NACE settings. One of new requirement says that we need to send smartform as pdf in email only for those customers whose email id is maintained in customer master table and in this case, printing is not needed. For rest customers whose email id is not maintained, we need to only print the smartform. I know the FM in which we can convert smartform as pdf and then call another FM which send pdf as email with mail body and subject,

I just need to know how we can achieve this requirement in code. Are there any settings to be done in NACE t-code as well?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 12, 2015 at 08:23 AM

    Hi.

    Please have a look here

    http://saptechnical.com/Tips/SmartForms/NACE/Configuration.htm

    You'll need to define a FORM where you'll create your smartform.

    Hope to help.

    Bye

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 12, 2015 at 07:43 PM

    It's the standard functionality, configuration is called 'Communication strategy'. Google it. No need for any custom ABAP.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.