Need help on Printing Samrt Form via Web Dynpro

Hi All !
How can I print smartform that is displayed as PDF in web dynpro by clicking my custom button.
I am unable to get solution please help me.
Thanks & Regards!
Krishna

Hi Ragavendra !
Thank you for telling but its not the solution for my problem .
Actually I need a custom button "Print All' that prints all smart forms.
Not individually by clicking print button.
Thanks !

Similar Messages

  • 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

  • Value Help in Interactive Adobe Form in Web Dynpro

    I have to provide a value help for certain Fields in Interactive Adobe Form using Web Dynpro ABAP. I have managed to get the Value Help Popup for the fields using Java Script in Adobe, but the problem is that whenever I select the Value from the Value Help, the selected value in not getting populated in the field....
       Please let me know the solution in case any one of you come across such kind of requirement.

    Priyanka:
    Can you let me know the steps on how to provide value help in interactive forms?
    Thanks
    Vijai

  • 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.

  • Part II: Adobe Print Forms with Web Dynpro for ABAP. -Practice issue

    Hi,
    I am practicing Thomas jung Tutorial on Adobe forms [Part II: Adobe Print Forms with Web Dynpro for ABAP|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/a3e2f018-0b01-0010-c7a8-89deb6e63e97].
    I am trying to complete this and looks like this tutorial in not complete.Anybody can help me in completing this until we get a preview of adobe form?
    FYI.. Ic ompleted evevrything in tutorial and I am waiting to complete and test.
    Rgds
    Vara

    Thomas,
    Here is where I am stuck.
    Wrote this code in ONACTIONSEARCH.I am getting my entries in internal table ISFLIGHT.
    but unable to bind it to adobe form and show in the form.
    *  SELECT statement
        clear isflight. refresh isflight.
        select * into corresponding fields of table isflight from sflight
        where carrid =  ls_data_selections.
    * navigate from <CONTEXT> to <ADOBE_DATA> via lead selection
      lo_nd_adobe_data = wd_context->get_child_node( name = wd_this->wdctx_adobe_data ).
    * navigate from <ADOBE_DATA> to <SFLIGHT> via lead selection
      lo_nd_sflight = lo_nd_adobe_data->get_child_node( name = wd_this->wdctx_sflight ).
      lo_nd_sflight->bind_table( new_items = isflight set_initial_elements = abap_true ).
    Error is Access via 'NULL' object reference not possible.
    FYI.. I just dragged and dropped 2 elements from DATA to Adobe form.what are the other changes do i need to do in form gui elements so that it shows the internal table contents?
    this would really help me..
    Rgds
    vara
    Edited by: Vara K on Jan 21, 2009 5:51 PM

  • Reports 9i Printing from Forms with WEB.SHOW_DOCUMENT

    I want to print a Report from Forms via WEB.SHOW_DOCUMENT directly to the printer and it works fine.
    But every time i print it from my web application a new browser-windows opens and shows a message "Printed successfully" or something like that. If I start the printjob again nothing happens - if I press the Browser-Refresh-Button in the new Browser-Windows with the Message ("Printed Successfully") it prints.
    So now I have 2 questions:
    a) How can I disable the "Printed successfully"-Message
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    I hope I hava explained my problem clearly. 4
    Here ist the complet WEB.SHOW_DOCUMENT-Command I fire in Forms when a Button is pressed:
    WEB.SHOW_DOCUMENT('http://mymachine:8888/reports/rwservlet?report=testreport.rdf&destype=printer&desname=\\NTS32\VZ_D3&desformat=html&userid='|| sUser ||'/'|| sPW ||'@'|| sDB,'_blank');      
    Many thanx for your help!
    Regards
    Marc

    Hello,
    for the problem:
    b) What hava I to do that I not must press on the Refresh-Button to start the printing again
    may be it just a setting in your Browser ?
    For Internet Explorer :
    go to I.E General Options screen. click on settings button and choose
    "Every visit to the page " option.
    Regards

  • MacBook - Newbie: Need help on printing wirelessly to XP shared printer

    MacBook - Newbie: Need help on printing to XP shared printer
    Bear with me please. I read tons of articles on this but somehow as a newbie to MAC (girlfriends sick daughter), I am missing something. 10.5.2
    Currently, she can print directly if we plug in the HP Deskjet printer directly via USB to the MACBook. No problem.
    When we first got the MACBOOK I tried setting up the MACBOOK wirelessly to recognize the workgroup where the printer was attached via USB to the Windows XP PC. However it printed out garbage since I did not know there was a difference between XP printing and MAC (Gutenberg/gimp printing/drivers).
    Now I know there is a difference.
    But in reading various instructions, I no longer can find how to connect the MAC to the Windows workgroup. Note we do have a printer set up currently as USB-HP Deskjet on the Macbook (not sure I need to delete it yet).
    I went to System Preferences on MACBOOK and clicked on printers, more printers. In the drop down box was CANON, APPLETALK, IP HP printing and Firewire. There was no WINDOWS selection as I saw in other online web instructions.
    So not sure how to proceed to find a way to:
    1. Connect to Windows workgroup (click on what exactly), step by step please!!
    2. Add correct HP Deskjet 5490 printer (perhaps there is one with Gutenberg or perhaps I need Gutenprint-really not sure what I am talking about)
    Thanks so much in advance. Fiancé's kid has had her cancer recur in a different place and someone was nice enough to buy her a MACBOOK as a gift.
    Sincerely
    Peter

    ccarbery wrote:
    OK...I figured it out...no need to reply.  I noticed that there was another Protocol to use to set up the printer on the Mac, I was using LPD, so I switched it to HP Jet Direct-socket, and it prints fine...thanks.  I am curious as to why LPD wouldn't work; if anyone has that answer I would like to know...thanks
    Any chance of posting the Protocol you used to connect to your printer with your laptop?  I'm have the exact same problem printing from my MB.  Same error message "..is busy".

  • Are ZCI interactive forms available via Web Dynpro for ABAP?

    Note 955795 talks about ZCI forms available via Web Dynpro for Java. Is this kind of forms also available via Web Dynpro for ABAP?.
    Do ZCI interactive forms work via Web Dynpro for ABAP without the need of ACF?
    If available, which support package levels are required?
    Regards

    Hi Mahamed,
    I got your problem. You have not done anything wrong.
    It is WebAS version which is not supported for this functionality.
    But there is solution to this problem
    Please refer to the SAP Note number - 1055738.
    I think you will get the answer and the scenario described there will match your requirement.
    This is a know issues with WebDypro ABAP but this works fine for Java Web Dynpro.
    I have also tried for 2 months but finally came to know about it.
    Regards
    Satya

  • Need help in alignment a form

    Hello,
    I am new in writing HTML code. I need help to align my Form
    and it's text.
    Please view my code and please show me how to align all the
    square boxes (the square box is where the user type the text
    input). Currently I have 2 boxes but they are not aligned. The
    below is my code:
    <FORM name="input" method="get" >
    PROJECTROOT: <INPUT TYPE=TEXT SIZE=50 NAME=proj_root>
    <br>
    FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    <BR>
    <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    </FORM>
    Would you please help.
    Thank you very much
    Goober35

    <form name="input" method="get" action=""> <!-- ARE
    YOU SURE YOU NEED "GET"
    and not "POST"? -->
    <table cellspacing="0" cellpadding="0" border="0"
    width="300">
    <tr>
    <td><label for="proj_root">PROJECTROOT:
    </label></td>
    <td><input type="text" size="50" name="proj_root"
    id="proj_root"></td>
    </tr>
    <tr>
    <td><label for="frontend">FRONTEND:
    </label></td>
    <td><input type="text" size="50" name="frontend"
    id="frontend"></td>
    </tr>
    <tr>
    <td colspan="2" align="center"><input type="submit"
    name="submit"
    id="submit" value="Submit" onclick="save()"></td>
    </tr>
    </table>
    </form>
    (your form needs an action attribute value)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "goober35" <[email protected]> wrote in
    message
    news:gcjmlh$p42$[email protected]..
    > Hello,
    > I am new in writing HTML code. I need help to align my
    Form and it's text.
    > Please view my code and please show me how to align all
    the square boxes
    > (the
    > square box is where the user type the text input).
    Currently I have 2
    > boxes but
    > they are not aligned. The below is my code:
    >
    > <FORM name="input" method="get" >
    > PROJECTROOT: <INPUT TYPE=TEXT SIZE=50
    NAME=proj_root> <br>
    > FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    > <BR>
    > <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    >
    > </FORM>
    >
    >
    > Would you please help.
    >
    > Thank you very much
    > Goober35
    >
    >
    > <FORM name="input" method="get" >
    > PROJECTROOT: <INPUT TYPE=TEXT SIZE=50
    NAME=proj_root> <br>
    > FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    > <BR>
    > <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    >
    > </FORM>
    >

  • Need help in posting a Form

    Hi Everybody,
    I'm having a Struts application that uses DynaValidatorForm for performing Validations.
    The basic flow is like this -> I've got a home page, then a login page (action -> register.do) & a third page (action -> authenticate.do) which is displayed after authenticating the user.
    I'm trying to re-direct the user to the home page once he directly accesses /authenticate.do
    For this, in the Action class of /register, I'd defined a session attribute & set a value to it.
    Then, in the Action class of /authenticate, I'm checking for the session attribute. If not present, I'm re-directing the user to home page.........
    The problem that I'm facing is that when I directly access /authenticate.do, the application is not getting re-directed & instead, it is displaying error messages that User name & password (the 2 fields present in my login page) are required..........
    The <action> tag of /authenticate.do has got validate="true" & hence it seems that validation occurs before re-directing....
    Therefore, can someone tell me why is the application not posting the form to Action class of /authenticate........
    Thanx in advance.....
    Regards,
    Sasidharan N

    <form name="input" method="get" action=""> <!-- ARE
    YOU SURE YOU NEED "GET"
    and not "POST"? -->
    <table cellspacing="0" cellpadding="0" border="0"
    width="300">
    <tr>
    <td><label for="proj_root">PROJECTROOT:
    </label></td>
    <td><input type="text" size="50" name="proj_root"
    id="proj_root"></td>
    </tr>
    <tr>
    <td><label for="frontend">FRONTEND:
    </label></td>
    <td><input type="text" size="50" name="frontend"
    id="frontend"></td>
    </tr>
    <tr>
    <td colspan="2" align="center"><input type="submit"
    name="submit"
    id="submit" value="Submit" onclick="save()"></td>
    </tr>
    </table>
    </form>
    (your form needs an action attribute value)
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "goober35" <[email protected]> wrote in
    message
    news:gcjmlh$p42$[email protected]..
    > Hello,
    > I am new in writing HTML code. I need help to align my
    Form and it's text.
    > Please view my code and please show me how to align all
    the square boxes
    > (the
    > square box is where the user type the text input).
    Currently I have 2
    > boxes but
    > they are not aligned. The below is my code:
    >
    > <FORM name="input" method="get" >
    > PROJECTROOT: <INPUT TYPE=TEXT SIZE=50
    NAME=proj_root> <br>
    > FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    > <BR>
    > <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    >
    > </FORM>
    >
    >
    > Would you please help.
    >
    > Thank you very much
    > Goober35
    >
    >
    > <FORM name="input" method="get" >
    > PROJECTROOT: <INPUT TYPE=TEXT SIZE=50
    NAME=proj_root> <br>
    > FRONTEND: <INPUT TYPE=TEXT SIZE=50 NAME=frontend>
    <br>>
    > <BR>
    > <INPUT TYPE=SUBMIT VALUE=Submit onclick="save()">
    <BR>
    >
    > </FORM>
    >

  • Hi I need help installing my creative suite 5 web premium cd on to my new pc which is windows 8 64bit os, thanks

    Hi I need help installing my creative suite 5 web premium cd on to my new pc which is windows 8 64 bit os, thanks

    copy the all the cds' contents to one desktop directory.  install from that directory.

  • I need help with printing labels.  please

    I need help with printing labels.  thanks in advance

    Welcome to Apple Support Communities.
    In Address Book, first select a name or group of names to print.
    Then File, Print, select Style, Mailing Labels, then Layout to select a specific target label (such as an Avery number), or define your own...

  • 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.

  • Problems with Adobe PDF forms in Web Dynpro Java

    As of now , I have two major issues in developing Adobe PDF forms in Web Dynpro Java .
    1.Text getting wrapped and repeated from the first line :
    Any text field that flows to the next page gets wrapped at the end of the page and is again printed on the next page beginning from the first line .
    For eg:
    If I have 4 lines in a text field that is at the end of the page
    1111111111111111111111
    2222222222222222222222
    3333333333333333333333
    4444444444444444444444
    and the page holds space for only two lines it prints the lines
    1111111111111111111111
    2222222222222222222222
    in the first page and then proceeds to the next page and prints
    1111111111111111111111
    2222222222222222222222
    rather than printing
    3333333333333333333333
    4444444444444444444444
    2.No way to hide a page at runtime:
    It is not possible to hide a page in a PDF form at runtime . If scripting is used , the page turns into a blank page but not hidden .
    Any pointers on this????????
    Helpful answers will be suitably rewarded with points!!!!

    Yes,I am using the versions that you mentioned.
    I have a node called <b>MasterData</b> which is the root node for my PDF Form.I have a node called <b>GenData</b> inside this node whose <b>ctx_Appraisal_Type_Num</b> attribute is bound to a hidden TextField in my form.In the <b>docReady</b> event of this TextField, I am writing the following FormCalc script to hide my SubForm whose Id is <b>MngrCmptnc</b>
    if(MasterData.GenData.ctx_Appraisal_Type_Num == "2")
    then
    MasterData.MngrCmptnc.presence = "visible"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "visible"
    MasterData.StrImp.presence = "visible"
    else
    MasterData.MngrCmptnc.presence = "hidden"
    MasterData.MngrCmptnc.MngrCmptnc.presence = "hidden"
    MasterData.StrImp.presence = "hidden"
    endif

  • 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

Maybe you are looking for