Skip to Content

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

collect

Hi Expertz,

my data is somthing like this

1234 em 1 12.20 2 34.50 1 23.10 1 12.20

1234 em 1 32.34 3 34.21 0 20.10 1 10.10

1234 sm 1 10.10 1 20.10 1 30.10 1 21.10

after running this bit of code below

LOOP AT gt_output.

AT NEW schemecode.

gt_output3-storeno = gt_output-sno.

gt_output3-schemecode = gt_output-scode.

  • APPEND gt_output3.

ENDAT.

gt_output3-tddreq = gt_output-tddreq.

gt_output3-tddvalue = gt_output-tddvalue.

gt_output3-tunpaiddds = gt_output-tunpaiddds.

gt_output3-tvunpaiddds = gt_output-tvunpaiddds.

gt_output3-tothers = gt_output-tothers.

gt_output3-tothersvalue = gt_output-tothersvalue.

gt_output3-trefunds = gt_output-trefunds.

gt_output3-trefundsvalue = gt_output-trefundsvalue.

COLLECT gt_output3.

ENDLOOP.

im expecting my output as :

1234 em 2 44.54 2 68.71 1 43.20 2 30.30

1234 sm 1 10.10 1 20.10 1 30.10 1 21.10

But its not happening...could you please where im going wrong.

thanks

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question