Smartforms doubt

Hi,
In smartforms when we enter a text element in a window, and if we underline it, then the underlined part shifts up a bit. How do I avoid it shifting up.

Hi vijay,
to not make the underline to shift up try to define the line spacing in the character format or paragraph format to be equal to -0.2 atleast.
try this out an probabaly it should work out.
or
u can use a template in which u define a text element and for this template enable the line with for this template window.
hope for the best
venugopal

Similar Messages

  • Smartforms doubts

    1.HOW TO USE IF CONDITIONS IN SMARTFORMS?
    2.HOW TO DRAW BOXES IN SMARTFORMS
    I TRIED TO DRAW BOX WITH FOLLOWING
    POSITION  XORIGIN 5 CH YORIGIN 12 LN
    SIZE WIDTH 15 CH HEIGHT 2 LN
    BOX FRAME 10 TW INTENSITY 10
    DONT KNOW WHY ITS NOT WORKING
    3.How can I make the Smartforms to display a print preview by default without displaying the popup for print parameters?I CAME TO KNOW THAT I SHOULD GIVE OUTPUT_OPTIONS AS PRINTER NAME IN SSF_OPEN,BUT DONT KNOW HOW TO DO THIS.TRIED GIVING BOTH SSF_OPEN,SSF_FUNCTION_MODULE_NAME,BUT NOT WORKING.
    THANKS A LOT

    hi gopi,
    1.For boxes in sf-Create a window node in the navigation tree of the Form Builder.
    If you create the window in the Form Painter using the context menu, you can use the mouse to position it immediately.
    Enter a unique name for the node and a description (for example, booked flights).
    On the General Attributes tab select a window type. The window types Copies Window and Final Window are secondary windows with additional attributes. See also: Processing Windows

  • Smartform Doubt

    Hi,
    I developed a Smartform to replace the Standard SAP Script and assigned it in NACE for a particular Output type FUCO (Certificate of Origin), the corresponding standard program RVADAUS1 and its Function pool SAPLZTV55E was also copied to a 'Z' program and has been assignd in the NACE.
    But when i give the issue to output in vf02 and select the output type my smartform is not getting detected and i am not getting the print preview.
    Any suggestions and help will be highly appreciatable.
    Thanks
    Kumar

    Hi,
    The issue was we have to change the PERFORM parameter in the Function module RV_EXPORT_DOCUMENT_PRINT and the filed name that is being passed to that particular Perform.
    Intially it will be like this.
    PERFORM print_document_fuco USING false
                              program-fonam
                              print_options
                          CHANGING sav_subrc.
    We have to change it to.
                PERFORM print_document_fuco USING true
                                          program- sform
                                          print_options
                                      CHANGING sav_subrc
    Because it checks for the filed FONAM in the Table TNAPR which refers to the SAP Script, we have to change it to SFORM which will be refering to the SMARTFORM in the PERFORM statement.
    Thanks for all those who spend time in giving suggestion to me.
    Thanks.
    Kumar.

  • Smartforms doubts--more than one table

    Hi Experts,
    I have to create one Smartforms having 2 tables in a different-different position.
    I know, we can create only one main window.  how we can cretae 2 tables whose data can flow for next page also and which window we will use for those tables.
    Regards
    Mohit

    You Can have more than two tables in the main window, but in the preview the two tables will not appear side by side. Bcoz, after executing the first table only, the next table data comes in the other window.
    solution:
    Create a New window (make it as another main window) arrange main1 main2 windows besides.
    create a table in new main window and text element, execute the driver program. it will work, make sure the table width should match the main window width other wise you will get error,
    Thanks
    Ravi

  • Smartform Doubt... Page protection

    hi frnds,
    i am working on PO smartform. i have changed the standard smartform according to client requirement. here i have placed one footer window size is 6 CM. this should come on last page only i.e. after end of all items of PO. for this i fixed main window before this footer window. assume that Paper size is 29 CM. here i have placed main window till 23 CM after that i have placed footer window ie from 23 to 29 CM. for printing data under footer window i have used command AFTER END OF MAIN WINDOW. this is working fine.
    here suppose if the PO having 5 pages of data then in first 4 pages i am wasting 6 CM on bottom. in the last page i am printing footer window.
    but the client was not accepting wasting of 6 CM on each page. he was asking to pull the main data till end of each page then display the footer window on last page. if the footer window doesnt fit after printing all items then it should go to next page only.
    hope this will be clear for all.
    points will be rewarded for helpful answers.
    regards,
    Balu

    HI,
    1. OK, extend the main window to the end of page which meets ur rewuirement.
    2. place the footer window on the page ( even it overlaps on MAIN window).
    3. click on footer window and go to CONDITIONS tab.
    there in Output COnditions:
    write a condition like:
    SFSY-PAGE = SFSY-FORMPAGES
    and select at the end of MAIN window check box.
    hope it helps..
    Regards

  • One doubt in smartforms

    Hi Group
    I have one doubt in smartforms. I have following requirement.
    I want to print 14 labels on one A4 size page using smartforms. Can somebody please tell me how to go about it.
    Please reply ASAP as it is a bit urgent requirement.
    Thanks & Regards
    Deepti

    hi Deepti,
    Check out the thread
    Re: LABEL Printing in SMART FORMS
    Re: Goods Receipt Label
    Regards,
    Richa

  • Doubt in smartform table control

    hi,
      in my smartform i want to display the table control, i got that normal table control, but i want to change the table control format, that means in write side in the tabs column no need of calculation i need event tab, how to make that?
    Thanks and regards,
    Gowri.

    Hi Gowri,
    You cannt display Table control in smartform output. As it is reporting tool. Not Dialog Module.
    In data tab of table control you can have events.
    Reward if useful.

  • Doubt in Smartforms Table

    Hi Experts,
    In Smartform I am having a table in which data is coming at runtime more than a page  and have to sum the column fields and to display at the end of the table.At the bottom of every page the table column lines look unfinished..How to put a line at the bottom of the table for every page.
    thanks,
    Yoganand.G

    Hi,
    Declare the table window in a TEMPLATE. Now declare the new line type which you would like to print at the end of the table on every page. So place this window below the table. Also put a condition like, when table window is displayed with some data, then print this line type, otherwise neglect it.
    Regards,
    Santhosh.

  • Doubt in smartforms

    hi all
    i need to declare an internal table in the smartforms( but not in tables of form interfaces) ...... where i can declare an internal table and how ....
    thanks in advance
    sharath

    HI,
    you can declare using path
    GLOBAL DEFINATIONS-->INITILIZATION tab
    there you can declare you internal tables.
    Regards,

  • Smartform to pdf conversion Doubt

    Dear Expert
    i'm refering the below code to convert smartform to pdf in module pool program i have created two pushbuttons one for preview and one for edit, if users edit the values it will store in ztable and then they want to preview that changes in form but its not happening its showing old values only i tried to free the container and cleared the data and url values but still same this how to rectify this can some one hlep me out,
    FIELD-SYMBOLS <FS_X> TYPE X.
    INITIALIZATION.
    LS_CONTROL_PARAM-GETOTF = 'X'.
    LS_CONTROL_PARAM-NO_DIALOG = 'X'.
    START-OF-SELECTION.
      CALL FUNCTION '/1BCDWB/SF00000034'
    EXPORTING
    *    ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
         CONTROL_PARAMETERS         = LS_CONTROL_PARAM
         P_VBELN                    = P_VBELN
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
    *   OUTPUT_OPTIONS             =
    *   USER_SETTINGS              = 'X'
    IMPORTING
    *      DOCUMENT_OUTPUT_INFO  = L_DOCUMENT_OUTPUT_INFO
           JOB_OUTPUT_INFO       = L_JOB_OUTPUT_INFO
    *      JOB_OUTPUT_OPTIONS    = L_JOB_ OUTPUT_OPTIONS
    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.
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          FORMAT                = 'PDF'
        IMPORTING
          BIN_FILESIZE          = PDF_FSIZE
        TABLES
          OTF                   = L_JOB_OUTPUT_INFO-OTFDATA
          LINES                 = LT_PDF
        EXCEPTIONS
          ERR_MAX_LINEWIDTH     = 1
          ERR_FORMAT            = 2
          ERR_CONV_NOT_POSSIBLE = 3
          OTHERS                = 4.
    * convert pdf to xstring string
      LOOP AT LT_PDF INTO LS_PDF.
        ASSIGN LS_PDF TO <FS_X> CASTING.
        CONCATENATE LV_CONTENT <FS_X> INTO LV_CONTENT IN BYTE MODE.
      ENDLOOP.
      CALL SCREEN 100.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
    *  SET PF-STATUS 'xxxxxxxx'.
    *  SET TITLEBAR 'xxx'.
      CREATE OBJECT G_HTML_CONTAINER
        EXPORTING
          CONTAINER_NAME = 'PDF'.
      CREATE OBJECT G_HTML_CONTROL
        EXPORTING
          PARENT = G_HTML_CONTAINER.
    * Convert xstring to binary table to pass to the LOAD_DATA method
      CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
        EXPORTING
          BUFFER     = LV_CONTENT
        TABLES
          BINARY_TAB = LT_DATA.
    * Load the HTML
      CALL METHOD G_HTML_CONTROL->LOAD_DATA(
         EXPORTING
           TYPE         = 'application'
           SUBTYPE      = 'pdf'
         IMPORTING
           ASSIGNED_URL         = LV_URL
         CHANGING
           DATA_TABLE           = LT_DATA
         EXCEPTIONS
           DP_INVALID_PARAMETER = 1
           DP_ERROR_GENERAL     = 2
           CNTL_ERROR           = 3
           OTHERS               = 4 ).
    * Show it
      CALL METHOD G_HTML_CONTROL->SHOW_URL( URL = LV_URL
        IN_PLACE = 'X' ).
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    Regards,
    Thirukumaran. R
    Edited by: thirukumaran rajendran on Jun 9, 2010 3:19 PM

    hey,,
      U can use 'RSTXPDFT4'

  • Doubt in Smartforms - how to display multiple  sale document no. in s

    Hi guru's,
            I need sample code like print program and Smartform download  for multiple 'Vbeln' sale order document no.
    Please help me
    Rewards for helpful sample code.
    Regards,
    Rajiv Christopher.

    You can use the next query:
    Select o.DocNum
    From DLN1 d
    Join ORDR o On o.DocEntry=d.BaseEntry and d.Linenum=0
    Where d.DocEntry=$(INV1.BaseEntry)
    (You should replace the ')' with '']' and the '(' with  '[')
    But this is usable only when the user derives the invoice from one delivery and the delivery from one order.

  • DOUBTS IN SMARTFORMS

    1.
    CAN ANY ONE TELL ME HOW TO USE COPIES WINDOW ACTUALY WHERE DO U PLACE THIS WINDOW IN SMARTFORMS.
    2.
    IAM NOT ABLE TO DISPLAY
    MULTIPLE DATA IN SECONDARY WINDOW
    WHY THIS IS NOT POSSIBLE.
    3.
    HOW TO SEND AND RECIEVE MAIL IN SMARTFORMS
    IS THERE ANY CODING FOR THIS PLZZ TELL ME.

    Hi Harsh,
    Check below link for copies window in Smartforms
    http://www.****************/Tutorials/Smartforms/Copies/Window.htm
    Best Regards,
    Brijesh

  • Doubts in smartforms plz provide smartform notes imp topics

    hi experts
    i am new to smartforms some interviews they are asking about smartforms could plz tell me imp topics in smart forms and send good notes to create smartforms from scrach, some imp faq's.
    my mailid is [email protected]

    hi Prasanna,
    SmartForms : some links
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVSCRSF/BCSRVSCRSF.pdf
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://help.sap.com/saphelp_46c/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
    http://help.sap.com/printdocu/core/Print46c/en/Data/htm/english.htm
    http://www.sap-img.com/smartforms/smart-001.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sap-img.com/smartforms/smart-002.htm
    http://www.sapgenie.com/abap/smartforms.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm

  • Hi Doubt in Smartforms

    1.In smartform when i execute the driver program , printpreview window is coming asking u to give LP01,LOCL....etc , how to Deactivate that window .

    Hi,
    This sample code is an example of calling the smartform without dialog.Kindly reward points by clikcing the star on the left of reply,if it helps.
    *& Report  ZZZ_JAYTEST1                                                *
    REPORT  zzz_jaytest1 NO STANDARD PAGE HEADING MESSAGE-ID zhrt.
    Variable Declaration
    DATA : v_form_name TYPE rs38l_fnam,
           itab TYPE STANDARD TABLE OF pa0001,
           w_ctrlop TYPE ssfctrlop,
          w_compop TYPE ssfcompop,
          w_return TYPE ssfcrescl.
    SELECT * FROM pa0001 INTO TABLE itab UP TO 5 ROWS.
    SORT itab BY pernr.
    DELETE ADJACENT DUPLICATES FROM itab COMPARING pernr.
    DATA: control TYPE ssfctrlop,
    control_parameters TYPE ssfctrlop,
    output_options type SSFCOMPOP.
    control-preview = 'X'.
    control-no_open = 'X'.
    control-no_close = 'X'.
    control-no_dialog = 'X'.
    control-device = 'PRINTER'.
    output_options-tddest = 'LOCL'.
    OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
    CALL FUNCTION 'SSF_OPEN'
    EXPORTING
       USER_SETTINGS            = ' '
       OUTPUT_OPTIONS           = output_options
       CONTROL_PARAMETERS       = control
    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.
    output_options-tddest = 'LOCL'.
    OUTPUT_OPTIONS-TDNOPRINT = 'X'.
    OUTPUT_OPTIONS-BCS_LANGU = SY-LANGU.
    CALL FUNCTION '/1BCDWB/SF00000066'
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
       CONTROL_PARAMETERS         = control
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
       OUTPUT_OPTIONS             = output_options
       USER_SETTINGS              = ' '
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            = w_return
      JOB_OUTPUT_OPTIONS         =
      TABLES
        itab                       = itab
    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.
    CALL FUNCTION 'SSF_CLOSE'.

  • Doubt in smartforms and script

    normally when we want to activate previous versions of report
    we get form version management and we can activate previous
    versions but how can be we activate previous versions of smartforms and script.please help.

    Hi Krishna,
    Please check the below threads,
    Version management  in  smartforms ?
    Re: Version Management in smartforms
    how can we revort the smartform previous version
    Best Regards.

Maybe you are looking for