Adobe Form output error in Webdypro

Hi Experts,
I created an adobe form using webdynpro.While executing i am getting an error:
"WebDynpro Exception: ADS call failed ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: Could not retrieve a password for credential: ReaderRights(200,101). "
Please help me to solve this issue.
Regards,
Arun.

Am not sure that one.
Adobe Reader (>= 7.0) must be installed on your local computer (see SAP Note 834573)
check this link
http://help.sap.com/saphelp_nw70/helpdata/en/45/2fbd67361003c3e10000000a1553f6/content.htm
http://www.sdn.sap.com/irj/sdn/adobe
and contact ur basis. dont get bolts on urs.
regards
Srinivas
Edited by: sanasrinivas on Oct 3, 2011 7:33 AM

Similar Messages

  • Adobe forms output not showing

    Hi,
    Iam working on ECC5.0 version.
    i created  adobe form after click on test button it will ask for output device.
    i  checked with all output device options but i did not see the output.
    any configuration required for seeing the adobe forms output?
    Regards,
    Suresh

    Hi,
    First question is do you have Adobe Document Services (ADS) in your system landscape?  This is essential to generate output from adobe forms.
    If your ADS is set up you can call function module FP_GET_LAST_ADS_ERRSTR after you call the generated form function module you will get the last error message from the ADS.
    Regards,
    Nick

  • How to send adobe form output in mail as a attachment

    i am get the adobe form output
    how to attach in a mail ....
    Regards
    Anbu B

    my program is like this.............
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name                     = 'YHRIN_WELCOME'
       IMPORTING
         e_funcname                 =  lv_funcname
      gs_output-nodialog = 'X'.
      gs_output-preview = 'X'.
    gs_output-getpdl = 'X'.
       gs_output-getpdf = 'X'.
       gs_output-dest = 'LP01'.
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams       = gs_output
      EXCEPTIONS
        CANCEL                = 1
        USAGE_ERROR           = 2
        SYSTEM_ERROR          = 3
        INTERNAL_ERROR        = 4
        OTHERS                = 5
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    DATA : gs_outputpara TYPE sfpdocparams.
    DATA : ls_return TYPE fpformoutput .
    gs_outputpara-langu = 'E'.
    gs_outputpara-country = 'IN'.
      CALL FUNCTION lv_funcname
      EXPORTING
        /1bcdwb/docparams = gs_outputpara
        wa_data = wa_mail
        IMPORTING
          /1bcdwb/formoutput = ls_return
        EXCEPTIONS
          OTHERS = 1.
    DATA lv_output TYPE sdokcntbins WITH HEADER LINE.
    CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
    EXPORTING
    buffer = ls_return-pdf            "PDF file from function module
    TABLES
    binary_tab = lv_output  .
    *DATA : result TYPE sfpjoboutput WITH HEADER LINE .
      CALL FUNCTION 'FP_JOB_CLOSE'
      IMPORTING
        e_result = result
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    DATA : iv_len_in LIKE sood-objlen,
           it_tline TYPE TABLE OF tline WITH HEADER LINE.
    PERFORM pdf_file.
    DATA:   lt_imessage TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
            lt_iattach TYPE STANDARD TABLE OF solisti1 WITH HEADER LINE,
            lt_ipacking_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            lt_ireceivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            lt_iattachment LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    DATA  : lt_record LIKE solisti1 OCCURS 0 WITH HEADER LINE.
    DATA : it_otf TYPE itcoo OCCURS 0 WITH HEADER LINE.
    DATA: lv_email   TYPE somlreci1-receiver
                          VALUE 'anbu.'.
    PERFORM build_xls_data .
    APPEND lt_iattach.
    Populate message body text
      CLEAR lt_imessage.   REFRESH lt_imessage.
      lt_imessage = 'Please find attached PDF file'.
      APPEND lt_imessage.
    Send file by email as .xls speadsheet
      PERFORM send_email_with_xls TABLES lt_imessage
                                          lt_iattach
                                    USING lv_email
                                          'PDF Attachment of an Employee'
                                          'PDF'
                                          'TestFileName'
                                          'Employee Detail'.
         Form  BUILD_XLS_DATA
    FORM build_xls_data .
    DATA :lv_buffer TYPE string.
    Convert PDF from 132 to 255.
      LOOP AT it_tline.
    Replacing space by ~
        TRANSLATE it_tline USING ' ~'.
        CONCATENATE lv_buffer it_tline INTO lv_buffer.
      ENDLOOP.
       replacing ~ by space
      TRANSLATE lv_buffer USING '~'.
      DO.
        lt_record = lv_buffer.
    Appending 255 characters as a record
        APPEND lt_record.
        SHIFT lv_buffer LEFT BY 255 PLACES.
        IF lv_buffer IS INITIAL.
          EXIT.
        ENDIF.
      ENDDO.
      lt_iattach[] = lt_record[].
    ENDFORM.
         Form  SEND_EMAIL_WITH_XLS
    FORM send_email_with_xls TABLES pit_message
                                              pit_attach
                                        USING p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription.
      DATA: es_xdocdata LIKE sodocchgi1,
            lv_xcnt TYPE i.
    Fill the document data.
      es_xdocdata-doc_size = 1.
    Populate the subject/generic message attributes
      es_xdocdata-obj_langu = sy-langu .
      es_xdocdata-obj_name  = 'SAPRPT' .
      es_xdocdata-obj_descr = p_mtitle .
    Fill the document data and get size of attachment
      CLEAR es_xdocdata.
      READ TABLE lt_iattach INDEX lv_xcnt.
      es_xdocdata-doc_size =
         ( lv_xcnt - 1 ) * 255 + STRLEN( lt_iattach ).
      es_xdocdata-obj_langu  = sy-langu.
      es_xdocdata-obj_name   = 'SAPRPT'.
      es_xdocdata-obj_descr  = p_mtitle.
      CLEAR lt_iattachment.  REFRESH lt_iattachment.
      lt_iattachment[] = pit_attach[].
    Describe the body of the message
      CLEAR lt_ipacking_list.  REFRESH lt_ipacking_list.
      lt_ipacking_list-transf_bin = space.
      lt_ipacking_list-head_start = 1.
      lt_ipacking_list-head_num = 0.
      lt_ipacking_list-body_start = 1.
      DESCRIBE TABLE lt_imessage LINES lt_ipacking_list-body_num.
      lt_ipacking_list-doc_type = 'RAW'.
      APPEND lt_ipacking_list.
    Create attachment notification
      lt_ipacking_list-transf_bin = 'X'.
      lt_ipacking_list-head_start = 1.
      lt_ipacking_list-head_num   = 1.
      lt_ipacking_list-body_start = 1.
      DESCRIBE TABLE lt_iattachment LINES lt_ipacking_list-body_num.
      lt_ipacking_list-doc_type   =  p_format.
      lt_ipacking_list-obj_descr  =  p_attdescription.
      lt_ipacking_list-obj_name   =  p_filename.
      lt_ipacking_list-doc_size   =  lt_ipacking_list-body_num * 255.
      APPEND lt_ipacking_list.
    Add the recipients email address
      CLEAR lt_ireceivers.  REFRESH lt_ireceivers.
      lt_ireceivers-receiver = p_email.
      lt_ireceivers-rec_type = 'U'.
      lt_ireceivers-com_type = 'INT'.
      lt_ireceivers-notif_del = 'X'.
      lt_ireceivers-notif_ndel = 'X'.
       APPEND lt_ireceivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = es_xdocdata
                put_in_outbox              = 'X'
                commit_work                = 'X'
           TABLES
                packing_list               = lt_ipacking_list
               contents_bin               = lt_iattachment
                 CONTENTS_HEX              = lv_output
                contents_txt               = lt_imessage
                receivers                  = lt_ireceivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
          SUBMIT rsconn01 WITH mode = 'INT'
                  WITH output = '' AND RETURN.
    ENDFORM.

  • How to avoid printing a balnk page at the end in the Adobe form output

    Hello Experts,
        Can anyone please let me know as how to avoid/delete the blank page at the end of adobe form output.
    I have a master page with header n footer and a body page seperate.
    For ex.. I have 3 line items and i want each line item to be displayed in the new page. I am able to get this functionality . I have set the settings in the paginationb tab of the subform as
    "after " Go to Next content Area" " but an extra page is getting printed at the end. 3 + 1 extra pages total. I want to avoid this blank page. I have checked the Allow page break with in content box but it is still not working.
    Can someone guide me as how to solve this problem.
    Any help is appreciated. Thanks in advance.
    Regards,
    Mahesh

    hey mahesh,
    this normally happens because of triggering a new page manually, what u would have done is that you would be checking for the new line item and when this condition is satisfied , you are triggering a new page , the reason for the last blank page is that the condition gets satisfied ( beacuse the line item number changes from the last line item no to  initial or space).
    This can be handled by doing the following
    By knowing the number of line items by the following stmt.
    describe table itab lines v_lines.
    Now you have the value in v_lines.
    use a counter in ur form and keep it increasing it by 1  ( say v_sno ) ie v_sno = v_sno + 1 in the loop of ur internal table.
    ONLY WHEN V_LINES IS LESS THAN OR EQUAL TO V_SNO , TRIGGER THE NEW PAGE
    this should be along with the condition which u have already put, ie when ever line item no changes
    when both these conditions are satisfied , then only the new page will be triggered.
    Hope it helps,
    Reward if useful,
    Regards,
    KP.

  • Can I color a line of "standard text" in adobe forms output?

    Simple question: Can I color a line of "standard text" in adobe forms output?
    My standard text (SO10) has multiple lines. 
    Can I make one of the lines red?
    Ollie

    Hi Oliver,
    I believe you standard text is a table type of TDLINES.
    On the form you would display it with a table of 1 column 1 row with repeat row ticked.
    Have the like below code on the fomr ready event of your table.
    for(var i =0; i<this.Row1.nodes.length;i++)
         if(i == 1){
         this.Row1.Cell1.font.fill.color.value = "255,0,0";
         this.Row1.xx.font.fill.color.value = "255,0,0";
    Note: in my example I had a table with one row names Row1 and 2 fields cell1 type textbox,  & xx as text / label.
    If its like you have it in a text box with multiple entries, we need to spli the value such that 1st row is displayed in a text box whose parameters are by defeult set to font red, and rest of them to this text area.
    If your procedure is table the code sud work, else let me know how you get data and how do you display it on the screen.
    Cheers,
    Sai

  • Merging Smartform Output and Adobe Form Output in a single PDF File

    Hi All,
    My Requirement is as follows -
    I have multiple Smartforms and a single Adobe Form.
    I want to merge the Smartform Outputs and Adobe Form output in a single PDF.
    I am able to merge multiple Smartform Output in a PDF , but not able to find any way to merge smartform and adobe form output as the Smartform output is in OTF Format and Adobe form output is in PDF Format itself.
    I have tried few ways , but could not find any success.
    Request you all to give me some direction to this problem.
    Thanks & Regards
    Bhavika

    Kumar,
    I am afraid this is not possible using SAP functionality. There are probably 3rd party tools which allow you to merge several PDFs into one, but SAP itself does not offer such a mechanism. There is an internal SAP function, though, which can merge several "parts" (=several PDFs) within an Adobe-created spool request into a single PDF, intended for downloading this PDF from SP01.
    This is described in note 1717357.
    Best regards,
    Alexander

  • Multiple Adobe Forms Output in single Adobe Form

    Hi Experts,
    When we login to portal a list of applications will be available in a table, each record contains details of the application. when we click on first field of any record in that table it will display one adobe form. Under the table i have a button print, suppose if i select some 5 records in the table and when i click that print button then all the 5 adobe forms output should display as a single adobe form with page breaks. I mean after completion of first adobe form output, the next adobe form output should start in a fresh page. i could able to display single adobe form but the problem is with multiple adobe forms output in single form. Any inputs will be greatly appreciated.
    Regards,
    Venkat

    Hi,
    The only way to solved your issue is to change your forms and give it all necessary information in several table . Like this you can manage break page depending of content.
    For example, you form interface contains one header structure and a table of item . If you want to have several form into one result , change the interface by passing an internal table of header information . Then in the layout you have to use the different table to get the result you want .
    Unfortunately there is no solution actually with AdObe Forms in SAP to merge several PDF into one .
    Hope this help you.
    Regards

  • Saving a adobe form Output to presentation server from webdynpro

    Hi all
    I have a webdynpro aplication, where on clicking a button  I want one adobe form  output to be downloaded
    in pdf format to local server.
    currently while clicking the button its calling the webdynpro application where pdf is integrated and its displayed
    on the browser.
    Instead of the display I want to download to presentation server on clicking of the same button ,
    The layout type of the PDF component is  ZCI Layout and  interface is XML schema based interface.

    With an XML based interface it is going to be much easier to display the form and then download it.  The user could choose the save from the Adobe Plug-In toolbar or you can get the XSTRING content of the PDF from the PDFSource Property of the InteractiveForm UI element.  With the XSTRING you can then, start a download with this content.  However PDFSource doesn't get populated until the InteractiveForm is visible on the screen.
    If you want complete background rendering of the PDF, you would have to call the form interface and pass the data into it with the XML format.  Function Module based form interfaces are really much better suited to background calls because of their nice, flat and ABAP structure based interfaces.

  • Adobe Form output

    Hi Friends
    I am printing Delivery output using Standard program "RVADDN01" via Adobe Forms. Inside the form I have some logic to validate Line Item characteristics.
    Based on that I want to restrict that line item.Its working fine.
    If we don't have any line item my form is printing with header details.In that case, I want to stop my form printing.
    I tried to pass some exception, Its giving express document error.Is there any way to control the output, if line item table is empty.
    Thanks
    Gowrishankar

    Thank you for posting your solution like a good community member! I was having the same problem and your post helped. Many Thanks

  • SAP Adobe form getting error when printing QRCODE

    Dear experts,
    In my program i called Adobe forms.
    In the interface I pass below code
    DATA: lv_nl TYPE string,
           lv_n1 TYPE xstring,
           lv_t1 TYPE xstring,
           lv_tb TYPE string.
    lv_n1 = '13'.
    lv_t1 = '09'.
    BREAK-POINT.
    CALL FUNCTION 'CACS_CONVERT_HEX_TO_STRING'
       EXPORTING
         xstring = lv_n1         " <== Your value here
       IMPORTING
         cstring = lv_nl.
    CALL FUNCTION 'CACS_CONVERT_HEX_TO_STRING'
       EXPORTING
         xstring = lv_t1           " <== Your value here
       IMPORTING
         cstring = lv_tb.
    CONCATENATE gv_sc gv_po1 gv_pa1 lv_nl gv_in1 lv_tb gv_exdat.
    I am getting an error
    Exception       SYSTEM_ERROR
    Message ID:          FPRUNX                     Message number:           001
    Message:
    ADS: com.adobe.ProcessingException: com.adobe.Processin(200101)
    Kindly check and suggest me .
    Gopi

    Hi Gopi,
    Looks like your ADS service is down. Contact your Basis Team.
    Run program FP_TEST_03 to verify the ADS service.
    Refer to thread
    http://scn.sap.com/thread/224489
    Regards
    Sandy

  • Adobe form output not getting displayed for the whole length of the page

    Hi All,
    I have developed an adobe form using webdynpro application. While testing, the output(pdf) does not occupy the entire page/screen from end-user side. But when I test the same from my side, the output appears fine . Could anyone suggest me on this?
    Regards,
    Allwin.

    Did you check the resolution at end user side? Is it different from your resolution?
    To overcome this check what is the height and width you have specified for InteractiveFormUI element in your Web Dynpro application. Have you specified in pixels like 300px? You need to enter it as 100% for both.
    Chintan

  • How to add a drill down feature in the Adobe form output

    Hi,
    I am new to adobe forms.I have a requirement where in i need to develop a form which will have diffeerent rows in the output.
    if the user is accessing the form using SAP GUI i need to provide a hyperlink on the row which will have a drill down feature further to have  the details on the row in a tabular form.Please help me on this.Thanks in advance.
    Moderator message: wrong forum, please have a look in the forum for "Adobe Interactive Forms".
    Edited by: Thomas Zloch on Apr 7, 2011 9:44 AM

    Hi,
    Refers the following links.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4fd2d690-0201-0010-de83-b4fa0c93e1a9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70c9a954-aa20-2a10-64bb-ea0835204e03
    Thanks
    Abhilasha.

  • Adobe Form output cropped when sent directly from SAP to printer

    I have created an Adobe Form (not interactive) that looks perfectly OK when previewed in Adobe Acrobat viewer but when printed blank margins of 4-5 millimeters are applied on all 4 paper edges. The form was designed with a coloured frame around it but the margins effectively remove most of the frame. The form content is being cropped instead of being compressed inside the margins.
    The form has been created with LiveCycle Designer via SAP transaction SFP. I am generating the form from an ABAP program
    When the form is printed from the Adobe Acrobat viewer I have the option to set Page Scaling to 'Fit to Printable Area'. This makes the form content being compressed inside the blank margins and the coloured frame remains intact. If I leave the Page Scaling setting as 'None' the output is being cropped as described above.
    The real problem occurs when I want to print without previewing first. I need to do that since previewing enables the user to skip printing and the application must know if the form has been printed or not. I have so far found no way to make the printer print on the paper edges or fit the content to printable area. Is there some setting in the output parameters than handles this?
    Also there is a need for duplex printing when sending form directly to printer. On help.sap.com there is information about duplex print for SAPscript and Smartforms but nothing for Adobe Forms.
    Here is an excerpt of the ABAP code used for printing the Adobe Form:
      DATA: zs_outparams TYPE sfpoutputparams,
                 z_fmname     TYPE rs38l_fnam.
    Set some print parameters
      zs_outparams-nodialog = abap_true.        "No user dialog
      zs_outparams-device   = 'PRINTER'.          "Output device
      zs_outparams-dest     = z_pdest.              "Printer name
      zs_outparams-reqnew   = abap_true.        "New spool request
      zs_outparams-reqimm   = abap_true.        "Print immediately
    Open print job
      CALL FUNCTION 'FP_JOB_OPEN'
        CHANGING
          ie_outputparams = zs_outparams
        EXCEPTIONS
          cancel          = 1
          usage_error     = 2
          system_error    = 3
          internal_error  = 4
          OTHERS          = 5.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Get FM name for form
      CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'
        EXPORTING
          i_name     = 'Z_TEST_FORM'
        IMPORTING
          e_funcname = z_fmname.
    Call FM to print form
      CALL FUNCTION z_fmname
        EXPORTING
          i_header       = t_data_for_form
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        RAISE print_error.
      ENDIF.
    Close print job
      CALL FUNCTION 'FP_JOB_CLOSE'
        EXCEPTIONS
          usage_error    = 1
          system_error   = 2
          internal_error = 3
          OTHERS         = 4.
      IF sy-subrc <> 0.
        "Ignore
      ENDIF.
    Please advise on how to
    -  avoid the content cropping
    -  enable duplex print
    when sending Adobe forms directly to the printer
    Thanks very much!
    Bernt Evensen

    Thanks for your answer, Ramachandra!
    However I need some more specific information to solve this.
    Which printer layout settings are relevant for the handling of margins and duplex printing for Adobe Forms?
    I have not set up the printer myself but when talking to the printer guy which settings should I recommend him to look at?
    I can see in transaction SPAD that there are settings specific to SmartForms but there is nothing said about Adobe Forms. Is there some way to make Adobe Forms related setting appear in SPAD for a device type?
    Maybe my problem is not related to the printer device settings but rather to the way the printer is being called. When printing duplex we will have to override the default settings of the printer anyway.
    Function module FP_JOB_OPEN has a parameter structure of the type SFPOUTPUTPARAMS. Which fields in this parameter structure are to be manipulated to get duplex print and output fitted to page size?

  • How to Programatically send adobe form output to Application Server?

    Has anyone got a program which calls adobe form function module and then dumps the output to App Server?

    used function 'ADS_WRITE_TO_FILE'

  • Adobe form output different in QA and PRD for Currency field

    Background:
    I am using adobe form to display purchase order details using a output type.
    I am displaying the field NETWR of the purchase order in the form.
    For return orders this value is negative.
    Problem:
    In production system the value is displayed as 0. where as in QA the negative value gets displayed.
    The version of the form is same in both the system.
    Also I have speficied the Currency/quantity fields in the interface.
    I did a bit of debugging and found that in the generated function module of the form there is a difference.
    QA:
    PERFORM %OUTPUT USING 'NETWR' %WORKAREA4-NETWR 'CURR' 'P' 'HEADER-WAERS' HEADER-WAERS ' '.
    PRD:
    PERFORM %OUTPUT USING 'NETWR' %WORKAREA4-NETWR 'CURR' ' ' 'HEADER-WAERS' HEADER-WAERS ' '.
    You can see that the VALUE P (ABAP type for curr) is passed in QA but not in PRD.
    I am not able to understand what causes this code change.
    Has anybody come across this problem?
    Note: I am using copy of MEDRUCK for the interface.

    Thank you for posting your solution like a good community member! I was having the same problem and your post helped. Many Thanks

Maybe you are looking for

  • Using a data source(ODBC)

    hello friends, i have an application that accesses an Access database, SQL (microsoft) and Oracle databases; but each time i run the application, it requests that i create a datasource. so, to do that, i use the windows default "DataSource(ODBC)" pro

  • Query on Functions & Procedures

    Hi, I have worked on webservices in forms. To access the code in webservices, I import the JAR file(which has the webservices code) in the forms wherein the code gets converted to equivalent Procedures and Functions. Now I want to access this code in

  • CS5 - Texture Menu Greyed Out

    Hi everyone, quick question. I know that Textures are not included and all and I have already seperatedly downloaded and placed the entire Textures folder into the Presets folder of the Adobe CS5. The thing is, even so, I still can't access the Textu

  • Transferring Catalog

    Hi, I'd like to know if there is an easy way to transfer my external punchout catalogs from one srm system to another? Is it as easy as exporting & importing to the new or is it more involved? Thanks,

  • Microsoft Office 2011 Installed on Macbook, But Won't Open

    Hi all. I'm running Mac OS X (10.7.5) on a white Macbook. I had a problem with my old Word software (it would crash if I tried to use bullet points or open a saved doc), so I completely uninstalled Microsoft Office including all the Microsoft files i