Application Development 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: 

Creation of internal table and collect in query infoset

Former Member
0 Kudos

Hello Experts,

I am trying to create an infoset (SQ02) based on table FAGLFLEXT in order to allow users to compare different plan versions (the format is similar to REPORT PAINTER but with more than one Leading Column).

I created the Infoset starting with "Data retrivial by program" indicating FAGLFLEXT Table as Data Structure with integrated program.

In Data Reading Program Tab I created two internal tables:

1) T_FAGLFLEXT in oder to limit fields to process

2) TAB_TOT1 where to transpose values belonging to each plan version (FAGLFLEXT-RVERS '000', '001', '003') in dedicated columns and collect amounts using as collecting criteria:

a) Profit center (PRCTR)

b) Account (RACCT)

c) Cost Center (RCNTR)

d) Cost Element (COST_ELEM)

e) Sending Cost Center (SCNTR)

I have problems in generating Infoset and query dumps.

I attached the code I wrote in  "Data Reading Program" Tab.

Thank you for your help.

Andrea

1 REPLY 1

former_member196490
Active Participant
0 Kudos

Collect should be used within the do-endo loop.