Displaying a smartform in pdf format using webdynpro

Hi,
I have created a smartform using t.code smartforms. I have created a function module within which i used the function mocule convert_otf which will convert the smartform into binary format. Now how do i proceed in displaying the form using web dynpro.
Plz give me your suggestions.
Thanks in advance.

CALL FUNCTION LV_FUNC_MOD_NAME
    EXPORTING
      CONTROL_PARAMETERS = LS_SSFCTRLOP
      OUTPUT_OPTIONS     = LS_OUTPUT_OPTIONS
      USER_SETTINGS      = ' '
      RRNUM              = IM_RRNUM
    IMPORTING
      JOB_OUTPUT_INFO    = LT_RETURN
    EXCEPTIONS
      FORMATTING_ERROR   = 1
      INTERNAL_ERROR     = 2
      SEND_ERROR         = 3
      USER_CANCELED      = 4
      OTHERS             = 5.
  IF SY-SUBRC <> 0.
  ENDIF.
CALL FUNCTION 'CONVERT_OTF'
  EXPORTING
    FORMAT                = 'PDF'
    MAX_LINEWIDTH         = 132
  IMPORTING
    BIN_FILESIZE          = LV_LENGTH
    BIN_FILE              = LV_XSTRING
  TABLES
    OTF                   = LT_RETURN-OTFDATA
    LINES                 = LT_TLINE
  EXCEPTIONS
    ERR_MAX_LINEWIDTH     = 1
    ERR_FORMAT            = 2
    ERR_CONV_NOT_POSSIBLE = 3
    ERR_BAD_OTF           = 4
    OTHERS                = 5.
IF SY-SUBRC <> 0.
ENDIF.
LV_FUNC_MOD_NAME is your smartform function module name.
LV_XSTRING contains the stream of the pdf , send this to the browser using the following code.
    LV_FILENAME = 'RebateRequest.pdf'.
    LV_CTYPE = 'pdf'.
    CL_WD_RUNTIME_SERVICES=>ATTACH_FILE_TO_RESPONSE(
              EXPORTING I_FILENAME = LV_FILENAME
                        I_CONTENT  = LV_XSTRING
                        I_MIME_TYPE = LV_CTYPE
                        I_INPLACE = ABAP_TRUE
                        I_IN_NEW_WINDOW = ABAP_TRUE ).
Abhi

