Application Development 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: 

where i am wrong in this code

Former Member
0 Kudos

WHEN 'PRINT'.

WRITE : 'There is No Data Available'.

leave to list-processing and return to screen 100.

once i am in list i want back to main screen how i will proceed

1 ACCEPTED SOLUTION

viquar_iqbal
Active Contributor
0 Kudos

Hi

You can use screen 0. also check which event are you using it. It should be start-of-selection , Initialization , End-of-selection.

Hope this resolves your issue.

Thanks

Viquar Iqbal

7 REPLIES 7

shaik_sajid
Active Contributor
0 Kudos

hi,

WHEN 'PRINT'.

WRITE : 'There is No Data Available'.

Set screen 0.
Leave Screen.

leave to list-processing and return to screen 100.

Regards

Sajid

0 Kudos

i have written like this but it is not working

viquar_iqbal
Active Contributor
0 Kudos

Hi

You can use screen 0. also check which event are you using it. It should be start-of-selection , Initialization , End-of-selection.

Hope this resolves your issue.

Thanks

Viquar Iqbal

0 Kudos

i am using this one in PAI module

0 Kudos

Hi

put that statement in the state-of-selection event also try putting that statement in a different location.

press F1 on leave to list-processing it mentions that you need to use it in start-of-selection.

Just change its location and it should work or try debugging,

Thanks&Regards,

Viquar Iqbal

Former Member
0 Kudos

Hi,



start-of-selection.

WHEN 'PRINT'.

WRITE : 'There is No Data Available'.
leave screen .

leave to list-processing and return to screen 100.

Regards,

pravin

Edited by: pravin s. on Jul 21, 2009 2:04 PM

Former Member
0 Kudos

Hi Jithendra,

Try like this..

WHEN 'PRINT'.

WRITE : 'There is No Data Available'.

leave to list-processing.

Regards,

Vijay