‎2007 Oct 03 1:44 PM
Hi all,
I am working on a report with a BDC upload function. It displays an error message if the data from the upload text file doesnt match a certain condition.
However, when this error message pops up, I need to get back to the selection screen. As of now, after the error display - I am on a blank 'SAP R/3' screen with all passive buttons except the 'Enter' one.
Hope you could help me with the same.
Thanks!
‎2007 Oct 03 1:50 PM
Hi
The reason for this is :
We should not generate the Error Messages ( Type E ) in the List Events such as START-OF-SELECTION and END-OF-SELECTION. Bcoz this will make the Screen blank and does not allow the user to continue.
So Instead of the Error Message use this statement (Type S)
<b>Message S100(Zmsg). "Generates status message
Leave list-processing. "Returns control to Selection Screen
</b>
<b>reward if Helpful.</b>
‎2007 Oct 03 1:47 PM
Hi,
You need to check the File and Raise the Error message in AT SELECTION-SCREEN event, then you won't get this type of Problem
Regards
Sudheer
‎2007 Oct 03 1:50 PM
Hi
The reason for this is :
We should not generate the Error Messages ( Type E ) in the List Events such as START-OF-SELECTION and END-OF-SELECTION. Bcoz this will make the Screen blank and does not allow the user to continue.
So Instead of the Error Message use this statement (Type S)
<b>Message S100(Zmsg). "Generates status message
Leave list-processing. "Returns control to Selection Screen
</b>
<b>reward if Helpful.</b>
‎2007 Oct 03 2:15 PM
‎2007 Oct 03 2:18 PM
HI,
Instead of error message use information message in following way.
message I002.
leave list-processing.