May i know how to use if else statement in Call Function? I need to create another language for textline1 = 'PLEASE SELECT REASON FOR CHANGE'(006) in Norwegian.
How to create a new variable that would hold the different texts for different language?
IF NOT i_spopli IS INITIAL.
CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
mark_flag = ' '
mark_max = 1
start_col = 80
start_row = 5
textline1 = 'PLEASE SELECT REASON FOR CHANGE'(006)
titel = 'REASON FOR CHANGE'(002)
answer = l_ans
t_spopli = i_spopli
not_enough_answers = 1
too_much_answers = 2
too_much_marks = 3
OTHERS = 4.
LOOP AT i_spopli WHERE selflag EQ 'X'.