SAP Reports / Programs

/SAPCEM/IND_CAP_CREATE SAP ABAP Report - Create Individual Capacities for Equipment







/SAPCEM/IND_CAP_CREATE is a standard Executable ABAP Report available within your SAP system (depending on your version and release level). It is used for Create individual capacities for equipment Using this report you can create, activate, and deactivate individual capacities for equipment...see full standard documentation available for this report. Also check out the submitted Comments related to this SAP report and the details below to see which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC.

If you would like to execute this report or see the full code listing simply enter /SAPCEM/IND_CAP_CREATE 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

/SAPCEM/IND_CAP_CRE - Create Individual Capacities


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


Text pool values


Selection Text: MENGE = Equi. item / multipart equi.
Selection Text: EQUNR = Equipment number
Selection Text: EQART = Type of technical object
Selection Text: DISPO = Plannable
Title: Create Individual Capacities for Equipment
Text Symbol: S01 = Equi. restriction
Text Symbol: P06 = Exit application?
Text Symbol: P05 = Exit application
Text Symbol: P04 = No
Text Symbol: P03 = Y
Text Symbol: P02 = Create, activate, or deactivate individual capacity for items?
Text Symbol: P01 = Create ind. capacities
Text Symbol: 903 = *BLR-Exceptions
Text Symbol: 902 = *BLR-Blank
Text Symbol: 901 = *BLR-Red Light; stop; errors
Text Symbol: 900 = *BLR-Green Light; Go; Okay
Text Symbol: 013 = blocked by user
Text Symbol: 012 = Equipment
Text Symbol: 011 = Equipment to check
Text Symbol: 009 = Ind.capacities created
Text Symbol: 008 = Create list
Text Symbol: 007 = Table modified
Text Symbol: 006 = Individual capacity created for equi.
Text Symbol: 005 = Ind. capacity activated
Text Symbol: 004 = Equipment being processed


INCLUDES used within this REPORT /SAPCEM/IND_CAP_CREATE

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:

/SAPCEM/EQUI_KAPA_CHECK CALL FUNCTION '/SAPCEM/EQUI_KAPA_CHECK' EXPORTING I_EQUNR = GT_EQUI-EQUNR I_KZMENG = GT_EQUI-J_3GKZMENG I_DISPO = GT_EQUI-J_3GDISPO I_EQKTX = ' ' TABLES ET_EQU_KAP = GT_EQU_KAP_MSG_TAB ET_KAKO = XKAKO ET_KAKT = XKAKT.

ENQUEUE_EIEQUI CALL FUNCTION 'ENQUEUE_EIEQUI' EXPORTING EQUNR = GT_EQUI-EQUNR EXCEPTIONS FOREIGN_LOCK = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

/SAPCEM/EQUI_KAPA_CHECK CALL FUNCTION '/SAPCEM/EQUI_KAPA_CHECK' EXPORTING I_EQUNR = GT_EQUI-EQUNR I_KZMENG = GT_EQUI-J_3GKZMENG I_DISPO = GT_EQUI-J_3GDISPO I_EQKTX = ' ' TABLES ET_EQU_KAP = GT_EQU_KAP_MSG_TAB ET_KAKO = XKAKO ET_KAKT = XKAKT.

/SAPCEM/EQUI_KAPA_UPDATE CALL FUNCTION '/SAPCEM/EQUI_KAPA_UPDATE' IN UPDATE TASK TABLES XKAKO = XKAKO[] XKAKT = XKAKT[] XEQUKAP = GT_EQU_KAP_MSG_TAB[].

