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: 

ALV one cell as checkbox based on some conditions

Former Member
0 Kudos

Hi All,

I have a requirement which is as follows:

For every NEW VBELN, I need a checkbox in the ALV. So, the output should look like this :-

Checkbox VBELN otherFields

-


-


-


Required 11111 42

Not Req. 11111 43

Required 22222 343

Not Req. 22222 245 etc.

Thanks in Advance.

Regards,

Alok

1 REPLY 1

Former Member
0 Kudos

Hi Alok!

Are you using the function 'REUSE_ALV_LIST_DISPLAY'?

If you are, try to use the function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'. This function displays a hierarchy list with tables header and position. The table header must contain the field VBELN, and another field 'CHECK'(type c length 1, used for the checkbox). In the table of positions you should complete the others fields.

In the layout structure (e_layout) the field 'box_fieldname' should be filled like this:

e_layout-box_fieldname = 'CHECK'.

Ariel Juarez.