Skip to Content
author's profile photo Former Member
Former Member

ADS in Sneak Preview from ABAP...

I installed Java (6.40) and ABAP (7.0) Sneak previews.

From Java Web Dynpro ADS works fine.

In ABAP it does not work.

ADS RFC destination points to the url http://<laptop>:50200/AdobeDocumentServices/Config?style=rpc

with the right User/password (ADSUser/*****) and wroks fine.

Running the test program FP_PDF_TEST_00 I'm getting a generic SYSTEM ERROR.

Activating the recording in SICF I can see:

HTTP/1.1 302 Found

Content-Type: text/html

Content-Length: 0

connection: close

location: https://<laptop>:50201/AdobeDocumentServicesSec/Config?style=rpc

server: SAP J2EE Engine/6.40

date: Tue, 21 Mar 2006 03:37:16 GMT

Anybody knows why J2EE is generating a redirect (302) to the https 50201 port? I did not activated the SSL in ADS and I do not want to activate it in the Sneak Preview...

Anybody was able to run ADS in the J2EE Sneak Preview from ABAP?

Thanks a lot,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Mar 23, 2006 at 08:17 AM

    Hello Sergio,

    I managed to run both on the same machine, being able to develop Adobe forms on the abap side.

    Looking at your configuration, I see some weird things. I think you mixed up two users, the JAVA-side user to connect to the ADS, and the ABAP-user. Please look at the configuration guide again for installing the ABAP-part (chapter 5).

    1. Activate the ICF service. For detailed information, see Activating the ICF Service [below].

    2. Create a service user in the ABAP environment that corresponds to the user you specify in the authentication parameters. For detailed information, see Creating a Service User in the ABAP Environment [below].

    3. Create the ABAP destination of the Destination Service. This is done within the Java environment. For detailed information, see Creating a Destination of the Destination Service in the Java Environment [on page 32].

    (1) The communication between the Destination Service of the SAP Web AS Java and the SAP Web AS ABAP uses the Internet Communication Framework. You have to activate the corresponding service.

    a. Choose transaction SICF.

    b. Choose default_host &#8594; sap &#8594; bc &#8594; fp in the tree.

    c. Choose Service/Virt.Host &#8594; Activate.

    The ICF service is now active.

    (2) For the creation of the corresponding service user ADS_AGENT in the SAP Web AS ABAP, proceed as follows:

    a. Log on to the SAP Web AS ABAP and choose transaction SU01 (User Management).

    b. Enter the name ADS_AGENT in the User field and choose User &#8594; Create.

    c. Choose the Logon data tab and assign a password.

    d. Choose Service as the user type for ADS_AGENT.

    e. Choose the Role tab and assign the role SAP_BC_FP_ICF to the user ADS_AGENT.

    f. Save the data.

    (3) Log on to the Visual Administrator. See How to Start the Visual Administrator [on page 44].

    a. On the Cluster tab, choose Server <x> &#8594; Services &#8594; Destinations. Under Runtime, select HTTP. The available destinations are displayed. The information that applies to a selected destination is displayed in the right pane.

    b. Choose New in the navigation panel.

    c. In the dialog box that follows, enter the name FP_ICF_DATA for the new destination and choose OK.

    d. Under Connection Settings enter the message server (or Web Dispatcher) of the SAP Web AS ABAP in the URL field:


    and in case of SSL,

    https://<hostname>:<HTTPS_port> To display the host name of your SAP Web AS ABAP log on to SAP Web AS ABAP and call transaction SICF. In the main menu, choose Goto &#8594; Port Information. The information is displayed on a screen; where the HTTP_port is specified under Services.

    e. Enter the client number of the system where the user ADS_AGENT exists in the field client. Keep the other fields System ID and Language empty.

    f. Select the authentication method to use for the connection, and enter the parameters for the authentication method in the corresponding fields (if applicable).

    • In the Username field enter ADS_AGENT (must exist as service user in SAP Web AS ABAP)

    • In the Password field enter the same password as given for SAP Web AS ABAP service user ADS_AGENT.

    See Creating a Service User in the ABAP Environment [on page 31].

    g. If the connection is to use HTTPS, then specify how the connection should handle SSL server authentication.

    h. Save the data.

    I hope this works. Good luck!


    Jan-Willem Kaagman

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Markus Meisl

      Hello Sergio & Markus,

      Sergio, I did not use SSL. Just the basics. And Markus, I know that I am playing with fire. But at least it gave me an opportunity to play with Adobe form development in both the Java- and ABAP-environment. And I use the Sneak Preview just for what they are intended: Self-study, playing around. I do not create forms for productive use at home. I do however, create them at the client, and we do have a better installation over there.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.