Alternative Option in Smartform
HI,
what is the use of ALTERNATIVE Option in Smartform?
Regards
Sandeep
Hi,
Alternatives are True and False conditions in smartforms.
Right click at the window option, then goto flowlogic and then create an alternative by selecting the Alternative option.
Under Pages and Windows, windows(right-click)->flowlogic->alternative.
Once you click on alternative you will find a true and false button is being created.
In the general attributes tab, you can define the conditions as per your requirement.
Similar Messages
-
Using alternative option in SMART forms
hi,
I have a quick question about using the alternative window in Smartforms.
When the condition mentioned is true, all the objects/windows under the true will be executed. However, when the condition is false nothing gets done. I would expect all the objexcts in the False category to get executed. Can anyone reason this out.
Regards,
Diwakarthe situation is as follows:
If v_x = 'Del' the title of the report needs to be as "Delivery Note", else it needs to be as "Invoice".
So, after coding the condition using the alternative option, i have placed two text elements each under true and false. If V_x is 'Del' i see the title delivery note in the report. however, if i chaneg the value of v_x, i am not able to see 'invoice ' as the title. The output is blank. -
Can we use select options in smartform
can we use select options in smartform if so can any one send me a sample code...
Thanks
bhaskharHi ,
Can u explain why u want to use select options in smartforms . U can try it in program lines .
Its better to use select options in the driver program and fetch data accordingly in the driver program or passing the selected values from select options to the smatfrom and fdetching the data there in smartform .
Regards -
Hi everybody,
can anybody give me clarification that. . . . can we use select-options in smartforms ?
thanks in advance.Hai.
check the links.
http://www.****************/Tutorials/Smartforms/SelectOptions/Demo.htm
http://www.****************/Tutorials/Smartforms/SFMain.htm
Re: smart forms
regards.
sowjanya.b -
Hi all,
Is't possible to use Select-options in smartforms, If so how to use.
Regards
SuprithHi,
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 -
Passing Select option to smartform
Hi All,
Can any one please suggest how to pass values selected in select-options to smartform.
I am aware of the iuse of var-low and Var-high,
bt what if user inputs multiple values?
Also,is there any standard table type of table that is created when we use select-options.so that we can pass this table to smartform while using select options.
Regards,
SangvirBuild in smartform in form interface select option table
and pass the select option table from the program to the
smartform.
to build select option table in smartform you can built
type in global definition tab types.
Then, use it in form interface. -
Alternating option in Display settings ( WEB DYNPRO ALV )
Hi Freinds
in My Webdynpro ALV, in Settings ( Display Settings tab ), In Table design , when i select ALTERNATING options, the alv report is not displaying in zebra format, can u please help me , if i select ALTERNATING option, the output should be display in ZEBRA format
Thanks and regards
Srini KumarSAP Help:
http://help.sap.com/saphelp_nw70ehp2/helpdata/en/4b/5eb70da225584ae10000000a42189c/content.htm -
Showing error in passing select option to smartforms
Dear Friends,
I have done program of passing select option to smartforms. But it was showing errorin Types of Global defination that the flat structure is not allowed. So pls guide me.
Thanks in advance,
PradipkumarHi Pradip,
<li>When you want pass select-option from program to Smartform. You need create one structure in SE11 (data dictionary) and Use that under Form interface ->Tables tab
<li>The structure should have the following fields.
low
high
sign
option
<li>The structures should be same in the program and smartform when that is used as interface.
Thanks
Venkat.O -
The use of folder option in Smartforms ?
Hi ,
What is theuse of folder option in Smartforms ?
Thanks in advance
RKYou use this node to combine inferior nodes to logical groups
The more extensive a form, the less clear the node hierarchy in the tree structure. To avoid this, you can combine related nodes under a folder node. When displaying tables, you can use the folder node to protect multiple table lines against automatic page break (see: Page Protection for Tables).
Nodes assigned to cells of a template can be identified more easily in the tree structure if there is a folder for each line or column.
Depending on the length of time by which the last date for payment has been exceeded, each dunning letter should start with a different introduction. Create a text node containing the relevant dunning letter for each dunning level and specify conditions to print only one of the nodes. In this case, it is a good idea to group the different text nodes together in a folder.
Procedure
Create a node of type Folder in the navigation tree of the Form Builder.
Enter a unique name for the node and a description (for example, cells of the third line).
To assign other nodes to the folder, use Drag&Drop to put them in the folder node or insert new nodes as subnodes.
On the Events tab, you can activate a header and a footer area. For more information, see Printing Tables.
reward points if helpful.......... -
Alternative options for running flash-based software on x86_64 systems
As per the new droppage of the flashplugin for 64bit Arch, what should us 64bitters do?
What are these "alternative options" mentioned in the Arch news?Alternative options to do what? What did you use Flash for?
I often say there are three ways Flash is used on the Internet:
Showing advertisements (I assume you don't want to get those working again)
Video games
Showing video
(did I miss anything?)
What are you trying to do?
EDIT: Also, I think there have been many threads on this topic. The general solution was to use 32 bit Flash in 64 bit Arch. As for me, I just stopped using Flash.
Last edited by drcouzelis (2010-06-23 18:03:45) -
Where can i find the TDTITLE option in smartform
Hi,
I want to pass the subject dynamically when i am sending through the mail so there is a possibility to achieve this by passing the subject to the TDTITLE in output options but i am unable find that option in smartform OUTPUT OPTIONS so can pls tell where can i find the output option in case of smartform
Regards
RaviHi,
The structure for Smart forms Output options is SSFCRESOP.
For Mail options it is SSFCOMPOP, u can find the field TDTITLE in thsi structure.
U can see this in the Source code of the function Module in Importing part
"VALUE(OUTPUT_OPTIONS) TYPE SSFCOMPOP OPTIONAL"
Thanks,
Arunsri
Edited by: Arunsri on Oct 8, 2009 2:34 PM -
Hiiiii,
I am new to smartforms and i need to show range of dates in smartforms.
I am trying in driver prog. n i got correct data in final internal table but cant
fetch correct data using fm in driver prog.
Thank You...Hi,
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
Regards,
DHina.. -
How to use parameter option in smartform program line.
HI all,
how can i give parameter for matnr directly in smartform program line, it wont take gives a dump
i don wanna create a separate driver program for that.
Error in the ABAP Application Program
The current ABAP program "/1BCDWB/SF00000001============FT" had to be
terminated because it has
come across a statement that unfortunately cannot be executed.
The following syntax error occurred in program "/1BCDWB/SAPLSF00000001 " in
include "/1BCDWB/LSF00000001F01 " in
line 539:
"You can only use "PARAMETERS" for programs other than type 1 between B"
"EGIN/END OF SCREEN."
The include has been created and last changed by:
Created by: "SAPUSER "
Last changed by: "SAPUSER "
how can i solved this.
Kavinath B.Hi,
You can not code
SELECTION-SCREEN BEGIN OF BLOCK.
SELECT-OPTIONS selcrit FOR (name).
SELECTION-SCREEN END OF BLOCK.
like this in smartform program line it wont allow
all you have to do is create a driver program
for smartform create a selection screen and call smartform by
n pass variables or internal tables.
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname =
* VARIANT = ' '
* DIRECT_CALL = ' '
* IMPORTING
* FM_NAME =
* EXCEPTIONS
* NO_FORM = 1
* NO_FUNCTION_MODULE = 2
* OTHERS = 3
if sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
I hope it will help u
Ketan.P -
Output device option in smartform
Hi,
I am getting the below error in a program which calls a smartform.
'Output device LOCL is not defined'. As the output device LOCL is not maintained in the system through tcode SPAD, ia m getting this.
My doubt is if i remove the option of giving output device, will it work.
The coding is as follows:
* Set the Parameters of smartform
l_s_ssfctrlop-no_dialog = 'X'.
l_s_ssfctrlop-getotf = 'X'.
l_s_output_options-tddest = 'LOCL'. --------> if I comment this line, will it work without any error as I don't want to print it.
l_s_output_options-tdnoprint = 'X'.
* call FM to get the name of the FM of smart for smart form
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = g_form_name
IMPORTING
fm_name = l_fm_name
EXCEPTIONS
no_form = 1
no_function_module = 2
OTHERS = 3.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CALL FUNCTION l_fm_name
EXPORTING
control_parameters = l_s_ssfctrlop
output_options = l_s_output_options
user_settings = ' '
IMPORTING
job_output_info = l_s_job_output_info
TABLES
g_t_datatab = g_t_datatab
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
Thanks & Regards,
SoumyaHi,
One more doubt if I give the parameter
l_s_output_options-tdnoprint = 'X'. will it prevent the printing of the form generated or is it just to disable the print button in the pop up.
Thanks & Regards,
Soumya. -
How to SELECT-OPTIONS in smartforms
Hi Experts,
I am create the smartform using parameter but req. is need to SELECT-OPTIONS instead of parameter how to use in smartform.
Thanks un Advance.
purnaneelu
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Jun 11, 2009 4:18 PMHi Purnaneelu,
plese try in this way
proior to doing the above thing..in the SMART FORM you have to do the following things first
1)Create a Structure ZSTRUC in SE11 with the required fields.
2)In smart form u2018ZXXXXXu2019, create an entry in to TABLES tab "parametername in the Form Interface.
3)Define Structures in TYPES tabs in GLOBAL DEFINITIONS.
4)Write the logic in the main window "program Lines".
5)Loop the internal table you have used in the smartform. then follow as the below driver program procedure this will solve your problem
tables:<your table from which you are fetching the data>
select-options.
s_<fieldname> for <tablename-fieldname>.
data: fname type rs38L_fname. "this is for the function module name
Start-of-Selection.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = <your form name>
IMPORTING
FM_NAME = fname
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3
*now call the function module which will be generated when you create the smart form, and replace the form name with "fname"
CALL FUNCTION <fname>
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
(or)
call function fname
tables
<the table name which you have used in the FORM INTERFACE parameter name> = <the checking value>
Regards,
Abdul Samad.
Maybe you are looking for
-
Net Price Calculation During Creation of PO with Reference to Contract
Hi, While trying to Create Purchase Order through ME21N transaction , For a line item When Contract and Contract Item is given as Reference then the Net Price of PO is calculated automatically , When Tried to Debug Standard code the Function Module "
-
I am using WIN XP PRO and installed jdk1.5.0_07 as ADMIN. Added jdk1.5.0_07\bin to the right end of lines of both CLASSPATH and path. In the cmd prompt window the javac is not recognized as an internal or external command, operable program or batch f
-
HT4527 How do I transfer all my iPod songs to my new touch iPod
How do I transfer all my iPod songs to my new touch iPod
-
Hi, im holding blackberry z10 from UAE, im not able to see option to update to the new software, please help!!
-
TtStats in 11.2.2.7.0 - there's a limit to snapshot reporting
If you are testing for a specific workload and want to determine database statistics related to that workload you may wish to use just the raw statistics, we tried using snapshots and there is a limit, even pulling 5 minute snapshots on a modern 2 so