Smartform NODIALOG , OTF issue

Hi Experts,
My requirement is to convert Smartform to PDF and download it in local drive. I wanted to suppress the Print option dialog, I have done the coding to suppress it but still the Print Option dialog opens and It asks for Print . If i give print Preview also, When i check the return parameter ( it_jobout1-otfdata[ ]) from Smartform function module , the OTF  data is Empty. I have attached my code below. Please suggest  me what i am missing to suppress the dialog and to get the OTF data in return ?
        v_control_parameters-getotf = 'X'.
        v_control_parameters-no_dialog = 'X'.
        v_control_parameters-device = 'PRINTER'.
  wa_compop-tddest = 'LOCL'.
*TO CALL THE  FUNCION MODULE TO PRINT THE SMART FORMS
        CALL FUNCTION v_fun_name
          EXPORTING
            control_param    = v_control_parameters
            output_options   = wa_compop
           user_settings      = ' '
            is_ekko          = is_ekko
            v_tot            = v_tot
            v_menge          = v_menge
            v_meins          = v_meins
          IMPORTING
            job_output_info  = it_jobout1
          TABLES
            it_tab1          = it_tab1
            it_tab2          = it_tab2
            it_tab3          = it_tab3
            it_hedr          = it_hedr
          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.
        wa_conv_file = it_jobout1-otfdata[].
*TO CONVERT THE OTF DATA TO PDF
        CALL FUNCTION 'CONVERT_OTF'
          EXPORTING
            format                = 'PDF'
            max_linewidth         = 132
          IMPORTING
            bin_filesize          = l_file_size
          TABLES
            otf                   = wa_conv_file
            lines                 = wa_dwld_file_format
          EXCEPTIONS
            err_max_linewidth     = 1
            err_format            = 2
            err_conv_not_possible = 3
            err_bad_otf           = 4
            OTHERS                = 5.
        IF sy-subrc <> 0.
          LOOP AT wa_dwld_file_format INTO wa_tline.
            ASSIGN wa_tline TO <p> CASTING TYPE x.
            CONCATENATE outputx <p> INTO outputx IN BYTE MODE.
          ENDLOOP.
          EXPORT outputx TO MEMORY ID id_itab.
        ENDIF.

Hi Murali,
Very strange. After passing the parameters, the pop up will only come if there are mandatory parameters which are not passed.
I am attaching my complete code below
DATA
       : l_control_parameters TYPE ssfctrlop,
         l_output_options     TYPE ssfcompop,
         l_bin_filesize       TYPE i,
         l_file_name          TYPE string,
         l_text               TYPE string.
  DATA
       : lit_job_output_info  TYPE ssfcrescl,
         lit_pdf              TYPE TABLE OF tline.
  l_control_parameters-no_dialog = c_x.
  l_control_parameters-preview   = c_x.
  l_output_options-tddest    = 'LP01'. "--> Make sure the printer name is correct (Check table TSP03)
  l_output_options-tdnoprint = c_x.
  IF x_pdf = c_x. "--> Based on selection screen input i decide to convert to PDF
    l_control_parameters-getotf = c_x.
  ENDIF.
CALL FUNCTION p_l_form
    EXPORTING
      control_parameters = l_control_parameters
      output_options     = l_output_options
      user_settings      = space
      i_bukrs            = p_l_final-bukrs
      i_gsber            = p_l_final-gsber
      i_butxt            = p_l_final-butxt
      i_gtext            = p_l_final-gtext
      i_budat_from       = g_budat_from
      i_budat_to         = g_budat_to
      it_final           = it_final
    IMPORTING
      job_output_info    = lit_job_output_info
    EXCEPTIONS
      formatting_error   = 1
      internal_error     = 2
      send_error         = 3
      user_canceled      = 4
      OTHERS             = 5.
  IF sy-subrc EQ 0.
    IF x_pdf = c_x.
      PERFORM convert_otf_pdf
              USING lit_job_output_info-otfdata
              CHANGING lit_pdf
                       l_bin_filesize.
    ENDIF.
ENDIF
FORM convert_otf_pdf
     USING p_it_otfdata TYPE tsfotf
     CHANGING p_it_pdf TYPE tline_t
              l_bin_filesize TYPE i.
  DATA
       : lit_docs TYPE TABLE OF docs.
  CALL FUNCTION 'CONVERT_OTF_2_PDF'
