2009 Feb 11 7:26 AM
I can't understand below problem because the message is too vague or cryptic.
this is the message.
! save save and confirm recovery commit only
*I_SUBRC ! only confirm only 2nd step commit for 2-step
*--
0- 8 ! Y N N N N N
9 ! Y N N N Y Y
10-18 ! N Y N N N N
19 ! N Y N N Y Y
20-28 ! N Y N N N Y
29 ! N Y N N Y Y
30-38 ! N N Y N N N
39 ! N N Y N Y Y
40-48 ! N N Y N N Y
49 ! N N Y N Y Y
- 9989 ! Error
- 9998 ! N N N Y N N
9999 ! N N N Y Y Y
> 9999 ! Error
What does this message mean?
You need to explain that message in the concrete.
For example, I_SUBRC
I'll really be looking foward to hearing from you as as possible.
2009 Feb 11 8:18 AM
hi,
The FM is producing the error messages (E-type) which cancels execution of the program and broking the flow-logic
If you call function modules, where no error handling is included (because normally other functions of a transaction takes care about this), then you are in trouble - but still you can't just ignore the problem.
E.g. switch to modules, where you can react on problems (like BAPI, where error handling is included). - I know, this is not available for every process, but you understand the 'correct design approach'.
Note : In your case sy-subrc took values from 0-9999.
The sy-subrc value varies due to the combination of return value of process.
For eg : If the first process is sucess and all didnt complete well - the value is 0-8.(0 for sucess and 8 for failure for other steps)
Anyway dont worry about this combination which is too hectic.
My advise is to handle error message in a systematic way.(exception handling technic or ststements would do )