Dear all,
I am facing a problem wherein i want to modify <FS_DYN_TABLE> from <FS_DYN_TABLE_TEMP>.It is getting modified,i.e the column for which i want it modified is getting modified but remaining values of that corresponding row are not being displayed.
my declaration for above two are as follows:-
FIELD-SYMBOLS: <FS_DYN_TABLE> TYPE STANDARD TABLE,"Dynamic table
<FS_DYN_TABLE_TEMP> TYPE ANY ,.Temporary Dynamic table
My syntax was
MODIFY <FS_DYN_TABLE> FROM <FS_DYN_TABLE_TEMP> INDEX W_INDEX TRANSPORTING PERCN.
If i give
MODIFY <FS_DYN_TABLE> FROM <FS_DYN_TABLE_TEMP> TRANSPORTING PERCN ,it gives an error saying :-
"The specified type has no structure and therefore no component called
"PERCN". component called "PERCN".
How to resolve this problem?
It's not entirely clear to me what your problem is. <FS_DYN_TABLE_TEMP> is not a table. It is a work area/structure with the same structure as a record in <FS_DYN_TABLE>?
I guess somehow you've set the PERCN field in <FS_DYN_TABLE_TEMP>.
Try:
READ TABLE <fs_dyn_table> INTO <fs_dyn_table_temp> INDEX w_index. ...then set the PERCN field of <fs_dyn_table_temp>. MODIFY <fs_dyn_table> FROM <fs_dyn_table_temp> INDEX w_index.
matt
Add a comment