on 03-27-2008 3:46 PM
Hi all,
how and where do we have to pass the logic of computation of data fetch, (As to at what condition),
my requirement is that the ebeln entered in select option, has 2 radio button (R1 and R2)
r1 -- > data fetched in DRIVER PROGRAM... (complted)
r2--> data to be fetched in smartform itself..
my questions are, how to pass the select-option value to smartform ??
and
where exactly my condition r2 = 'X' would come and then how would i direct the way to use smartform logic...??
please help, revert back if my question is not clear..
waiting for your reply..
rohan
Hi,
While creating the smartform
In Forminterface-->Import parameters->
create 2 fields (ebeln1,ebeln2) of type ebeln .
These two fields are nothing but "FROM" and "TO" fields of select options.
WHILE passing the values from driver program to Smartform by Fm
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = c_formname_ap
IMPORTING
fm_name = ws_form_fname.
CALL FUNCTION ws_form_fname
EXPORTING
ebeln1 = select-option low value
ebeln2 = select-option high value
control_parameters = device
TABLES
i_final_ap = i_final_ap.
In smartform ->global definition>initialization tab write select stament where ebeln1 ebeln2.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Basically we fetch data in the driver program and pass it to smartform using interface. If we need any minor additional data we fetch directly in smartform itself.
My question is how the user is concerned about where to fetch the data.
Why do we need radio buttons? (Just out of curiousity).
If you want radiobutton values to be passed to smartform, you can use interface of smartform.
Let me know if I understood ur question correctly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
thanks for reply, but it's an internal practice assignments of smartform..not a practical requirement..
and my basic doubt was how to pass the select option range of selection screen to smartform(not by driver logic)..but some inbuilt mechanism in smartform..
i have resolved my problem , by achieving a logic of it..thanks anyways.
rohan
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.