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

smartforms trigerred through T-code

Former Member
0 Likes
659

Hi ALL!

I have to develop a smartform which will be attached to VA02,I will develop a new layout and the driver program for it.The transaction VA02 will call the smartform for which the driver program is configured using V/40 transaction.In this case the driver program will not be executed to run the form instead the transaction VA02 will be calling the smartform.

How will i proceed to do the coding,i came to know that i can't use internal tables for this to retrieve data.

Is there any other way to do this.Please help

Thanks in advance

Prasan

1 ACCEPTED SOLUTION
Read only

sreekanthgo
Contributor
0 Likes
607

Hi Prasanna,

Using NACE transaction -> Output Types -> Processing Routines, you can attach a Smartform and a Driver program.

Using that, when you run a transaction it will call those programs and gives the output.

If the Driver program is an SAP standard one, you cannot change it, instead you can copy the same and change the needed things and can attach the same driver program to the VA02 transaction using the above given steps.

If you have given any standard program as driver program and asked to use the same, you can declare an internal table in the smart forms and can get the data into the internal table using the PROGRAM LINES.

Please feel free to ask me if you need any further help.

Thanks,

Sreekanth

4 REPLIES 4
Read only

Former Member
0 Likes
607

Hi,

For the smart form also there is driver program.There is a SAP standard smartform for the Sales Order.You can just copy the smart form & the driver program to a Z program & then modify to suite the changes.

Read only

Former Member
0 Likes
607

Hi,

you can assign Samrtforms and Driver program to an Output.

Use T.code "NACE" you can aassign a Smartform and a Driver program to output type

If you don't want to print smartfprm for some of the Output types/Tcodes.

Use If conditions in Driver program.

you can copy SAP Standard Sales Order form :/SMB40/SDORC_ES to a Zsmartform.

This may help u:

http://www.sapgenie.com/abap/smartforms_detail.htm

Message was edited by: Lanka Murthy

Message was edited by: Lanka Murthy

Read only

Former Member
0 Likes
607

Hi,

You can write the new Driver Program and also the new Layout, this will be configured by the fucntional people, either you can use the copy of the Standard Driver Program and change it or write the new one, here you can use the Internal tables, there is no restircion for this... if the function people do the config then that will be run perfectly

Regards

Sudheer

Read only

sreekanthgo
Contributor
0 Likes
608

Hi Prasanna,

Using NACE transaction -> Output Types -> Processing Routines, you can attach a Smartform and a Driver program.

Using that, when you run a transaction it will call those programs and gives the output.

If the Driver program is an SAP standard one, you cannot change it, instead you can copy the same and change the needed things and can attach the same driver program to the VA02 transaction using the above given steps.

If you have given any standard program as driver program and asked to use the same, you can declare an internal table in the smart forms and can get the data into the internal table using the PROGRAM LINES.

Please feel free to ask me if you need any further help.

Thanks,

Sreekanth