10-13-2008 1:11 PM
Hi,
I have placed an table control in one subscreen.
In PBO I have written something like this:
LOOP AT tab INTO wa
WITH CONTROL tab
CURSOR wa.
MODULE zorder_move.
ENDLOOP.
in PAI, I have written .
LOOP AT tab.
ENDLOOP.
Whenever I run this it is giving a dump stating that "curson value should be binary/hexadecimal type.
Could anybody diagonise this problem?
Regards,
Jeetu
10-13-2008 1:16 PM
Hi
LOOP AT tab INTO wa WITH CONTROL tab CURSOR <CURSOR>.
<CURSOR> has to be an integer number, if WA is a workarea for TAB, it can't be for the cursor too,
u can use the field CURRENT_LINE of the table control.
What's TAB? Is it an internal table or the table control?
If ITAB is the internal table with the data to be displayed and T_CTRL is the table control, it shoud be:
LOOP AT ITAB WITH CONTROL T_CTRL CURSOR T_CTRL-CURRENT_LINE.
Max
10-13-2008 1:16 PM
Hi
LOOP AT tab INTO wa WITH CONTROL tab CURSOR <CURSOR>.
<CURSOR> has to be an integer number, if WA is a workarea for TAB, it can't be for the cursor too,
u can use the field CURRENT_LINE of the table control.
What's TAB? Is it an internal table or the table control?
If ITAB is the internal table with the data to be displayed and T_CTRL is the table control, it shoud be:
LOOP AT ITAB WITH CONTROL T_CTRL CURSOR T_CTRL-CURRENT_LINE.
Max