Skip to Content
0

WFMC_PREPARE_SMART_FORM NAST sample filling

Nov 07, 2016 at 03:16 AM

75

avatar image

Hi All,

I have a requirement to send smartform via email (using https://archive.sap.com/discussions/thread/2023745).

Can anyone help to provide me the sample data to fill 'NAST' structure?

Thank you.

10 |10000 characters needed characters left characters exceeded

Don't believe everything you see on the internets. First of all, that discussion is 5 years old. Second, these are not even good suggestions.

What are you doing exactly? As far as NAST is concerned, sending output by email is standard functionality that requires no ABAP whatsoever.

0
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Vinita Kasliwal Nov 07, 2016 at 10:18 PM
1

Hi Nico

I am assuming you are trying to create a smartform and then use NAST table so that it gets printed or something like that probably?

As pointed by Jelena you do not need to manually do anything to fill the data in NAST table

I can explain better with an example. Go to Tcode NACE

You will see the driver program in my case RLE_DELNOTE and the smartform as well

You can just replace your smartform here and rest can be taken care by the system automatically If you check in program RLE_DELNOTE it has a PERFORM SET_PRINT_PARAM inside which NAST table is automatically updated whenever some one prints the PDF document and based on what is the output medium maintained for the document it will be sent via email / fax etc..

Incase you need to make some change in logic in the driver program then copy the existing one and then create your own and replace it here and similarly for the smartform as well .

Let me know if that helps

Regards

Vinita


Share
10 |10000 characters needed characters left characters exceeded