‎2011 Nov 02 4:42 PM
Hi,
I have designed an alv with 10 columns,in which 5 are editable fields.
In user command , i have given
case sy-ucomm.
when '&DATA_SAVE'.
Loop at itab.
<THE ENTERED DATA COMING PROPERLY>
endlloop.
But if i give a new button in toolbar ('&SAVE'),The data is not coming in internal table.
I need to know that,if only &DATA_SAVE given,the data will be copied inside the program.
How to use different user command names apart from the &DATA_SAVE to save the data.
‎2011 Nov 02 5:06 PM
so post the code you have for your sy-ucomm &SAVE button press....obviously you have something working when it's &DATA_SAVE...so what is different in your code between the two ucomm values?
‎2011 Nov 02 5:06 PM
so post the code you have for your sy-ucomm &SAVE button press....obviously you have something working when it's &DATA_SAVE...so what is different in your code between the two ucomm values?
‎2011 Nov 02 7:07 PM
When creating &SAVE button in SE41 I think you chose a "Reserved function keys" (F4 maybe?). Choose one from "Freely assigned function keys". See if it fixes your problem.
Also you don't have to use & in front you can just use SAVE, if you want.
Edited by: Jeevan Sagar on Nov 2, 2011 2:08 PM
‎2011 Dec 05 2:35 PM