SAP Reports / Programs | Controlling | Product Cost Controlling | Product Cost Controlling Information System(CO-PC-IS) SAP CO

SAPMKKB3 SAP ABAP dialog Program - Maintain Module Pool: Cost Element Groups/Cost Component Groups







SAPMKKB3 is a standard Module pool for a dialog screen ABAP Program 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 SAPMKKB3 into the relevant SAP transactions such as SE38 or SE80


Transaction Code(s):

Below is a list of transaction codes which are relevant to this SAP report

OKSV - Maintain Cost Component Structure
OKSU - Maintain Cost Element Group
OKSK - Maintain Cost Element Group: Orders


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


Text pool values


Title: Maintain Module Pool: Cost Element Groups/Cost Component Groups
Text Symbol: L01 = Group is used in another application
Text Symbol: L02 = Do you wish to maintain the group?
Text Symbol: L03 = Maintain group


INCLUDES used within this REPORT SAPMKKB3

INCLUDE RKKBEQ10. " EQUATES
INCLUDE RKKBDT10. " SETHANDLING


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:

G_SET_GET_ID_FROM_NAME CALL FUNCTION 'G_SET_GET_ID_FROM_NAME' EXPORTING SHORTNAME = TKKB2-KST TABNAME = PARAM-TAB IMPORTING NEW_SETID = SETHIER-SETID EXCEPTIONS NO_SET_FOUND = 1 NO_SET_PICKED_FROM_POPUP = 2 WRONG_CLASS = 3 WRONG_SUBCLASS = 4 TABLE_FIELD_NOT_FOUND = 5 FIELDS_DONT_MATCH = 6 SET_IS_EMPTY = 7 FORMULA_IN_SET = 8 OTHERS = 9.

G_SET_FETCH CALL FUNCTION 'G_SET_FETCH' " Set einlesen EXPORTING CLASS = ' ' LANGU = SY-LANGU SETNR = SETHIER-SETID TABLE = PARAM-TAB IMPORTING SET_HEADER = RGSBS TABLES FORMULA_LINES = FORMTAB SET_LINES_BASIC = BASETAB SET_LINES_MULTI = MULTTAB SET_LINES_DATA = DATATAB SET_LINES_SINGLE = SINGTAB EXCEPTIONS NO_AUTHORITY = 8 SET_IS_BROKEN = 6 SET_NOT_FOUND = 4.

POPUP_TO_CONFIRM_STEP CALL FUNCTION 'POPUP_TO_CONFIRM_STEP' " Anwendung EXPORTING TEXTLINE1 = TEXT-L01 TEXTLINE2 = TEXT-L02 TITEL = TEXT-L03 IMPORTING ANSWER = INT_EXIT.

K_KKB_KST_LIST CALL FUNCTION 'K_KKB_KST_LIST' " Auflisten Sets EXPORTING IANW = PARAM-ANW DFO = PARAM-DFO IMPORTING SET_DATA = TKKB2 TABLES EX_SETS = DUMMY_TAB EXCEPTIONS NO_SETS = 1 NO_SET_PICKED = 2.

G_SET_ENCRYPT_SETID CALL FUNCTION 'G_SET_ENCRYPT_SETID' EXPORTING SETCLASS = '0000' SHORTNAME = SETHIER-SETID IMPORTING SETID = SETHIER-SETID EXCEPTIONS NO_CO_AREA_SPECIFIED = 1 ILLEGAL_SETCLASS = 2 OTHERS = 3.

K_SET_HIERARCHY_MAINTENANCE CALL FUNCTION 'K_SET_HIERARCHY_MAINTENANCE' EXPORTING E_CLASS = '0000' E_SETID = SETHIER-SETID E_CO_AREA = SPACE E_MODE = MODUS E_TABLE = DFIES-TABNAME E_FIELD = DFIES-FIELDNAME EXCEPTIONS OTHERS = 1.



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