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

Validations and default Values in ALV Grid

kasithunuguntla
Participant
0 Likes
768

All,

I am using "set_table_for_first_display" to display a grid with empty editable rows wherein which users can enter data and process certain transactions.

My requirement is to know if we can provide drop-downs and default values in this grid. for ex. if user want to insert a row, that row should automatically have some default values like company code, sales org etc.

Also, if there is an error while validating the data, I should be able to set the focus on that field while displaying the error message. I was able to display error message but could not set the focus on the field that need to be corrected.

Your earlier response is much appreciated.

Regards

Kasi

Hi kasi,

check these links:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/an easy reference for alv grid control.pdf

http://www.abap4.it/download/ALV.pdf

hope this helps,

keerthi.

2 REPLIES 2
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
484

Please have a look at example programs which start with BCALV_EDIT*

Regards,

Rich Heilman

Read only

Former Member
0 Likes
484

Hi kasi,

check these links:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/an easy reference for alv grid control.pdf

http://www.abap4.it/download/ALV.pdf

hope this helps,

keerthi.