Issue in Print Form

Hi,
I have created a print form using Adobe LiveCycle designer 7.1 on SAP ECC 6.0 version. The requirement is to mask first 5 characters of a text field (SSN) on the form while displaying but when printed it should print whole SSN.I have used Javascript option to run at client. In the initialize event, I am changing the value(rawValue) to the masked one(for eg. XXXXX9999).In the prePrint event I am passing the correct value of SSN and again in the postPrint event I am changing the value of SSN to the masked one.The form type is set to Print form and Dynamic PDF.I have created a custom program in SAP to creae PDF and download on to the local machine.
Now the issue is...
1)When I opened the downloaded PDF and pressed the print button, the whole document goes blank. This is happening in Adobe Reader 7.0.9.
2) It works as expected with Adobe Reader 8.1.1 but when I close the document it gives error message like - instruction 0XX.. could not be written to memory.
I have also tried to hide to set the presence attribute to "visible" in prePrint event and to "invisible" in postPrint event instead of changing the value of the field but same issue is happening with Adobe Reader version 7.0.9.
I need this to work on any version(7.x or 8.x) of Adobe Reader. Please help.
Thanks,
Raghu

Dear,
print preview and physical printout are two different things.
PrintPreview:
The data stream will be sent to the frontend and rendered with windows-fonts etc (for backend prints a simulation).
Printout:
Frontend: You need a printer, that maps the character, you have to use SAPWIN or SAPWINCF when using cascading fonts. The rendering will be done in the windows spooler.
Backend: Your printer needs also a mapping (look like something with UTF8). Also the printer needs the fonts installed because the rendering will be done in the printer!
If you use the pdf-printer in SAP, you need to upload all necessary fonts (TTF) for the pdf-composer. Also you need a unicode pdf printer for that.
Regards,
Christian

