03-31-2007 11:10 AM
Dear all,
First of all i need to thank each every member for giving tremendous
support whenever i faced a problem .
I facing a problem such that on click a cell a small pop up screen where
i can change a value . The change should reflect in alv and data base.
I know how to change the value in editable mode but my requirment a pop screen should exits.
with regards ,
Prince Elvis
03-31-2007 12:22 PM
Hi, PRINCE ELVIS VINOLTON
If you just want to change a cell field in ALV, you can make an ALV to be editable
using field category.
but, if you want to pop up and get an value and then you want to change it,
First, you have to get an event for hot spot or doulble click,
Second, when event is created, get an value using pop up, and change it.
You can lots of source program in development class 'SLIS'.
(refer this one also https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d97... )
I with I could help you.
Best regards
Kyung Woo
03-31-2007 12:22 PM
Hi, PRINCE ELVIS VINOLTON
If you just want to change a cell field in ALV, you can make an ALV to be editable
using field category.
but, if you want to pop up and get an value and then you want to change it,
First, you have to get an event for hot spot or doulble click,
Second, when event is created, get an value using pop up, and change it.
You can lots of source program in development class 'SLIS'.
(refer this one also https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d97... )
I with I could help you.
Best regards
Kyung Woo
03-31-2007 12:28 PM
I agree, you should make your ALV editable.
If you don't want
- in you USER_COMMAND form you can use the nearly "universal" POPUP : G_POPUP_FOR_ENTERING_VALUES
Only fill these three parameters :
- FIELD and TABLE with the name of any structure or table field referencing a data element like the one you need
- TITLE_OF_POPUP with your text
there are many POPUP for entering values SM37 POPUP
Then you have to update internal table and refresh ALV grid/list (refresh_table_display)
Regards
03-31-2007 1:00 PM
Hi Raymond,
while using the function module G_POPUP_FOR_ENTERING_VALUES
the field i am using KWMENG AND IT IS PRESENT IN THE INTERNAL TABLE
IT_VBAP.
FIELD = KWMENG
TAB = IT_VBAP
IT GOING TO DUMP.
with regards
prince elvis
03-31-2007 2:00 PM
hI ,
THANKS TO RAYMOND AT LAST I WAS ABLE TO RESOLVE IT.
EITH REGARDS,
PRINCE ELVIS