How to View Smartforms or SAP Script Forms in Web Dynpro ABAP

Do anyone have idea of how to View Smartforms or SAP Script Forms in Web Dynpro ABAP?
Please let me know. Thanks

Hi Sameeksha,
You can display an smartform in WDA as an pdf file. Try go through this [article |https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f0de1eb8-0b98-2910-7996-8a3c2fcf6785]where Nanda does explain about the same.
Regards,
Uday

Similar Messages

  • Adobe Reader error with SAP interactive form in Web dynpro ABAP

    Hi,
    We are having a strange intermittent problem with Adobe Reader. When we try to open PDF files from SAP Frontend we get an error pop-up. The pop-up does not have any text. The title of the pop-up has "Adobe Reader". There is a blue question mark and an OK button. The form is inserted into Web Dynpro ABAP page. This web dynpro application is executed in SAP GUI by this program:
    REPORT  TEST1 MESSAGE-ID SWDP_RUNTIME.
    start-of-selection.
      CALL FUNCTION 'WDY_EXECUTE_IN_PLACE'
        EXPORTING
         PROTOCOL               = 'HTTPS'       " HTTP | HTTPS
        INTERNALMODE           = 'X'    "SPACE - browser is started
        PARAMETERS             =
          APPLICATION            = 'Z_FORM'
         CONTAINER_NAME         = 'TEST'
        EXCEPTIONS
          INVALID_APPLICATION    = 1
          BROWSER_NOT_STARTED    = 2
          OTHERS                 = 3.
      IF sy-subrc EQ 1.
        MESSAGE a400.
      ELSEIF sy-subrc = 2.
        MESSAGE a401.
      ELSEIF sy-subrc = 3.
        MESSAGE a667.
      ENDIF.
    Adobe Reader version is 9.1.2
    Is there any solution for this?
    Many thanks for answer.

    Jiri,
    The reason why I thought downgrading would help is because Reader 9 and above is probably not fully supported by SAP yet.
    You can maybe open an OSS and see if Adobe 9 is fully supported or not.
    Chintan

  • Smart forms in web dynpro abap

    how to use smart forms in web dynpro abap ????
    what are the steps??

    Hi Ankit,
    1.create a node(Eg:PDF)  with attribute(SOURCE type xstring )  
    2.use Interactiveform UI element in the view
    3.Bind the pdfSource property of the UI to the attribute SOURCE
    4.in method write logic for call the smart form
      Pass the output of the smartform function call to
      function module CONVERT_OTF to convert it to PDF data.
    method displaypdf .
    data : l_x(1) value 'X'.
    data: lv_text type char3,
    lv_syucomm type char1,
    ls_pdf type xstring,
    lv_fm_name type rs38l_fnam,
    lv_control_parameters type ssfctrlop,
    lv_output_options type ssfcompop,
    lv_ssf_output type ssfcrescl,
    lt_otfdata type table of itcoo.
    data:
    node_input1 type ref to if_wd_context_node,
    elem_input1 type ref to
    if_wd_context_element,
    stru_input1 type
    ig_componentcontroller=>element_zinput.
    * navigate from <CONTEXT> to <INPUT1> via lead selection
    node_input1 = wd_context->get_child_node( name
    ig_componentcontroller=>wdctx_zinput ).
    * get element via lead selection
    elem_input1 = node_input1->get_element( ).
    * get all declared attributes
    elem_input1->get_static_attributes(
    importing
    static_attributes = stru_input1 ).
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM_NAME'
    importing
    fm_name = lv_fm_name
    exceptions
    no_form = 1
    no_function_module = 2
    others = 3
    if sy-subrc <> 0.
    * Error MESSAGE
    endif.
    * Set relevant control parameters
    lv_control_parameters-getotf = l_x. "OTF output
    lv_control_parameters-no_dialog = l_x. "No print dialog
    lv_control_parameters-preview = space. "No preview
    * Set relevant output options
    lv_output_options-tdnewid = l_x. "Print parameters,
    lv_output_options-tddelete = space. "Print parameters,
    call function lv_fm_name
    exporting
    * ARCHIVE_INDEX * ARCHIVE_INDEX_TAB *
    ARCHIVE_PARAMETERS control_parameters = lv_control_parameters
    * MAIL_APPL_OBJ * MAIL_RECIPIENT * MAIL_SENDER
    output_options = lv_output_options
    user_settings = space
    pernr = stru_input1-zpernr
    reinr = stru_input1-zreinr
    pdvrs = stru_input1-zpdvrs
    importing
    * DOCUMENT_OUTPUT_INFO job_output_info = lv_ssf_output
    * 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.
    refresh lt_otfdata.
    lt_otfdata[] = lv_ssf_output-otfdata[].
    call function 'SSFCOMP_PDF_PREVIEW'
    exporting
    i_otf = lt_otfdata
    exceptions
    convert_otf_to_pdf_error = 1
    cntl_error = 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.
    data: l_dummy type standard table of tline,
    pdf_data type xstring,
    pdf_size type i.
    clear: pdf_data, pdf_size.
    * convert otf to pdf
    call function 'CONVERT_OTF'
    exporting
    format = 'PDF'
    importing
    bin_filesize = pdf_size
    bin_file = pdf_data
    tables
    otf = lt_otfdata[]
    lines = l_dummy
    exceptions
    err_max_linewidth = 1
    err_format = 2
    err_conv_not_possible = 3
    others = 4.
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    data:
    node_pdf type ref to if_wd_context_node,
    elem_pdf type ref to
    if_wd_context_element,
    stru_pdf type
    if_componentcontroller=>element_pdf ,
    item_source like stru_pdf-source.
    * navigate from <CONTEXT> to <PDF> via lead selection
    node_pdf = wd_context->get_child_node( name if_componentcontroller=>wdctx_pdf ).
    * get element via lead selection
    elem_pdf = node_pdf->get_element( ).
    * set single attribute
    elem_pdf->set_attribute(
    exporting
    name = `SOURCE`
    value = pdf_data ).
    endmethod.
    Thanks
    Chinnaiya P

  • Search Help on Adobe Interactive Form with Web Dynpro ABAP

    Hi All,
    I have created Adobe Interactive Form with ZCI type and XML based interface type using Webdynpro ABAP.
    I placed a text field USER_NAME on the form ( data element is linked to search help USER_COMP ).
    Added Native WD UI element 'Value Help' to form to search for users and changed script
    *var fieldName = "INSERT_NAME_HERE*"; to var fieldName = "USER_NAME";
    The problem is that when I click on the value help button, nothing happens.
    Is any more additional steps required ?
    Thanks
    Karu

    Hello
    Check this
    F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP
    Thanks
    Anirudh

  • Calling adobe form from Web Dynpro ABAP

    Hi Friends,
                        This is the following error, which i got when i tested my application. Calling adobe form from Web Dynpro ABAP.
      WebDynpro Exception: ADS: Request start time: Tue Nov 16 14:00:22 YEKT
      2010(200,101).
                        Can some one tell me how to solve this....
    Regards
    Sankar

    Hi,
    Please refer to this same link in forum
    WebDynpro Exception: ADS: Request start time, start Interactive Form
    WebDynpro Exception: ADS: Request start time
    Thanks
    Pradeep

  • Interactive form in web dynpro abap

    hi experts,
                   i am beginner to adobe interactive form in web dynpro using abap.
    my scenario:
                        To  use  interactive form ui element  and place all fields of lfa1 in view.
         my context look like
                       context:
                                    adobe(node 1, 1:n, singleton = true)
                                       lfa1(node2,1:n,singleton =true) with its fields.
                                       pdf_source(attribute)
                       layout type : zci layout and xml interface.
        my view look like:
                                    all fileds of lfa1.
                                    button-add.(to add to below table)
                                    table.
                                    button-submit to sap.
    i want to place all fields in view and get values from the user online and need to display the same in an table in same view and
    when the user click ok entered values should be displayed  in table  and after clicking submit to sap it should hit the database table.
    as i am beginner dont know how to do.pls i need ur help in finishing it.thanks in advance.
    cheers,
    vinoth.

    hi all,
             expecting reply from u all. pls help me and give some sugesstion.
    regards,
    vinoth.

  • F4 Value Help on Adobe Interactive Form with Web Dynpro ABAP

    Hello,
    I have created an Interactive Form with ZCI type.
    I placed a text field MATNR on the form.
    Then I placed a Native WD UI element 'Value Help' as mentioned in the below link: http://help.sap.com/saphelp_nw70/helpdata/EN/42/fb2fe500553ee4e10000000a1553f7/frameset.htm
    This form was then embeded into Web Dynpro ABAP view.
    The problem is that when I click on the F4 button, nothing happens.
    Is anything else needs to be done?
    Thanks
    Sagar

    Hi Amol,
    After binding the Context variable in the view, and in the Adobe Layout Designer from the Library go to WebDynpro Native Tab and drag and drop the Value Help and for this automatically JavaScript is being generated, go that script and edit the line
    Var fieldname = "yourfieldname";
    Note: Don't forget to link the context attribute to search help. ie. in the context properties of the attributes select the input help mode as dictionary search help and specify the name of the search help present in data dictionary.
    And now go to Utilities and click on u201CInsert Web Dynpro Scriptu201D.
    Also make sure that you specify the Layout as ZCI Layout in the Propertioes of the Adobe Form.
    Ragards,
    Amol Patil.

  • ADOBE INTERACTIVE FORMS in Web dynpro ABAP

    Hi
    Iam new to this Web dynpro ABAP.I can able to import the pdf file in the Web dynpro ABAP.While i was taking the values in the "Data View"....Iam getting
    "Adobe live cycle designer" has encountered a problem.we are sorry for the inconvinience..."
    Please help me where i went wrong.
    Regards
    Sushma

    Hi,
    i am getting warnings in the pdf.
    "Field f1 may not work properly.Using Normal Data Binding when the default data connection is defined and produces undefined data results.
    can you give more details...so that i shall try to help you.
    any how one more advise we have sepate forums for adobe forms try in this too.
    [Web Dynpro ABAP;
    Regards,
    Mahesh.Gattu

  • Interactive Form within Web Dynpro ABAP

    Hi,
    I've an Adobe interactive form element within Web Dynpro ABAP view. I've more than one WebDynproActiveX buttons within the Interactive form (like Submit, Cancel, Clear).
    How can I differentiate the user selection within Webdynpro  ? Whether the user selected Submit or Cancel or Clear ? Can we associate any function code for each button ?
    Thanks
    Ravikumar

    Hi Ravi,
    You can take a context attribute lets say "STATUS"(string) in your form context.  For your buttons in the form, in click event set the value. like
    STATUS.rawValue = "1";      (eg Submit)
    STATUS.rawValue = "2";      (eg Cancel)
    And in your submit event read this context attribute and you can use CASE like when 1 , when 2 etc and you can execute your code accordingly.
    it should solve your problem.
    With Regards,
    Ravi.D

  • Problem with Table display in Adobe Form of Web Dynpro ABAP

    Hi Team,
    I'm trying to display a table in Adobe Print Form (not interactive). The table is bound to the context node in the Web Dynpro ABAP where the cardinality is 0:N. I get a short dump. Don't know what to do here. I'm able to display individual fields from my context successfully. Looks like something is missing when I try to display a table. Any pointers to display a data table in Adobe? Any step by step example you know of where I can find out what I did wrong? Many thanks for your time
    We are on support pack SP06 on 2004S release.
    DUMP INFORMATION:
    Short text                                                               
        Access via 'NULL' object reference not possible.                 
    What happened?                                                           
        Error in the ABAP Application Program  The current ABAP program "CL_WD_ADOBE_SERVICES==========CP" had to be terminated because it has come across a statement that unfortunately cannot be executed.
    An exception occurred that is explained in detail below.                    
    The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "CREATE_PDF" "(METHOD)", nor was it propagated by a RAISING clause.

    Hi Thomas,
    We upgraded our system(2004S) to SP10 so that we can use the ADOBE form printing in Web Dynpro ABAP but could not apply note 1034425 because of the validity constraints in SNOTE. All the pre-requisite notes are already in the system apart from one note 1029721 which talks about supporting input helps. We don't want to use input helps in our system and cannot upgrade to SP11 because of problems with Business functionality.
    Questions:
    1) Is note 1034425 absolutely dependent on 1029721?
    2) If NOT, can someone please correct the validity so that we can implement using SNOTE.
    3) Would it be OK if we manually apply the changes specified in 1034425 without implementing 1029721?
    4) If all of the above is not applicable, is there any other note which fixes the above mentioned short dump.
    Your help in this matter will greatly help us in using the ADOBE services provided by SAP WDA.
    Thanks much

  • Issue While printing / Previewing a Adobe form in Web Dynpro ABAP application

    Dear All,
    We have designed 4 different adobe forms using SFP transaction for 4 different countries in SAP system.
    Every country have different terms and conditions and therefore we have placed static texts (Hardcoded text) with text in different styles. Some text is in bold, some in different font (Bold, Italic). Font and Paragraph settings of the text was done as per expected. All the forms have same font and paragraph settings.
    When we Launch Web Dynpro ABAP application to open the form in Print preview or to take print, form is not getting displayed / printed as it is designed in SFP. But if you open the form in SFP, everything looks fine.
    It is working fine for 3 different forms but problem with only 1 form.
    Kindly guide what is the reason for this strange issue when previewed or taken print. It is very urgent.
    Thanks,
    Bharath.K

    Dear All,
    Thanks for your responses.
    We had identified the reason.
    Customer has provided terms and conditions for all 4 countries in PDF document. Along with PDF, for 3 out of 4 countries customer has shared pre-prepared word document with pre aligned and justified terms and conditions as per expected outcome. We copied this text from word to Adobe form layout. It worked fine. For 1 country, customer have not shared terms and conditions in word document. Therefore we had copied text directly from adobe PDF document in to Form layout. Then this issue happened.
    Solution for this issue is to, prepared a word document with expected alignment and justification of terms and conditions text . Then copied from word to adobe livecycle designer form layout. It worked fine.
    Thanks,
    Bharath.

  • Submit button  from Interactive adobe form in Web Dynpro ABAP

    Hi all,
    We seem to be having a problem with the 'submit' button on the Interactive Form for the Web Dynpro ABAP.  The submit button is from the Web Dynpro active X or web Dynpro Native in the form designer. The submit button doesn't trigger the action in Web Dynpro. we are currently running on support pack 9 for the ABAP stack. We have Internet Explorer browser version 6.  Could someone tell me if there are requirements for the IE version that will work in conjunction with a particular ABAP stack version.  And, are there specific IE security settings or administrative privilages required with this version of the ABAP stack.  Or, any other ideas as to why this does not seem to work. 
    Thanks in advance,
    Michelle Hong

    Hi Michelle,
    Could you tell me how you resolved the problem - as I'm facing exactly the same issue!
    Many Thanks
    Christine

  • How to display an status Icon in Table UI web dynpro ABAP?

    Hi Experts ,
    How to display an status Icon ( Traffic light ) in Table UI web dynpro ABAP? can somebody tell with a coding example. also I need to update status on condition so whats the best way?
    Thanks in advance.
    Regards,

    Hi Laeeq,
    click on table cntrol n place it on the screen..
    now click on the icon button n place it in the table control area.. a column of icons get created. name it (say) ICON.
    in the PBO..
    loop at internal table and call module in the loop (say) .
    MODULE ICON_DISP.
    now in the module try the foll code :
    module icon_display output.
    check some condition and assign the icon to the variable icon_r
      icon_R = 'ICON_GREEN_LIGHT'.
      CALL FUNCTION 'ICON_CREATE'
        EXPORTING
          name                        = ICON_R
        TEXT                        = ' '
        INFO                        = ' '
        ADD_STDINF                  = 'X'
       IMPORTING
         RESULT                      = ICON
      EXCEPTIONS
        ICON_NOT_FOUND              = 1
        OUTPUTFIELD_TOO_SHORT       = 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.
      endmodule.
    where icon(35) and icon_r(35) type c .
    hope this helps u..
    Regards
    Aparna

  • SAP GUI call from Web Dynpro Abap

    Hi all,
    I heard about the possibility to call the SAP GUI directly from my Web Dynpro Abap Application, so that the GUI is integrated in my web browser. But i could not find any information about that.
    Maybe you can help me.
    Thanks,
    Johannes

    Hi Johannes,
    Its not possible to directly call your R/3 GUI from your WDA. You can try the "Screen Design Time Conversion" tool in SAP. You can go through this [link|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/30/f2156a26fb4b4d86c5b0ce9f86bfb3/frameset.htm] for further details regarding it.
    But please also pay heed to Thomas's advise in [here|Is there a converter for classic dynpros?;.
    Regards,
    Uday

  • How to Post Xml data into interactive form in web dynpro

    Hi,
    I want to be creating the xml source for web dynpro programatically.
    This is because my adobe form is highly dynamic where even the kind of ui elements and the position is decided at runtime.
    It is a highly interactive chart which I am planning.
    I want to then bind this dynamically generated xml to the pdf.
    Let me know your ideas.
    Thanks,
    Harish

    Conclusion from my point of view:
    1) You cannot have this thing interactive if you want to work with all the features of OM, if you want to cover all the details. In that case you need to create some tool for drawing the pictures for you and then only send the picture into the form. If anybody would like to do the changes you would add the table at the bottom of the page where a guy can say something like "chair A move under the big banana B" or "fire Mr. C, remove the position of Mr. C". That is probably the thing I would go for
    2) I am afraid you or your employer do not understand how the Adobe forms work. This is possible, but as I said before, that would be a nightmare for the developer (I cannot tell the price, would start with like 20 MDs).
    3) If you would like to mimic some existing solution and don´t want to buy that, then it´s ok for me. But don´t try to re-create the existing .NET or Java stuff in ABAP. I am skilled Java programmer and I can tell the freedom and the speed of the development is quite different. If the customer/ boss insist on developing such thing, use WEB development, go for PURE JAVA (I would go this way), use Java Connector in a JSP/ J2EE stuff and then incorporate the result into the portal.
    Hope that clarifies the problem a little,
    regards Otto