REUSE_ALV_LIST_DISPLAY CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY' EXPORTING * I_INTERFACE_CHECK = ' ' * I_BUFFER_ACTIVE = ' ' I_CALLBACK_PROGRAM = G_REPID I_CALLBACK_PF_STATUS_SET = 'SET_PF_STATUS' I_CALLBACK_USER_COMMAND = 'USER_COMMAND' * I_STRUCTURE_NAME = IS_LAYOUT = GS_LAYOUT IT_FIELDCAT = GT_FIELDCAT[] * IT_EXCLUDING = * IT_SPECIAL_GROUPS = * IT_SORT = * IT_FILTER = * IS_SEL_HIDE = * I_DEFAULT = 'X' * I_SAVE = ' ' * IS_VARIANT = * IT_EVENTS = * IT_EVENT_EXIT = * IS_PRINT = * IS_REPREP_ID = * I_SCREEN_START_COLUMN = 0 * I_SCREEN_START_LINE = 0 * I_SCREEN_END_COLUMN = 0 * I_SCREEN_END_LINE = 0 IMPORTING * E_EXIT_CAUSED_BY_CALLER = ES_EXIT_CAUSED_BY_USER = LS_EXIT TABLES T_OUTTAB = GT_PROT EXCEPTIONS PROGRAM_ERROR = 1 OTHERS = 2.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * TITLEBAR = TEXT-P05 * TEXT_QUESTION = TEXT-P06 * TEXT_BUTTON_1 = TEXT-P03 * ICON_BUTTON_1 = 'ICON_OKAY' * TEXT_BUTTON_2 = TEXT-P04 * ICON_BUTTON_2 = 'ICON_CANCEL' * DEFAULT_BUTTON = '1' * DISPLAY_CANCEL_BUTTON = ' ' * START_COLUMN = 25 * START_ROW = 6 * IMPORTING * ANSWER = HLP_ANSWER.

REUSE_ALV_FIELDCATALOG_MERGE CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE' EXPORTING I_PROGRAM_NAME = G_REPID I_INTERNAL_TABNAME = G_TABNAME I_STRUCTURE_NAME = 'SMESG' I_CLIENT_NEVER_DISPLAY = 'X' CHANGING CT_FIELDCAT = RT_FIELDCAT.

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING PERCENTAGE = HLP_PROZ TEXT = HLP_TEX * MESSAGECLASS = ' ' * MESSAGENUMBER = '000' * MESSAGEPAR1 = ' ' * MESSAGEPAR2 = ' ' * MESSAGEPAR3 = ' ' * MESSAGEPAR4 = ' ' .

SAPGUI_PROGRESS_INDICATOR CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR' EXPORTING * PERCENTAGE = TEXT = HLP_TEX * MESSAGECLASS = ' ' * MESSAGENUMBER = '000' * MESSAGEPAR1 = ' ' * MESSAGEPAR2 = ' ' * MESSAGEPAR3 = ' ' * MESSAGEPAR4 = ' ' .

/SAPCEM/EQUI_KAPA_CHECK CALL FUNCTION '/SAPCEM/EQUI_KAPA_CHECK' EXPORTING I_EQUNR = WA_EQUI-EQUNR I_KZMENG = WA_EQUI-J_3GKZMENG I_DISPO = WA_EQUI-J_3GDISPO I_EQKTX = ' ' TABLES ET_EQU_KAP = GT_EQU_KAP_MSG_TAB ET_KAKO = XKAKO ET_KAKT = XKAKT.

POPUP_TO_CONFIRM CALL FUNCTION 'POPUP_TO_CONFIRM' EXPORTING TITLEBAR = TEXT-P01 TEXT_QUESTION = TEXT-P02 TEXT_BUTTON_1 = TEXT-P03 ICON_BUTTON_1 = 'ICON_OKAY' TEXT_BUTTON_2 = TEXT-P04 ICON_BUTTON_2 = 'ICON_CANCEL' DEFAULT_BUTTON = '1' DISPLAY_CANCEL_BUTTON = ' ' START_COLUMN = 25 START_ROW = 6 IMPORTING ANSWER = HLP_ANSWER.

POPUP_TO_CONFIRM * CALL FUNCTION 'POPUP_TO_CONFIRM' * EXPORTING * TITLEBAR = TEXT-P05 * TEXT_QUESTION = TEXT-P06 * TEXT_BUTTON_1 = TEXT-P03 * ICON_BUTTON_1 = 'ICON_OKAY' * TEXT_BUTTON_2 = TEXT-P04 * ICON_BUTTON_2 = 'ICON_CANCEL' * DEFAULT_BUTTON = '2' * DISPLAY_CANCEL_BUTTON = ' ' * START_COLUMN = 25 * START_ROW = 6 * IMPORTING * ANSWER = HLP_ANSWER.



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 /SAPCEM/IND_CAP_CREATE or its description.