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: 

Regarding alv grid dynamic change

Former Member
0 Kudos

Hi my requirement is as follows

i need to show the user some fields in dispaly mode in alv table contol and two fields for user input enable .

when user enter and press execute i should run a process(in back ground) then give him document number on the same screen dynamicaly with out changing the screen .

pls let me know how to show him dynamically result ont he same screen .

2 REPLIES 2

Former Member
0 Kudos

Hi Siva,

If you are displaying an ALV with Controls, you can put some columns in edit mode by just setting the attribute EDIT = 'X' in the field catalogue for that column.

And when the user presses save, You can do the code in PAI and generate a number or whatever logic you want. Then you can add this no. to the ITAB which you are using to display in SET_TABLE_FOR_FIRST_DISPLAY.

Then you can call the same method again or you can use REFRESH_TABLE_DISPLAY and pass the new ITAB which contains the no.

If this answer helps you, pls reward with points.

Former Member
0 Kudos

Can you pls send me a small sample code for this it will be very helpfull

Thanks in advance......