SAP Reports / Programs

GANT_TEST SAP ABAP Report - Demo Program: Gannt Chart / 2







GANT_TEST is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter GANT_TEST into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT GANT_TEST. "Basic submit
SUBMIT GANT_TEST AND RETURN. "Return to original report after report execution complete
SUBMIT GANT_TEST VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Demo Program: Gannt Chart / 2
Text Symbol: NEW =
Text Symbol: P01 = ARD
Text Symbol: P02 = ZDF
Text Symbol: P03 = Test
Text Symbol: P04 = Test
Text Symbol: LEG = Legend
Text Symbol: DBF = Football FA Cup
Text Symbol: DEL =
Text Symbol: DUR = Durtn
Text Symbol: FSR = Test
Text Symbol: HEA = Test
Text Symbol: SPO = Test
Text Symbol: T01 = Test
Text Symbol: T02 = Test
Text Symbol: TIT = Test
Text Symbol: SOR =
Text Symbol: P05 = Test
Text Symbol: PAG = Test
Text Symbol: RAM = Test
Text Symbol: ROM = Test
Text Symbol: SEN = Test


INCLUDES used within this REPORT GANT_TEST

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

GRAPH_SET_CUA_STATUS CALL FUNCTION 'GRAPH_SET_CUA_STATUS' EXPORTING PROGRAM = 'GANT_TEST' STATUS = 'M1' TEST_IT = 'X' TABLES EXCLUDING = EXCLUDE EXCEPTIONS INV_CUA_INFO = 1 OTHERS = 2.

GRAPH_GANTT CALL FUNCTION 'GRAPH_GANTT' EXPORTING * VGRID = 'X' * command_ok = command_ok HGRID = 'X' CONFIRM = 'X' WHEADER = TEXT-HEA TTITLE = TEXT-TIT TTEXT = TEXT-SEN LEGEND = TEXT-LEG * TLENGTH = '5' * TMBEG = BEG * TMEND = END * TLINE = LIN * TMVIEW = VIW NOTXT = 'X' TUNIT = 'H' DFEL = DFEL DFMS = DFMS MODIF = 'X' "'PICK' 'X' STAT = GANTT_STAT "tat "'2' * super = 'X' * set_focus = gantt_focus IMPORTING M_TYP = M_TYP G_TYP = G_TYP "// 'C', 'S', '0', '1', '2' CUA_ID = CUA_ID TABLES ITEM = ITEM MIST = MIST ELEM = ELEM LGMS = MIST LGEL = ELEM MSGT = BACK.

GRAPH_GANTT CALL FUNCTION 'GRAPH_GANTT' EXPORTING * VGRID = 'X' COMMAND_OK = COMMAND_OK HGRID = 'X' CONFIRM = 'X' WHEADER = TEXT-HEA TTITLE = TEXT-TIT TTEXT = TEXT-SEN LEGEND = TEXT-LEG * TLENGTH = '5' * TMBEG = BEG * TMEND = END * TLINE = LIN * TMVIEW = VIW NOTXT = 'X' TUNIT = 'H' DFEL = DFEL DFMS = DFMS MODIF = 'X' "'PICK' 'X' STAT = GANTT_STAT "tat "'2' * super = 'X' * set_focus = gantt_focus IMPORTING M_TYP = M_TYP G_TYP = G_TYP "// 'C', 'S', '0', '1', '2' CUA_ID = CUA_ID TABLES ITEM = ITEM MIST = MIST ELEM = ELEM LGMS = MIST LGEL = ELEM MSGT = BACK.

GRAPH_RECEIVE * CALL FUNCTION 'GRAPH_RECEIVE' * IMPORTING * errorcode = g_typ * mcode = m_typ * rwnid = cua_id.

GRAPH_DIALOG CALL FUNCTION 'GRAPH_DIALOG' EXPORTING CLOSE = 'X'.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name GANT_TEST or its description.