Вы находитесь на странице: 1из 4

Passing Select-Options to Smart Forms

TechVantage IT Solution & Private Ltd.


By-Shreedhar Apte

http://www.saptechnical.com/Tutorials/Smartforms/SelectOptions/Demo.htm
Step1: Create a Structure ZSELECTION in SE11 with following fields.

This structure is similar to the selection-option internal table.


Step2: In smart form ZSELECT_FORM, create an entry in to TABLES in the Form Interface.

Step3: Define Structures in TYPES tabs in GLOBAL DEFINITIONS.

Step4: In Global Data,

Step5: In program line, write the following code.

Step6: The PERNRS given in the select-option in the driver program is captured in T_SELECT. In program
lines, T_SELECT is input to SELECT query and the results are captured in internal table T_0002. We have to
mention resulted internal table T_0002 in output parameters for further use.

Step7: Now, loop the internal table T_0002 as shown below.

Step8: Create driver program ZSELECT_FORM_REP. Write the following code in report.

Вам также может понравиться