Skip to Content
0
Former Member
Nov 10, 2005 at 08:16 PM

itab save to excel pivot table

514 Views

hello I have an internal table that i want to create into a pivot table. could someone direct me to the right path! here is the same code.

CALL FUNCTION 'MS_EXCEL_OLE_STANDARD_DAT'

EXPORTING

FILE_NAME = P_SPATH <- path

CREATE_PIVOT = 'YES'

  • TABLES

  • PIVOT_FIELD_TAB = XOUT

DATA_TAB = COMBINED <- itab

  • FIELDNAMES = XOUT

it give me and exception of communication_error. any ideas