SAP Reports / Programs | Project System | Simulation(PS-SIM) SAP PS

MCNVSF00_ENQUEUE_PROJ SAP ABAP INCLUDE - MCNVSF00ENQUEUEPROJ







MCNVSF00_ENQUEUE_PROJ 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 MCNVSF00_ENQUEUE_PROJ 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 MCNVSF00_ENQUEUE_PROJ. "Basic submit
SUBMIT MCNVSF00_ENQUEUE_PROJ AND RETURN. "Return to original report after report execution complete
SUBMIT MCNVSF00_ENQUEUE_PROJ 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 MCNVSF00_ENQUEUE_PROJ

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:

CJDW_ENQUEUE CALL FUNCTION 'CJDW_ENQUEUE' EXPORTING OBJECT_ID = PROJ-PSPID VSNMR = VSNMR OTYPE = 'P' SHARED = ' ' WAIT = ' ' EXCEPTIONS FOREIGN_LOCK = 1 INVALID_TYPE = 2 MISSING_PARAMETER = 3 SYSTEM_FAILURE = 4 OTHERS = 5.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'CJ' MSGTY = 'E' MSGV1 = MESSAGE_LINE1 MSGV2 = MESSAGE_LINE2 MSGV3 = SY-MSGV3 * MSGV4 = ' ' TXTNR = '806' * ZEILE = ' ' * IMPORTING * ACT_SEVERITY = * MAX_SEVERITY = EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 1 NOT_ACTIVE = 2 OTHERS = 3.

MESSAGES_STOP CALL FUNCTION 'MESSAGES_STOP' EXCEPTIONS A_MESSAGE = 1 E_MESSAGE = 2 I_MESSAGE = 3 W_MESSAGE = 4 OTHERS = 5.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = ITAB_MESG_TMP EXCEPTIONS OTHERS = 0.

CO_ZF_ORDER_LOCK_MULTI CALL FUNCTION 'CO_ZF_ORDER_LOCK_MULTI' EXPORTING LOCK_MODE = 'S' EXPLODE_PRODNET = ' ' FLG_VERS_ENQ = ' ' TABLES ENQUEUE_TAB = ITAB_ORDTYP_PRE NOT_LOCKED = ITAB_ORD_PRE EXCEPTIONS OTHERS = 0.

MESSAGES_INITIALIZE CALL FUNCTION 'MESSAGES_INITIALIZE'.

CO_ZF_ORDER_LOCK CALL FUNCTION 'CO_ZF_ORDER_LOCK' EXPORTING AUFNR = ITAB_ORD_PRE-AUFNR AUTYP = '20' EXCEPTIONS ORDER_ALREADY_LOCKED = 1 SYSTEM_FAILURE = 2 OTHERS = 3.

MESSAGE_STORE CALL FUNCTION 'MESSAGE_STORE' EXPORTING ARBGB = 'CJ' MSGTY = 'E' MSGV1 = MESSAGE_LINE1 MSGV2 = MESSAGE_LINE2 MSGV3 = SY-MSGV3 * MSGV4 = ' ' TXTNR = '806' * ZEILE = ' ' * IMPORTING * ACT_SEVERITY = * MAX_SEVERITY = EXCEPTIONS MESSAGE_TYPE_NOT_VALID = 1 NOT_ACTIVE = 2 OTHERS = 3.

MESSAGES_GIVE CALL FUNCTION 'MESSAGES_GIVE' TABLES T_MESG = ITAB_MESG_TMP EXCEPTIONS OTHERS = 0.



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