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

Empty Adobe form when called from an application program

Agrodriguezt87
Discoverer
0 Likes
725

Hi folks,

Good afternoon. I created an Adobe form and the Interface in the SFP TCode. When I executed the Adobe form from the SFP Tcode the form was filled correctly but if I call the form from an application Z Program the form is empty (Only the structure but not the data).

The Z program has this structure.

  1. CALL FUNCTION 'FP_JOB_OPEN' (To open the output).
  2. CALL FUNCTION 'FP_FUNCTION_MODULE_NAME' (To get the function module name associated with the form).
  3. CALL FUNCTION [The FM that we get from step 2] (To execute the form).
  4. CALL FUNCTION 'FP_JOB_CLOSE' (To close the output)

The final result is an empty PDF (Only the structure but not the data).

Any input will be highly appreciated.

Thank you in advance and best regards,

Andres

Accepted Solutions (1)

Accepted Solutions (1)

norbert_kovacs
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello,

You can use the debugger to extract the XFD.xml file. This is the input data that is sent to the ADS to generate the output. If this is already empty, you should further check your application site. If this is correct, the form could be the issue.

For more information:
KBA 2359874 - How to collect PDF data during generation runtime? [VIDEO]
https://me.sap.com/notes/2359874

Agrodriguezt87
Discoverer

Hi Norbert,

Good morning. Thank you for your comments. I will take a look at this information.

Best regards,

Andres

Answers (0)