1、WORD格式整理FMBB预算下达控制直接创建实施专业知识分享WORD格式整理专业知识分享WORD格式整理代码: DATA: l_diff_years TYPE fmmaact-perc_time_hor, l_s_lines TYPE fmku_s_badi_line, l_s_fmci TYPE fmci, l_active_process_entry TYPE xflag, l_active_process_return TYPE xflag, l_active_process_suppl TYPE xfla
2、g, l_active_process_trans TYPE xflag, l_active_process_carryover TYPE xflag, l_s_address TYPE fmku_s_dimpart, l_t_address TYPE fmku_t_dimpart, l_t_fmbdt TYPE fmbd_t_t, l_s_fmbdt TYPE fmbdt, l_perc_time_hor TYPE fmmaact-perc_time_hor, l_bud
3、get_option TYPE fmmaact-ma_bud_option. DATA: l_s_msg TYPE bubas_s_msg. DATA: l_nd TYPE gjahr.*** Read the budcat and fm area LOOP AT i_t_lines INTO l_s_lines FROM 1 TO 1. ENDLOOP. l_nd = l_s_lines-FISCYEAR.*** Read multi-annual customizing专业知识分享WORD格式整理 CALL FUNCTION 'FMMA_CHECK_ACTIVATIO
5、0. ENDIF.* Do the check only if perc time hor gt 0 IF l_perc_time_hor GT 0.*** Active the budget processes depending on the customizing option IF l_budget_option EQ 'O'. l_active_process_entry = 'X'. l_active_process_return = ' '. l_active_process_suppl = ' '. l_active_
7、ke in consideration only the lines containing the*** year of cash effectivity LOOP AT i_t_lines INTO l_s_lines WHERE ceffyear IS NOT INITIAL.*** Do the check only if ceffyaer is greater than fiscyear I