on 06-24-2008 2:55 PM
Hi all,
im tryin to call the records in scripts but they r not displayed. this is the code.
what is the prob. correct solution will be rewarded.
select * from bseg into CORRESPONDING FIELDS OF TABLE t_kna1.
loop at t_kna1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
window = 'MAIN'
element = '180'
EXCEPTIONS
window = 1
element = 2.
IF sy-subrc = 1.
window = 'MAIN'.
PERFORM message_window.
ENDIF.
IF sy-subrc = 2.
window = 'MAIN'.
ereignis = '180'.
PERFORM message_element.
ENDIF.
endloop.
HI ,
DEBUG THE SCRIPT DEN U CAN EASYLY FIND OUT THE PROBLEM.....
U CAN DEBUG DA SCRIPT BY USING /H AND GO TO UTILITIES AND ACTIVATE DEBUG
SHAIK.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
open_form
Loop the table.
Start_form
Write_form
End_form
Endloop.
Close_form.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you sure you have records in it_KNA1 internal table?
Put a break-point to find out if there are records in it_kna1.
Regards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.