Application Development 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: 

Smartform for VL02 transaction

rahulv6
Explorer
0 Kudos

hello all,

I have to create a new smartform label from scratch for Vl01 transaction.I was able to create the basic layout, but I am not able to understand how to declare the tables, variables and the code in the smartform. Do I need to find a user exit and write the code to open read and close the smartform or is there anyother way of doing it.

Please advice me..

Thanks

~V

2 REPLIES 2

naimesh_patel
Active Contributor
0 Kudos

You need to maintain the output type for your Z forms to be attached to it with the VL02.

You can find out the message types for VL02 in the tcode V/34.

Copy the exsisting message type to your message type.. change the name of the form to your z form.. copy the std program which is attached to one of the std message type to Z program and attach it to your message type.

Regards,

Naimesh Patel

Former Member
0 Kudos

Hi,

If you want some additional fields apart from standard smartform then write the code in the Perform and Endperform. After that attach your z smartform to the output type which is associated with VI01 transaction.