Similar Messages

  • Display Program output in PDF format using Webdynpro

    Hi all,
    I have a requirement which is as follows:
    I need to create Webdynpro with ABAP application which should internally call a program.
    There will be selection screen for the program but that should not be shown and program should be executed for default values if none of the selection criteria are entered.
    Output of the report should be shown in PDF format in a popup.
    Please suggest me how to go about this.
    Thanks in advance.
    Regards
    Vasu G

    Hello VAsu,
    I dont think we can call a program or transaction from webdynpro abap. Instead you can develop a webdynpro screen and internally you do all the process whatever you want to do in a RFC and call it.
    Refer this for more clarification:
    Re: Web Dynpro ABAP call transaction in the foreground
    Regards
    Nizamudeen SM

  • How to send output of smartform in pdf format as an attachment to email

    how to send output of smartform in pdf format as an attachment to email
    search before posting further and follow Forum rules
    Edited by: Vijay Babu Dudla on Jan 15, 2009 4:50 AM

    Did u check on sdn?
    i dont think so or else there are many posts on this topic and good wikis too.
    look at one of these code tutorial wiki
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/mail%2bsend%2bthrough%2boutput%2bcontrols
    So next time do use the search functionality.
    кu03B1ятu03B9к
    Edited by: kartik tarla on Jan 15, 2009 12:33 PM

  • Displaying a Smartform as PDF in WDA

    Dear All,
    I am trying to display a smartform as PDf in the web dynpro application. I am getting the below error while trying to display the smartform.
    Note
    The following error text was processed in the system DE5 : Function module does not exist
    The error occurred on the application server MTW02SDEC01_DE5_00 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Function: FUNCTION_IMPORT_INTERFACE of program SAPLSUNI
    Method: DATASOURCE_2_FM_PARAMS of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Please let me know does any services needs to be activated in SICF or any other problem?
    Thanks,
    Mugundhan

    Hi Thomas,
    Pleasure in receving the reply from you. I had created a node called pdf_data of cardinality 1..1, under which i had created a attribute called SOURCE of type XSTRING. i had used the below code to display the  smart form.
    DATA:  node_pdf_data TYPE REF TO if_wd_context_node,
             fm_name       TYPE  rs38l_fnam,
             outop         TYPE ssfcompop,
             cparam        TYPE ssfctrlop,
             tab_otf_data  TYPE ssfcrescl,
             tab_otf_final TYPE TABLE OF itcoo,
             bin_filesize  TYPE i,
             bin_file      TYPE xstring,
             pdf_tab       TYPE TABLE OF tline.
      " Get function module name for smart form
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZMG_SF_TEST'
        IMPORTING
          fm_name            = fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          OTHERS             = 3.
      " Get Report Format With Data From Smart Form
      outop-tdprinter   = 'LP01'.
      outop-tddest      = 'LP01'.
      cparam-no_dialog  = 'X' .
      cparam-preview    = 'X'.
      cparam-getotf     = 'X'.
      CALL FUNCTION fm_name
        EXPORTING
          control_parameters = cparam
          output_options     = outop
          user_settings      = space
        IMPORTING
          job_output_info    = tab_otf_data
        EXCEPTIONS
          formatting_error   = 1
          internal_error     = 2
          send_error         = 3
          user_canceled      = 4
          OTHERS             = 5.
      " Get all data of Smartform
      tab_otf_final[] = tab_otf_data-otfdata[].
      " Convert OTF data into PDF data
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
        IMPORTING
          bin_filesize          = bin_filesize
          bin_file              = bin_file
        TABLES
          otf                   = tab_otf_final
          lines                 = pdf_tab
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          err_bad_otf           = 4
          OTHERS                = 5.
      " Set PDF Data to context attribute
      node_pdf_data = wd_context->get_child_node( name = 'PDF_DATA' ).
      CALL METHOD node_pdf_data->set_attribute
        EXPORTING
          value = bin_file
          name  = 'SOURCE'.
      DATA lo_window_manager TYPE REF TO if_wd_window_manager.
      DATA lo_api_component  TYPE REF TO if_wd_component.
      DATA lo_window         TYPE REF TO if_wd_window.
      lo_api_component  = wd_comp_controller->wd_get_api( ).
      lo_window_manager = lo_api_component->get_window_manager( ).
      lo_window         = lo_window_manager->create_window(
                         window_name            = 'W_PDF'
    *                    title                  =
    *                    close_in_any_case      = abap_true
                         message_display_mode   = if_wd_window=>co_msg_display_mode_selected
    *                    close_button           = abap_true
                         button_kind            = if_wd_window=>co_buttons_ok
                         message_type           = if_wd_window=>co_msg_type_none
                         default_button         = if_wd_window=>co_button_ok
      lo_window->open( ).
    The above code works fine.  Finally in the bin_file i am getting the raw data. After that i am getting the below error.
    The following error text was processed in the system DE5 : Function module does not exist
    The error occurred on the application server MTW02SDEC01_DE5_00 and in the work process 0 .
    The termination type was: ERROR_MESSAGE_STATE
    The ABAP call stack was:
    Function: FUNCTION_IMPORT_INTERFACE of program SAPLSUNI
    Method: DATASOURCE_2_FM_PARAMS of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF_DDIC of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP

  • Convert smartform to pdf from ABAP webdynpro

    Hi,
    I want to convert smartform to pdf from ABAP webdynpro and
    I want to display pdf in ABAP wedynpro view or portal iview.
    what are the steps needs to be followed?
    what are the classes and interfaces needs to be used?

    Hi,
    Please check this it might be useful.
    Data: tab_otf_data    type  ssfcrescl,
             wa_out_opt      type  ssfcompop,
             wa_con_params   type  ssfctrlop.
              wa_rspoid       type  rspoid,
    parameter:p_file like rlgrap-filename no-display.
    Follow control parameters
           wa_out_opt-tdimmed = 'X'.
             wa_out_opt-tdnewid = 'X'
            wa_con_params-no_dialog = 'X '.
    if you want print direct  pass
            wa_out_opt-tddest  = 'printer' (SAP Printer)
    If you are using multiple header records  use loop other wise no need
       note that when multple headers
      pass count and count > 1 means more than one header change control parameters to create single spool for all.
    Loop itabXXXX.                                      " multiple header starts
      count = count + 1.
          if count > 1.
            wa_con_params-no_open = ' '.
            wa_out_opt-tdnewid = ' '.
          endif.                                               " multiple header ends
    call function  fm_name
            exporting
              control_parameters = wa_con_params
              output_options     = wa_out_opt
              header_header      = wa_ven
            importing
              job_output_info    = tab_otf_data
            tables
              header_details     = itab_final
            exceptions
              formatting_error   = 1
              internal_error     = 2
              send_error         = 3
              user_canceled      = 4
              others             = 5.
             at last.                                                         " multiple header starts
            wa_con_params-no_close = ' '.
            wa_con_params-no_dialog = 'X'.
          endat.                                                           " multiple header ends
    endloop.
    you will get  the otf data and spool id from  'tab_otf_data'
    read table tab_otf_data-spoolids index 1 into wa_rspoid.  " Now you get spool no in wa_rspoid.
    " pass spool in to rstxpdft4 it converts to pdf".
    submit rstxpdft4
               with spoolno = wa_rspoid
               with p_file = p_file
               and return.
    I feel that your problem will solve....
    Thanks,
    Hari

  • Convert Smartform in PDF format and send to SAP Workplace

    Hi to all.
    I need help of somebody expert in SMARTFORM's.
    I need to convert a smartform into PDF format and to send as attachement for SAP workplace
    of the user.
    I developed the next code.
    IT is to function and to send the mail for SAP workplace, but it happens that smartform
    contains images (logos) and tables, when the user tries to open the file pdf in inbox gives
    to error - "An unrecognized token ' q0 ' was found".
    I tried to call a smartform only with text and functioned well.
    Somebody can help me?
    My code:
    Begin ***********************************************
    REPORT zteste_nsa_send_pdf_sap_office.
    DATA: t_print LIKE zeps_fm04 OCCURS 0 WITH HEADER LINE,
          v_size TYPE i.
    DATA: ls_bil_invoice TYPE lbbil_invoice.
    TABLES: nast.
    DATA: i_otf TYPE itcoo OCCURS 0 WITH HEADER LINE,
    i_tline TYPE TABLE OF tline WITH HEADER LINE,
    i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
    i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    Objects to send mail.
    i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
    i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
    i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
    Work Area declarations
    wa_objhead TYPE soli_tab,
    w_ctrlop TYPE ssfctrlop,
    w_compop TYPE ssfcompop,
    w_return TYPE ssfcrescl,
    wa_doc_chng TYPE sodocchgi1,
    w_data TYPE sodocchgi1,
    wa_buffer TYPE string,"To convert from 132 to 255
    Variables declarations
    v_form_name TYPE rs38l_fnam,
    v_len_in LIKE sood-objlen,
    v_len_out LIKE sood-objlen,
    v_len_outn TYPE i,
    v_lines_txt TYPE i,
    v_lines_bin TYPE i.
    START-OF-SELECTION.
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = 'ZFPS_FICHA_VALORIZACAO'
        IMPORTING
          fm_name            = v_form_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.
      w_ctrlop-getotf    = 'X'.
      w_ctrlop-no_dialog = 'X'.
      w_compop-tdnoprev  = 'X'.
      CALL FUNCTION v_form_name
        EXPORTING
          control_parameters = w_ctrlop
          output_options     = w_compop
          user_settings      = 'X'
          is_bil_invoice     = ls_bil_invoice
          is_nast            = nast
          is_repeat          = 'X'
        IMPORTING
          job_output_info    = w_return
        TABLES
          t_list             = t_print
        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.
      i_otf[] = w_return-otfdata[].
      CALL FUNCTION 'CONVERT_OTF'
        EXPORTING
          format                = 'PDF'
          max_linewidth         = 132
          bin_filesize          = v_len_in
        TABLES
          otf                   = i_otf
          lines                 = i_tline
        EXCEPTIONS
          err_max_linewidth     = 1
          err_format            = 2
          err_conv_not_possible = 3
          OTHERS                = 4.
      IF sy-subrc EQ 0.
      ENDIF.
    Convert PDF from 132 to 255.
      LOOP AT i_tline.
        TRANSLATE i_tline USING '~'.
        CONCATENATE wa_buffer i_tline INTO wa_buffer.
      ENDLOOP.
      TRANSLATE wa_buffer USING '~'.
      DO.
        i_record = wa_buffer.
        APPEND i_record.
        SHIFT wa_buffer LEFT BY 255 PLACES.
        IF wa_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
    SEND MAIL
      REFRESH:  i_reclist,
                i_objtxt,
                i_objbin,
                i_objpack.
      CLEAR wa_objhead.
    Object with PDF.
      i_objbin[] = i_record[].
    Object with main text of the mail.
      i_objtxt = 'Fichas de Valorização e Esquemas Tipo'.
      APPEND i_objtxt.
    Document information.
      wa_doc_chng-obj_name   = 'SMART'.
      wa_doc_chng-expiry_dat = sy-datum + 10.
      wa_doc_chng-obj_descr  = 'Ficha de Valorização'.
      wa_doc_chng-sensitivty = 'F'. "Functional object
      wa_doc_chng-doc_size = ( v_lines_txt - 1 ) * 255 + STRLEN( i_objtxt ).
    Pack to main body as RAW.
    Obj. to be transported not in binary form
      DESCRIBE TABLE i_objtxt LINES v_lines_txt.
      READ TABLE i_objtxt INDEX v_lines_txt.
      CLEAR i_objpack-transf_bin.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num   = v_lines_txt.
      i_objpack-doc_type   = 'RAW'.
      APPEND i_objpack.
    Packing as PDF.
    Obj. to be transported in binary form
      DESCRIBE TABLE i_objbin LINES v_lines_bin.
      READ TABLE i_objbin INDEX v_lines_bin.
      i_objpack-transf_bin = 'X'.
      i_objpack-head_start = 1.
      i_objpack-head_num   = 0.
      i_objpack-body_start = 1.
      i_objpack-body_num   = v_lines_bin.
      i_objpack-doc_type   = 'PDF'.
      i_objpack-obj_name   = 'SMART'.
      CONCATENATE 'Ficha_Valorizacao' '.pdf' INTO i_objpack-obj_descr.
      i_objpack-doc_size = ( v_lines_bin - 1 ) * 255 + STRLEN( i_objbin ).
      APPEND i_objpack.
    e-mail receivers.
      CLEAR i_reclist.
      i_reclist-receiver = sy-uname.
      i_reclist-rec_type = 'B'.
      i_reclist-express  = 'X'.
      APPEND i_reclist.
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
        EXPORTING
          document_data              = wa_doc_chng
          put_in_outbox              = 'X'
          commit_work                = ' '
        TABLES
          packing_list               = i_objpack
          object_header              = wa_objhead
          contents_bin               = i_objbin
          contents_txt               = i_objtxt
          receivers                  = i_reclist
        EXCEPTIONS
          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 EQ 0.
      ENDIF.
    End  *************************************************
    Thanks very much to all and Happy New year...
    Nelson

    Please check this link...
    [http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm|http://help.sap.com/saphelp_nw04/helpdata/en/27/67443cc0063415e10000000a11405a/content.htm]
    -Muktar

  • How to upload a pdf file using webdynpro abap

    Hi Experts,
    I need to upload pdf files using webdynpro abap.my question is where to upload this files and how to upload this files, and how to display this pdf file.
    Please Provide Requried Information.
    Waiting for Reply.
    Thanks & Regards.
    Bhushan.

    Hi,
    There is a UI element with the type 'File Upload'.
    You can use that in your view.
    For further details and coding, please refer to
    [http://www.****************/Tutorials/WebDynproABAP/Upload/Page1.htm]
    Hope this helps you.
    Regards,
    Dolly

  • Convert smartform as PDF from ABAP Webdynpro

    Hi,
    I want to convert smartform as pdf from ABAP webdynpro.
    Flow: SmartForm-->Generating Function Module -->Getting Output Data --> Converting OTF to PDF --> Open/Save PDF file in ABAP webdynpro.
    What are the sequence of function modules to be used for this?
    OR
    Is there any other way to convert smartform as pdf from ABAP webdynpro?
    plz give me the flow and FM'details clearly in detail.

    Look here https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785
    Cheers
    Graham Robbo

  • Help bring a multipage scanned document (TIFF) in PDF format using XML Publ

    Help bring a multipage scanned document (TIFF) in PDF format using XML Publisher.
    In the generated XML file data into BLOB field is, but their XML Publisher can not handle.
    If the output TIFF, multipage PDF file in the report, the report prints a blank.
    <fo:instream-foreign-object content-type="image/tiff"> <xsl:value-of select=".//FILE_DATA"/>
    If the output JPG file to a PDF report, all displayed perfectly.
    <fo:instream-foreign-object content-type="image/jpg" height="9 cm" width="12 cm">
    <xsl:value-of select=".//FILE_DATA"/>
    Thanks

    It seems that these error messages MOD_OC4J_0184 etc are associated with some sort of timeout.
    My problem finally solved - see my comments at:
    Re: FOP
    I would like to see the PDF format using FOP docs made clearer that 2 http servers are involved in this process, one serving htmldb pages and the other oc4j stuff.
    Is it possible to do the PDF format using FOP with only the htmldb http server??
    Cheers
    KIM

  • Smartforms as PDF format

    HI Experts,
                    How do I dispaly my smartforms in PDF format. How do I get Spool ID. where all the changes I have to made. plz describe properly.
    Thanks. Alot.
    Khan

    Hi
    You will get the Spool ID in the Fun module itself (in SE38 program)
    in the output paramters <b> DOCUMENT_OUTPUT_INFO =</b>  or
    <b>JOB_OUTPUT_INFO =</b>  take that
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    EXPORTING
    ARCHIVE_INDEX =
    ARCHIVE_INDEX_TAB =
    ARCHIVE_PARAMETERS =
    CONTROL_PARAMETERS =
    MAIL_APPL_OBJ =
    MAIL_RECIPIENT =
    MAIL_SENDER =
    OUTPUT_OPTIONS =
    USER_SETTINGS = 'X'
    IMPORTING
    <b>* DOCUMENT_OUTPUT_INFO =</b>
    <b>JOB_OUTPUT_INFO =</b>
    JOB_OUTPUT_OPTIONS =
    TABLES
    GS_MKPF = INT_MKPF
    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.
    and pass that spool ID to the fun module
    call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
           exporting
                src_spoolid   = spoolid
                no_dialog     = 'X'
           importing
                pdf_bytecount = pdf_fsize
           tables
                pdf           = pdf_table
           exceptions
                others        = 0.
    Now PDF data is in PDF_TABLE
    so download it using GUI_DOWNLOAD and send it to your mail ID
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Generating Smartform in PDF Format through SRM portal link

    Hi All,
    Please can one tell me generating Smartform in PDF format while we click on Output-format while displaying Purchase order.
    Is there any configuration needed or is there any process to generate smartform in SRM portal link.
    Thanks,
    Sri Lakshmi

    Hi Pradeep,
    Thanks for your reply.
    I dont want any BADI or Method.
    I want to know, when we display or create  Purchase Order through SRM link- there is an option Output format where the details of PO will be generated through Smartform in PDF format.
    I want to know the procedure how that PDF format is generating.
    Regards,
    Sri Lakshmi

  • When trying to open a PDF format using Adobe XI I get an error message that there's a problem opening the document (57)

    When trying to open a PDF format using Adobe XI I get an error message that there's a problem opening the document (57)

    Hi chasore,
    Are you still facing this issue?
    Is this issue happening with all the documents you have. If yes, i would suggest try uninstall and reinstall. Or if the documents are located on some shared drive try to copy them on local machine and test again.
    Regards,
    Ajlan Huda.

  • Smartform In PDF Format

    Hi All,
    Can anyone send me the sample code for attaching a SmartForm in PDF Format.
    Thanks in advance.
    Ulhas

    hi,
    check this
    http://www.****************/Tutorials/Smartforms/OTF2PDF.htm

  • How to print form into pdf format using smart forms in abap

    please let me know how to print form into pdf format using smart forms in abap.
    Moderator message: please search for available information/documentation.
    Edited by: Thomas Zloch on Mar 25, 2011 2:04 PM

    Hi ,
    refer this link
    <removed by moderator>
    Regards,
    Dhina..
    Moderator message: please do not reply to questions that violate forum rules.
    Edited by: Thomas Zloch on Mar 25, 2011 2:04 PM

  • VF01- invoice smartform in PDF format to be sent thro' mail

    Hello Gurus,
    We have a requirement from our client that we need to trigger a mail of invoice smartform in PDF format on saving in VF01.
    Can any body suggest the steps in NACE and also output..
    Regards

    As per your post, I understood that,
    After saving Invoice , automatically Invoice has to send in PDF format to the respective email id maintained in CMR-Payer master
    if yes, this involves ABAP & BASIS ,
    ABAP- Program & FOrm routine has to created & assigned in respective output type & type-PDF (Check in NACE- Output type)
    for this, you need to maintain the Condition record- VV31 - with medium as "Mail" -
    or else,
    you can do this manually also, in VF31- you can give a print  & save in PDF format- you can send it - but its complete manual process.

Maybe you are looking for

  • Is there a way to identify user accounts that need to be locked?

    Hi, I am trying to write a script that will lock user accounts for employees that are being outprocessed (e.g. quit, fired, went to a different project).  The trouble I'm having is that the way I'm notified is by email from security that a person (fi

  • Flash Player Not Displayed

    As a base to run off: Windows 7 Home Premium 64-Bit Intel Pentium HP G60 Scanned for viruses, clean (Combofix, Gmer, Housecall, Malwarebytes, Superantispyware, unhackme, tdss killer, NPE, HijackThis) Disabled Norton Antivirus (Temporarily) to see if

  • FORGOT MY USERNAME AND PASSWORD!

    please help. i want to change my wireless protection, but i forgot my username and password. model of router is WRT120N. thanks.

  • WMMBXY and SDPICK

    Hello friends, I need help on ALE and IDOC. I need to define some interfaces between SAP & MFG Pro. These are.. 1) Material movements using WMMBXY iDoc via ale,         2) Picking and goods issue of deliveries using SDPICK iDoc via ALE I have no idea

  • Re: hr module

    Hello friends,   Do u know the database table which displays the required qualifications for a given job.