on 10-21-2008 8:40 AM
HI Experts,
Aas per my requirement i wrote the code in enahancement .when i check the code iam getting this error . can any one suggest me on this issue.
data l_budat type budat.
DATA : i_w_data_ap like DTFIAP_1.
when '0FI_AP_6'.
loop at c_t_data into i_w_data_ap
SELECT SINGLE Budat INTO l_budat FROM BKPF
WHERE BUKRS EQ i_w_data_ap-BUKRS
AND GJAHR EQ i_w_data_ap-FISCPER+0(4).
i_w_data_ap-zbudat = l_budat.
modify c_t_data from i_w_data_ap.
clear l_budat.
endloop.
error message is *
"WHEN" is no longer allowed after "WHEN OTHERS".
Regards
sivaraju
Check if WHEN OTHERS is used in your code.
If used put it to the end in the code also make sure you have used endcase statement.
Hope this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.