cancel
Showing results for 
Search instead for 
Did you mean: 

Trigger invoice smartform without output

Former Member
0 Kudos

Hello,

I would like to trigger an invoice smartform without using output type.

This because it should be triggered from another Application.

I have the invoice number, Mail receiver and Mail subject.

From this I would like to trigger the known smartform in the system for sending this as PDF attachment on Mail.

I have no problem triggering the smartform, but it has no data.

What is the easiest way to solve this?

Accepted Solutions (0)

Answers (2)

Answers (2)

varun_maharshi
Active Participant
0 Kudos

You can call the subroutine pool driver program and form through your code.

Step 1: Populate the NAST, TNAPR for the output.

Step 2: Call

perform (tnapr-ronam) in program (tnapr-pgnam) using returncode

                                                          us_screen

                                                          if found.

It might work. If it needs some other attributes refer RSNAST00 program on how to populate them

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Please, see these notes

SAP Note 49174 - NAST: VF01 Replacement of symbols does not work

SAP Note 454893 - CHECKLISTSD: Sales document output as an e-mail

SAP Note 753622 - Sending of body text and PDF attachment with medium 5

SAP Note 960088 - FAQ: Sending SD messages externally

and related notes

I hope this helps you

Regards

Eduardo