Hi All,
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.
DO.
CALL FUNCTION 'POPUP_TO_DECIDE_LIST'
EXPORTING
mark_flag = ' '
mark_max = 1
start_col = 80
start_row = 5
textline1 = 'PLEASE SELECT REASON FOR CHANGE'(006)
titel = 'REASON FOR CHANGE'(002)
IMPORTING
answer = l_ans
TABLES
t_spopli = i_spopli
EXCEPTIONS
not_enough_answers = 1
too_much_answers = 2
too_much_marks = 3
OTHERS = 4.
CLEAR i_spopli.
LOOP AT i_spopli WHERE selflag EQ 'X'.
ENDLOOP.
Thanks.