SAP Reports / Programs | Plant Maintenance | Work Clearance Management(PM-WCM) SAP PM

WCMPIF01 SAP ABAP INCLUDE - WCM: include WCMPIF01 - subroutines (print)







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


Text pool values


Title: WCM: include WCMPIF01 - subroutines (print)


INCLUDES used within this REPORT WCMPIF01

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:

DEQUEUE_EWCAPL CALL FUNCTION 'DEQUEUE_EWCAPL' EXPORTING * MODE_WCAPL = 'E' mandt = sy-mandt iwerk = wcsprint-iwerk prttyp = wcsprint-prttyp prtformat = wcsprint-prtformat objnr = i_objnr * COUNTER = * X_IWERK = ' ' * X_PRTFORMAT = ' ' * X_OBJNR = ' ' * X_COUNTER = ' ' * _SCOPE = '3' * _SYNCHRON = ' ' * _COLLECT = ' ' EXCEPTIONS OTHERS = 1.

ENQUEUE_EWCAPL CALL FUNCTION 'ENQUEUE_EWCAPL' EXPORTING * MODE_WCAPL = 'E' mandt = sy-mandt iwerk = wcsprint-iwerk prttyp = wcsprint-prttyp prtformat = wcsprint-prtformat objnr = i_objnr * COUNTER = * X_IWERK = ' ' * X_PRTFORMAT = ' ' * X_OBJNR = ' ' * X_COUNTER = ' ' * _SCOPE = '2' _wait = wctp1_marked * _COLLECT = ' ' EXCEPTIONS foreign_lock = 1 system_failure = 2 OTHERS = 3.

WCFD_WCAPLTAB_GET CALL FUNCTION 'WCFD_WCAPLTAB_GET' EXPORTING i_iwerk = wcsprint-iwerk i_prttyp = wcsprint-prttyp i_prtformat = wcsprint-prtformat i_objnr = i_objnr IMPORTING * E_WCAPLTAB = e_size = l_counter EXCEPTIONS error = 1 OTHERS = 2.

WCFD_WCAPL_UPDATE CALL FUNCTION 'WCFD_WCAPL_UPDATE' EXPORTING i_deltab = l_deltab i_instab = l_instab EXCEPTIONS 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 WCMPIF01 or its description.