01-15-2009 9:13 AM
Can anyone tell me the new syntaxes for these-
1) Using 'occurs' for creating an internal table is obsolete now.
2) Move statement is obsolete. For a unicode upgrade what is the solution for these?
Search before posting further
Edited by: Vijay Babu Dudla on Jan 15, 2009 4:28 AM
01-15-2009 9:20 AM
Check this document to know about all obsolete statements in ABAP.
01-15-2009 9:15 AM
Hi,
1) Declare work areas for the internal tables:
sample code:-
DATA: lt_fieldcat TYPE slis_t_fieldcat_alv,
wa_fieldcat TYPE slis_fieldcat_alv.
01-15-2009 9:16 AM
Hai,
TYPes: begin of ty_tab,
f1 type element,
f2 type element2,
end of ty_tab.
types: ty_it_tab type table of ty_tab.
data: it_table type ty_it_tab.
data: wa type ty_tab.
Use explicit work areas for the internal tables. you can also use field-symbols if required.
Regards,
Venkatesh
01-15-2009 9:20 AM
Check this document to know about all obsolete statements in ABAP.
01-15-2009 9:29 AM
Regarding move statement can you give the scenario where your are getting error. Because Move can be still used. only in few occasions it throws an error.
If you are getting an error with the move statement use the field symbols.
Initially you have to assign the field symbol, then you can pass the values and do modifications to them.
If still it doesn't solve your problem, write the code where the problem occurs so that a solution can be provided if possible.