2009 Mar 06 10:24 AM
Hi all,
Is't possible to use Select-options in smartforms, If so how to use.
Regards
Suprith
2009 Mar 06 10:31 AM
Hi,
yes it is possible
1 Create a Structure ZSELECTION in SE11 with following fields
SIGN
OPTION
LOW
HIGH
This structure is similar to the selection-option internal table.
2 In smart form u2018ZSELECT_FORMu2019, create an entry in to TABLES in the Form Interface.
3 Define Structures in TYPES tabs in GLOBAL DEFINITIONS
4. Do the global declartation
5 go to mainwindow
create-->Flow logic -
> program lines
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.
loop the internal table
wite the printporam
Thanks & Regards
Ramakrishna Pathi
then provide the input and output parameters
Hi all,
Is't possible to use Select-options in smartforms, If so how to use.
Regards
Suprith
2009 Mar 06 10:26 AM
HI
you can not create a select-options in smartform but alternatively you can create two parameters in interface of smart form, one for lower range and other for upper range and then you can use them in smartform.
Regards
RajneshD
Edited by: Rajnesh Dharmat on Mar 6, 2009 3:56 PM
2009 Mar 06 10:28 AM
Hi,
Suprith, are you talking about the select options for the driver program? If so then you can use select options
in the driver program. The data retrieval will be done on your select options and then it will be used to display
in the smart forms.
Edited by: Amit Biswas on Mar 9, 2009 11:03 AM
2009 Mar 06 10:30 AM
2009 Mar 06 10:31 AM
Hi,
yes it is possible
1 Create a Structure ZSELECTION in SE11 with following fields
SIGN
OPTION
LOW
HIGH
This structure is similar to the selection-option internal table.
2 In smart form u2018ZSELECT_FORMu2019, create an entry in to TABLES in the Form Interface.
3 Define Structures in TYPES tabs in GLOBAL DEFINITIONS
4. Do the global declartation
5 go to mainwindow
create-->Flow logic -
> program lines
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.
loop the internal table
wite the printporam
Thanks & Regards
Ramakrishna Pathi
then provide the input and output parameters
2009 Mar 06 10:34 AM
Hi,
Following information helps you.
you have to define a structure which consists of fields sign,option,low,high and use that structure for reference in your smartform in form interface.
2009 Mar 06 10:34 AM
Hi,
to execute a smartform we need a driver program.
i.e. program developed in abap editor,
so as you create select option in other program in abap editor same is here.
in that editor we call the smartform and provide the input parameter for getting the output.
there are a lots of post available in sdn , please refer that.
regards
vijay
2009 Mar 06 10:35 AM
Hi,
You can use select-options to be used in smartform on selection screen of the driver program.
Hope this helps you.
Regards,
Tarun
2009 Mar 06 10:35 AM
2009 Mar 06 10:39 AM
hi,
you can create selection option *in the driver program * of Smartforms
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS : S_MATNR FOR MARA-MATNR .
SELECTION-SCREEN END OF BLOCK B1.
Thanks
Arun
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |