Code: Alles auswählen.
FORM check_call_external_function.
DATA: fb_name LIKE ftclear-selvon.
LOOP AT ftclear WHERE selfd = 'FB'.
fb_name = ftclear-selvon.
CHECK NOT fb_name IS INITIAL.
* Funktionsb nur aufrufen, wenn Namenskonvention und Bereich stimmt
IF bereich = '1'.
CHECK fb_name CS 'FEB_1_'.
ENDIF.
IF bereich = '2'.
CHECK fb_name CS 'FEB_2_'.
ENDIF.
* Spezialkennzeichen von manuellem Kontoauszug eliminieren
IF ftclear-agkoa = 'Z'.
CLEAR ftclear-agkoa.
CLEAR ftclear-agkon.
MODIFY ftclear.
ENDIF.
LOOP AT xfebcl WHERE selfd = 'FB'.
CHECK xfebcl-koart = 'Z'.
CLEAR xfebcl-koart.
CLEAR xfebcl-agkon.
MODIFY xfebcl.
ENDLOOP.
ex_funct = true.
fremden Funktionsbaustein aufrufen
CALL FUNCTION fb_name
EXPORTING
i_auglv = auglv
i_tcode = tcode
i_febko = febko
i_febep = febep
IMPORTING
e_subrc = subrc
e_msgid = msgid
e_msgty = msgty
e_msgno = msgno
e_msgv1 = msgv1
e_msgv2 = msgv2
e_msgv3 = msgv3
e_msgv4 = msgv4
TABLES
t_ftpost = ftpost
t_ftclear = ftclear
t_fttax = fttax
t_febre = xfebre
t_febcl = xfebcl.
EXIT.
ENDLOOP.