Application Development 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: 

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

Former Member
0 Kudos
139

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

SuhaSaha
Advisor
Advisor
0 Kudos
97

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

Former Member
0 Kudos
97

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

0 Kudos
97

Are you talking about the flag VIM_ABORT_SAVING ?

Former Member
0 Kudos
97

Hi,

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

best regards

0 Kudos
97

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

Former Member
0 Kudos
97

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

best regards

Former Member
0 Kudos
97

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

cheers