Regarding FormCalc Scripting for Adobe Print Forms

Hi Friends
   I am working on Adobe Print Forms.
I wish to write some FormCalc Scripting  in form on date field.
I want to know the meaning for the below scripring :
$.format.picture = DateFmt(2, $.locale);
$.ui.picture = DateFmt(2, $.locale);
$.assist.toolTip.oneOfChild.value = LocalDateFmt(2, $.locale);
Can anyone please explain me the above scripting in detail.
Points are assured for useful answers.
Regards,
Sree

Hi Susy,
This is a problem with the transaction SPF. The Adobe form painter i.e. SPF transaction is still not very stable.
I had faced the same issue when I was working with SAP labs for developing the SAP standard reports.
Hope this problem is resolved in future versions. But currently there is no solution as such to it.
I think its better that you create the form yourself rather than uploading the PDF document.
Lokesh
Pls. reward appropriate points

Similar Messages

  • Error in FormCalc Script of Adobe Interactive Forms

    Hi,
    We created certain <b>Custom I.S.R. Scenarios</b> and attached them to Workflows. So in these regards, we had already created the needed forms in Adobe Interactive Forms Transaction(SFP) and launched the Scenario successfully in Enterprise Portal.
    But we have a couple of requirements like during <b>Create</b> mode of the form, I should be able to modify certain contents of the form, and during the <b>Change</b> mode of the form, I should be able to modify certain other fields of the form. So I had opted for <i>FormCalc</i> Scripting in these regards.
    I used the following code...
    if($record.CONTROL_PARAM.ISR_MODE == "CHANGE")     
    then
         this.access = "readOnly"
    else
         this.access = ""
    endif
    Well, I used the same script in two of my forms. For one form, it's working very perfect. But for other form, it's giving the following error..
    Error : accessor '$record.CONTROL_PARAM.ISR_MODE' is unknown.
    I am very much mazed, why the same code behaves in 2 ways in two different forms.
    So can anyone help me in these regards?
    Regards,
    Raja Sekhar

    Hi,
    I solved the problem by applying alternate solution.
    I used Java Script instead of FormCalc Script.
    That cleared my errors.
    Regards,
    <b><i>Raja Sekhar</i></b>

  • 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

  • What's the business case for using adobe forms for handling print forms

    Hi
    We are just starting our SAP project and are looking at the possibility to use Adobe forms for generating and printing our forms, like purchase orders, invoices etc.
    My Question is:
    1. Is this possible / adviseable ?
    2. if so - what's the business case in using Adobe forms  - <i> We have been looking on the SAP Pricing for adobe interactive form, and in our point of view it's grotesque high</i>
    3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
    Regards
    Morten Nielsen

    Hi Morten,
    1. Is this possible / adviseable ?
        As far I know SAP is going to stop support for SAPScript in coming years (I don't know exact dates). It is pretty much advisable to use Adobe Print Forms.
    2. if so - what's the business case in using Adobe forms - We have been looking on the
    SAP Pricing for adobe interactive form, and in our point of view it's grotesque high
      We can use Adobe Print Forms where ever we can able to use SApscripts/PDF print Forms.
    3. What other options do we have - do we need to settle with SAP Script / Smartforms ?
      It is better to settle with Adobe forms rather than using SAPscript/Smart forms. One of the main reason for this is maintainance is much easier than SAPscript/Smart forms.
    But remember that Java Stack need to be installed in order to use Adobe Forms.
    Please visit the below SDN area on Adobe forms for more details.
    https://www.sdn.sap.com/irj/sdn/interactiveforms
    Thanks
    Ramakrishna
    Message was edited by:
            Ramakrishna Ramisetti

  • 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

  • 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"!

  • 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

  • Best Practice for PDF print forms based on SAP standard

    Hi,
    I have copied the SAP standard PDF form F_D_INT_SCALE_00 to a Z form, and am using it in conjunction with the standard print program RFDZIS01_PDF.  However I need to output some additional fields that are not supplied by the print program / interface (for example Customer VAT number).
    What is the best practice for achieving this?  As far as I can see the only way is to take a copy of the standard print program and modify it to select the extra data, and modify the interface.  I never like taking copies of standard programs though for obvious reasons.
    If I had this requirement with a smartform it would be a simple case of embedding ABAP code into the Z smartform and leaving the print program alone, but unfortunately there is no provision for the non-PDF version of the Interest Letter to be sent by email.
    Thanks in advance,
    Vindaloo

    Thanks for your reply Robert.
    However I think you are referring to Smartforms when you mention Code Initialization and Global Data declarations.  I need to know the best way to modify copies of standard Adobe Print Forms.
    Regards,
    Vindaloo

  • How to enable frontend printing using Adobe Print Forms

    Otto Gold at the forum "SAP Interactive Forms by Adobe" gave me the tip that Sandra Rossi in this forum might help me out. Here is the link to my original thread How to enable frontend printing using Adobe Print Forms
    My question was:
    Hi Experts!
    Did anyone of you manage to enable frontend printing using Adobe Print Forms? In order to save administration effort we use frontend printing in our ERP system. We just changed some SMARTFORMS to the new Adobe Forms technology. Now we learned that direct frontend printing does not work with these forms.
    Any help will be very much appreciated.
    Kind Regards,
    Gerald

    I think you'll be disappointed by a rather negative answer but I'll try to explain everything I know (or think I know) the best I can
    The simplest solution is to do a preview, and print from Adobe Reader! (as I could see on one project, users have to display one more dialog than usually to print) It's the best workaround according to me.
    How Adobe form printing works:
    When you print an Adobe form from SAP, a printer language (PCL, PS, ZPL, PDF) is retrieved from TSP0B table according to the device type, ADS (Adobe Document Services, installed in the SAP java stack) is then contacted to generate the form: a file corresponding to the printer language is generated and sent back to SAP (there are also 2 other little files but it's of none interest here). SAP stores it as a file (named SPOOL...) in the global directory (DIR_GLOBAL when you use AL11 transaction).
    When you ask SAP to print it, it sends the file as is to the printer.
    Note: when you ask SAP to display the spool, SAP sends a request to ADS which will send back a PDF (binary stream which is not stored on disk, just displayed on frontend).
    How frontend printing works:
    If you want to print a normal spool via frontend, SAP doesn't know the language of the printer you will choose. SAP sends the spool in a format named SAPWIN to a frontend program named SAPLPD, it converts the SAPWIN format into GDI, a Windows format that is understood by all printer drivers, and it is sent to the printer driver (you have selected) which converts the GDI format into the printer language.
    Any workaround?
    First possibility would be that ADS converts the PDF into SAPWIN format (by creating an Adobe .XDC file at the ADS side). SAP says it's not possible in Note 685571 - Printing PDF-based forms. As I understand, SAPWIN is a very simple language compared to PCL for example, so it is very difficult to convert a PDF to SAPWIN without losing much information. There's a SAP note about the SAPWIN language if you want to check.
    Second possibility is to print directly the PDF through Adobe Reader: you get the PDF from ADS, download it to the frontend (easy), and execute directly Adobe Reader print function. Unfortunately, I don't know if it's possible. Moreover, we should enhance the standard SAP print dialog...
    Third possibility is the one I recommended at the beginning of this post

  • Adobe print form margin problem

    Hello,
    I am trying to print a Adobe print form on Kyocera printer(Using HPLJ4 device type).
    I want to print content from 0.5 CMs, but if i give no margin in the design,Output is being Cropped.Print preview is okay.
    Can any one help me?
    Thanks,
    Guru Prasad

    Hello,
    I think you can try with different device type like POSTSCPT or SAPWIN,
    During the print it use different character widths when you use different device types to
    output the same form, HPLJ4 is PCL-5 and the largest.
    You can refer to notes 90437 and 183948 for more information.
    Best Regards,
    Wen Peng

  • 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

  • Adobe Print form problem

    Hello,
    I have a funny problem. Well, this is the first Adobe Print form development in my current project.
    We have configured ADS and am able to create my Adobe form. I tried testing my form directly and it shows me my form in PRINT PREVIEW properly.
    I tried creating the PRINT PROGRAM as shown below. For my suprise, I dont find the PRINT PREVIEW window itself. Niether the OUTPUT.Can anyone help me in correcting my mistake. I hope someone must have had this kind of similar problem before.
    <i>* Get the Generated function module name
    CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
      EXPORTING
        i_name                     = 'Z_TEST_APPLICATION_FORM'
      IMPORTING
        e_funcname                 = l_funcname
        E_INTERFACE_TYPE           =
    IF sy-subrc <> 0.
      WRITE : 'Exit at FP_FUNCTION_MODULE_NAME'.
      EXIT.
    ENDIF.
    Set the form processing attributes
    l_outputparams-device = 'PRINTER'.    "Set the output Device to PRINTER
    l_outputparams-getpdf = 'X'.          "Launch Print Preview
    l_outputparams-preview = 'X'.
    l_outputparams-immexit = 'X'.
    l_outputparams-NODIALOG = ' '.
    *l_outputparams-dest = 'LOCA'.
    Start the form processing
    CALL FUNCTION 'FP_JOB_OPEN'
      CHANGING
        ie_outputparams       = l_outputparams
        EXCEPTIONS
          CANCEL                = 1
          USAGE_ERROR           = 2
          SYSTEM_ERROR          = 3
          INTERNAL_ERROR        = 4
          OTHERS                = 5
    IF sy-subrc <> 0.
      WRITE : 'Exit at FP_JOB_OPEN'.
      EXIT.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    l_docparams-LANGU = 'E'.
    *l_docparams-fillable = 'X'.
    Call our Deferment Application form
    CALL FUNCTION l_funcname
      EXPORTING
        /1bcdwb/docparams = l_docparams
        p9230    = p9230
        ndgp     = l_ndgp
        ldate    = l_ldate
        lsubty   = l_lsubty
        stext    = l_stext
        nric     = l_nric
        ttext    = l_ttext
        rankname = l_rankname
        ndgrant  = l_ndgrant.
    IF sy-subrc <> 0.
      WRITE : 'Exit at l_funcname'.
      EXIT.
    endif.
    Close the Form Processing.
    CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        E_RESULT             =
      EXCEPTIONS
        USAGE_ERROR          = 1
        SYSTEM_ERROR         = 2
        INTERNAL_ERROR       = 3
        OTHERS               = 4
    IF sy-subrc <> 0.
      WRITE : 'Exit at FP_JOB_CLOSE'.
      EXIT.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    WRITE : 'Sucessful'.</i>
    Expecting a fast response. Thanks in advance.
    Regards
    <i><b>Raja Sekhar</b></i>

    Hi Raj,
    Its really nice to hear from you. getPDf is used for getting the pdf document to process in the code.
    Say, i require to attach the PDF and send the form through mail. In that case, I flag this parameter and get the values in the result import parameter of the FM.
    Hope this will give you some idea. You may refer Jeff Gebo's webinar or Vani krishnamoorthy's papers available in SDN, which illustrates, how you can attach a PDF and ssend the mail..
    Hey, btw, i am posting a new thread regarding drop downs. Please reply to it [:D]
    Regards,
    Anto.

  • Adobe Print Form: Printing Nested Internal Tables

    Hi All,
    We are developing an Adobe print form
    We are getting data in 3 internal tables (say ITAB1, ITAB2, ITAB3)
    Now we need to print the data as follows (data can overflow into multiple pages)
    Record of ITAB1.........
       Record of ITAB2
       Record of ITAB2
       Record of ITAB3
       Record of ITAB3
    So for 1 record of ITAB1 there can be >1 records in ITAB2 and ITAB3. We have the data in the correct format and all internal tables have a common key field to link. But we don't know how to render this onto a form
    Please advise
    Thanks and Regards,
    Aditya

    It is possible, in the context itself you have to define them nested
    parent
      -> childtable   "here you can specify the where condition also
       -> subchildtable
    The Crucial part is design , in the design you have to take care of Binding , Postioned, Flowed parts and Repeat Row option(make sure for all the tables forms Repeat row option marked).

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

  • 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

Maybe you are looking for

  • To read HRASR_PREVIOUS_NOTES in Workflow

    Hello All I have a scenario to read the previous notes entered in the HCM Forms in the workflow. For other fields, we can use the task TS17900110 to read the form data in the workflow. But we are not be able to use it to read previous notes because t

  • Balancing field "Profit Center" in line item 003 not filled during AFAB

    Hello all, We have activated business function FIN_GL_REORG_1 on EHP5 in ECC 6.0 and related reporting business function. One of the advantages of activating this for Fixed Assets is now asset balances can be reported at Profit Center/Segment level i

  • My app store doesn't refresh

    Hey I'm having a problem with my app store, not everything seems to be refreshing properly. Search and updates works perfectly as does my Top 25 list. I rarely use categories so I don't know if that is malfunctioning or not. The problem lies in the f

  • Nothing happens when i click on the download mozilla firefox 3.6 for free

    i am trying to switch from ie to mozilla firefox. i clicked on the download now for free tab but nothing happens. the page loads and no run or install box appears. i have tried all the troubleshooting without help

  • Installation CD download needed for WRT54GL

    Hi guys. I'm new here, but bla, I'll skip the intro as I need help on something more important. Currently, I've bought a new home PC, and I wanted to connect a wireless connection, but found out that i lost the Installation CD to my Wirelss -G Broadb