cancel
Showing results for 
Search instead for 
Did you mean: 

How to Fill value in Input fields before displaying ADOBE FORM

pavneet_rana
Active Participant
0 Kudos

Hi to all,

Please can anyone tell me how to fill the entry in ADOBE FORM before displaying?

I have written a program to generate ADOBE FORM, but I need while displaying ADOBE FROM some input field should already be filled by value and can not be changed.

Please can anyone tell me how to do that in program?

Below is the program.

DATA: fm_name TYPE rs38l_fnam,

fp_docparams TYPE sfpdocparams,

fp_outputparams TYPE sfpoutputparams.

Parameters: p_pdf_form_name type fname.

fp_docparams-langu = 'E'.

fp_docparams-country = 'IN'.

fp_outputparams-preview = 'X'.

CALL FUNCTION 'FP_JOB_OPEN'

CHANGING

ie_outputparams = fp_outputparams

EXCEPTIONS

cancel = 1

usage_error = 2

system_error = 3

internal_error = 4.

CALL FUNCTION 'FP_FUNCTION_MODULE_NAME'

EXPORTING

i_name = p_pdf_form_name

IMPORTING

e_funcname = fm_name.

  • E_INTERFACE_TYPE = E_INTERFACE_TYPE

.

CALL FUNCTION fm_name

EXPORTING

/1bcdwb/docparams = fp_docparams

  • IMPORTING

  • /1BCDWB/FORMOUTPUT = fp_outputparams

EXCEPTIONS

usage_error = 1

system_error = 2

internal_error = 3.

CALL FUNCTION 'FP_JOB_CLOSE'

  • IMPORTING

  • E_RESULT =

EXCEPTIONS

usage_error = 1

system_error = 2

internal_error = 3

OTHERS = 4.

I shall be thankful to you for this.

Regards

Pavneet Rana

Edited by: pavneet rana on Jul 25, 2011 2:57 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello,

you need to provide the information via the interface, which you create for the Adobe form.

And then pass this values via the following function module inside your generation report.

CALL FUNCTION fm_name

check standard report : FP_EXAMPLE_01 as an example!

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

in your fm_name you need to pass the values via coding in program/interface.

During the creation of the form,you can find the interface option.

In that create a interface with your internal tables/work area to pass the values to the form.

Jshree