SAP Reports / Programs | Incentive and Commission Management (ICM)(ICM) SAP ICM

CACS_CSTRUCTURES_GENERATE_ALV SAP ABAP Report - Generation of CACS00-Char Structures for External Data Transfer







CACS_CSTRUCTURES_GENERATE_ALV 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 CACS_CSTRUCTURES_GENERATE_ALV 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 CACS_CSTRUCTURES_GENERATE_ALV. "Basic submit
SUBMIT CACS_CSTRUCTURES_GENERATE_ALV AND RETURN. "Return to original report after report execution complete
SUBMIT CACS_CSTRUCTURES_GENERATE_ALV VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Generation of CACS00-Char Structures for External Data Transfer
Text Symbol: 001 = Structure:
Text Symbol: 002 = TR_OBJECT_CHECK OK
Text Symbol: 003 = DDIF_FIELDINFO_GET not OK
Text Symbol: 004 = DDIF_FIELDINFO_GET OK
Text Symbol: 005 = CACS_STRUC_GENERATE not OK
Text Symbol: 006 = CACS_STRUC_GENERATE OK
Text Symbol: 007 = TR_OBJECT_INSERT not OK
Text Symbol: 008 = TR_OBJECT_INSERT OK
Text Symbol: 009 = TR_OBJECT_CHECK Exception 1
Text Symbol: 010 = TR_OBJECT_CHECK Exception 2
Text Symbol: 011 = Generation complete
Text Symbol: 012 = Structure
Text Symbol: 1OK = @01@
Text Symbol: 901 = OK
Text Symbol: 902 = Not OK
Text Symbol: 903 = Status
Text Symbol: 904 = Message
Text Symbol: 905 = Structure
Text Symbol: NOK = @03@


INCLUDES used within this REPORT CACS_CSTRUCTURES_GENERATE_ALV

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:

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = 'ICON_CHECKED' INFO = text-901 IMPORTING RESULT = gv_icon_ok EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

ICON_CREATE CALL FUNCTION 'ICON_CREATE' EXPORTING NAME = 'ICON_FAILURE' INFO = text-902 IMPORTING RESULT = gv_icon_nok EXCEPTIONS ICON_NOT_FOUND = 1 OUTPUTFIELD_TOO_SHORT = 2 OTHERS = 3.

TR_OBJECT_CHECK call function 'TR_OBJECT_CHECK' EXPORTING wi_ko200 = ls_ko200 EXCEPTIONS cancel_edit_other_error = 01 show_only_other_error = 02.

DDIF_FIELDINFO_GET call function 'DDIF_FIELDINFO_GET' exporting tabname = lt_struct-source_name langu = sy-langu * IMPORTING * X030L_WA = tables dfies_tab = lt_dfies exceptions not_found = 1 internal_error = 2 others = 3.

CACS_STRUC_GENERATE * call function 'CACS_STRUC_GENERATE' * exporting * i_structname = lt_struct-target_name * i_actflag = 'X' * i_structtext = 'Character Struktur' * tables * t_fields = lt_fields * exceptions * tab_not_found = 1 * field_not_found = 2 * put_failure = 3 * not_activated = 4 * activated_with_warning = 5 * others = 6.

TR_OBJECT_INSERT call function 'TR_OBJECT_INSERT' exporting wi_ko200 = ls_ko200 *      TABLES *            WT_E071K                       = exceptions cancel_edit_other_error = 1 show_only_other_error = 2 others = 3.



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