* EXPORTING
*   USE_OTF_MC_CMD               = 'X'
*   ARCHIVE_INDEX                =
IMPORTING
      bin_filesize                 = l_bin_filesize
    TABLES
      otf                          = p_it_otfdata
      doctab_archive               = lit_docs
      lines                        = p_it_pdf
   EXCEPTIONS
     err_conv_not_possible        = 1
     err_otf_mc_noendmarker       = 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.
ENDFORM.                    " CONVERT_OTF_PDF

Similar Messages

  • Converting the script and smartforms to OTF and RDI format.

    How to convert the script and smartforms to OTF and RDI format. Please suggest all possible ways.

    Please don't cross-post or duplicate-post.
    It increases the chances that both threads are deleted faster than what it increases the chances of getting "double-good" answers...
    I deleted the other thread.
    Thanks,
    Julius

  • Convert SmartForm to PDF issues

    I am using the following code to convert a SmartForm into PDF.  I got a lot of the code from a Wiki but I have a few issues with it.  The first is that I do not want to display the SmartForm to the user; I want it saved, as a PDF, imediatly.  My other issue is that I get an error when it calls the FM 'CONVERT_OTF_2_PDF'.  The error says: 
    'OTF end command // missing in OTF data'. 
    What does that error mean and how do I fix it?
    Below is my code:
    DATA: d_fname TYPE rs38l_fnam,
          d_object_id TYPE sysuuid_c,
          d_col_name TYPE string.
    DATA: it_otf   TYPE STANDARD TABLE OF itcoo,
          it_docs  TYPE STANDARD TABLE OF docs,
          it_lines TYPE STANDARD TABLE OF tline,
          st_job_output_info      TYPE ssfcrescl,
          st_document_output_info TYPE ssfcrespd,
          st_job_output_options   TYPE ssfcresop,
          st_output_options       TYPE ssfcompop,
          st_control_parameters   TYPE ssfctrlop,
          v_len_in                TYPE so_obj_len,
          v_language              TYPE sflangu VALUE 'E',
          v_e_devtype             TYPE rspoptype,
          v_bin_filesize          TYPE i,
          v_name                  TYPE string,
          v_path                  TYPE string,
          v_fullpath              TYPE string,
          v_filter                TYPE string,
          v_uact                  TYPE i,
          v_guiobj                TYPE REF TO cl_gui_frontend_services,
          v_filename              TYPE string,
          v_fm_name               TYPE rs38l_fnam.
    CONSTANTS c_formname          TYPE tdsfname VALUE 'ZTEST'.
    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
    EXPORTING
      formname                 = 'ZAS_SMF_CFOLDER_RFI'
    *   VARIANT                  = ' '
    *   DIRECT_CALL              = ' '
    IMPORTING
      fm_name                  = d_fname
    * 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 d_fname
    EXPORTING
    *     ARCHIVE_INDEX              =
    *     ARCHIVE_INDEX_TAB          =
    *     ARCHIVE_PARAMETERS         =
      control_parameters         = st_control_parameters
    *     MAIL_APPL_OBJ              =
    *     MAIL_RECIPIENT             =
    *     MAIL_SENDER                =
      output_options             = st_output_options
      user_settings              = 'X'
      i_object                   = d_object_id
      i_col_name                 = d_col_name
    IMPORTING
      document_output_info       = st_document_output_info
      job_output_info            = st_job_output_info
      job_output_options         = st_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.
    *.........................CONVERT TO OTF TO PDF.......................*
    CALL FUNCTION 'CONVERT_OTF_2_PDF'
      IMPORTING
        bin_filesize           = v_bin_filesize
      TABLES
        otf                    = st_job_output_info-otfdata
        doctab_archive         = it_docs
        lines                  = it_lines
      EXCEPTIONS
        err_conv_not_possible  = 1
        err_otf_mc_noendmarker = 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.
    *..................................DOWNLOAD AS FILE....................*
    v_filename = 'C:/TESTPDF.PDF'.
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
        bin_filesize            = v_bin_filesize
        filename                = v_filename
        filetype                = 'BIN'
      TABLES
        data_tab                = it_lines
      EXCEPTIONS
        file_write_error        = 1
        no_batch                = 2
        gui_refuse_filetransfer = 3
        invalid_type            = 4
        no_authority            = 5
        unknown_error           = 6
        header_not_allowed      = 7
        separator_not_allowed   = 8
        filesize_not_allowed    = 9
        header_too_long         = 10
        dp_error_create         = 11
        dp_error_send           = 12
        dp_error_write          = 13
        unknown_dp_error        = 14
        access_denied           = 15
        dp_out_of_memory        = 16
        disk_full               = 17
        dp_timeout              = 18
        file_not_found          = 19
        dataprovider_exception  = 20
        control_flush_error     = 21
        OTHERS                  = 22.
    IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Regards,
    Aaron

    when calling the function module for the smartform, you will have to add the get_otf parameter of one of your exporting parameters.
    I'm not sure if this is the st_control_parameters or the st_output_options parameter. Look for field get_otf in one of these parameters and mark it like 'X'.

  • Smartform to OTF to PDF attached to an email ERROR

    Hi everyone... I have this problem... I need to send a smartform attached to an email... I'm doing the following:
    - Create the OTF using the smartform function importing job_output_info.
    - Convert the OTF (job_output_info-otfdata) to PDF using CONVERT_OTF_2_PDF.
    - Change the table line's width using SX_TABLE_LINE_WIDTH_CHANGE.
    - Send the email using SO_NEW_DOCUMENT_ATT_SEND_API1.
    Everything seems to be OK. But When I check the PDF file attached in the email and open it, everything there is a mess. The letters are superimposed over each other and the grills are not painted (instead it shows a black block).
    Any ideas how to solve this???
    Thanks a lot!!!

    Try this out..!
    <removed by moderator>
    To convert the script out put to PDF.
    CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF' u201C FOR out put format
          max_linewidth         = 132 u201CFor ASCII format: Number of lines in LINES-TDLINE
        IMPORTING
          bin_filesize          = gv_bin_filesize u201CFile size reference
        TABLES
          otf                   = gt_otf u201CInput table with OTF format
          lines                 = gt_pdf_tab " Output table with target format
    To mail Order in PDF format:
    Data declaration part :
    DATA: gt_reclist TYPE TABLE OF somlreci1, " SAPoffice: Structure of the API Recipient List
           gt_pdf_tab TYPE TABLE OF tline, " SAPscript: Text Lines
           gt_otf TYPE TABLE OF itcoo, " OTF Structure
           gt_objbin TYPE TABLE OF solisti1, " SAPoffice: Single List with Column Length 255
           gt_objpack TYPE TABLE OF sopcklsti1. " SAPoffice: Description of Imported Object Components
    DATA: gv_form_name TYPE rs38l_fnam, " Used to store the function module generated by Smartform
    gv_bin_filesize TYPE i, " Store the file size
    gv_pos TYPE i,
    gv_len TYPE i,
    gv_tab_lines TYPE i.
    DATA : gc_text(11) TYPE c VALUE 'Form Output',
    gc_tst(3) TYPE c VALUE 'TST',
    gc_testing(30) TYPE c VALUE 'Zellar Sales Document'.
    1. Assigning the Description of the object sent in the mail
      CLEAR gs_docdata.
      gs_docdata-obj_name = gc_tst.
      gs_docdata-obj_descr = gc_testing.
    Assigning the email id to Structure of the API Recipient List table
      CLEAR : gt_reclist, gs_reclist. u201C variables used
      gs_reclist-receiver = mail address'. u201CTo whom this mail should go
      GS_RECLIST-REC_TYPE = 'U'.
      APPEND gs_reclist TO gt_reclist. u201C Internal table for storing mail address
    2.Passing the Smart form  text lines to SAP office: Single List with Column Length 255 table ,this logic is used to get all the data into PDF file while you send an attachment through mail..
    CLEAR: gs_objbin, gs_pdf_tab.
      LOOP AT gt_pdf_tab INTO gs_pdf_tab. u201CLoop the content of PDF table
        gv_pos = 255 - gv_len.
        IF gv_pos > 134. "length of pdf_table
          gv_pos = 134.
        ENDIF.
        gs_objbin+gv_len = gs_pdf_tab(gv_pos).
        gv_len = gv_len + gv_pos.
        IF gv_len = 255. "length of out (contents_bin)
          APPEND gs_objbin TO gt_objbin.
          CLEAR: gs_objbin, gv_len.
          IF gv_pos < 134.
            gs_objbin = gs_pdf_tab+gv_pos.
            gv_len = 134 - gv_pos.
          ENDIF.
        ENDIF.
      ENDLOOP.
      IF gv_len > 0.
        APPEND gs_objbin TO gt_objbin. u201CTable contains Single List with Column Length 255 table
      ENDIF.
    3. Filling the details in SAPoffice: Description of Imported Object Components table
    DESCRIBE TABLE gt_objbin LINES gv_tab_lines.
      CLEAR gs_objbin.
      READ TABLE gt_objbin INTO gs_objbin INDEX gv_tab_lines.
      IF sy-subrc = 0.
        gs_objpack-doc_size = ( gv_tab_lines - 1 ) * 255 + STRLEN( gs_objbin ).
        gs_objpack-transf_bin = 'X'.
        gs_objpack-head_start = 1.
        gs_objpack-head_num = 0.
        gs_objpack-body_start = 1.
        gs_objpack-body_num = gv_tab_lines.
        gs_objpack-doc_type = 'PDF'.
        gs_objpack-obj_name = 'ATTACHMENT'.
        gs_objpack-obj_descr = 'test'.
        APPEND gs_objpack TO gt_objpack.
      ENDIF.
    4. Sending the Form Output in the PDF format to email
    data: WK_OBJHEAD TYPE SOLI_TAB.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1' u201Cfunction module used for sending mail
        EXPORTING
          document_data              = gs_docdata u201CAttributes of new document
          put_in_outbox              = 'X'
          commit_work                = 'X'
        TABLES
          packing_list               = gt_objpack u201CInformation about structure of data tables
          OBJECT_HEADER              = WK_OBJHEAD u201CHeader data for document (spec.header)
          contents_bin               = gt_objbin   u201CData which is to be sent as pdf attachment
          receivers                  = gt_reclist  u201Cmailing list
        EXCEPTIONS                                 u201CException Handling
          too_many_receivers         = 1 
          document_not_sent          = 2
          document_type_not_exist    = 3
          operation_no_authorization = 4
          parameter_error            = 5
          x_error                    = 6
          enqueue_error              = 7
          OTHERS                     = 8.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        WRITE 'Sent Successfully'.
      ENDIF.
    Edited by: Thomas Zloch on Jul 16, 2010 10:38 PM

  • Smartform error while issue printpreview in billing

    Hello SAP Consultant...
    Problem: "Graphic cannot be displayed" while choose output type and print preview in billing VF03.
    What I did: I developed one invoice smartform in development and transport to production, working properly.By mistake i deleted development smartform.so i download XML format from PRD system and upload to DEV system.But this downloaded XML form cannot run in DEV system.
    Please give way to solve my problem....as quick as possible

    I hope from SE78 you have not deleted the graphic.
    If it is not deleted then it should show you in your smartform, if you have deleted then b'coz of that you might be getting this error as it may be unavailable.
    Secondly, there is nothing related with Smartstyles concept with displaying graphic.
    Try to give the correct Graphic name in smartform.
    Hopefully, your issue will be resolved. Else, download the graphic from your prd and upload here....
    Chk the name of the graphic which you have given in PRD is same as that in PRD SE78.
    Compare it with DEV.
    Chk the name of the graphic which you have in quality with DEV .
    Hope your issue resolves.
    Thanks,
       M

  • Page Protection in Main window of smartform using Folder issue

    Hi Experts,
    We can fix the page protection issue of records in main window by checking the No Page Break check box at the line type level in a smartform.
    I tried to solve this issue by using the folder option. I created a folder inside the table of a main window and checked the page protection check box. Save and activated the layout. When i tried to add the table to the folder, the check box for page protection was reset to blank.
    Why does this happen? Cant we use page protection inside main window using folder ??
    Thanks

    Hi friend,
    We can do page protection functionality inside table of main window using Folders option. Follow the below steps,
    1. Assume rows are created inside table in a main window, with corresponding line types.
    2. Create a folder named PROTECT inside table, for example in Main area of table.
    3. Just drag and drop your Row(s) into folder PROTECT and simply click page protection check box of the folder PROTECT.
    4. This will help you to add the required functionality using Folders option in smartform.
    Try this and update me in case of any concerns. Hope this will solve your problem.
    Check the attachment also for your reference.
    Cheers...

  • Smartform font spacing Issue when using SAP printer name

    Hi Friends,
    I am facing some spacing issues when printing a form using SAP printer name. If I use LOCL then the output comes perfectly but when I use the SAP printer name the space between characters are getting widened and so the alignment of each column goes wayward. I suspect it could be due to the device type but not sure which seeting controls this. There is a similar problem in the logo as well. When using LOCL the logo comes out good but when using the printer name the quality is not good and becomes pixelised. Have any of you faced similar issues? Can you provide some guidance or pointers for the solution.
    Device type of LOCL : ZSAPWIN
    Device type of SAP printer name :  ZHPLJ5
    CPI is defined in smartform as 10.
    Please let me know if you need more information.
    Thanks,
    Praveen

    Hi,
    This problem occurs because the printer driver for both the printers are different,
    I suggest you use Local printer only or configure any other printer with printer diver in SAP as SAPWIN.
    Regards,
    Bharat.

  • Smartform - Command Node Issue

    Hi Super-Techies,
    I am facing a strange issue in smartform. When I am using a command node to trigger a page, in the main window 1 table needs to get triggered (but it si not triggering). When I try to print the same table without any command node (i.e. in the same page) its working fine and the table data is being displayed.  
    But when I make use of command node to trigger to new page, All other windows are getting executed except the main window table.
    Note; I have made use of 2 tables in main window. Normally 1st table should print, once new page is triggered, 2nd table should print and not the 1st one.
    Can anyone help me out of this strange issue.
    Thanks in Advance,
    Vinit

    Hi Vinit ,
       In order to print data you require upon using command node , you need to display it on a secondary window.
    Steps :
    1) create secondary window .
    2) provide table n related details .
    3) u need not have a main window (optional) ;as data in main window won't be displayed.
    This is the way I resolved the same issue .Hope it helps .
    Thanks & regards,
    Prakrita .

  • Smartform Printing Tray issue

    Hi,
    I have an issue for printing multiple tray. My req is first page nneds to print from TRAY 02 and the second page from Tray 03.
    I configured in the smartform PAGE01 - Output options- Resource name - TRY02 and
                                              PAGE02 - Output options- Resource name - TRY03
    But both the pages printing for the same tray. like tray02.
    Aprat from the resource declaration anything need to do for this?
    Please guide me any one.
    Thanks in advance.
    Vijay.

    Hello,
    Is it a frontend printing? Which device type is used?
    In recent SAPGUI patches, it is possible to map the tray ids via the
    Frontend Options Editor/ tab 'Printer Tray Selection'.
    (see KBA 1704243 about how to access the Frontend Options Editor)
    Please test the following:
    Select the printer model and in "Paper Trays", select "Tray 1",
    in the field "SAP ID" enter the value: 1
    and,
    select "Tray 2", in the field "SAP ID" enter the value: 2
    Do the same for Tray 3, 4...
    After this, please restart SAPGUI and test the printing.
    Regards,
    Wen Peng

  • Smartforms as OTF attachment in SAP inbox

    Hi,
    I need to create a smartform which is directly sent to the SAP inbox of the user as an OTF file.
    Can anyone provide me with the code for this.
    thanks and regards
    Aviroop

    Hi Aviroop
    Check this thread,
    smartform (otf) as pdf and sending as email-attachment
    cheers
    sameer

  • SE63: Smartform Text translations Issue.

    Hi,
    I am working on ECC 5.0 for the first time and having a weird issue with Smartform text translations using SE63. After saving the text translations using SE63, When I change & activate the smartform tranlations are gone.
    Can someone please throw some light on this issue?
    Thanks,
    Rajesh.

    Hi Rajesh,
    Maintain the translations.Then go to smartforms transaction in that particular language's login. Type the name of smartform and from top menu,click
    <b>Smartforms-->Generate</b>. If ur translations are correctly mentained,then it will get generated successfully.Then when u again activate ur smartform u will not lose ur translations.
    But if u change any particular window and activate ur smartform then also u will lose translations for that particular window.In that case u hav to maintain once again,the translations.
    Reward points if this answer is useful.
    Regards
    Rudra

  • Smartform two mainwindows  issue ?

    Hi Folks,
    I have a scenario in SMARTFORM in which i have 3 pages....
    First page is with a main window with a table to display some data.
    Second page is with secondary window with some data in int.
    Third Page is again a different main window with a different table data in it.
    Now my issue is ....Iam unable to call the  page3...
    I tried by General properties of Page2 and giving the next page as Page3 ( not working)
    Tried with command node by gave the GO TO NEW PAGE : PAGE 3 ( not working)...
    Please help me in resolving the issue...
    Thanks in advance..

    Yes sure, you can have only ONE main windows either in SMARTFORMS or SAPSCRIPTS, which are the same but they differ only in the development point of view and for some details even in the graphical point of view since SMARTFORMS are the recent ones used for creating FORMS.
    The other page, are the following data which does not fit just in the first page and they will fit on the NEXT pages with the SAME TEMPLATE you choose on your main window.
    The idea is that you create your template (a 1 page template) and then you can create your logic in order to let you decide what to put as CONTENT in pages, you can put a logic to say "BYE BYE" if the PAGE is the LAST ONE, or you can put "HELLO" if the page is the first one, but in order to achieve that, you must have good practical knowledge in creating SMARTFORMS (in that case).
    So, start writing them and creatin objects within them
    Denis

  • Smartforms duplex (landscape) issue

    Hi All,
    I've develop new smartforms for goods receipt .
    PAGES         PRINT CONTROL            NEXT PAGE
    PAGE1                 --  D                             PAGE2
    PAGE2               -
                              PAGE1
    And for PAGE1 capacity only 10 item lines , and in every GR we found more than 10 item lines.
    So my scenario like that i ve to print PAGE1 with 10 lines and back-back PAGE2 then next 10 lines again and back to back  PAGE2. But because of PAGE2 next page PAGE1 after all completion it give one more page with headings only (blank page).
    So assist me how to sort out this DUPLEX issue.
    -Navin

    Dear Madhuri,
    Try this out,
    1. set the CONTRACT_OFFER next page attribute to CONTRACT_OFFER itself.So evenif the contract_offer main window goes beyond the first page, the same page type will be triggered.
    2. Now at the point where your contract_offer related  information ends in th main window and before the checklist related information starts, use a command node to dynamically set the next page attribute to CHECK_LIST. So at  this point the CHECK_LIST page will be triggered and the CONTRACT data since it is over will not be displayed.
    3. If check_list information also spans multiple pages then set the next page attribute for check_list page to check_list itself.
    Regards,
    Rijuraj

  • Smartforms : T&C issue while printing

    Hi Experts ,
    The requirement : I have print T&C at the back of first page always for a given purchase order .
    What I have achieved : I am able to display T&C at the back of the first page . But this happenes only when I have Purchase order
    line items moving to third page .
    The Problem : If Purchase order is of one page , I am not able to display the T&C at the back of first page .
    Setting that I have done :
    I have three pages . Page 1 , Page2 , Page_2 .
    Page_1 ---> Logos and details of line items of PO .
    Settings here : Next page as Page_2 , Print mode --> D
    Page_2 ---> Has terms and conditions .
    Settings for page 2 ---> Next Page as page_3 and print mode ---> S
    Page_3 ---> It is for the continuation of data from page_1 when it overflows .
    Setting for page_3 ---> Next page as page_3 and print mode ---> S.
    Please let me what shall i do to get the T&C on the back side of the first page when i have PO printed only on page 1 and there is no need of page_3 .
    Warm Regards,
    Abhishek

    Hi,
    I already suggested a solution for this issue. Check the below thread.
    Re: To print back side of invoice
    Thanks
    Arul

  • New style added to copied Smartform, Translation Style Issue

    Hi Everyone
    I copied an existing smartform to another one where in I had to change the style used in the smartform to another style.
    But I am not able to change the style used for translations maintained in se63.Any Suggestions??
    Please help!!

    Hi,
    When u copying the smarform from on form to another form at same tiem we have another optione is there style copy that style into another style.
    STEP1:GOTO-SMARTFORM-SELECT 2ND RADIOBUTTON----GIVE TO STYLE NAME-COPY THE STYLE INTO ZSTYLE.
    Then u can use that style.
    Regards,
    muralii.

Maybe you are looking for

  • Images in Pages for iPad

    Hello all, I want to use my iPad to write assessments of my students papers, the form I have to use for these assessments has a number of images, like the schools logo etc., after transfering the pages document to Pages for iPad the images have disap

  • How to define the RFC in CUA

    Hello expert, We ran into a practical problem with defining the RFC connections for using CUA. We are creating Composite roles in CUA which include the various Signle Roles of the child systems. These single roles are created in the CUA PFCG with the

  • Problem with calling Webservice from Java Webdynpro

    Hi, I have a scenario where I need to call a Webservice through my Webdynpro application. I need to pass few parameters(of type string) and the Webservice is suppose to retrun a few records based on the input values. When I run the webservice directl

  • Record time when boolean condition is true

    Is it possible to record the time when a boolean expression is true, i.e if an =0 condition was placed on an AC signal, would it be possible to record the times when the wave crossed 0. I expected this part of my overall problem the easiest, but im s

  • Data guard 11g vs 10g

    Does data guard run in 11 g primary and 10g standby vice verca in any situation physical or logical. Is the any possibility.