‎2014 Apr 04 9:50 PM
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?
‎2014 Apr 04 10:10 PM
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
‎2014 Apr 04 10:10 PM
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
‎2014 Apr 04 10:41 PM
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
‎2014 Apr 04 11:27 PM
Thanks guys, it already helped me to look at Smart Forms by another point of view.