Similar Messages

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

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

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

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

  • 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

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

  • Installing and Configuring Adobe Document Services For Print Forms

    Hi,
    I want to use Adobe Document Services,for Print Forms Scenario,on ABAP side.
    I installed the Adobe document Services following the steps in the Installation Guide.I obtained the Credentials file and supplied it during installation.
    Then i followed the steps in the configuration Guide,except for the SSL connection part, as i have chosen Basic Authentication .
    The Web Service is running and on opening the home page,when i test the method rpData,it asks for Username and password,when i supply my username password it says, user does not have rights to method rpData.
    I even tried using J2ee Admin rights,user with SAP_ALL rights, and ADS_AGENT.
    When i test the service from ABAP side,using the RFC destination i created on Client 400,from where i want to use it, the test shows status code OK.
    When i test a form through transaction SFP,it asks for  USERNAME and password,which i tried as my USERID,ADMIN ID with SAP_ALL rights, even with the users i created during Configuration like ADS_AGENT, ADSUser etc.
    Our J2ee Engine is installed on Client 200,i installed the ADS on Client 200 and created the users ADS_AGENt(service user with role SAP_BC_FP_ICF) and ADSuser on Client 200.
    I also activated the ICF services and created the destination for the destination service using Visual Administrator.
    My Issues:
    1)To test the Webservice,what USER ID password needs to be supplied?Do i need some Special role or rights?
    2)During Configuration ,when i create a USer in SAP Web AS ABAP for Basic Authetication,after creating ADSCallers Role and assigning to ADSUSer ,in Visual Administrator,after selecting com.adobe/AdobeDocumentServices*AdobeDocumentServicesAssembly.jar ,under ADSCallers,i ama ble to see the both the users ADSUser(user in j2ee Engine for basic authentication ), and ADSUSER (user type system in ABAP),are visible,
    When try to add ADSUSEr by choosing ADD,from USER Tree , it doesn't do so.So i Added the ADScallers group instead,thus indirectly both users added.Can this be a Problem?
    3)What else do i need to do?Am i missing something?
    Please help.
    Regards,
    Siddhartha

    Hi all,
    I am having an issue in which my ecc could not use properly the ADS on the EP.
    I could properly execute FP_PDF_TEST_00 from se38 transaction which gives the correct version no of ADS.  Also I am able to get the correct version no by giving username and password at http://<J2EE_host>:<J2EE_port>/AdobeDocumentServices/Config  which seems like the ADS is working properly in EP.
    However when the abaper is trying to run his form using spf like ZFORM_VENDOR  it is showing error like
    " Error during activation Message no. EU837 "
    Can you please shed some light on what all steps I need to check to ensure that ADS is working properly ?

  • PDF Print Forms - Date format

    Hi Frnds,
    This is my first time to work in PDF print forms.
    I am using standard interface and program to print my PDF forms. The PDF form alone is customised.
    I need to format my date as dd-mmm-yyyy. how can i do it?
    can i call a subroutine from a Zprogram in the context or interface?
    Can anyone help me to solve my issue? thanks a lot.
    regards
    Suganya.

    Hi Frnds,
    I got the date format solution.
    But I need to know whether we can use the subroutine of the program inside the interface or PDF forms as like script.
    I am using the std prgm RFKORD10_PDF and my customised PDF form. but i am getting an error as "Contradiction in form".
    Can anyone help me to solve the error?
    thank in adv
    Suganya

  • Getting font problem for printing form in Production server.

    Hi experts,
                   We are getting problem while printing form in production server. As it gives no problem in Quality server while printing the same, the print is fine. We applied packages from 26 to 28 level for version 4.7. When we moved this packages to Production server we got problem of font while printing the form for some of scripts. But the surprise is that in Quality server the print is fine, no problem at all.
                  Can any one suggest me on this issue.
    Regards,
    Sagun Desai.

    Hi sagun,
    Please check the spool request generated on production server using tcode SP01.
    Goto dispaly spool request and check the spool.If the spool too displays your script correctly then there is a problem in printer connected to production server.
    The printer connected to the test server  might be rightly conffigured to print the output.Please check the settings of the printer connected to the production.
    Hope this helps.
    Regards,
    Subodh

  • Account Balance print form

    Hello all,
    I'm working on a print layout design for the Account Balance document. The problem is that I want to display the Remarks entered in the reference document for each row. I can get the remarks display for one type of  the reference documents, but since they can vary (A/P invoice, A/R invoice, incoming payments, journal entry, etc...) I can't figure out how to get the remarks in the corresponding document for each row.
    Could anybody help, please?

    Hello Suda,
    So far, I've been able to show remarks  for A/P invoices and A/R invoices in my Account balance print form. I did it by adding the Remarks fields to the PLD then linking each of them with  fields that take the value true(1) whenever the source document is the same as the one the remarks come from.
    Example:
    A/P invoice : remarks    is linked to origin=='PU' (where origin is the field containing the code of the reference document)
    Now the issue is this trick is working only for A/P invoices and A/R invoices but shows nothing for other documents (Outgoing payments, incoming payments, A/R credit memo, etc...)
    Don't you have any more ideas?

  • Issue in HR Form editor.

    Hi experts,
    I have an issue with HR form editor  Tcode PE51. In form ZF50 the requirement is to add a certain text message when wage type is '2041' in RT table and the employee is getting ticket fare for that month.
    If I define a text module and create a rule for that, the mesg is displayed even if the condition is false.
    Is there any other way to do this?.
    Am I looking into right table? Or is there any other table to look for .
    Please help out.
    Thanks in adcance,
    Aisha.

    Hi Go through this link:
    http://www.scribd.com/doc/13290112/SAP-Printing-remuneration-statement-Pay-slips-using-HR-Forms

  • Travel expense print form

    Hello all,
    I have an issue regarding the travel expense print form.
    The problem is not related to the printer, it is related to the PDF-File which is created.
    In the PDF-File, the left margin is wrong. Thus, it can not be printed correctly due to the wrong margin.
    On the left side, the border line and some characters are not printed.
    If I have to adjust something, how can I procede?
    Thanks in advance for your help,
    Soumaya

    Do you have many receipts in the PDF? If so it can affect the spacing and margins  - check it as follows:
    Access your form via SFP;
    Select: Layout;
    Position yourself on the faulty table;
    Make palette "Object" avaible for entry;
    In the "Binding" section of "Object" you will find the pertinent
    table stated in the "Name:" field
    Click onto "Pagination";
    Here adjust if neccessary the following boxes:
    Include Header Row in Initial Page       and
    Include Header Row in Subsequent Pages
    Also there were some notes released for more specific issues 1140369

  • SRM 7.0 - customizing for print forms

    Hi gurus,
    we want to use adobe forms for print forms.
    In customizing we are able to switch from smartforms to  adobe forms (sap note 1264423).
    While we are encountering problem in configuring differents output actions  for certain documents: i.e. print different forms on basis of a value of an attribute that belong to the business object. We follow IMG documentation (in T. SPRO: SAP Supplier relationship Management -> SRM Server -> Cross Application basic settings -> Set output Actions and output Format -> Condition-Dependent Document Output) but conditions-dependent forms are not getting printed.
    Please help me solving this issue.
    Luca

    Any help on this?

  • Shopping cart Print Form

    Hi Gurus,
    We just recently implemented SRM 7.0 classic scenario and no changes were made on shopping cart print form provided by SAP.
    We are exploring on the possibility of inputting additional details to be displayed during print out of shopping cart.
    Is there any BADI we can use and smartforms for the changes. Please advice.
    Thanks.

    Hi Gurus,
    I have analyzed the reported issue. Could you please implement the
    BADI BBP_CHANGE_SF_SC and set the custom smartform you require to use
    in the BADI. Once you set the Z smartform name in the BADI the same will
    be used by the system for output.
    I hope this helps you.
    Kind Regards,
    Edel.

  • 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

  • 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

Maybe you are looking for

  • Home network and FTP giving diffrent drive letters

    I have my iTunes library on a home server and I have it synced to that drive letter (i.e. X:). When I am remote, which is often in my job, I ftp in and get a different drive letter (i.e. T:). When I attempt to do anything it is telling me it can't th

  • Best Practice for documenting projects BW

    Hi people. We are studing at the moment a way of documenting new developments of applications of SAP BW. Is there a standard of documentation recommended by SAP, or a good practice that I use to create and document objects developed in SAP BW. Can so

  • Leopard update unmounted some of my FW800 drives

    I have a ton of video and picture data that I access often enough to keep it on FW800 drives instead of archiving to tape. Anyhow, over time, I have added and added. So I now have 6 drives varying from 500gb to 2tb each. Never had a problem, did upda

  • I need Internet Explorer 5.5 to access my classes

    Hi I try accessing my classes, but when I do I get a message that says "In order to provide you with the most efficient access to our site, we ask you that you use Internet Explorer 5.5 or higher to view the site. Please click on the Get Microsoft In

  • Can't install new boxed CS5 upgrade

    I keep trying to enter my CS4 number when I am trying to upgrade my Photoshop to CS5. Where do I find my photoshop number? Of course, the entire call center is closed for the weekend. PS5 refuses to see any creative suite number as valid? I have boxe