Skip to Content
Author's profile photo Former Member

ADS Configuration Between Java and ERP ABAP – step by step

You want to open Adobe documents using ADS in your ERP ABAP system. You should connect a Java system to realize this need. In our case, we have a Java stack which is integrated to BW ABAP stack. The version of the systems is Netweaver 7.0 EHP1 (NW 7.01) .

1-ADSUSER has been created in BW client (001) of BW ABAP system. Its type is “service” and it’s provided a new password. ADSCallers role, which had been created via PFCG as empty, has been added:

/wp-content/uploads/2014/11/1_576820.png

2- ADSUSER should be assigned to parent group “ADSCALLERS”. This is checked via BW JAVA Visual Admin./wp-content/uploads/2014/11/2_576851.png

Please click “Policy Configuration” tab and then “Securiyt Roles” tab. When you select ….ServicesAssembly.jar ADSCaller should be visible there.

/wp-content/uploads/2014/11/3_576854.png

3-In ERP ABAP system, please create an RFC connection named “ADS”. Enter target host and path prefix, service no.

/wp-content/uploads/2014/11/4_577495.png

Assign ADSUSER (BW ABAP 001 Client) and its password that you’ve already provided in step 1:

/wp-content/uploads/2014/11/5_576856.png

Connection test should provide result “200 (OK)” :

/wp-content/uploads/2014/11/6_576863.png

If it results with an “403 Forbidden” error, apply that solution in the scn link:

http://scn.sap.com/message/6668193

Open your Visal Admin and to go Security provider and choose the Policy Configuration “com.sap/com.sap.engine.services.webservices.tool~wsnavigator”. Select the tab “Security Roles”. The applied security roles for WSNavigatorRole is most likly “administartors”. Please change this to “all” if you want that everyone can at least call the wsnavigator application or restrict it by other criterias, BUT make sure your adsuser can access it! Save your change.

/wp-content/uploads/2014/11/7_576865.png

4-Create ADS_AGENT service user in ERP ABAP System (default client to be used) and assign roles:

SAP_BC_FP_ICF , SAP_BC_FPADS_ICF and ADSCallers.

Login to the visual admin on the  BW JAVA system and follow the tabs below. Create HTTP node like in the screenshot. Enter ERP ABAP information and assign the ADS_AGENT credentials.

/wp-content/uploads/2014/11/8_577523.png

“Save and Test” . Ignore 404 Error.

5-Activate fp fpads services via SICF, on ERP ABAP System.

/wp-content/uploads/2014/11/15_576876.png

6-Follow the tabs on visual admin of BW JAVA, like in the screenshot. Enter ADSUSER (you’ve created on BW ABAP side – step1) credentials like in the screenshot.

/wp-content/uploads/2014/11/9_576878.png

7-Restart services below to get activated:

/wp-content/uploads/2014/11/10_576879.png

9-Put the .pfx file that has been provided from OSS in the following path (BW ABAP system)

/usr/sap/<SID>/SYS/global/AdobeDocumentServices/TrustManagerService/trust/credentials

/wp-content/uploads/2014/11/12_577494.png

Then from the visual admin open the following tabs and point the .pfx file which you’ve already put in place. Enter the password which has been provided by OSS.

/wp-content/uploads/2014/11/13_576882.png

10-Please execute the report “FP_TEST_00” via sa38 and select LP01 with printer preview. The following screen should show up, if the configuration works proper.

/wp-content/uploads/2014/11/14_576883.png

Assigned Tags

      9 Comments
      You must be Logged on to comment or reply to a post.
      Author's profile photo Former Member
      Former Member

      Hi Serhat Yüceant,

      Nice blog , I have done as per the blog. But while doing the Interactive forms (FP_TEST_IA_01) test facing issue like below.

      Capture.JPG

      So requested SAP and provide the necessary credtinals and imported the same in our Solution manager system, but no luck.

      Please let me know any suggestion to fix the issue.

      Thank you in advance,

      Bhaskar N.

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hello Bhaskar,

      Please check the 9th step again.


      Did you put pfx file under this path?

      /usr/sap/SID/SYS/global/AdobeDocumentServices/TrustManagerService/trust/credentials


      File rights adjusted? 777 maybe.

      Another thread:

      Reader Rights Error While calling Adobe form in... | SCN

      Also a useful note:

      944221 - Fehleranalyse bei Problemen in der Formularprozessierung

      Good luck,

      Serhat

      Author's profile photo carmen guerrero
      carmen guerrero

      Hi

      When I do ping to the destination the system show the message, however the system work fine and show the PDF

      Test Ping.png

      Regards

      Author's profile photo Former Member
      Former Member

      Hello Bhaskar,

      Please check SAP Note 736902 for error details.You must obtain a ReaderRights credential before you call the report "FP_TEST_00" for testing.

      Regards,

      NP

      Author's profile photo Former Member
      Former Member

      Hello All,

      Thank you for the quick response..

      Yes, placed as mentioned above only, File have full permissions also.

      I have placed the p12 credtinals file in visual admin as shown below.

      P12.JPG

      My Adobe installed is in Solution Manager, but unable to find the below path

      Choose  -->  Configuration Management -->  Infrastructure  -->  Adobe Document.

      Please let me know if anything missed.

      Thank you in advance,

      Bhaskar N

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      From which note does it point this path?

      "Choose  -->  Configuration Management -->  Infrastructure  -->  Adobe Document."

      Author's profile photo Former Member
      Former Member

      Hi Serhat,

      Followed the below link for Adobe services.

      http://scn.sap.com/people/sunny.pahuja2/blog/2012/01/04/ads-configuration-in-netweaver-73

      Thank you in advance,

      Bhaskar N.

      Author's profile photo Former Member
      Former Member

      Hi Serhat,

      Thank you for the responses, I have fixed the issue by creating the below alias, Now able to view PDF form adobe interactive forms.Alias.JPG

      Author's profile photo Former Member
      Former Member
      Blog Post Author

      Hi Bhaskar,

      I appreciate that you had shared the solution with us.

      Regards,

      Serhat