Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

help in

hi

i dont sucsess to do a group by i wont with group by to save the use of the collect

and do the same only in the select what is the best way to do that?

SELECT  /bic/zps_vr_ds  /bic/zps_ac_wk  /bic/zps_ev_hr
  FROM /bic/azps_ods600
  INTO CORRESPONDING FIELDS OF TABLE b_tab
  WHERE /bic/zps_wbs_d = project.

this is the collect

" i wont to save this collect

 LOOP AT b_tab.

    MOVE:  b_tab-/bic/zps_vr_ds TO inf_tab-/bic/zps_vr_ds,
           b_tab-/bic/zps_ac_wk TO inf_tab-/bic/zps_ac_wk,
           b_tab-/bic/zps_ev_hr TO inf_tab-/bic/zps_ev_hr.

    COLLECT inf_tab.
  ENDLOOP.

regards

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question