on 09-19-2007 8:41 AM
Hi all,
the below program is the sample code,was done by my col...and we getting output correctly in se38...but the same if i give in smartform...its not coming out in the print/output form.....
in global definition...i've given as
itab like tline.
in my text window(after the coding tree)....i mentioned as &text&
i.e,im moving the itab-tdline(field) to text.(in my coding)(c the below code...for reference)
***************************************
data text(100).
data itab like tline occurs 0 with header line.
CALL FUNCTION 'READ_TEXT'
EXPORTING
* CLIENT = SY-MANDT
id = '0001'
language = 'E'
name = '0080000055'
object = 'VBBK'
ARCHIVE_HANDLE = 0
LOCAL_CAT = ' '
IMPORTING
HEADER =
tables
lines = itab.
*LOOP AT ITAB.
**write: itab-tdline.
*text = ITAB-TDLINE.
*WRITE:text.
*ENDLOOP.
read table itab index 1.
move itab-tdline to text.
write:/ text.
If guess you have written this code in your program lines, don't forget to pass input and output parameters. Note : your variable text should be passed to the output parameter in program lines. Declare this variable text in GLOBAL PARAMETERS
If that is not the case let me know whether itab is getting populated or not... if not goto SE37, use read_text and give the below data and see it contains any header text for your selection or not.
Regards,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use include text for FM. check the box not to show errors.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.