cancel
Showing results for 
Search instead for 
Did you mean: 

Debuggin adobe forms

Former Member
0 Kudos

How to put a break point in the ADOBE interface?

For the code written in the initialization?

I know how to do it in smartforms through functionmodule. Is there a similar way for adobe forms too?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

S Kantheri

Yes but Your check this three FM :

call function 'FP_FUNCTION_MODULE_NAME'

exporting

i_name = p_name

importing

e_funcname = p_fnam

e_interface_type = p_intt.

call function 'FP_JOB_OPEN'

changing

ie_outputparams = p_param

exceptions

cancel = 1.

call function p_fnam

exporting

/1bcdwb/docparams = p_docparams

it_vbrk = wa_vbrk

importing

/1bcdwb/formoutput = p_formout

exceptions

usage_error = 1.

call function 'FP_JOB_CLOSE'

importing

e_result = p_result.

Answers (5)

Answers (5)

Former Member
0 Kudos

I t was simple solution.

Like in smartforms, we have function modules for adobe forms too. (where in we can put the break points)

You can find the name of the funtion module by executing the form in SFP

or by executing FP_FUNCTION_MODULE_NAME in se37.

Former Member
0 Kudos

Hi,

For debugging Adobe forms--need to put breakpoint at generated func. module.

For validations in Adobe form---need to do in print program only.

Former Member
0 Kudos

Hi kantheri,

In order to debug your code written in the initialization part in the adobe interface, just write break-point before the code where you want the debugger to be on.

For example, I want to validate the account number of my customer and I have written the following code:

**Validation of Account No.

Place your break-point here.

Break-point.

IF p_zbnkn IS NOT INITIAL.

SELECT SINGLE zbnkn

INTO (dpayh-zbnkn)

FROM dpayh

WHERE zbnkn = p_zbnkn.

IF sy-subrc <> 0.

MESSAGE e001(du) WITH 'Invalid Account No' '' '' ''.

ENDIF.

ENDIF.

former_member226203
Active Contributor
0 Kudos

jus keep an external breakpoint in your code. u can now login to the adobe form and debug it.please not that the user name logged into the adobe form should be the same user used for the breakpoint.

Former Member
0 Kudos

Hi Kalyan,

thanks for the reply.

Which code are you talking about? How to navigate to the code for a adobe form or interface?

I tried searching like in smartform, but couldnot.

Your help wud be appreciated.

regards

Skantheri

Former Member
0 Kudos

Hi,

check this link also.

[;

Regards,

Ansari.s