Click on form interface. Click on tables Tab. Provides a name. This table record has to be passed from the driver program while calling the smartform function module. Now click on Global Definitions and provide a structure LS. Provide the table name and the work area name. Create a text under the loop. The below screen appears.
Provide the place holders. Similarly some place holders and then from the Environment get the Function module name. Below is the function module name. Activate the smartform. Create a report program. From the pattern call the smartform function module name.
Change the function module name. Activate the program and Execute the program. Click on print preview. Here we have the smartform output. Step Now click on the Output Options tab and set the position of the text by allotting column number and row number under Output Structure. Now double click on Program Lines and change the name and description of program lines and enter the SQL code to fetch the data.
As created below already. Change the name and description of the template as before. Step Select Pencil icon and create 5 columns as before for displaying the data here.
Step Click on Details and set the height and width of the columns. Change the name and description of the Text. Click on Insert Field button to enter the variable in the page. Step Enter the Work area and field as given below.
Do the same step for the other 4 columns. Step Save and activate the Smartform. Steps for Creating Program and calling above Smartform. Now write the Source Code in the Editor:.
0コメント