SAP Reports / Programs

SAPRDEMOEXCELINTEGRATION SAP ABAP Report - Demo for Excel97 integration







SAPRDEMOEXCELINTEGRATION 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 SAPRDEMOEXCELINTEGRATION 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 SAPRDEMOEXCELINTEGRATION. "Basic submit
SUBMIT SAPRDEMOEXCELINTEGRATION AND RETURN. "Return to original report after report execution complete
SUBMIT SAPRDEMOEXCELINTEGRATION 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 for Excel97 integration
Text Symbol: AFR = Africa
Text Symbol: AME = America
Text Symbol: ASI = Asia
Text Symbol: DO1 = Car sales figures as chart
Text Symbol: DO2 = Car sales figures as table
Text Symbol: DO3 = Car sales figures as chart 2
Text Symbol: EUR = Europe
Text Symbol: JAP = Japan
Text Symbol: OID = Demo for Excel97 integration
Text Symbol: SAL = Car sales figures
Text Symbol: SAV = Save document?
Text Symbol: SDC = Document selection
Text Symbol: TI0 = Chart title
Text Symbol: TI1 = Cars sold in each region
Text Symbol: TI2 = Column title 1
Text Symbol: TI3 = Region
Text Symbol: TI4 = Column title 2
Text Symbol: TI5 = Cars sold
Text Symbol: USA = USA


INCLUDES used within this REPORT SAPRDEMOEXCELINTEGRATION

INCLUDE RDEMOEXCELINTEGRATIONTOP.


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:

GUI_HAS_ACTIVEX CALL FUNCTION 'GUI_HAS_ACTIVEX' IMPORTING return = b_has_activex.

RS_VALUES_BOX CALL FUNCTION 'RS_VALUES_BOX' EXPORTING left_upper_col = 5 left_upper_row = 5 pagesize = 10 title = 'Select document'(sdc) IMPORTING linenumber = l_nr TABLES field_desc = field_desc value_tab = documents EXCEPTIONS OTHERS = 1.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING titlebar = 'Office Integration Demo'(oid) text_question = 'Save Document?'(sav) display_cancel_button = ' ' IMPORTING answer = answer.

DP_GET_FIELDS_FROM_TABLE CALL FUNCTION 'DP_GET_FIELDS_FROM_TABLE' TABLES data = sales_table fields = fields_table.



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 SAPRDEMOEXCELINTEGRATION or its description.