on 11-24-2016 7:47 AM
Hello Folks,
I am getting an error while writing a code for datasource enhancement using cmod functionality. Error called as Field "sy_tabix" is unknown. following is my code can anybody please help me out.
TABLES : MBEWH.
DATA : L_S_str LIKE str,
I_TABIX LIKE SY_TABIX.
CASE I_DATASOURCE.
WHEN ' DS_NAME'.
LOOP AT C_T_DATA INTO STR.
L_TABIX = SY_TABIX.
SELECT SINGLE * VERPR STPRS PEINH FROM MBEWH
INTO (L_S_MASTSTKO-ZZVERPR,
L_S_MASTSTKO-ZZSTPRS,
L_S_MASTSTKO-ZZPEINH)
WHERE MATNR = L_S_STR.
IF SY-SUBRC = 0.
MODIFY C_T_DATA FROM L_S_STR INDEX I_TABIX.
ENDIF.
ENDLOOP.
Error has resolved. there is syntax error, i have to define sy-tabix and i defined it as sy_tabix becuase of this i am getting an error.
Thanks & Regards,
Nupur Dubey
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
75 | |
10 | |
10 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.