Skip to Content
0
Jul 01, 2016 at 03:11 PM

Dump at stetement : ASSIGN cs_data->* TO <ls_data> in SAP Floorplan Manager

151 Views

Hello Folks,

I am working in SAP FPM (WDP/FPM). As suggested by I have declared the field symbol of type standard table. Still dump or run time error.

In my application, CS_DATA is dynamically changing the structure. Every time different structure is loading. cs_data is of type DATA.

My code:

FIELD-SYMBOLS: <ls_data> TYPE standard table,

<ls_data_title> TYPE any,

<LFS_value> type any.

IF NOT cs_data IS INITIAL.

ASSIGN cs_data->* TO <ls_data>.

IF <ls_data> IS ASSIGNED.

ASSIGN COMPONENT 'TITLE' OF STRUCTURE <ls_data> TO <ls_data_title>.

IF <ls_data_title> IS ASSIGNED AND <ls_data_title> IS NOT INITIAL.

ASSIGN COMPONENT 'ZZEHSM_NEW_NR' OF STRUCTURE <ls_data> TO <LFS_value>.

IF <LFS_value> IS ASSIGNED.

MOVE '2016-06-0001' to <LFS_value>.

ENDIF.

ENDIF.

UNASSIGN: <ls_data_title>, <LFS_value>.

ENDIF.

.


Dump is at statement: ASSIGN cs_data->* TO <ls_data>.

Can you please suggest.

Thanks,

Yerukala Setty