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: 

Add column in IP17 or IP18 ALV output

Former Member
0 Kudos

I need to add one custom column in ALV output of IP18. This column is in MPOS table.

I have added the column in structure RIHMPOS as append structure. It is showing in field catalog and internal table object_tab (consist data) in debugging mode but it is not coming in output display even not in select layout field section on output.

Can anybody help me in this regard?

9 REPLIES 9

peter_atkin
Active Contributor
0 Kudos

Sanjay,

Have you appended the same field to the structure that is linked to object_tab withing the IP17/18 program?

PeteA

0 Kudos

Yes i have added that to structure RIHMPOS which is related to object_tab.

0 Kudos

Sanjay,

Put a break-point at the method where it displays the ALV (something like CALL METHOD g_alv2->set_table_for_first_display ) and check the output table and field catalog to ensure they have the required fields.

PeteA

0 Kudos

Hi Pete,

I did all these things. In the catalog my field was showing. In data table also my field was visible but anyhow it was not getting displayed on the output.

Later I set the bypassbuffer option in ALV call and it worked. So i think it was using the buffer memory everytime i ran the report. Now it's working perfectly fine.

Thanks for your help.

Sanjay.

Former Member
0 Kudos

Resolved.....

0 Kudos

Resolved.....

How???

PeteA

0 Kudos

Hi Pete,

See the thread. I have given the solution already in it.

Regards,

Sanjay.

0 Kudos

Later I set the bypassbuffer option in ALV call and it worked. So i think it was using the buffer memory everytime i ran the report. Now it's working perfectly fine.

Yes, but HOW did you bypass the buffer option???

PeteA

0 Kudos

Run program BALVBUFDEL to reset ALV buffer. You will see the new field in layout>current>column set.