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

dialog programming issue

Former Member
0 Likes
377

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.

2 REPLIES 2
Read only

Former Member
0 Likes
353

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

Read only

Former Member
0 Likes
353

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.