cancel
Showing results for 
Search instead for 
Did you mean: 

Adobe Form Call: System Error Exception

Former Member
0 Kudos

Hi,

I have created an Adobe Form for printing Invoices. When I call this form from print program using function module call "CALL FUNCTION fp_funcname" it throws Exception "System Error = 2". Can any one flash some light to resolve this issue.

Here I have given that function module call below.

CALL FUNCTION fp_funcname

EXPORTING

/1BCDWB/DOCPARAMS = fp_sfpdocparams

WA_HEADER = wa_header

T_ITEM = t_item

EXCEPTIONS

USAGE_ERROR = 1

SYSTEM_ERROR = 2

INTERNAL_ERROR = 3

OTHERS = 4.

Thanks

Hari

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try with this.

fp_sfpdocparams-langu = 'E'.

fp_sfpdocparams-country = 'US'.

and let me know if its done.

thanks

Dan

Former Member
0 Kudos

Hi Dan,

I tried these parameters. Still getting same error.

Thanks

Hari

Former Member
0 Kudos

Hi,

Try executing FP_TEST_00 in se38.. if you get an ADS erro then you should define connection for ADS & ABAP.

Let me know if u need further.

thanks

Dan

Former Member
0 Kudos

Hi,

In your initialization use this class : cl_fp=>get_ads_connection( ).

you move this to a parameter fp_outputparams .

MOVE cl_fp=>get_ads_connection( ) TO p_conn.

where fp_outputparams TYPE sfpoutputparams called in

CALL FUNCTION 'FP_JOB_OPEN'

CHANGING

ie_outputparams = fp_outputparams

EXCEPTIONS

cancel = 1

usage_error = 2

system_error = 3

internal_error = 4

OTHERS = 5.

Thanks

Dan

Former Member
0 Kudos

Hi,

Else you can debug the FM and see what is happening.

Regards,

Ram

Former Member
0 Kudos

Ramakrishna,

Thanks for your suggestion. I tried after regenerate, but still the same System Error =2 exception raised. I am actually debugging in to that FM to see what is happening. Still not getting any ideas.

Thanks

Hari

Former Member
0 Kudos

Hi,

Try generating the form again and check.

From the menu Form Object--> Generate.

Regards,

Ram