2008 Jul 31 3:47 PM
hey,
In my BADI, i have a variable l_ztabix of type sy-tabix.
i loop thru my idoc data internal table and modify the internal table if neccessary.
loop at t_idoc_data INTO wa_idoc_data.
l_ztabix = sy-tabix.
...
....
modify t_idoc_data index l_ztabix FROM wa_idoc_data.
endloop.
now it so happens, that during the 10th iteration, the sy-tabix is 10, but when the statement l_ztabix = sy-tabix.
is encountered, l_ztabix is set to ' * '. I dont understand why !! bcos of this my modify fails and i get a dump that says, convert_no_number !!
can anyone guess what is happening ??
thks
2008 Jul 31 3:51 PM
2008 Jul 31 3:48 PM
2008 Jul 31 3:49 PM
ok...i will try that optin...but why so ?? can u pl explain ? thanks
2008 Jul 31 3:51 PM
2008 Jul 31 3:55 PM
Yes Rich you were right. Actually I did a mistake of defining as follows:
data: l_ztabix, l_ztabix1 type sy-tabix.
Also, sy-index does not work !! it always retains the value of 1..
thank u
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |