on 06-02-2009 3:50 PM
Hi All,
I am using CLOSE_FORM to get OTF data of SAP Script output.
After all the write_form's i have written below code.
My code:
DATA: otftab TYPE TABLE OF itcoo.
CALL FUNCTION 'CLOSE_FORM'
TABLES
otfdata = otftab[].
Though close_form sy-subrc is 0 always otftab[] is not returning anything. It is always blank.
I am getting print preview correctly.
Can anybody tell me what is the issue!
Thanks,
Deep.
copied from FM Documentation
If 'X' was set in the parameter TDGETOTF in the transfer structure OPTIONS when the function module PRINT_TEXT or OPEN_FORM was called, the formatted output is returned in OTF format via the optional table parameter OTFDATA.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
...and if that still doesn't work: check the RDI flag for your form: SE71, form, header, attributes, miscellaneous. The box called "RDI Output Mode" must be unchecked.
User | Count |
---|---|
76 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.