I have a data like:
ls_abc_lane TYPE bapi11201tr2.
here, ls_abc_lane contains many fields and i want to set each of them value as 'X'.
Traditional way is to fill up like:
ls_abc_lane-field1 = 'X'.
ls_abc_lane-field2 = 'X'.
BUT, if there are many fields it is time consuming to type/copy paste for each field. If there any way to loop through the fields and set up the 'X' value ?
Points will be given to the helpful answer.
Thanks and regards,