Maybe you are looking for

  • How to install Data Insight on remote server

    Hello, I am working in an enviorinement in which Data Services has been installed on remote server and i access it using Remote desktop. Now i need to install Data Insight and i am not sure where should Data Insight be installed. should it be install

  • How to record from VB ADO to a CLOB field?

    I have a VB program working with OracleXE and I need to record a textbox value (txtOcorrencia.text) to a CLOB field. My VB string is the following one: With RS .Open ("SELECT * FROM VAGAS"), DBConn, adOpenStatic, adLockOptimistic .AddNew !ocorrencia

  • New GL Budget rate ledger

    Hello We have 2 seperate ledgers maintained for Leading ledger & Budget rate. (New GL) I am aware that 0FI_GL_14 will extract all line item from leading ledger only. Which Datasource should we use for Budget Rate? SAP suggests that we should use 3FI_

  • Cannot add cover for one specific CD

    Hi there, I am facing a rather strange problem: I cannot add a cover to a specific album. It´s strange: It somehow does not save the cover at for this album while other CDs in the same path are perfectly storing the covers. I already controlled the a

  • HT1535 Adding videos to iPhone 4s

    Ever since the last update from itunes I have not been able to manually add videos to my iphone. I can manually add anything and everything except movies/videos. Is there a reason for this? and does anyone know if apple is working on a fix for this?