SAP Reports / Programs | Controlling | Overhead Cost Controlling(CO-OM) SAP CO

MKMAAINI SAP ABAP INCLUDE - CHECK_TKA09_CHANGE_ALLOWED







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


INCLUDES used within this REPORT MKMAAINI

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:

CHANGEDOCUMENT_READ_HEADERS CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS' EXPORTING objectclass = oklasse objectid = objektid username = usnam time_of_change = czeit date_of_change = cdatum TABLES i_cdhdr = hdrtab EXCEPTIONS no_position_found = 1 OTHERS = 2.

K_FIELD_TEXT_READ CALL FUNCTION 'K_FIELD_TEXT_READ' EXPORTING field = ls_kdfit-fieldname langu = sy-langu tab = ls_kdfit-tabname with_dots = ' ' IMPORTING ex_kdfit = ls_kdfit EXCEPTIONS not_found = 1 OTHERS = 2.

RPY_MESSAGE_COMPOSE CALL FUNCTION 'RPY_MESSAGE_COMPOSE' EXPORTING message_id = 'KS' message_number = '085' IMPORTING message_text = ld_text EXCEPTIONS message_not_found = 1.

DDIF_FIELDINFO_GET CALL FUNCTION 'DDIF_FIELDINFO_GET' EXPORTING tabname = tabelle TABLES dfies_tab = nametab EXCEPTIONS not_found = 1 internal_error = 2 OTHERS = 3.

CHANGEDOCUMENT_READ_POSITIONS CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS' EXPORTING changenumber = hdrtab-changenr TABLES editpos = editpos EXCEPTIONS " P9CK132835 OTHERS = 0. " P9CK132835

STRING_SPLIT CALL FUNCTION 'STRING_SPLIT' EXPORTING delimiter = '-' string = t01-gesamt IMPORTING head = t01-tabelle tail = t01-feld EXCEPTIONS not_found = 1.

K_FIELD_TEXT_READ CALL FUNCTION 'K_FIELD_TEXT_READ' EXPORTING field = ld_fieldname langu = sy-langu tab = tabelle with_dots = ' ' IMPORTING ex_kdfit = ls_kdfit.

OBJECT_KEY_GET_KS CALL FUNCTION 'OBJECT_KEY_GET_KS' "ALRK255083 EXPORTING "ALRK255083 objnr = ld_objnr "ALRK255083 IMPORTING "ALRK255083 kostl = ld_kostl "ALRK255083 EXCEPTIONS "ALRK255083 OTHERS = 0 "ALRK255083 . "ALRK255083

OBJECT_KEY_GET_BP CALL FUNCTION 'OBJECT_KEY_GET_BP' EXPORTING objnr = ld_objnr IMPORTING prznr = ld_prznr EXCEPTIONS OTHERS = 0.

OBJECT_KEY_GET_PC CALL FUNCTION 'OBJECT_KEY_GET_PC' EXPORTING objnr = ld_objnr IMPORTING prctr = ld_prctr EXCEPTIONS OTHERS = 0.

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING i_callback_program = ld_repid i_structure_name = 'GT_DATEN' it_fieldcat = gt_fieldcat it_excluding = gt_excluding i_default = 'X' i_save = 'A' is_variant = ls_variant it_events = it_events TABLES t_outtab = gt_daten EXCEPTIONS program_error = 1 OTHERS = 2.



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