cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform Driver Programe

Former Member
0 Kudos

Hi,

I prepared a smart form by changing MEDRUCK into Smartform and doing some modifications, after that when i attach that to the output type in the NACE transaction and executing the corresponding transaction it was giving errors as Open form and Write form statements were not found .,

in the attachment i had not changed the driver program ,

please claify me weather i should copy that driver programe and do the modifications for that ? ?

thans and regards.,

P.Prasanth

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

wat i am getting is like , earlier ur std. form was a sap script and that driver program is written for that ,

Now u created a Smart form for fulfilling ur requirment, but using same driver prg., sure it will not work.

what i can suggest u that take that std. sap script in z-form,

do ur changes in that as required and assign that to driver prg., insted of creating new driver prg for ur SF , becoz accuracy of std. driver prg. will be more then z-prg.

if u have to hide some values from display ,then just made changes in SAP script only, but if u want some new info. to display on script then u have to make change in driver prg. also

reward if helpful.

Answers (1)

Answers (1)

Former Member
0 Kudos

Yes, you will have to do modifications (a lot) to the print program. Smartforms use a FM instead of write_form calls. Because of that, you may have to restructure the way the data is being sent to the form (all data is sent at once instead of one line item at a time).

Davis

Former Member
0 Kudos

As Davis mentioned you need to write the driver program..

Go through sample SAP Smartform Programs..

There are good examples in SDN with detailed explanation. How to create a smartforms and execute it through program..

Thanks,

Chaitanya K