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 add columns in ALV grid in transaction CATS_APPR_LITE

Former Member
0 Kudos

Hi all,

I am trying to add a new column to the ALV grid in transaction CATS_APPR_LITE. I have checked out the BADI called "CATS_REPORTING", and found a method called "BEFORE_DISPLAY_APPR". I've tried to perform simple tasks with this method, e.g. changing the column headers in the ALV, and this works fine.

However, I want to add a new column to this ALV. I have managed to add the new column, "X", to the field catalouge. But when I try to display the column i the transaction (by selecting the new column from the "Change Layout" option), I get a short dump.

I have also added the new field to the structure CI_CATSDB.

Does anyone have any idea how to add this new column properly?

All helpful answers will be rewarded!

Best regards,

MV

3 REPLIES 3

Former Member
0 Kudos

Solved by executing the program BALVBUFDEL.

Hi ,

My requirement is to add a custom button in the ALV output and handle that button after user presses.

So, can any body please tell in which method of BADI: CATS_REPORTING, a custom button can be added in the ALV output of tcode CATS_APPR_LITE and in which method the custom button can be handled.

This tcode is related to Cats Time Approve.

Thanks in advance

Syed

Former Member
0 Kudos

the BALVBUFDEL helped to avoid shortdump for unknown field in Fieldcat in routine SAPLSLVC bzw. LSLVCF36 FILL_DATA_TABLE"