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

Similar Messages

  • 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

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

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

  • Changing default printer in Purchase order

    Hi
    This is Mohammed. Khan, when we are working with these purchase Order T-codes (IW32, IW21, IW28, IW38) When ever we are trying to give purchase order print, than automatically it will take $MECH,at present this printer is not available in our landscape, if there I donu2019t know where this printer is defined exactly, I am searching this particular printer in Output devices(SPAD) but this is not available in that list, can any body tell me how to change the default printer, from purchase order printing list, and also let me know how to set different printer in the place of $MECH printer..
    Thank you,
    Regards,
    Mohammed. Khan

    Hi
    Try checking NACE transaction, for your output type the default printer assigned (in communication method). And also check defaults tab in user record in SU01 tcode.
    Thanks

  • 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

  • Not able to print on Purchase order whatever we fill in item text

    not able to print on Purchase order whatever we fill in item text, from where can we link to get printed item text on purchase order

    while doing in quality whatever we fill in text in item details of p.o we are getting it printed on p.order
    but same thing when we are doing in production we are not able to print on purchase order. where we should look out
    for e.g in spro-mm-purchasing-purchase order..

  • Automatic printing of purchase order in a particular printer

    Hi
    Do anyone know, the setting for automatic printing of purchase order by a particular purchasing group in a particular printer. The requirement is that The group has to print only Pur Oder in this printer.
    I don't want to use SPRO>Material Management>Purchasing>Message>assign output device......
    Thanks in advance.
    Esh

    First of all check your output type with MN06 if the Key combination avilable for outpur type then select that combination and creatae the condition records for your PO type with MN04 and assign the printers here by selecting that line adn clicking on the communication tab.
    Or if you don't have the key combination with Purchase group then  go to IMG-MM-Purchasing-message-output control - condition table - here use the existing table for purchase gorup or create new one with the combination oyu are looking
    then create access sequence and assing to your message type then it will be available for MN04.

  • Re: Who printed the Purchase Order

    Hi,
    User A created a Purchase Order.
    User B released the Purchase Order.
    if User C prints the purchase order thru ME9F, how can I find out the info of who actually printed the Purchase Order.
    we have cases of PO ending up in different User own spool.
    Thanks

    Hi
    Please check table NAST for the details, who has Printed the PO.
    The user ID of the person who has issued the putput will get populated in the field
    TDRECEIVER
    Please check the same using SE16N , give the Object key as the PO number & application EF
    Thanks & Regards
    Kishore

  • How pop up form Purchase Order !

    How pop up form Purchase Order  and show last record

    Basically you perform same steps as you would do manually in B1 app, that is
    - Click Modules - Purchasing A/P - Purchase Order = .ActivateMenuItem("2305")
    - Click Data - Last Data Record = .ActivateMenuItem("1291")
    Pls, try searching this forum for more details, it's all there.
    For example, Load standard SBO form from add-on might be useful.
    HTH
    Juha

  • Printing of purchase orders

    Hi.
    Actually I don't have a solution/ idea for the following issue. So I pass this overu2026
    We just want to suppress the u201Cstandardu201D printing of purchase orders with a total value above a specific amount. A second message (EDI) should be processed as normal.
    Should this be done via release strategy or via message control or u2026? All this should work automatically, with no user interaction.
    Any ideas are welcome!
    Thanks
    Patric

    Hi,
    While creating the PO or changing PO IDOC can be genearted automatically .Please do following configuration:
    1.GO to T.Code NACE
    2.Select the row u201CEF Purchase Orderu201D and click on u201CProcedures".
    3.Materials management--> Purchasing ->Messages-> Output control---> Message Determination Schemas -
    > Define Message Schema for Purchase Order -
    >Click on u201CAssign Schema to Purchase Orderu201D. 
    4.Go back to transaction NACE. Select u2018EFu2019 and click on u201COutput typesu201D.
    5.Select output type NEU for Purchase order----->Made required settings --->Ensure that the Checkboxes u201CAccess to conditionsu201D and u201Cmultiple issuingu201D are checked.
    6.Now click on u201CProcessing Routinesu201D on the left hand side
    7.Make the entry either for EDI or ALE .System will generate IDoc /EDI
    Thanks,
    AMIT
    Edited by: Amit Pandurang Rasal on Apr 15, 2009 3:17 PM

  • 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

  • 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

  • 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

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

Maybe you are looking for

  • Safari adding .hqx to downloaded file name

    I am on an imac with mac os x 10.4.11 and safari 3.0.4. I download a mac cd image file with filename of the form x.y.z.iso. safari downloads it but, mysteriously, adds .hqx to the name so it stores on my mac as x.y.z.iso.hqx. Then it tries to unstuff

  • How to upgrade from OCS 904 to 10g but not upgrading Oracle Files

    Hi All, We have installed OCS 904 from where we only are using: - Portal - Oracle Files Our idea is to upgrade this installation to OCS 10g but keeping the same version of Oracle Files (we don't want to migrate to content services for the moment). Is

  • Multiple Selection button on selection screen called in Screen Painter

    Hello ABAPers I have included selection screen(1100) in a subscreen area of a screen in module  program. The user's requirement is that there should be some gap between input field of a select options and multiple selection button. Though the screen

  • How to Struts and Spring in NetBeans using Jboss

    Hi Every One, I have a some basic Knowledge in Struts Spring and Hibernate. I already worked in it with Eclipse IDE in WebSphere Server... But Now i want to How to Use Struts Spring and Hibernate in NetBeans using JBoss i need that Folder Structure l

  • Multiple HTTP Proxies

    Hi, we have a WebLogic Workshop (8.1.5) / Integration (8.5) project which makes heavy usage of WebService controls. We need to make the WebService calls via different HTTP proxies. Is it possible to use either a) an automatic proxy configuration file