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

TO CREATE A POP UP

Former Member
0 Likes
759

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
723

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

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

4 REPLIES 4
Read only

Former Member
0 Likes
724

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

Read only

RaymondGiuseppi
Active Contributor
0 Likes
723

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

Read only

Former Member
0 Likes
723

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

Read only

Former Member
0 Likes
723

hI ,

THANKS TO RAYMOND AT LAST I WAS ABLE TO RESOLVE IT.

EITH REGARDS,

PRINCE ELVIS