Created by  : Brindavan Mookaiah

Designation : SAP BASIS Consultant

          ADS connection from PPM system to Portal 7.3

SAP ADS connection from PPM5.0 to Portal 7.3

Pre-requisite steps

AS JAVA

Adobe document services

Deploy ADS if not there

check the ADS-USER

Create ADSUSER with role SAP_ADSCALLER       

ADS services

Check ADS services is running or not http://<server>:Port/nwa

AS ABAP

Check user ADS_AGENT

Create ADS_AGENT with required role SAP_BC_FP_ICF, SAP_BC_FPADS_ICF & SAP_BC_JSF_COMMUNICATION

Check T-code SM59

Authoration required to create RFC connection

Services activation-(SICF)


/default_host/sap/bc/fp
/default_host/sap/bc/fpads

PDF printer

Check the PDF printer if not create in SPAD

Step by step

As java

  1. 1)      Deploy ADS in java………………………………………………………………………………………………………
  2. 2)      Create ADSUSER……………………………………………………………………………………………………….
  3. 3)      Check ADS services…………………………………………………………………………………………………….
  4. 4)      Create RFC in SOA from JAVA to ABAP systems…………….……………………………………………………….

AS ABAP

  1. 1)      Create ADS_AGENT user………………………………………………………………………………………..
  2. 2)      Activate services in SICF…………………………………………………………………………………………
  3. 3)      Create PDF printer…………………………………………………………………………………………………
  4. 4)      Create RFC connection from ABAP to JAVA systems. ……………………………………………………….
  5. 5)      Test connection ……………………………………………………………………………………………………

Issues and troubleshooting …………………………………………………………………………………………………..



  1. 1)      Deploy ADS

                     Adobe Document Services (ADS) comes installed by default with NetWeaver AS Java and is SAP’s standard way of creating PDFs by SAP applications. These PDFs can be normal PDFs or interactive (called Adobe Interactive Forms). The SAP system using ADS can be any NetWeaver ABAP or Java system

Note: If ADS is not in JAVA than deploy through telnet or JSPM

Reference link: -Http://wiki.scn.sap.com/wiki/display/TechTSG/(JSTSG)(Telnet)DeployController+Commands?original_fqdn=wiki.sdn.sap.com

  1. 2)      Create ADSUSER

               Create ADSUSER with assigned the role SAP_ADSCALLER   in Java system

           Check in “http://<server>:Port/irj/portal

Capture1.JPG


3) Check ADS services : http://<server>:Port/nwa

      Operations –> Systems –> Start & Stop

Capture2.JPG


4) 1) Create RFC connection to from ABAP to JAVA systems : http://<server>:Port/nwa

Create Destination FP_ICF_DATA_<SID of As ABAP> in SOA.

Go to nwa (http://<server>:<port>/nwa)

  1. Go to SOA –> Technical Configuration–>Select Destinations

Capture3.JPG

   Click create 

Capture4.JPG





Enter Destination Name as FP_ICF_DATA_<SID of As ABAP>Select Destination Type as HTTP. Click Next. Enter URL of As ABAP system (http://<server>:<port>) e.g. http://<servername>.com:8000


Capture5.JPG

Capture20.JPG

Enter System ID and Client of As ABAP system. Click Next


Capture21.JPG

  Select Authentication as Basic. Enter User as ADS_AGENT and its password.

Capture22.JPG

Click on Finish.


Capture10.JPG

As ABAP

Login to As ABAP system.

1) Create user ADS_AGENT as a system user in transaction SU01 and assign roles SAP_BC_FP_ICF, SAP_BC_FPADS_ICF & SAP_BC_JSF_COMMUNICATION.

Note: Either assign standard roles or make a copy of this role to Z roles. If you are assigning standard roles then make sure that profile of these roles should be generated.

2) Create role ADSCALLERS in PFCG and assign user ADSUSER to it.

3) Activate services in SICF

Go to T_cpde SICF and click excute


Capture11.JPG


Activate below services

/default_host/sap/bc/fp

/default_host/sap/bc/fpads   


Capture12.JPG

Capture13.JPG

Capture23.JPG


Create RFC connection to from ABAP to JAVA systems


Go to t-code SM59 and create ADS RFC as Type G.

a) In Target System settings, enter target host name and Service no. of your As Java systems.

b) In Path Prefix, enter- /AdobeDocumentServices/Config?style=rpc

Capture14.JPG

c) In Logon & Security tab, select Basic Authentication. Then, enter user adsuser and its password

Capture15.JPG

Save and click connection test

Capture16.JPG

Configuration Check for PDF-Based Forms in ABAP

For test this report you need LOCL or PDF1 printer to check. if you dont have PDF1 printer then create the same in T-code SPAD.


Login into ABAP system and  executed the below report in T-code SE38.


  1. 1)   FP_PDF_TEST_00

Capture17.JPG

  1. 1)   FP_TEST_00

Capture18.JPG

Issue and trouble shooting


Ads connection issue with report “FP_TEST_00”

Error:

“ADS: com.adobe.ProcessingException:

Capture19.JPG

Solution

1) Stop the JAVA system

2) Login into  JAVA system at OS level and go to the folder like below

  ” /usr/sap/SID/J00/j2ee/os_libs”

then  rename the file  “adssap” “adssap.org”

portal system need to start again and the file adssap will generate automatically.


Issue has been resolved.


For more help for issue and trouble explained in SAP NOTE: 944221 – Error analysis for problems in form processing.

To report this post you need to login first.

Be the first to leave a comment

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

Leave a Reply