REPORT ZTEST_CREATE_XLSX. TYPES: BEGIN OF TY_VAL, VAL1 TYPE CHAR40, VAL2 TYPE CHAR40, VAL3 TYPE CHAR40, END OF TY_VAL. DATA: L_REC_VAL TYPE ZCMST001, L_TAB_VAL TYPE STANDARD TABLE OF ZCMST001, L_TAB_BIN
ABAPでXLSXファイルの出力
TYPES: BEGIN OF TY_FILE, VAL1(10) TYPE C, VAL2(10) TYPE C, VAL3(10) TYPE C, END OF TY_FILE.DATA: TAB_FILE TYPE TABLE OF TY_FILE, REC_FILE TYPE TY_FILE. W_FILE TYPE RLGRAP-FILENAME. REC_FILE-VAL1 = '1'. REC_FILE-VAL2 = '2'.