06-29-2007 11:26 AM
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 .
06-29-2007 11:46 AM
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.
06-29-2007 11:48 AM
Can you pls send me a small sample code for this it will be very helpfull
Thanks in advance......