Translate

Thursday, 7 June 2012

SAP Import excel sheet into internal table 'TEXT_CONVERT_XLS_TO_SAP'

PARAMETERS: P_FILE LIKE IBIPPARMS-PATH OBLIGATORY. 


TYPE-POOLS : truxs.
DATA : truks_data TYPE truxs_t_text_data.
CALL FUNCTION 'TEXT_CONVERT_XLS_TO_SAP'
EXPORTING
I_FIELD_SEPERATOR = 'X'
I_TAB_RAW_DATA = truks_data
I_FILENAME = P_FILE
TABLES
I_TAB_CONVERTED_DATA = IT_DATA.

No comments: