‎2006 Sep 14 10:27 AM
Hi all,
I move from a dialog screen to VF11(invoice cancellation). After i cancel iam moved back to the dialog screen. but my requirement is to stay in VF11 even after cancellation of invoice and also to return to dialog screen if needed.
Please give a solution,
Thanks,
Rajesh.
‎2006 Sep 14 10:31 AM
Hi,
When 'CANCEL'.
CALL FUNCTION 'POPUP_CONTINUE_YES_NO'
EXPORTING
TEXTLINE1 = WSC-DECISION_TEXT1
TEXTLINE2 = WSC-DECISION_TEXT2
TITEL = '??? DECISION TIME ???'
IMPORTING
ANSWER = WSC-ANSWER
EXCEPTIONS
OTHERS = 1.Regards
if wsc-answer <> 'J'.
leave to screen '0100'(dialog screen).
endif.
amole
‎2006 Sep 14 10:39 AM
Actually to cancel a invoice we have to enter the invoice number and save it.
What i require is that, after i click the save button, the invoice is being cancelled and i should be in the same screen. But iam moved back to the dialog screen.
Please advice,
Rajesh.