Skip to Content
0
Former Member
Nov 23, 2007 at 06:29 PM

Issue while moving from string to field symbol -- waiting for help

343 Views

Hi Abap Experts,

At present I got stucked here at client place. Please help me . Thanks in advance.

I have a structure in field symbol. I also have data in the string (rec ty )

I need to move it to corresponding fields in the field symbol. While moving, it is giving a dump.

data:linetype type string,

struc type ref to DATA.

field-symbols: <fs> type any.

linetype = i_strucname.

  • " Get internal table and attach the field-symbol

CREATE DATA struc type standard table OF (linetype).

ASSIGN struc->* TO <fs>.

<fs> = string. (dump is occuring here)