Showing posts with label Smartforms. Show all posts
Showing posts with label Smartforms. Show all posts

Sunday, May 12, 2013

How to insert background image in Smartforms?

To insert background image in Smartforms please follow the below steps:

1. Double click on your Page under 'Pages and Windows'
2. Click on the 3rd tab 'Background Picture'
3. Mention all the details of image which you want to insert in Smartforms background.


Saturday, May 4, 2013

How to disable print option in smartforms?

To disable print option change parameter ssfcompop-tdnoprint. User will only able to view the samrtforms.

 DATA: t_ssfcompop TYPE ssfcompop.

       t_ssfcompop-tdnoprint = 'X'.
       t_ssfcompop-tdnoarch  = ' '.
       t_ssfcompop-tdnoprev = ' ' .

  CALL FUNCTION fm_name
    EXPORTING
      output_options     = t_ssfcompop
      p_bukrs            = p_bukrs
      p_kunnr            = p_kunnr
    TABLES
      it_final           = it_final
      so_budat           = so_budat
    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.

Thursday, April 11, 2013

How to create PDF from Smartforms?

Many times end users  come to me and ask to create PDF from Smartforms. So I am going to share a small tips to create PDF from smartforms.

  • Go to your smartforms tcode.
  • Run the report and click print preview.
  • Now write tcode PDF!







  • A popup window will come.
  • Just save it to your local disk.

Thanks
Rizvi

Tuesday, April 9, 2013

How to upload new pictures and logos?

Do the following steps:

Go to TCODE: SE78.













Expand Graphics (for BMP)

















Double click on Bitmap








Enter name of the picture








Select Graphic -->  import
Mention file location



















Go to Print preview (to check logo is aploaded or not)

Enjoy :)

Thanks
Rizvi

Monday, April 8, 2013

How to disable print option in smartforms?


To disable print option change parameter ssfcompop-tdnoprint. User will only able to view the samrtforms.
DATA: t_ssfcompop TYPE ssfcompop.

       t_ssfcompop-tdnoprint = 'X'.
       t_ssfcompop-tdnoarch  = ' '.
       t_ssfcompop-tdnoprev = ' ' .

  CALL FUNCTION fm_name
    EXPORTING
      output_options     = t_ssfcompop
      p_bukrs            = p_bukrs
      p_kunnr            = p_kunnr
    TABLES
      it_final           = it_final
      so_budat           = so_budat
    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
Rizvi :)
UA-40152711-1