Skip to Content

field symbol problem

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?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Dec 05, 2007 at 09:03 AM

    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
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.