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

Getting blank screen when I executed a program

kamesh_g
Contributor
0 Likes
2,631

Hi 

I have a program  which is not having any write statement  SKIP or ULINE .

In the program i am  fecthing data and sending file to AL11 . But  even though i am not having  write or skip or uline  i am getting blank screen when I have executed the report .

Can  any one tell me the reason for this .  When  i checked for the program name of  blank screen, It showing  as 'SAPMSSY0'

Thanks

Kamesh

8 REPLIES 8
Read only

Former Member
0 Likes
2,149

Hi,

Along with that program(SAPMSSY0), is there any screen number assocated? 0121 or 143 or so ??

Thanks

Sam

Read only

0 Likes
2,149

Hi sam

Its giving screen number 0120

Thanks

Kamesh

Read only

Former Member
0 Likes
2,149

Hi Kamesh,

May be you should use any of the below statements to avoid the above issue;

LEAVE TO SCREEN 0.

OR

LEAVE LIST-PROCESSING.

Probably you could also issue a Success/Information message on completion of the file transfer.

Regards,

Karthik D

Read only

0 Likes
2,149

Hi  karthik,

You are correct but i am exploring for root cause .

 

So just need reason for this issue

Thanks

Kamesh

Read only

0 Likes
2,149

Nobody can help you with a root cause until you provide your source code. See the response from Manu D'Haeyer below.

Rob

Read only

Former Member
0 Likes
2,149

Hi,

Can you provide your actual source code so we can have a better understanding of the issue?

This system exit is called very often but should not leave you with an empy screen, there is something wrong with your coding...

Cheers,

Manu.

Read only

Jelena_Perfiljeva
Active Contributor
0 Likes
2,149

There is no need to use 'LEAVE TO...' in such programs. Just make sure to put your code in the correct events (usually I put the main code in START-OF-SELECTION, so that I could use RETURN to exit nicely back to the selection screen when needed).

It's a good practice for such programs (that only generate a file) to show an informative message, e.g. 'File ... created' at the end. After that it should just go back to the selection screen (again, if programmed correctly). Make sure to use a predefined message (in SE91), don't use just "generic" MESSAGE '<text>' command.

As the others pointed out, it's not possible to sugest anything more without seeing the actual code. What event did you use? Do you have any screen calls / use any FMs / messages?

Read only

laurent_fournier2
Contributor
0 Likes
2,149

It may sound silly but if you are talking about a report , try adding the addition "NO STANDARD PAGE HEADING." in the report declaration.

ie.REPORT ZXXXXXXX LINE-SIZE xxx

                LINE-COUNT yy

                NO STANDARD PAGE HEADING.

Regards.