Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Regarding Line Items

Former Member
0 Likes
462

Hi

I want to display customer wise open items in a report. In that I want to merge all the items by adding amounts and display it under document no. I used collect statement for this. Is there any other alternative to add the amounts and display them?

plz give me the suggestion ASAP.

Thanks in advance

venkat

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
444

Hi Venkata,

If you use

SORT <INTERNAL TABLE> BY <column name>
AT NEW  'column name'.
ENDAT.

but make sure that the 'Column name' should be at the first position other wise all data will display.... . AT NEW will not work.

Hi

I want to display customer wise open items in a report. In that I want to merge all the items by adding amounts and display it under document no. I used collect statement for this. Is there any other alternative to add the amounts and display them?

plz give me the suggestion ASAP.

Thanks in advance

venkat

2 REPLIES 2
Read only

Former Member
0 Likes
444

Use Internal Table events :

at new.

endat

at end of

endat

at last

endat.

Thanks

Seshu

Read only

Former Member
0 Likes
445

Hi Venkata,

If you use

SORT <INTERNAL TABLE> BY <column name>
AT NEW  'column name'.
ENDAT.

but make sure that the 'Column name' should be at the first position other wise all data will display.... . AT NEW will not work.