Tuesday, September 27, 2016

ADS Configuration in Netweaver 7.4:-

Introduction

Adobe Document Services (ADS) are an SAP NetWeaver solution extension included in the SAP NetWeaver usage type Application Server (AS) Java. To process forms in an ABAP environment , the ABAP transaction dynpros or Web Dynpro ABAP applications call the ADS. The generation of forms is based on form templates designed with Adobe LiveCycle Designer and business data provided by the applications.
Once installed on the AS Java, the ADS need to be configured in order to be available for form processing.


1. Users creation

If UME on AS Java

In Identity Management http://hostname:port/useradmin
- Add action “AdobeDocumentServices (ADSCaller)” to role SAP_ADSCALLER
- Create ADSCALLERS group and assign role SAP_ADSCALLER
- Create ADSUSER, select Security Policy “Technical User” and assign group ADSCALLERS

Log on to the AS ABAP with an admin user, in the client that is used for the ADS configuration and go to transaction SU01:
- Create user ADSUSER and select user type “System”
- Create user ADS_AGENT, select user type “System” and assign roles SAP_BC_FP_ICF, SAP_BC_FPADS_ICF and SAP_BC_JSF_COMMUNICATION

Important: profile of these roles must be generated.

Go to transaction PFCG:
Create a role ADSCALLERS (no authorizations required) and assign user ADSUSER to it.


If UME on AS ABAP

Log on to the AS ABAP with an admin user, in the client that is used for the UME authentication and go to transaction SU01:
- Create user ADSUSER and select user type “System”
- Create user ADS_AGENT, select user type “System” and assign roles SAP_BC_FP_ICF, SAP_BC_FPADS_ICF and SAP_BC_JSF_COMMUNICATION

Important: profile of these roles must be generated.

Go to transaction PFCG:
Create a role ADSCALLERS (no authorizations required) and assign user ADSUSER to it.

In Identity Management http://hostname:port/useradmin
- Add action “AdobeDocumentServices (ADSCaller)” to role SAP_ADSCALLER
- Add ADSUSER to role SAP_ADSCALLER
- Make sure that the ADSUSER is “Technical User” and added to group ADSCALLERS


2. AS Java configuration

2.1 Web service destination

Start the SAP NetWeaver Administrator via the address http://hostname:port/nwa
Choose SOA Next navigation step Technical Configuration Next navigation step Destination Template Management
01DTM.JPG
Choose New
02NEW.JPG
Choose Destination Type WSIL
Enter ConfigPort_Document as Destination Name
Enter URL http://hostname:port/inspection.wsil (hostname is the AS Java hostname in which the Adobe Document Services are installed and port is the HTTP port of the AS Java)

Choose Next
03.JPG
Choose Authentication HTTP Authentication and select UserID/Password (Basic)
Enter User ID adsuser (with the password that you created)
Then choose Finish to save
04.JPG

2.2 HTTP destination

Start the SAP NetWeaver Administrator via the address http://hostname:port/nwa
Choose SOA Next navigation step Technical Configuration Next navigation step Destinations
05.JPG
Choose Create...
07.JPG
Enter FP_ICF_DATA_<SID> as Destination Name (<SID> is the AS ABAP SID)
Choose Destination Type HTTP
Choose Next
06.JPG
Enter URL http://ABAPhostname:port (ABAPhostname is the AS ABAP hostname)
Enter the SID and productive client of your AS ABAP system
08.JPG
Choose Authentication Basic (User ID and Password)
Enter User Name ads_agent (with the password that you created)
Then choose Finish to save
09.JPG

2.3 Reader Rights Credential

If you want to create interactive forms, you need a Reader Rights Credential (usage rights credential). For more information please follow this link: Applying a Reader Rights Credential to PDF Forms - Configuring Adobe Document Services for Form Processing (ABAP) - SAP …


3. AS ABAP configuration

3.1 RFC

Call transaction SM59 Next navigation step Choose Create

Enter at least the following:
- RFC destination: ADS
- Connection type: G
- Target Host: Enter the host name of the J2EE Engine that runs the Adobe document services or of the SAP Web dispatcher if applicable
- Service No.: Enter the HTTP port number of the Target Host you have specified (The following naming convention applies: 5<J2EE_instance_number>00 (50000, for example, if your J2EE instance is 00)
- Path Prefix: /AdobeDocumentServices/Config?style=rpc
10.JPG
Choose the Logon/Security tab, select Basic Authentication
In the User and Password boxes, enter the user name ADSUSER and the password
Save your settings
11.JPG

3.2 Activating the ICF services

Call transaction SICF Next navigation step Activate the following services:
default_host → sap → bc → fp
default_host → sap → bc → fpads


4. Configuration check and Troubleshooting

Call transaction SA38 and execute the program FP_TEST_00.
If the FP_TEST_00 form is displayed in the print preview, the ADS configuration is correct.

Call transaction SA38 and execute the program FP_PDF_TEST_00.
This enables you to check the RFC connection to ADS.
If the system displays the version number of ADS, the configuration of the RFC connection is correct.

Call transaction SA38 and execute the program FP_CHECK_DESTINATION_SERVICE without and with selecting the option "With Destination Service".
If the file size of the generated PDF is displayed the ADS configuration is correct.
If you get this error message:
SYSTEM ERROR: ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: XMLFM Exception during render: com.adobe.ProcessingException(200.101).
Exception of class CX_FP_RUNTIME_INTERNAL please follow this link: ADS configuration error FP_CHECK_DESTINATION_SERVICE fails

If one of these reports does not work please refer to SAP Note 944221 for Adobe Document Services troubleshooting.

1 comment:

  1. I also had a same issue with below error:

    SYSTEM ERROR: ADS: com.adobe.ProcessingException: com.adobe.ProcessingException: XMLFM Exception during render: com.adobe.ProcessingException(200.101).
    Exception of class CX_FP_RUNTIME_INTERNAL

    I've fixed this by installing missing 32 bit library libuuid.so.1 in Redhat. Below is the error details

    2.#2020 12 20 05:21:53:216#+00#Error#System.err#
    #BC-SRV-FP#com.adobe~XMLFormService#C0000A00EA1800440000000000001281#107955950000000005#com.adobe/AdobeDocumentServices#System.
    err#deploy_service#4##1CDBDFF1428311EB87D30000066F46EE#1cdbdff1428311eb87d30000066f46ee##0#Thread[XMLForm.exe Error Reader,5,De
    dicated_Application_Thread]#Plain##
    /usr/sap//J10/j2ee/os_libs/adssap/XMLFormService/bin/XMLForm: error while loading shared libraries: libuuid.so.1: cannot ope
    n shared object file: No such file or directory

    Plesae refer below oss notes:

    2135057 - Required RPM package for AdobeDocumentServices on RHEL 7 and Oracle Linux 7

    633459 - Required RPM package for ADS on RHEL 6 and Oracle Linux 6

    Regards,

    Bhaskar BM

    ReplyDelete