cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Print Preview not working for Adobe forms

Former Member
0 Likes
16,286

Hello experts,

I am new to designing of Adobe forms. I have the following installations already in place:

1. ADS

2. Designer 7.0

3. Adobe Reader 8.0

I am trying to execute the standard report FP_EXAMPLE_01 to test whether Adobe forms work coherently with my system config is fine.

When trying to execute thsi report prg , I get a very perculiar message on clicking on print preview bttn "ADS: Request start time: Tue Feb 05 12:25:05 IST 2008(200.101) "

Now I am not sure whether it is a Basis issue with the ADS config or Printer settings ?

Please advise.

Regards,

Sonika

Accepted Solutions (1)

Accepted Solutions (1)

i042339
Product and Topic Expert
Product and Topic Expert
0 Likes

Hi Sonika,

That is not required functionality. it should display a Adobe Form for Invoice processing.

I doubt there might be some problem with ADS configuration.

Can you please do the following test and let me know the result ?

If the Adobe Interactive Forms have been installed correctly, the

following tests should run without errors:

First test:

1) Call transaction SE38.

2) Enter the report name "FP_PDF_TEST_00" and choose "Execute" (or press F8).

3) Enter "ADS" in the entry field for the connection, and choose

"Execute" (or press F8).

4) The system should issue a dialog box containing the current version

information.

Second test:

1) Call transaction SE38.

2) Enter the report name "FP_TEST_00" and choose "Execute" (or press

F8).

3) Enter "FP_TEST_00" for the form, "2" for the number of output pages,

and "ADS" for the ADS connection. The choose "Execute".

4) Enter a valid output device and choose "Print Preview".

5) The Adobe Reader should be displayed in the GUI, and display two

pages with numbered lines.

Third test:

1) Call transaction SE38.

2) Enter the report name "FP_TEST_IA_01" and choose "Execute" (or press

F8).

3) Enter "FP_TEST_IA_01" for the form, "ADS" for the ADS connection, and

any data in the other entry fields (these are already filled with

default values). Then choose "Execute" (or press F8).

4) Enter a valid output device and choose "Print Preview".

5) The Adobe Reader should be displayed in the GUI, and display a page

with address fields.

6) Scroll down to the frame for the new address, and fill in those

fields.

At the end of the form, an entry field for the date and a value help

exists. Choose the input help button and check if the system displays

the datepicker.

Now you will know yourself if there is any problem with ADS configuration.

Cheers

Satya

Former Member
0 Likes

Hi,

The first two tests work ok

FP_PDF_TEST_00

FP_TEST_00

The following tests fail

FP_CHECK_DESTINATION_SERVICE

FP_TEST_IA_01

Any insights Please.

Thanks,

NJ

Answers (8)

Answers (8)

hassan_zahid
Explorer
0 Likes

Adobe Form Print Preview

Solution:

SAP CRM action profile does not support print preview of Adobe form via action profile

Following steps need to be followed to support this feature in SAP CRM

  1. Create an Adobe form with the following interface

  1. Create a smart form, having the same name as the Adobe form
  1. Create action profile and action for Smart Form Print just like you are  (example is given below). Use the following details
    1. Form Name: <<Smart Form Name; Same as Adobe form name>>
    2. Processing Class: ZHCL_DOC_PROCESSING_CRM_ORDER
    3. Processing Method: ZEXEC_SMART_FORM

If the given interface for Adobe form is not sufficient, you can

  • Either enhance the existing interface to accommodate additional parameters (Please run it by me first)
  • Define a new processing method, and enhance the Class ZCL_CRM_PREVIEW_PDF and method IF_HTTP_EXTENSION~HANDLE_REQUEST to accommodate the same. Please contact to discuss this scenario further
Former Member
0 Likes

Dear Friends,

We are facing same issue but in our case we are using ADS service from different JAVA system. We have ABAP system <XYZ> which is connected to ABAP+JAVA <ABC> for ADS stuff.

When we run FP_TEST_IA_01 program from ABAP system <XYZ> it returned below error:

"ADS: Request start time: Tue May 17 05:51:19 GMT+00:00 2011(200,101)."

but this is intermittent issue. It works sometimes and shows us the print preview for interactive PDF form.

All other tests are successful from ABAP system <XYZ>. So could be network issue between systems though I am not sure.

When we run same program FP_TEST_IA_01 from ABAP+JAVA <ABC> where ADS actually resides it works fine as expected.

Regards,

Mukul SHarma

Former Member
0 Likes

Hello,

