2012 May 15 2:22 PM
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
2012 May 15 2:33 PM
Hi,
Along with that program(SAPMSSY0), is there any screen number assocated? 0121 or 143 or so ??
Thanks
Sam
2012 May 15 4:48 PM
2012 May 15 2:39 PM
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
2012 May 15 4:50 PM
Hi karthik,
You are correct but i am exploring for root cause .
So just need reason for this issue
Thanks
Kamesh
2012 May 15 4:57 PM
Nobody can help you with a root cause until you provide your source code. See the response from Manu D'Haeyer below.
Rob
2012 May 15 4:20 PM
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.
2012 May 15 6:28 PM
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?
2012 May 16 1:11 PM
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.