Page 2 of 2

Re: Strugling with SELECT

PostPosted: Fri Jan 20, 2017 9:35 am
by Gothmog
For the last HU being ****, move this :
Code: Select all
<l_field> = RP_HU.

before this
Code: Select all
  AT LAST.
    EXIT.
  ENDAT.

Re: Strugling with SELECT

PostPosted: Mon Jan 23, 2017 5:09 am
by rpinxt
Thanks for this!

Now made it like you said :
Code: Select all
LOOP AT it_hus INTO RP_HU.
  <l_field> = RP_HU.
  AT LAST.
  EXIT.
   ENDAT.
  APPEND <ls_data> TO <lt_data>.
ENDLOOP.


However de **** still remain.

Did I do it still wrong?

Re: Strugling with SELECT

PostPosted: Mon Jul 03, 2017 1:28 pm
by sapyard
Since it is already 6 months, I hope you have already found the resolution.

Just for others benefit, can you please write the solution?

The asterisk comes if we write any anything in the below control.
AT NEW, FIRST, LAST etc
ENDAT.

Gothmog, has rightly suggested to assign the field value before AT - ENDAT.