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

report program

Former Member
0 Likes
506

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.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
488

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.

3 REPLIES 3
Read only

Former Member
0 Likes
489

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.

Read only

Former Member
0 Likes
488

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.

Read only

Former Member
0 Likes
488

thanx