2020 May 07 8:32 PM
Hi All,
Can i write the statement like below . i am getting error .
here table ct_data type is Table .
1 ) ASSIGN ct_data[ 1 ] -('myfield name here ') to fieldsymbol(<lv_value>).
2 ) data(lv_value ) = lt_mseg[ grund = '<Some value>' ]-grund
second statement giving the dump . tried in try catch block also still its not working .
Regards,
Srikanth
2020 May 07 9:49 PM
1)
ASSIGN ct_data[ 1 ] TO FIELD-SYMBOL(<ls_data>).
ASSIGN COMPONENT ('myfield name here') OF STRUCTURE <ls_data> TO FIELD-SYMBOL(<lv_value>).
2)
"giving the dump"
What dump?
"tried in try catch"
What code?
2020 May 08 7:04 AM
2020 May 08 4:52 PM
Thanks for Reply Sandr
I understood from your comment that below statement does not work properly. am i correct ? .
ASSIGN ct_data[ 1 ]-('dynamic field') to fieldsymbol(<lv_value>).
2020 May 08 5:13 PM
You didn't answer our questions yet, so I will wait before answering myself.
PS: