Hello Vamsi,
<b>SAP scripts and SMARTFORMS - both serve the same purpose.</b>
SMARTFORMS were introduced since the release of SAP 4.7. Earlier to that it was only SAP scripts for designing layouts. SMARTFORMS have few additional benefits in terms designing over scripts.
Now, coming to your questions - Every Script or a SMARTFORM has a driver program. i.e. Smart form/Script has to be called into a program. And this Driver program is in turn assigned to the relevant output type, And the output type is assiged to appropriate level of a transaction i.e. at the header level of an order or invoice etc.
T-code: SE71 is used to design SAP script.
T-Code: SMARTFORMS is used for designing Smart Forms.
To find out whether a script or Smartform is used in any particular case..........you have to look into the <b>Driver program</b> that is assiged to the output type.
Hope this helps..............
<b>REWARD POINTS IF HELPFUL.</b>
Regards
Sai
Add a comment