on 02-04-2012 9:15 PM
Hi, if i try to call a sapscript form i dont become any output. I only see the headlines, but not the data.
The code looks like this:
1. Select * from ltap into corr... Where...
2. Call function "open_form" ...
3. Call function "write_form" ...
4. Call function "close_form" ...
I call the correct window, element and so on and can make what i want. I dont become my form with data.
It would be very nice, if anybody can help me.
Thanks
Marc
Hi, my problem was, that i dont do the Loop correct.
1st i build my internal table as standard table of ltap. so is have structure and table named like this:
lt_ltap
ls_ltap
My select was into corresponding fields of table lt_ltap
now i looped like that:
LOOP AT lt_ltap INTO ls_ltap.
ENDLOOP.
BUT correct is that:
include tables:
TABLES: ltap, ltak..
Thank loop like that:
LOOP AT lt_ltap INTO ltap.
ENDLOOP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
First check whether the internal table is filled or not then
call function 'open_form'
loop at itab into wa.
call function 'write_form'
endlloop.
call function '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 friend,
Did you checked whether the internal table which you are sending for the form is filled with data. If no please check that.
If that internal table is filled with data then check debugging the form, check whether the table data which you are passing is getting cleared at any stage.
Just check these all i think this will solve your problem. If not so please revert back to me i will help you.
Thanks,
Sri Hari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.