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,
    Diwakar

    the 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
    bhaskhar

    Hi ,
    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

  • Select-options in smartforms

    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

  • Select-options in Smartform

    Hi all,
            Is't possible to use Select-options in smartforms, If so how to use.
    Regards
    Suprith

    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

  • 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,
    Sangvir

    Build 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 Kumar

    SAP 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,
    Pradipkumar

    Hi 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
    RK

    You 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
    Ravi

    Hi,
      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

  • Select option in smartforms

    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,
    Soumya

    Hi,
    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 PM

    Hi 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