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: 

How to display a value from a field group?

Former Member
0 Kudos

Can I see all the values indexed to a field group?

For exemplo:

FIELD-GROUPS: header, dados.

INSERT x_grupo x_subgrupo x_grupp INTO header. INSERT x_grupo x_grupp x_subgrupo x_texconta x_texgrupo x_texbrevgrupo x_texsubgrupo x_texbrevsubgrupo t_t035-grupp t_t035-textl t_t035-textk x_dmbtr1 x_dmbtr2 x_dmbtr3 x_dmbtr4 x_dmbtr5 x_dmbtr6 x_dmbtr7 x_dmbtr8 x_dmbtr9 x_dmbtr10 bsad-augdt INTO dados.

(...)

EXTRACT dados.

(...)

SORT.

LOOP.

(...)

ENDLOOP.

How can I see all the values passed by the loop?


Thanks!

4 REPLIES 4

matt
Active Contributor
0 Kudos

Why are you using field groups in the first place. Very old technique when the architecture couldn't handle large amounts of data. IIRC it uses the disk to store the data - not the most efficient method.

horst_keller
Product and Topic Expert
Product and Topic Expert
0 Kudos

https://archive.sap.com/discussions/thread/2140322

Of course you can append to an internal table within the loop.

0 Kudos

Hi Mr Keller,

There is some way to see this without append to an internal table? Because I cannot edit the code for while.

Thanks,

Former Member
0 Kudos

I agree Mr. Billingham. I am not using this. It is a already existent code that I need analyse.