‎2008 Jan 03 2:24 PM
Hi Experts,
Can any one plz give the Code to the Function Module CONVERT_RTF_TO_ITF .I mean what are the parametrs need to pass and with data declarations also.
‎2008 Jan 03 2:37 PM
Looking at the FM ...
You need to use the parameters:
SSHEET - Print format; only effective for print format conversion
WITH_TAB - Print format conversion; 'X' = yes or ' ' = no
MASK_BRACKETS - use default X
ITF_LINES - Your SAPscript
Data:
SSHEET(1)
WITH_TAB like TDBOOL
MASK_BRACKETS like TDBOOL
ITF_LINES type table of TLINE
‎2008 Jan 03 2:39 PM
all the parameters which are NOT checked with Optional check box are mandatory fields to be given as input
‎2008 Jan 03 2:44 PM
Hi Shiva
Pls see the below code.
Pls reward pts if help.
CALL FUNCTION 'CONVERT_RTF_TO_ITF'
EXPORTING
header =
SSHEET = ' '
WITH_TAB = ' '
MASK_BRACKETS = 'X'
x_datatab =
x_size =
IMPORTING
WITH_TAB_E =
tables
itf_lines =
EXCEPTIONS
INVALID_TABLETYPE = 1
MISSING_SIZE = 2
OTHERS = 3
.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
Pls reward pts if help.