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: 

Mark fields as required in the ALV.

0 Kudos

Hi Experts,

I have a really difficult question. 🙂

I'm trying to find some information how to mark fields of a column in the ALV (cl_gui_alv_grid) as requierd fields. It's not neccessary that alv does check whether the field is filled or not. It's important to display the field as a requiered field like the classic dynpro does it. The attached picture shows a required classic dynpro field.

Is it possible to mark a field as required in the alv?

Thank you in advance!

Viktor

6 REPLIES 6

FredericGirod
Active Contributor
0 Kudos

Hi Viktor,

do you have tried to set the field as a key ?

or maybe set the column in red.

Regards

Fred

Former Member
0 Kudos

Please refer below link,

http://scn.sap.com/message/719275#719275

Regards,

Manjunath M

Former Member
0 Kudos

Hi Viktor ,

see the demo program BCALV_EDIT_04, there is a control you need.

Many thanks

venkat

0 Kudos

Hi,

I checked the message http://scn.sap.com/message/719275#719275 as well as the program BCALV_EDIT_04. It's not the solution that a need. I'd like to mark a field as required. The user must be able to see it like in the classic dynpro. I attached a better example how the result should be. It's a screen shot of a table control with required fields. I'd like to have the same look in the alv.

If I mark a field as key it doesn't mean the field is required. A key can be empty.

Any other ideas?

0 Kudos

Use screen variants i think your problem will solve that.

Many thanks

venkat

0 Kudos

@Venkatrao: I think it could be great when you could describe your solution proposal a little bit detailed. Currently your messages are looking for me like spam.

Thanks,

Viktor