on 05-27-2009 3:59 AM
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?
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.