Application Development and Automation 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: 
Read only

Calling Smart Form using Driver Program

bruno_franzini1
Explorer
0 Likes
1,321

Hi, I'm a new ABAP developer. I've recently been studied about Smart Forms and I didn't understand what are the benefits to call a smart form using driver program.

Could anyone help me, please?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,052

Bruno, it works like this.

Lets says you attach a Z output to a sales order which sends the details of the SO to the customer in a PDF format. For this purpose you have developer the o/p using smartforms or scripts. Now there are few configs that you will perform in order to send the PDF to the customer AUTOMATICALLY once the SO is saved. This is done thru the transaction NACE where you will attach the smartform, the o/p, partner function and driver program.

This driver program will get kicked in when the order is saved and will perform the logic and then call the smartform.

Hope this give a little bit better picture.

Vikram.M

3 REPLIES 3
Read only

Former Member
0 Likes
1,053

Bruno, it works like this.

Lets says you attach a Z output to a sales order which sends the details of the SO to the customer in a PDF format. For this purpose you have developer the o/p using smartforms or scripts. Now there are few configs that you will perform in order to send the PDF to the customer AUTOMATICALLY once the SO is saved. This is done thru the transaction NACE where you will attach the smartform, the o/p, partner function and driver program.

This driver program will get kicked in when the order is saved and will perform the logic and then call the smartform.

Hope this give a little bit better picture.

Vikram.M

Read only

0 Likes
1,052

HI Bruno,

In case of smartforms you will find 3 tabs in the left side such as

1)Attributes

2)Form Interface

3)Global Definitions

The form interface is the exact place in which your smartform is linked to the driver program.

The parameters/variables present in the driver program will get reflected in form interface. You will get the PO and SO details in the Form Interface only .Using the parameters from form interface you will process your logic and display the details in smartform.

Thanks,

Kotni Srikant

Read only

bruno_franzini1
Explorer
0 Likes
1,052

Thanks guys, it already helped me to look at Smart Forms by another point of view.