Adobe print forms - Intergration with Webdynpro ABAP

Hi
We are working on SAP Adobe print forms with Webdynpro ABAP. We are getting the PDF form's Hexadecimal content as a part of the FPFORMOUTPUT parameter when we execute the FM of the Form.
I tried to assign that to a context variable and assigned that to the PDFSource of the form and tried to generate the PDF. But is is showing a black page.
Can you please suggest a way if any to get this done.
Regards,
Srikanth.

You can use the print form directly. I mean the same way as you would use the WD/ online form. Provide the form name, the data source and stuff and the form should work. If that would be an interactive one, you would not be able to change any values if the form is based on DDIC dictionary, but since you want to use the printform, this is not your concern.
Regards Otto

Similar Messages

  • SAP Adobe Print forms - Issue with Chinese characters

    Hi All,
    We are using SAP Adobe Print forms to create a business document. This is designed using Adobe Life Cycle Designer (ALD). The form is displayed in Chinese language. The requirement is to display captions for few fields in bold.
    When designing the form we have put the caption as BOLD but when the actual form is generated only few characters are displayed in bold.
    I am not sure if this is problem with Adobe Reader or should there be any specific fonts to be installed in the ADS server?
    Please let me know which all font packs needs to be installed in the local machine?

    Hi Pat,
    Thank you again for your reply.
    Now, I changed the font in the designer to "Adobe Song Std L" and made the text as "BOLD". Then I get a message
    The following is the Designer screen shot.
    Questions:
    1. Does "Adobe Song Std L" support characters in BOLD?
    2. Do I need to install any of those BOLD fonts? If so, where can I get them?
    3. I understand that the BOLD font needs to be installed in the local machine (where the design actually happens so that the font can be specified), the ADS Server (where the actual PDF is rendered) and also in the viewers local machine (where the PDF document is viewed). Is this correct?
    4. Is the font a freeware or will there be any licensing issues?
    Again, thank you for your responses till now.

  • Integration of Adobe Flex 3.0 with Webdynpro ABAP

    Dear Experts,
    This is the first time I am trying to work with Flex and trying to integrate with Webdynpro ABAP.
    What I have done is made a 'Starter' project in Flex where I have just embedded an image , downloaded
    1. WDIslandsLibrary30.swc
    2. WDIslandsLibrary30-debug.swc
    included them in the flex project and did Export Release Build.
    What I want to do through this project is just to display the image and no data exchange is happening here between Flex and webdynpro.
    Next I have made a webdynro project , included the Flash Island and imported the mime object.
    When I activate my object and run the application I dont see the image , i can only see a blank window.
    Please guide me where I am going wrong.
    Regards,
    Mamai.

    Hi Banarji
    Ple try this.
    In Flex Part
            [Bindable] 
            [Embed(source=".jpg")]
           <mx:Image x="" y=" " width=" " id="loader1" autoLoad="true" source=".JPG" height=" "/>
    Webdynpro Part
          Goto MIME - > add .swf file
    I hope.It will work fine.
    Regards
    Laxmikanth Karunamoorthy

  • Issue with ADOBE interactve form intergrated with Web dynpro ABAP

    Hi Experts
    I have intergarted an XML based adobe form in webdynpro with inputs fields and submit button.
    But on display on Internet expolrer it doesn't allow to input values even submit button dosen't work.
    Please help me how would it will allow to input values .
    Many thanks in advance

    Hi,
    have you checked Enabled for your Adobe form in SE80?

  • Open Adobe Print Form from ALV Int. Rprt using the XSTRING already present

    Hello Friends,
    I have a typicall issue that how to open a Adobe Print Form when a user double clicks in the ALV Report. Here when the user double clicks in the ALV Interactive Report using the unique ID I am getting the Adobe Form from a FTP location in the Form of XSTRING, now using the ABAP ADOBE PRINT FORM not using WebDynpro Application, I need to process this XSTRING and show up the Adobe Print Form.
    OR
    Is there a way to send the XSTRING to the Output Device or Printer to Display the PDF Form.
    Friends please help me in solving this issue.
    Thanks and Regards
    Pradeep Goli
    Edited by: Pradeep Goli on Mar 19, 2009 1:49 PM
    Edited by: Pradeep Goli on Mar 19, 2009 2:51 PM

    Hi Pradeep Goli,
    it is possible to show PDF in SAP GUI.
    Michal
    REPORT  ZTEST_DISPLAY_PDF.
    * You must create dynpro 500 with custom control named HTML.
    * In this custom control will be displayed PDF.
    DATA: g_pdf              TYPE xstring,
          pdf_my_container   TYPE REF TO cl_gui_custom_container,
          pdf_html_control   TYPE REF TO cl_gui_html_viewer.
    START-OF-SELECTION.
    PERFORM create_and_display.
    FORM create_and_display.
    *** Your code fo filling g_pdf
    CALL SCREEN '500'.
    ENDFORM.
    * PDF preview in HTML control
    module html_control output.
      perform pbo_html_control.
    endmodule.
    module html_control input.
      perform pai_html_control.
    endmodule.
    * PAI
    FORM pai_html_control.
      SET SCREEN '0'.
    ENDFORM.
    * Showing of PDF
    FORM pbo_html_control.
      DATA: l_pdf_alignment TYPE i,
            l_count         TYPE i,
            l_noprint       TYPE fpboolean,
            l_noarc         TYPE fpboolean,
            l_noprintarc    TYPE fpboolean.
    *  CLEAR: fcode.
      SET PF-STATUS 'VIEW_PDF'.
    * container
      IF pdf_my_container IS INITIAL.
        CREATE OBJECT pdf_my_container
          EXPORTING
            container_name = 'HTML'
          EXCEPTIONS
            OTHERS         = 1.
        IF sy-subrc <> 0.
          MESSAGE e150(FPRUNX).
          RETURN.
        ENDIF.
      ENDIF.
    * html control
      IF pdf_html_control IS INITIAL.
        CREATE OBJECT pdf_html_control
          EXPORTING
            parent = pdf_my_container
          EXCEPTIONS
            OTHERS = 1.
        IF sy-subrc <> 0.
          MESSAGE e150(FPRUNX).
          RETURN.
        ENDIF.
    *   alignment
        l_pdf_alignment = pdf_html_control->align_at_left  +
                        pdf_html_control->align_at_right +
                        pdf_html_control->align_at_top   +
                        pdf_html_control->align_at_bottom.
        CALL METHOD pdf_html_control->set_alignment
          EXPORTING
            alignment = l_pdf_alignment
          EXCEPTIONS
            OTHERS    = 1.
        IF sy-subrc <> 0.
          MESSAGE e150(FPRUNX).
          RETURN.
        ENDIF.
      ENDIF.
      PERFORM pdf_show USING g_pdf.
    ENDFORM.
    FORM pdf_show USING p_pdf_data TYPE xstring.
      STATICS: ls_url           TYPE i.
      TYPES: lt_pdf_table(1000) TYPE x.
      DATA:  l_myurl(80)        TYPE c,
             l_url(80)          TYPE c,
             l_pdf_data         TYPE STANDARD TABLE OF lt_pdf_table,
             l_pdf_size         TYPE i,
             l_pdf_line         TYPE lt_pdf_table,
             l_offset           TYPE i,
             l_len              TYPE i.
      l_pdf_size = XSTRLEN( p_pdf_data ).
      l_len = l_pdf_size.
      WHILE l_len >= 1000.
        l_pdf_line = p_pdf_data+l_offset(1000).
        APPEND l_pdf_line TO l_pdf_data.
        ADD 1000 TO l_offset.
        SUBTRACT 1000 FROM l_len.
      ENDWHILE.
      IF l_len > 0.
        l_pdf_line = p_pdf_data+l_offset(l_len).
        APPEND l_pdf_line TO l_pdf_data.
      ENDIF.
      ADD 1 TO ls_url.
      l_myurl(8) = ls_url.
      CONCATENATE l_myurl '.pdf' INTO l_myurl.
      SHIFT l_myurl LEFT DELETING LEADING space.
      CALL METHOD pdf_html_control->load_data
        EXPORTING
          url          = l_myurl
          size         = l_pdf_size
          type         = 'application'                          "#EC NOTEXT
          subtype      = 'pdf'                                  "#EC NOTEXT
        IMPORTING
          assigned_url = l_url
        CHANGING
          data_table   = l_pdf_data
        EXCEPTIONS
          OTHERS       = 1.
      IF sy-subrc <> 0.
        MESSAGE e152(FPRUNX).
        RETURN.
      ENDIF.
    * show data
      CALL METHOD pdf_html_control->show_data
        EXPORTING
          url    = l_url
        EXCEPTIONS
          OTHERS = 1.
      IF sy-subrc <> 0.
        MESSAGE e152(FPRUNX).
        RETURN.
      ENDIF.
    ENDFORM.

  • 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

  • Validating Input fields in Interactive Adobe Forms with Webdynpro ABAP

    Dear Friends,
    Am new to Interactive Adobe forms with Webdynpro Abap,
    My scenario is, I have few Input fields, i need to handle the Messages when am not entering values in any of the Input Field,
    and raise the message when i click on Save Button.
    I have tried with setting the field as Required in Form itself, but i can't set the Field as Mandatory.
    I don't know how to do, Please give some needed points, as well needed some Script/Formcalc code.
    Thanks,
    Pradeep.

    Hi Pradeep,
    You can validate the fields by using javascript/formcalc logic in onclick event of button.
    Please refer the below links
    Adobe Form -How to make an Input Field Mandatory
    Validate Intercive Adobe Form
    Hope it helps you.
    Regards,
    Rama

  • F4 help in Interactive forms with Webdynpro abap

    Hi All,
    How to create a f4 help in interactive adobe form by using  Webdynpro ABAP.

    Ameer,
    Check if these blogs help you:-
    /people/community.user/blog/2006/11/20/search-help-in-isr-adobe-forms
    /people/community.user/blog/2007/01/16/a-simple-search-help-in-isr-form--contd
    Chintan

  • Trouble with unprintable characters in Adobe Print form

    Hi experts,
    I'm trying to implement an adobe printform containing a PDF417 Barcode. To separate the datafields within the barcode, i have to use some unprinteable characters like hex 1E or 1C and so on.
    I had the same issue in SMARTFORMS a few years ago, but was able to solve it in smartforms using /0x1E or /0x1C. Now I tried the same in Adobe Forms, but there comes an error in SM21 (syslog), telling me, that there was a problem during a Render operation. (Processing exception during a "Render" operation... A problem was encountered with the results: RenderResult array is null.)
    I tried to use this coding as well:
      data: zrecsep type c.
    field-symbols: <f>.
    label_data_barcode-recsep   = '1E'. "recsep is type x
    ASSIGN label_data_barcode-recsep to <f> CASTING TYPE C.
    move <f> to zrecsep.
    clear <f>.
    After that, zrecsep contains '#', but in hex the correct value '1E'.
    This coding works for all printable characters, such as hex 66 for 'f' or hex 5B for '[', but not for unrintable characters like hex 1E. In case of an unprintable character, a new syslog entry appears.
    Any ideas?
    Many thanks
    Ralf

    Hi, it's me again
    Here is the answer of the SAP support:
    unfortunatelly this control character is not supported by the XML
    standard and the data in the SOAP request is delivered in XML format to
    the ADS. Therefore such character cannot be used.
    I can only suggest the following web page:
    Link: [http://www.w3.org/International/questions/qa-controls#further]
    I then asked another question:
    Is there any other possibility to generate the pdf417 barcode and use
    it inside the pdf form? For example: Is it possible, to generate the
    barcode-image before calling the ADS-function and submit the address of
    the image instead of the string for the barcode?
    answer:
    I understand that you don't want to print out the string value. But it
    works as follows: the template (which contains the empty label
    definition) and the data (which contains the value for the label) are
    sent to ADS and on ADS side will the label generated.
    Therefore it is also not possible with ADS that you create the label
    befor sending it to ADS.
    The only thing I can imagine that you create the label with an external
    program and you insert it into the template as an image. But I don't
    know if it is possible for you.
    Conclusion: There is definitely no chance to use such characters in Adobe print forms due to the XML standard which is used to process the data inside the ADS.
    In my case, i have to use SMARTFORMS technology to create the label with a pdf417 barcode containing these special characters.
    regards
    Ralf

  • Internal table in adobe print forms

    hi there,
    in my WDA-application i use adobe print forms for output.
    i use a table for displaying an internal abap-table.
    in the formular-hierarchy it looks like this:
    table2
    --> line1
      --> cell1
      --> cell2
      --> cell3
    my problem is that i am a complete newbie in scripting in print forms.
    here is what i want to do:
    if cell1 = 'X' then the text in cell2 has to be bold or underlined.
    Can someone provide me with a code-example either in javascript or formclac???
    thx
    David

    thx for answering.
    first i tried the following code:
    data.T1.Tabelle2::ready:form - (JavaScript, Client) -
    this.Zeile1.Zelle2.font.weight = "bold";
    this.Zeile1.Zelle2.font.underline = "1";
    the result is, that cell2 is bold and underlined but only the first row of the table. i want all cell2 in all rows bold and underlined.
    then i tried this:
    data.T1.Tabelle2::ready:form - (JavaScript, Client) -
    if(this.Zeile1.Zelle1.rawValue == "01"
    this.Zeile1.Zelle2.font.weight = "bold";
    this.Zeile1.Zelle2.font.underline = "1";
    nothing happens and i dont understand why. The visible value in Zelle1 is "01"!

  • ISR with WebDynpro ABAP

    Hi Experts,
    We are building a custom HR application to automate various HR processes
    like New Hire, Termination, etc.. Due to certain internal issues we are
    unable to use the standard business package for MSS (and hence PCR screens
    with adobe forms). We have to create custom webdynpro abap screens for the
    whole application. Now i would like to check if there is a possibility to
    use the ISR framework with a custom webdynpro abap application.
    I checked the transaction QISRSCENARIO but i could not find any option for
    webydnpro abap in "Entry type for Web".
    Have anyone of you tried such a scenario earlier with ISR's? Is there no way
    that we can use webdynpro ABAP applications with ISRs? Or do we have any
    work around for this.
    Please send in your valuable comments.
    Thanks in advance!!
    Regards,
    Gayathri

    Hi
    First, The ISR Scenarios are not for iviews. They are just a part of a view. We can use webdynpro ABAP with the ISR Scenarios. We need to embed these forms into our webdynpro ABAP views and code accorsdigly to get the data. There are some standard components that are provided by SAP to handle ISR Forms with Webdynpro. Check these.
    Regards,
    Srikanth.

  • Installing ADOBE Print Forms

    Hello All,
    We have just completed technical upgrade of our SAP 4.7 system to ECC6.0 system. We want to use Adobe forms? We are having only ABAP Stack . We know that ADS needs Java Stack... Please help me out with the below questions.
    1 .Implementing the Adobe Print Forms in the current lanscape by activating the Java Stack.
    Q1. Implications of activating the Java stack only for Adobe Print Forms in the current lanscape for existing business functions.
    Q2. Best option among installing ADD-IN (or) Stand Alone.
    Q3. Is there any other special requirements to take into account when using this forms application?
    2. Is it the best option to go for third party tool.
    3.Thirdly: I assume that the graphical application (Gui add-on) is only required for
    those who will be developing the forms and not for all users. Is that assumption
    correct?
    Please help me out with ur inputs.
    Thanks in advance.

    If you are considering adding a Java stack to your current ECC6.0 environment as an Add-in then you must consider:
    a) Performance - If ADS is going to be heavily used do you have enough resources available ? Will it impact your current ERP systems ? The Java AS alone will consume a lot of resources.
    b) Complexity - Do you regularly restore your systems to test environments ? ...can your backups and restores deal with the added complexity of a Java AS Add-in ?
    From personal experience it's preferable to have at least 2 standalone ADS systems, 1 for DEV/TST and 1 for PROD.
    You can find a guide and more information on the subject [here|http://help.sap.com/saphelp_nw70/helpdata/en/37/504b8cbc2848a494facfdc09a359b1/frameset.htm].
    Nelis

  • Adobe print form - Purchase order MEDRUCK_PO

    Hi,
    Today I tried to make use of the MEDRUCK_PO adobe print form.
    This form is defined by SAP. They also updated the print program, which is SAPFM06P with entry ADOBE_ENTRY_NEU.
    The first problem I encountered was that the print program didn't find the PDF function module name. In stead it was looking for the FM of the smartform. I did a modification to this part so now the logic looks first at the type (Smartform, PDF of SapScript). This works but now I get an update termination.
    This error says that ULINE is not recognised.
    Did someone already this? I thinks its impossible to have the ULINE statement in a PDF form?!
    Thanks
    Bert

    Hi,
    I have sorted my problem out.  If you do not have transaction SAPLWMC you can use sm30 on view V_TNAPR.
    Now I am getting error messages when SAP generates the FM for the form.  It is complaining about currency fields that do not exist in the HEADER stucture of the interface.  Specifically it is complaining about WRF_POTB_CURRENCY-OTB_CURR which is referred to as the currency key for a couple of other fields.  The structure WRF_POTB_CURRENCY is included in the table EKKO and EKKO is included in the MMPUR_PRINT_EKKO which is used for the HEADER structure for the interface (both MEDRUCK and MEDRUCK_PDF).  Any ideas how to fix this?  I am probably going to have to create a new structure(s) to get this working.
    Regards,
    Dion

  • How to Integrate HCM Process with Webdynpro ABAP Application

    hi,
    I have issue regarding how to integrate HCM Process with Webdynpro abap application.
    I had created one HCM process for transfer using Hrasr_dt T code and also created form scenario and work flow.
    How to Integrate HCM Process with Webdynpro ABAP Application
    by
    Parthasarathi

    hi suhasini,
    Thanks for your reply,
    Can u explain in detail.. and Give any documents or links...
    by
    Parthasarathi

  • SOAP Runtime Exception: CSoapExceptionTransport when activ adobe Print Form

    Hi
    I am trying to activate an Adobe Print Form, but I am getting the error "SOAP Framework error: SOAP Runtime Exception: CSoapExceptionTransport: HTTP send failed with exception communication_failure(100.101)".
    I have searched the forum and can see several thread stating that this is a ADS Configuration/Basis error, but when we try to execute the test report it works just fine, so I am guessing the ADS is working quite fine, or ?
    Any help / hints to fix this error will be very appreciated
    Regards
    Morten Nielsen

    A year back I have experienced the same behaviour of my forms which were very large (30 pages at design time). After some time (number of changes I guess) they stopped working. I had to start all over from the last backup (that was few days ago once, what is a lot of work lost).
    Why I would now do is:
    1) copy your form and try to activate the copy
    2) create a new form with the same interface, create some dummy layout with one field and try to activate
    3) do you have any older version of this form? Or you´ve created it just now and this is the first activation? if you have an older one, try that one
    Otto

Maybe you are looking for

  • Songs deleted off HD but still in iTunes library?

    Maybe a stupid question but I figured it was worth asking. I have a bunch of songs that are not on my HD but still in the iTunes library, and my iPod is set to manual update because I'm scared of losing all my songs. The actual question is; if the so

  • Moving iTunes 6 Library to an external drive

    All I wanted to do is reroute the iTunes Library from my Macs INTERNAL DRIVE, to an EXTERNAL DRIVE (that has more space) AND keep all my hard earned playlists & downloaded album covers intact. Unfortunetly I followd the directions for an earlier vers

  • Problem setting up new airport extreme

    I've just picked up an airport extreme to upgrade my home wifi network. Currently I'm using a buffalo 54g box that works fine. For some reason I can't seet to get the AP extreme to recognize the DSL signal. Here is what I've done so far. I unplugged

  • Transfer orders from SNP to ECC

    Hello, Could anyone please tell me how to transfer planned orders (production, purchase & transport) from SNP to ECC? Thank you in advance for your help. David.

  • Where to download SAPMMC

    Hello Experts, I want to install SAPMMC tool on my laptop, but I can not find the installation file, could you tell me where to find that? Thanks a lot