ads 2011 june
TRANSCRIPT
ADS Configuration
Step1
1. Create ADS accounts:-
SU01 -> create ADSUSER -> as type “system user” and enter a password. ADS_AGENT -> as type “service user or Dailog user ” and enter password.
2. Assign ROLES to user “adsuser” and “ads_agent” :-
Create a Role in T-code PFCG called “adscallers” (no authorizations required) and activate the role and assign it to user “adsuser”.
Go to su01 and assign below roles to ADSUSER ROLES: SAP_BC_FP_ICF SAP_BC_FPADS_ICF SAP_BC_JSF_COMMUNICATION
And also add below roles to user “ADS_AGENT” in su01 Roles:- SAP_BC_FP_ICF SAP_BC_FPADS_ICF
Step2
CHECK USER ADSUSER :- XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Ads startup
Step-3
ADS Start-up Java Parameter:-
• Launch the config. tool
• Select Cluster data → instance_<IDxxxx> → server_<IDxxxx>.
• In the right frame, add the following line in the Java Parameters area if it doesn’t exist already and restart J2EE instance
-
Dorg.omg.PortableInterceptor.ORBInitializerClas
s.com.sap.engine.
services.ts.jts.ots.PortableInterceptor.JTSInit
ializer
Step4:- Creating the ABAP RFC Connection
• Call transaction SM59 from the ABAP Choose Create.
• Enter at least the following: RFC destination: ADS
Connection type: G
Description: Adobe Document Services Connection Choose ENTER
• Choose the Technical settings tab and enter at least the following:
Target Host = Hostname of J2EE Engine where ADS is running. Service No = Port Number of J2EE
Engine where ADS is running.
Path Prefix = /AdobeDocumentServices/Config?style=rpc
(Enter exactly the string)
Note : A warning is displayed: “Query String Not Allowed” Ignore this warning by
pressing Enter.
• system
Choose the Logon/Security tab, select Basic Authentication.
In the User and Password boxes, enter the user name ADSUser and the corresponding password.
• Save your settings.
• Choose Test Connection. •
• A screen is displayed. The field status_reason: OK (or forbidden) indicates that the test was successful.
STEP5:-
Test ABAP Connection:-
Run this test to ensure the ADS RFC destination works.
• Log on to your SAP system.
• Call transaction SA38.
• Enter the name of the test report FP_PDF_TEST_00.
• Enter the name of the connection. Enter the default name ADS, or, if you have specified another name, the one you are using in your system.
• Choose Execute (F8) • If the configuration is correct, the system displays the version number of the Adobe document services
Step6:-ADS Web Service: Checking User and Password:-
Run this test to check whether entries for the user, security roles and password are correct in the system that is used for basic Authentication.
• Navigate to the J2EE engine where Adobe Document Services are installed
http://160.110.150.146:50100/AdobeDocumentServices/Config.
• Login with a J2EE Admin account (e.g. Administrator.)
Choose Test
Choose rp Data
Choose the Send button without entering any parameters
Enter username (ADSUser) and Password
Choose Submit
Create Destination service:
This is necessary if AS Java and AS ABAP are on different systems. It will allow the ABAP system to communicate with AS Java where ADS is installed
Ensure ADS_AGENT account is created and assigned role SAP_BC_FP_ICF on AS ABAP
• Launch Visual Administrator
• On the Cluster tab, choose Server <x> → Services → Destinations. Under Runtime, select HTTP. The available destinations are displayed.
• Choose New to create Destination Service FP_ICF_DATA_<SID>
• In the dialog box that follows, enter the name FP_ICF_DATA_<SID>, where <SID> is your ABAP system, for the new destination and choose OK.
Under Connection Settings, enter the message server of the SAP NetWeaver AS ABAP in the URL field: http://160.110.150.146:8000 . To display the host name of your SAP NetWeaver AS ABAP log on to SAP NetWeaver AS ABAP and call transaction SICF.
In the main menu, choose Goto → Port Information.
The information is displayed on a screen; where the HTTP_port is specified under Services.
• Enter the appropriate client number of the system, where the service user ADS_AGENT exists into the client field. Keep the other fields System ID and Language empty.
• Under Logon Data, choose BASIC in the Authentication field.
• Enter ADS_AGENT in the Username field and enter the same password as given for this service user in the SAP NetWeaver AS ABAP in the Password field.
• Choose Save.
• If you choose Save and Test, you can ignore the message Error during ping operation: Received HTTP response 404.
Test Destination Service from AS ABAP
Run this test to check AS ABAP can communicate with AS java through Destination service FP_ICF_DATA_<SID>
Launch Transaction SA38 in ABAP System
Execute Test FP_CHECK_DESTINATION_SERVICE without the “with Destination Service” option.
Click on Execute.
Record the bytes transferred.
Repeat previous step with Destination Service option.
If results are same then Destination Service config. is correct
Install Reader Rights Credential
Required for Interactive Adobe Forms
• Copy the credential file (<filename>.pfx) to the directory ;
/usr/sap/PSJ/SYS/global/AdobeDocumentServices/ TrustManagerService/trust/credentials
Log on to the Visual Administrator
On the Cluster tab, choose Server <x> → 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 ReaderRights. Do not fill the sha1 field!
Browse to search for the name of the credential and then Select.
In the Password field, enter the password you received together with the credential you installed.
Confirm the password, and then click Add. The page refreshes and the list of registered credentials at the top of the page includes the credential you just added.
Restart the J2EE engine
Test PDF Forms Rendering
Run This test to check PDF Form can be rendered
• Launch Transaction SA38 in ABAP System
• Execute Test FP_TEST_00
• Accept default values as shown below
Press F8 to execute
In the “Printer” Dialog Screen, enter a Printer (LP01) and press <Print Preview>
A Sample PDF will be displayed
Test PDF Interactive Forms Rendering:
Run the following test to check Interactive PDF Form can be rendered
• Launch Transaction SA38 in ABAP System
• Execute Test FP_TEST_IA_01