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

ALV

Former Member
0 Likes
675

Hi

I am creating an ALV report.Let say i m displaying data from BSEG table and i want to display first 5 fields from it based on some selection criteria.I have created one internal table of this 5 field and passing to ALV FM's ,but in this case i am getting all the fields displayed on the reoprt ,i want to display just 5 fields.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
640

check just ur fieldcatalog.

or post ur fieldcatalog.

Regards

Prabhu

5 REPLIES 5
Read only

Former Member
0 Likes
641

check just ur fieldcatalog.

or post ur fieldcatalog.

Regards

Prabhu

Read only

Former Member
0 Likes
640

Hi,

Declare a internal table with only those 5 fields you wanted to display. On the ALV Function call, pass the fieldcatalog for those 5 fields.

Reward if helpful.

Regards

Read only

Former Member
0 Likes
640

Hemant,

Is your issue solved ??

Regards

Read only

0 Likes
640

yes I am doing it manually means when i pass the 5fields while forming the catelog its coming correctly..is there any other way to come out?

Read only

Former Member
0 Likes
640

Hello,

Declare an internal table only with there five fields. and populate feildcatalogue manually for these five fields and pass this fieldcat to ALV FM.

Regards,

Vasavi.K