Skip to Content
0
Former Member
Sep 19, 2007 at 08:15 AM

after info. message how control back to selection screen

125 Views

Hi all,

I am using a select query and if record is not found with corresponding selection screen field a information is displaying and after i want the control should return to the selection screen.

can any one help me how the control comes back to selection screen.

Please check the below query:

my query is:

SELECT a~bukrs

a~lifnr

a~gjahr

a~belnr

a~budat

a~waers

a~xblnr

a~blart

a~wrbtr

  • a~bstat

a~uzawe

b~name1

INTO CORRESPONDING FIELDS OF TABLE i_bsak_lfa1

FROM bsak AS a INNER JOIN lfa1 AS b

ON alifnr = blifnr

WHERE budat IN s_budat

AND bukrs IN s_bukrs

AND blart IN s_blart

AND uzawe IN s_uzawe.

if i_bsak_lfa1[] IS INITIAL.

MESSAGE i019."No Records are Selected

ENDIF.

but after info. messages the control going to report output not back to selection screen.

so how control back to selection screen?