I have the same problem, test 1 OK

test 2 : error = ADS: Request start time: ......................... IST 2008(200.101)

for the output device I use the existant one LP01 then "Print Preview", is it right or I have to configure a new output device???

ps : I'm using the SAP NetWeaver 7.0 - Java and ABAP Trial Version on Linux - VMware Edition

Thanks for you help.

Former Member
0 Likes

Hi Khaled ,

Did please check the destination FP_ICF_DATA_<SID> on the visual admin (where <SID> is the SID of your system ). Could be that the username or password mentioned there is wrong. You can also check if the services /sap/bc/fp and /sap/bc/fpads are active . And did you also run the test 3 mentioned by satya ?

Former Member
0 Likes

Hi Khaled ,

Did please check the destination FP_ICF_DATA_<SID> on the visual admin (where <SID> is the SID of your system ). Could be that the username or password mentioned there is wrong. You can also check if the services /sap/bc/fp and /sap/bc/fpads are active . And did you also run the test 3 mentioned by satya ?

Former Member
0 Likes

Hello,

I resolve the problem by assigning the role SAP_BC_FP_ICF to the user ADS_AGENT.

this role was missing !

thanks for your support.

Khaled

Former Member
0 Likes

Hi All,

I am also getting the same error

ADS: Request start time: Wed Feb 27 15:46:34 GMT+01:00 2008(200.101).

My following Test work ok

FP_PDF_TEST_00

FP_TEST_00

FP_CHECK_DESTINATION_SERVICE

but getting an error in

FP_TEST_IA_01

Can anybody help me to solve this problem????

Thanks,

Danniel

Former Member
0 Likes

hi,

I am also getting the same error.

Please help.

Thanks,

Abhilasha

former_member193399
Active Participant
0 Likes

I am also getting the same error "ADS: Request start time:" .... when trying to execute FP_TEST_00. Please reply if anyone knows the solution. The SAP Notes does not mention anything about this.

Thx,

RT

former_member193399
Active Participant
0 Likes

I created a OUTPUT device and added an HTTP destination service in visual administrator (as per the configuation guide) and started working fine. This was a CRM 2007 installation which NW 7.0 sp 12.

0 Likes

Could you please explain how you did that? or where can we found any information to do it?

Thanks.

Former Member
0 Likes

Hello,

But how to solve the problem:

ADS: Request start time: Wed Feb 27 15:46:34 GMT+01:00 2008(200.101).

@ test (generated PDF):

FP_TEST_IA_01

?????

Thanks for any help...

Kind regards,

Guido

by the way: there is no dialog appearing, where i can choose a printer, as it is the case for: FP_TEST_00

Former Member
0 Likes

Hello,

If the Destionation failes in Report:

FP_CHECK_DESTINATION_SERVICE

..you have to configure the J2E-Stack inside the Visual Admin:

Procedure

To change destination, proceed as follows:

...

1. Log on to the Visual Administrator. (See How to Start the Visual Administrator [Page 57].)

2. On the Cluster tab, choose Server <x> &#8594; Services &#8594; Destinations. Under Runtime, select HTTP. The available destinations are displayed.

3. Choose the destination you want to change. The information that applies to a selected destination is displayed in the right pane. Proceed with step 6.

4. Choose New in the navigation panel, if the destination does not exist, yet.

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

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

http://<hostname>:<HTTP_port>;

and in case of SSL,

https://<hostname>:<HTTPS_port>;

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 &#8594; Port Information. The information is displayed on a screen; where the HTTP_port is specified under Services.

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

8. Under Logon Data, choose BASIC in the Authentication field.

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

10. Choose Save.

If you choose Save and Test, you can ignore the message Error during ping operation: Received HTTP response 404.

5.3.4 Activating the ICF service

ChrisSolomon
Active Contributor
0 Likes

VERY nice info! Thanks for sharing! I ran the test and found problems on the last step in both our DEV and Sandbox environments!

Former Member
0 Likes

Hi Satya,

Thanks for the immediate and helpful response.

I have few queries though :

1.Test 1 - Works coherently and the version number is displayed.

2. Test 2 - I get an error stating that the "country key DE has no ISO code . I guess that it is related to some customizing setting.

3. Test 3 - In Interactive form scenario, the ADS connection is hung with the same message as below.

Also, another observation is that, FP_example_01 a standard example program provided by SAP for Priniting PDF forms is working coherently.

Copuld you please advice whether there are different settings in ADS connectivity for Interactive forms as test 3 doesnt work correctly ?

Regards

Sonika