2008 Jun 24 11:34 AM
is thre any pblm if we check subrc inside the loop?
isit possible?
Edited by: rs me on Jun 24, 2008 12:34 PM
2008 Jun 24 11:37 AM
hi,
yes v can check sy-subrc in s loop...
go to debugger nd dere u can check this...
there is no problem doing this...
continue...
is thre any pblm if we check subrc inside the loop?
isit possible?
Edited by: rs me on Jun 24, 2008 12:34 PM
2008 Jun 24 11:37 AM
2008 Jun 24 11:37 AM
hi,
yes v can check sy-subrc in s loop...
go to debugger nd dere u can check this...
there is no problem doing this...
continue...
2008 Jun 24 11:37 AM
hi,
you can sy-subrc in a loop, like for some read or select statement???? but are u looking for to capture the sy-subrc of loop in itself, then it is of no use.try that!
regards,
madhu
2008 Jun 24 11:38 AM
Hi friend,
Sy-subrc check whether an ABAP statement is succesful or not.
Executing a loop itself means that we are processing the correct and valid records. Then where is the issue of checking sy-subrc value. It will always be equal to 0(zero).
Hope this hepls you.
Any queries, get back to me.
Regards,
Chandra Sekhar
2008 Jun 24 11:45 AM
Hi,
You can Check sy-subrc inside your Loop pass.
Sy-subrc can be used to check the execution of any ABAP Statement.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |