Skip to Content

Ref: http://www.sdn.sap.com/irj/sdn/interactiveforms

Welcome to Adobe Interactive Forms. The purpose of this blog is to make things easier for beginners who would like to venture in Interactive forms using Adobe Live Cycle Designer and SAP Netweaver. The blog provides with step by step procedures on installing and configuring ADS and examples on creating your first Interactive Form

Working with Adobe Forms

Basic Requirements (For beginners)

The requirements given here are for beginners who can start with SAP Netweaver 04s where ADS is installed by default.

Server Side Requirements

Follow the steps mentioned below. This includes step by step procedures on Server Side Installation and Configuration of the Netweaver Application Server and Adobe Document Services.

  • Configure Adobe document services
    • Select security model and configure web service ( Basic Authentication / SSL)

      Basic Authentication: You can go ahead with the Basic Authentication. For this you need not configure anything specific as they are configured by default with NW04s installation

    • Install and configure Reader Rights credentials (interactive forms scenario)

      Use the certificate available in the zip file which is required by SAP Web AS for assigning usage rights

      • Installing a PKCS #12 Credential
        • Copy the credential file (filename.pfx) to the /usr/sap//SYS/global/AdobeDocumentServices/TrustManagerService/trust/credentials directory
        • Configure the Credential Attributes:
          • Logon to the Visual Admin
          • On the Cluster tab, choose Server – > Services -> Document Services Configuration.
          • On the Runtime tab, select Credentials.
          • From the Type field, select the type of credential you are configuring (P12 record)
          • In the Alias field, enter the alias ‘ReaderRights’
          • Choose Browse to search for the name of the credential and then Select
          • In the sha1 field, enter the sha1 value. This value is available in the text file which is found along with the certificate in the zip file.
          • In the password field, enter the password you received along with the credential. In this case, you can enter your own password or the same value in the text file.
          • Confirm the password and click Add.

          The Credential will now be available at the top of the page as a registered credential.

      • Restart the service PDF Manipulation Module for changes to take effect.
        • Logon to Visual Admin
        • On the Cluster tab, choose server -> Services -> PDF Manipulation Module
        • Right click and stop the service.
        • Once stopped, right click and start the service
    • Checking the user and password (optional)
      • Enter the following URL in the browser http://:/AdobeDocumentServices/Config
      • The web page of the web service AdobeDocumentServices is displayed. Choose Test.
      • Choose rpdata(test…)
      • Choose the Send button without entering any parameters
      • Enter the user name and password User Name: ADSUser Password:
      • Choose Submit If the configuration is correct, the system displays the version number in the response area.
    • This is a test for checking whether the entries for the user, security role, and passwords are correct in a system that uses Basic Authentication

    • Configure the ADSUser (optional)
      • Logon to Visual Admin
      • On the Cluster tab, choose Server -> Services – > Security Provider.
      • Choose User Management and then the Tree tab.
      • Select ADSCallers -> ADSUser
      • In the Authenticaltion area, you have Password field to enter your new password.
      • In the Authentication area, now select No password change required.
    • The ADSUser is configured by default during installation. However, if your application doesnot work stating user doesnot exist or password expired, then you can follow the steps mentioned below to reconfigure or reset the password for the ADSUser

    • Set up Licensing Service
      • Logon to Visual Admin
      • On the Cluster tab, choose Server -> Services – > Document Services License Service.
      • In the Serial number box, enter the license key provided by SAP for Adobe Document Services and click on SET.
    • If you are in need to create new form designs or customize previously developed form designs then you need to acquire the license. Refer to SAP Note 750784.

Note: Please be aware that without configuring Reader Right Credentials you will not able to deploy and view the Interactive PDF Form.

Client Side Requirements

Follow the steps mentioned below. Please make sure the following prerequisites are met before working with Adobe Interactive Forms.

End User Requirements

Creating Applications using Interactive Forms

Interactive Forms – Hands on

Online Interactive PDF Form

  • Create a WebDynpro application
  • Embed an interactive form element to a WebDynpro iview
  • Define Data context for the interactive form
  • Editing the form layout
  • Define actions for the form
  • Deploy and test the application

Offline Interactive PDF Form

  • Obtain PDF with Adobe Reader Rights
  • Create a WebDynpro view for form upload
  • Edit the upload view
  • Transfer the uploaded form for display
  • Modifying the Online view to display the uploaded form>
  • Deploying and testing the offline scenario

Dynamic Non-Interactive PDF Form

  • Generate a dynamic form within a WebDynpro application
  • Use the Interactive Form UI Element
  • Layout a PDF Form
  • Integrate Tables into the PDF Form
  • Integrate Images into the PDF Form

Tips on Developing SAP Interactive Forms using Adobe

Conclusion

You will now be able to create your first application using Interactive PDF Form. Hope the blog serves the purpose.

Best Regards, Venkat 🙂

To report this post you need to login first.

9 Comments

You must be Logged on to comment or reply to a post.

  1. David Halitsky
    but it was very helpful to me as a desk organizer.  When anyone posts one of these desk organizers, I put the link in a folder of “good doc links” for future reference, so I won’t have to look for it later.

    Thanks again
    djh 

    (0) 
  2. Sanketh Kandlikar
    Very nice blog, have you used the functionality of reading saved pdf form and binding context [using “transferPDFDataIntoContext(byte[] pdfSource, IWDNode targetNode) ” ] , please let me know. I am wondering if this is a straight forward implementation or its complicated.

    thanks

    (0) 
    1. Muthu Sundarresan
      I am getting an error whenI do the testing for the interactive form callable object.   I appreciate any help and attaching the error for reference.

      Result:  Technical exception
      Details: Service call exception; nested exception is:
      java.net.UnknownHostException: pwdf3102: Service call exception; nested exception is:
      java.net.UnknownHostException: pwdf3102: Service call exception; nested exception is:
      java.net.UnknownHostException: pwdf3102
       


      Output Parameters
      Callable object implementation did not return output parameters

      (0) 
    1. Raza Ali
      Hi Dheerendra,

      I am facing the simlar kind of issues in my Adobe based MSS Forms. Previously MSS forms was running fine with the http setting.

      I implemented the SSL in the Portal but not in R/3 and ADS.

      When I click the MSS Adobe Based form Edit mode then it is showing following errors….

      So could you please let me know whether your issue has be resolved if yes then how did you do that.

      Hope you will help me on this…

      Detail Errors:-

      The initial exception that caused the request to fail, was:
      java.net.ConnectException: Connection refused: connect

      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
      at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
      at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
      at java.net.Socket.connect(Socket.java:461)
      … 47 more

      Detailed Exception Chain

      com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
      com.sap.exception.io.SAPIOException: <–Localization failed: ResourceBundle=com.sap.exception.io.IOResourceBundle, ID=Could not create SSL socket:java.net.ConnectException Connection refused: connect, Arguments: []–> : Cant find resource for bundle java.util.PropertyResourceBundle, key Could not create SSL socket:java.net.ConnectException Connection refused:
      connect
      at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:282)
      at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:224)
      at
      com.sap.tc.webdynpro.clientserver.adobe.AdobeFormHelper.createPDFDocumentForUIElement(AdobeFormHelper.java:520)
      at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:185)
      at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterHandleActionEvent(ClientApplication.java:1174)
      at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.handleActionEvent(WebDynproMainTask.java:407)
      at
      com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:659)
      at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
      at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
      at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
      at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
      at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doPost(DispatcherServlet.java:55)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      …….

      Regards
      Ali

      (0) 

Leave a Reply