2012 Feb 09 3:30 PM
Hey guys!
I'm creating a subroutine that takes input and sends it off to be converted but I am getting a syntax error: <tab> is not a STANDARD TABLE. I'm designating it with TYPE ANY TABLE, so I don't quite understand what is wrong.
Here is the relevant subroutine:
FORM conv_and_down USING name TYPE string tab TYPE ANY TABLE.
CONCATENATE cfd_name name INTO temp_str.
CLEAR tb_converted.
CALL FUNCTION 'SAP_CONVERT_TO_TEX_FORMAT'
EXPORTING
i_field_seperator = fid_char
TABLES
i_tab_sap_data = tab
CHANGING
i_tab_converted_data = tb_converted
EXCEPTIONS
CONVERSION_FAILED = 0
OTHERS = 0.
....
ENDFORM.
Any help is appreciated, as I am still fairly new to ABAP.
Edited by: gilthan3 on Feb 9, 2012 4:31 PM
2012 Feb 09 6:37 PM