03-08-2006 4:39 PM
Hi All,
I need to display popup message in a transaction for 10 secs and it should disappear automatically without any user interaction. Is there any function module available for this or any other way to do this.
Any help would be appreciated.
Regards,
Sudheer
03-08-2006 4:49 PM
03-08-2006 4:49 PM
Hi Sudheer,
You can use this FM <b>SWE_CD_TST_DELAY</b> to delay some activity but this is not a popup message. Sometimes, popup message can confuse a user and he/she may expects to do some action.
Hope this will help.
Regards,
Ferry Lianto
Message was edited by: Ferry Lianto
03-08-2006 4:51 PM
Hi,
YOU CREATE your own function module fpr popup messageg. and call the FUNCTION MODULE RZL_SLEEP in the code.
Thanks,
ramakrishna
03-08-2006 4:53 PM
You can create a custom function module which will display this message using call screen. And add delay using fm 'CIF_GEN_SLEEP'. This can be called in your transaction
03-09-2006 5:34 AM
Hi Sudheer,
If you haven't solved it, here is the solution.
You have to make use of the class CL_GUI_TIMER. Here is the solution. This program will display a popup message for 10 secs and after that it will come back to main program. You can modify this program to suit your needs.
REPORT ZSHAIL_BASIC .
data: timer type ref to cl_gui_timer,
timeout type i value '10'.
class shail_event definition.
public section.
class-methods: handle_expire for event finished of cl_gui_timer .
endclass.
class shail_event implementation.
method handle_expire .
leave program.
endmethod.
endclass.
data: obj type ref to shail_event.
start-of-selection.
create object obj.
set handler obj->handle_expire for all instances.
create object timer.
timer->interval = timeout.
call method timer->run.
CALL FUNCTION 'POPUP_TO_CONFIRM'
EXPORTING
text_question = 'Do you want to continue'
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Hope your problem will get solved.
Regards,
Sylendra.
03-09-2006 5:44 AM
U can use
POP_UP_CONFIRM Boite de Confirmation Ok Cancel
RV_DOCUMENT_COPY_NO_POPUP Copie commande sans popup
TMS_ALT_POPUP_MESSAGE Message Alerte paramétré par popup
SWW_WI_POPUP_FOR_COMPLETION Définition de boutons pour fonctions existantes
SWU_POPUP_WITH_3_OPTIONS Définition 3 boutons avec textes + interruption
SWO_POPUP_TO_CONFIRM Popup confirmation oui / non / interrompre
SWD_POPUP_SELECT_WORKFLOW_TASK popup définition d'un workflow Popup
SWD_POPUP_SELECT_ELEMENT popup sélection d'un évènement utilisateur
SWD_POPUP_ASK_FOR_UPDATE popup sauvegarde 3 boutons oui/non/ interrompre
LC_POPUP_TO_CONFIRM_STEP Popup avec titre 1 txt, 2 boutons
LC_POPUP_TO_CONFIRM_STEP_JNA Popup avec titre 1 txt, 3 boutons
POPUP_WITH_TABLE_DISPLAY Popup d'une table Sélectionner 1 ligne.
FI_F4_ZTERM Popup conditions paiement et sélection.
RH_ASK_FOR_SELECTION_DATE Popup sélection date
POPUP_GET_VALUES_DB_CHECKED Saisie champs + contrôler existence ds table.
COPO_POPUP_TO_DISPLAY_TEXTLIST Affichage en pop-up d'une liste
POPUP_TO_CONFIRM_LOSS_OF_DATA Question User désir transformation avec perte data
POPUP_TO_CONFIRM_STEP Question User souhaite exécuter l'étape.
POPUP_TO_CONFIRM_WITH_MESSAGE Informer User: point de décision pendant une action
POPUP_TO_CONFIRM_WITH_VALUE User souhaite faire l'étape avec objet particulier
POPUP_TO_DECIDE Fournir à User plusieurs choix par boutons radio
POPUP_TO_DECIDE_WITH_MESSAGE Créez zone informer User: point décision spécifique
POPUP_WITH_TABLE_DISPLAY Affichage table pour que User choisisse un element
TH_POPUP Affichez message système sur écran spécific User
POPUP_TO_DISPLAY_TEXT Créez zone dialogue et affiche message de 2 lignes
And u have to use
RZL_SLEEP
PAUSEregards
vinod
03-15-2007 10:09 AM
Hi Sudheer,
I would need the same, but I think the replies were not what you expected - did you solve this
thanks for the help
regards Elisabeth