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

smartform

Former Member
0 Likes
384

hi how can i display the data from db in smartform

3 REPLIES 3
Read only

Former Member
0 Likes
362

You have to create a driving program, read the data from the database, and call the function module(generated during the activation of the smartform), send the data to smartform in this FM.

Read only

Former Member
0 Likes
362

Hi,

Refer to the following link:

http://sap-img.com/smartforms/smartform-tutorial.htm

Hope this helps.

Reward if helpful.

Regards,

Sipra

Read only

Former Member
0 Likes
362

hi

good

first of all if the data is coming from differnet tables

then create a structure in the se11 transaction

and in your driver prog fill that internal table accordingly...

and then in the form interface -- tables tab

you have to declare that internal table

itab like zstructure

and put in main window

in that data

give loop here one check box will be ther and tick it

and then

itab into itab

and create the template and divde the template that many parts

as you have the fields

and create that many text elements and display the data..

if it is with in the smartform and you dont have the driver prog

then

declare the structure in the types tab which is availabe in

global declarations

and you can write the program lines there and get the data..

thanks

mrutyun^