11-12-2007 1:34 AM
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
11-12-2007 1:39 AM
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
11-12-2007 4:47 AM
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.