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

RIWFWD01 SAP ABAP INCLUDE - WCM: Business Object Type WCD (Work Clearance Document)







RIWFWD01 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 RIWFWD01 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 RIWFWD01. "Basic submit
SUBMIT RIWFWD01 AND RETURN. "Return to original report after report execution complete
SUBMIT RIWFWD01 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: Business Object Type WCD (Work Clearance Document)
Text Symbol: 001 = Import
Text Symbol: 002 = No change
Text Symbol: 003 = Not


INCLUDES used within this REPORT RIWFWD01

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:

WCFG_INFO_GET CALL FUNCTION 'WCFG_INFO_GET' EXPORTING I_IWERK = L_IWERK I_OBJART = WCTP1_OBJART-WCD I_OBJTYP = L_OBJTYP I_OBJNR = L_OBJNR IMPORTING E_PERMITTAB = L_PERMITTAB EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFF_EXCEPTION_CONVERT CALL FUNCTION 'WCFF_EXCEPTION_CONVERT' EXPORTING I_SUBRC = OBJECT-PRIVATE-SUBRC I_FB = 'WCFG_INFO_GET' IMPORTING E_EXIT = OBJECT-PRIVATE-EXIT EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFG_INFO_GET CALL FUNCTION 'WCFG_INFO_GET' EXPORTING I_IWERK = L_IWERK I_OBJART = WCTP1_OBJART-WCD I_OBJTYP = L_OBJTYP I_OBJNR = L_OBJNR IMPORTING E_PERMITTAB = L_PERMITTAB EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFF_EXCEPTION_CONVERT CALL FUNCTION 'WCFF_EXCEPTION_CONVERT' EXPORTING I_SUBRC = OBJECT-PRIVATE-SUBRC I_FB = 'WCFG_INFO_GET' IMPORTING E_EXIT = OBJECT-PRIVATE-EXIT EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFF_NEXT_APPR_GET CALL FUNCTION 'WCFF_NEXT_APPR_GET' EXPORTING I_IWERK = L_IWERK I_OBJART = WCTP1_OBJART-WCD I_OBJTYP = L_OBJTYP I_OBJNR = L_OBJNR IMPORTING E_PERMITTAB = L_PERMITTAB EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFF_EXCEPTION_CONVERT CALL FUNCTION 'WCFF_EXCEPTION_CONVERT' EXPORTING I_SUBRC = OBJECT-PRIVATE-SUBRC I_FB = 'WCFF_NEXT_APPR_GET' IMPORTING E_EXIT = OBJECT-PRIVATE-EXIT EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFW_OBJ_DIALOG CALL FUNCTION 'WCFW_OBJ_DIALOG' EXPORTING * I_TCODE = I_AKTYP = WCTP1_AKTYP_A I_IWERK = L_IWERK I_OBJART = WCTP1_OBJART-WCD I_OBJTYP = L_OBJTYP I_OBJKEY = OBJECT-KEY-NUMBER * I_CP = * I_FIRST_FCODE = * I_SECOND_FCODE = * I_THIRD_FCODE = * IMPORTING * E_FCODE = * E_UPDATE = EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFF_EXCEPTION_CONVERT CALL FUNCTION 'WCFF_EXCEPTION_CONVERT' EXPORTING I_SUBRC = OBJECT-PRIVATE-SUBRC I_FB = 'WCFW_OBJ_DIALOG' IMPORTING E_EXIT = OBJECT-PRIVATE-EXIT EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFW_OBJ_DIALOG CALL FUNCTION 'WCFW_OBJ_DIALOG' EXPORTING * I_TCODE = I_AKTYP = WCTP1_AKTYP_V I_IWERK = L_IWERK I_OBJART = WCTP1_OBJART-WCD I_OBJTYP = L_OBJTYP I_OBJKEY = OBJECT-KEY-NUMBER * I_CP = * I_FIRST_FCODE = * I_SECOND_FCODE = * I_THIRD_FCODE = * IMPORTING * E_FCODE = * E_UPDATE = EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFF_EXCEPTION_CONVERT CALL FUNCTION 'WCFF_EXCEPTION_CONVERT' EXPORTING I_SUBRC = OBJECT-PRIVATE-SUBRC I_FB = 'WCFW_OBJ_DIALOG' IMPORTING E_EXIT = OBJECT-PRIVATE-EXIT EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFW_OBJ_DIALOG CALL FUNCTION 'WCFW_OBJ_DIALOG' EXPORTING * I_TCODE = I_AKTYP = WCTP1_AKTYP_V I_IWERK = L_IWERK I_OBJART = WCTP1_OBJART-WCD I_OBJTYP = L_OBJTYP I_OBJKEY = OBJECT-KEY-NUMBER * I_CP = * I_FIRST_FCODE = * I_SECOND_FCODE = * I_THIRD_FCODE = * IMPORTING * E_FCODE = * E_UPDATE = EXCEPTIONS ERROR = 1 OTHERS = 2.

WCFF_EXCEPTION_CONVERT CALL FUNCTION 'WCFF_EXCEPTION_CONVERT' EXPORTING I_SUBRC = OBJECT-PRIVATE-SUBRC I_FB = 'WCFW_OBJ_DIALOG' IMPORTING E_EXIT = OBJECT-PRIVATE-EXIT EXCEPTIONS ERROR = 1 OTHERS = 2.

STATUS_CHECK CALL FUNCTION 'STATUS_CHECK' EXPORTING * BYPASS_BUFFER = SPACE * CLIENT = SY-MANDT OBJNR = L_OBJNR STATUS = I_STAT EXCEPTIONS OBJECT_NOT_FOUND = 01 STATUS_NOT_ACTIVE = 02 OTHERS = 03.



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