You are on page 1of 3

AIF Debug

If you want to debug please do the following:

1. logon to system s4t/100 as described in the attachment: logon to system dsm which is
maintained in this incident->from there do a remote logon to system s4t/100 using the according
ref connection from SM59

2. switch to synchronious AIF mode in debuggert to enable debugging: set a break point in class
/AIF/CL_APPL_ENGINE_XML - /AIF/IF_APPLICATION_ENGINE~RESTART , line 48( if iv_restart...)

3. in system S4T/100 open transaction /AIF/IFMON (it can be found as a favorite within the sap
menu for the support user)

4. navigate to "Central Finance - /FINCF" and open the list of errors by double click on the only
entry "Central Finance - /FINCF"

5. navigate to the list of errors for "AC_DOC/1 Accounting Document" again by clicking on the
small triangle

6. select the error from 27.01.2016: "1: 27.01.2016 15:13:12" and press "restart" in the menu
above

7. when you reach your break point in "/AIF/CL_APPL_ENGINE_XML -


/AIF/IF_APPLICATION_ENGINE~RESTART" jump to line 56
" LOOP AT lt_treenodes ASSIGNING <ls_treenode>. " to enable synchronious mode

-> now you can set your own break point within your debugging session
CALL FUNCTION '/AIF/AUTH_CHECK_PROCESSING'
EXPORTING
iv_ns = ls_finf-ns
iv_ifname = ls_finf-ifname
iv_ifver = ls_finf-ifversion
iv_vns = ls_variant-variant_ns
iv_vname = ls_variant-variant_name
iv_action = lv_action

set a break point in class /AIF/CL_APPL_ENGINE_XML -


/AIF/IF_APPLICATION_ENGINE~RESTART , line 48( if iv_restart...)
/AIF/SAPLFILE~/AIF/FILE_PROCESS_DATA, Line 1159

CALL FUNCTION '/AIF/FILE_TRANSFORM_DATA'


EXPORTING
ns = ns
ifname = ifname
ifversion = ifversion
max_errors = max_errors
progress_interval = progress_interval
xi_flag = xi_flag
ifdirection = ifdirection
log_handle = lv_log_handle
is_variant = ls_variant
transform_data = transform_data
IMPORTING
out_struct = data

You might also like