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

Display checked data in SM30 Evenet (Bfore saving data to database)

Former Member
0 Likes
1,160

Dear all,

I wanted to create a popup when the user enterd the entries in SM30 and pushed the saving button. This POPUP is only a information for this user and not a creteria to save the data or not.

My question

1) Its is possible in this event to display a popup?

2) what kind of popup can I use ? I need something like ALV as POP

best regard

7 REPLIES 7
Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,118

I can't think of any reason why you cannot display a pop up in the concerned event.

If you want an ALV as a pop-up you can use the FM 'REUSE_ALV_POPUP_TO_SELECT' (refer to sample code BALV_POPUP_TO_SELECT).

BR,

Suhas

PS: I have a gut feeling this thread is an extension of .

Edited by: Suhas Saha on Jun 10, 2010 1:45 PM

Read only

Former Member
0 Likes
1,118

perfect! I got it

now only one question. In this event (Before saving data to database) may also possible to skip the saving data. I think is a flag in the global variabls. Does any one know which one it is?

Thank u again

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,118

Are you talking about the flag VIM_ABORT_SAVING ?

Read only

Former Member
0 Likes
1,118

Hi,

is this flag responsible for saving the data (Commit work)?

best regards

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
1,118

AFAIK if you pass 'X' to VIM_ABORT_SAVING the data is not saved to the DB. Search the forums & google it i am sure you'll find useful info on it.

Cheers,

Suhas

Read only

Former Member
0 Likes
1,118

Thank u. I tryed now to set this flag 'X' normally this field is Initial. I got a short dump....

best regards

Read only

Former Member
0 Likes
1,118

Thank u again... I have to look why I get this short dump. Many thank for u answer.

cheers