2006 Sep 20 8:17 PM
Hi all,
How to find what message number we need? Eg if sy-subrc = 2 or 5 etc., I want to give my own OR inbuilt messages.. what are my options???
Thanks,
Charles.
+++++++++++++++++++++++++++++++
2006 Sep 20 8:19 PM
Hi
The return code value is set as follows:
SY-SUBRC = 0 At least one line was read.
SY_SUBRC = 4 No lines were read.
SY-SUBRC = 8 The search key was not fully qualified.
(nur bei SELECT SINGLE ). The returned single record is any line of the solution set.
Regards,
Raj
Hi all,
How to find what message number we need? Eg if sy-subrc = 2 or 5 etc., I want to give my own OR inbuilt messages.. what are my options???
Thanks,
Charles.
+++++++++++++++++++++++++++++++
2006 Sep 20 8:19 PM
Hi
The return code value is set as follows:
SY-SUBRC = 0 At least one line was read.
SY_SUBRC = 4 No lines were read.
SY-SUBRC = 8 The search key was not fully qualified.
(nur bei SELECT SINGLE ). The returned single record is any line of the solution set.
Regards,
Raj
2006 Sep 20 8:20 PM
If you are talking about messages, then
you can create your own message class in se91 transaction.
Then issue messages in your program.
message e001(zz) with 'My Message'.
YOu should have created a message with an &(Place holder which is determined at runtime.in this example it will be the text you pass in the message with statement). in se91.
Regards,
ravi
2006 Sep 20 9:06 PM
go to transaction se91 to know about message maintenance
regards
vivek
pls reward points for useful answers
2006 Sep 20 9:56 PM
Hi,
If you want messages based on subrc's given by using standard function (read, insert, replace etc.)
You must check the help functionality of that function, this will explain to you what kinds of returncodes exist and what the meanings are.
Kind regards, Rob Dielemans
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |