ads 2011 june

41
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”.

Upload: krishna-babu

Post on 26-Oct-2014

22 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: ADS 2011 JUNE

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

Page 2: ADS 2011 JUNE
Page 3: ADS 2011 JUNE

Go to su01 and assign below roles to ADSUSER ROLES: SAP_BC_FP_ICF SAP_BC_FPADS_ICF SAP_BC_JSF_COMMUNICATION

Page 4: ADS 2011 JUNE
Page 5: ADS 2011 JUNE

And also add below roles to user “ADS_AGENT” in su01 Roles:- SAP_BC_FP_ICF SAP_BC_FPADS_ICF

Page 6: ADS 2011 JUNE

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

Page 7: ADS 2011 JUNE
Page 8: ADS 2011 JUNE
Page 9: ADS 2011 JUNE

Step4:- Creating the ABAP RFC Connection

• Call transaction SM59 from the ABAP Choose Create.

Page 10: ADS 2011 JUNE
Page 11: ADS 2011 JUNE
Page 12: ADS 2011 JUNE
Page 13: ADS 2011 JUNE

• Enter at least the following: RFC destination: ADS

Connection type: G

Description: Adobe Document Services Connection Choose ENTER

Page 14: ADS 2011 JUNE

• 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

Page 15: ADS 2011 JUNE
Page 16: ADS 2011 JUNE

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.

Page 17: ADS 2011 JUNE
Page 18: ADS 2011 JUNE

• Choose Test Connection. •

• A screen is displayed. The field status_reason: OK (or forbidden) indicates that the test was successful.

Page 19: ADS 2011 JUNE

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

Page 20: ADS 2011 JUNE
Page 21: ADS 2011 JUNE
Page 22: ADS 2011 JUNE
Page 23: ADS 2011 JUNE

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

Page 24: ADS 2011 JUNE

Choose Test

Page 25: ADS 2011 JUNE

Choose rp Data

Choose the Send button without entering any parameters

Enter username (ADSUser) and Password

Page 26: ADS 2011 JUNE

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.

Page 27: ADS 2011 JUNE
Page 28: ADS 2011 JUNE
Page 29: ADS 2011 JUNE

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>

Page 30: ADS 2011 JUNE

Launch Transaction SA38 in ABAP System

Execute Test FP_CHECK_DESTINATION_SERVICE without the “with Destination Service” option.

Click on Execute.

Page 31: ADS 2011 JUNE

Record the bytes transferred.

Repeat previous step with Destination Service option.

If results are same then Destination Service config. is correct

Page 32: ADS 2011 JUNE
Page 33: ADS 2011 JUNE

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

Page 34: ADS 2011 JUNE

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

Page 35: ADS 2011 JUNE

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

Page 36: ADS 2011 JUNE

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

Page 37: ADS 2011 JUNE

A Sample PDF will be displayed

Page 38: ADS 2011 JUNE

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

Page 39: ADS 2011 JUNE