Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Modify Database Table From Dynamic Internal Table.

Hi Experts,

Created a report which calls a RFC and gets data from Quality Server into Development server. Also creates dynamic internal table.

The RFC fetches data from Q server and comes to Dev Server, now I need to Modify database table in Dev Server with the data from Q Server.

Please Help.

This is the code which I use for Modify

*Declarations

FIELD-SYMBOLS: <outtab> TYPE ANY TABLE,

<l_line> TYPE ANY,

<l_field> TYPE ANY.

DATA: new_table TYPE REF TO data.

DATA: new_line TYPE REF TO data.

PARAMETERS: tab TYPE dd02l-tabname OBLIGATORY ,

****

loop at <outtab> into <l_line>.

modify (tab) from <l_line>.

endloop.

It gives a Error

"The types of the operands "dbtab" and "wa" are not mutually convertible."

Please Help.

Regards,

Raghu

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question