2007 Oct 30 8:47 AM
change is in Report : Current functionality is that user enters data on
Selection screen and posting takes place when start button is clicked.
The new functionality is on click of start button there will be a display
This screen will display a report and it will have 2 buttons.
1. Invoice posting
2. cancel
On click of Invoice Posting button click the current functionality on start button click ie. of invoice posting should take place and on cancel button click the selection screen should be displayed.
hi all ,
please send me how to slove this problem .
its urgent .
thank you.
2007 Oct 30 8:54 AM
Hi,
Define a screen as follows:
selection-screen begin of screen 001 as window.
parameters post radiobutton group radi.
parameters cancel radiobutton group radi.
selection-screen end of screen 001.
Then at the beginning of START-OF-SELECTION
call selection-screen 001 starting at 10 10.
and depending on the radio button selected you can perform your logic.
2007 Oct 30 8:54 AM
Hi,
Define a screen as follows:
selection-screen begin of screen 001 as window.
parameters post radiobutton group radi.
parameters cancel radiobutton group radi.
selection-screen end of screen 001.
Then at the beginning of START-OF-SELECTION
call selection-screen 001 starting at 10 10.
and depending on the radio button selected you can perform your logic.
2007 Oct 30 9:05 AM
Hi Sandya,
I'll give you one more solution... may be useful for you...
try to use following FM with in start-of-selection...
call function 'POPUP_TO_CONFIRM_WITH_MESSAGE'
exporting
defaultoption = 'Y'
diagnosetext1 = 'Caution!!'
diagnosetext2 = 'You are going to Post Invoice.'
diagnosetext3 = 'Do you want to Proceed. '
textline1 = ' '
titel = 'Confirmation'
importing
answer = ans
exceptions
others = 1.
and write following code...
DATA : ans.
IF ans = 'N' OR ans = 'A'.
exit.
ELSE.
PERFORM invoice_posting.
ENDif.
2007 Nov 07 4:29 AM