CP_DO_OPR_CHECK is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CP_DO_OPR_CHECK into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CPDO
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CP_DO_OPR_CHECK' "Check an operation or sub-oper. by assigned detail screens
EXPORTING
aennr_imp = " plpo-aennr Change number
* bldgr_excl_imp = SPACE " rc27s-bldgr
* panel_excl_imp = SPACE " rc27s-panel
plfld_imp = " plfld Task list sequence (I/O structure)
plkod_imp = " plkod Header record to be displayed (I/O structure)
plnaw_imp = " tca01-plnaw Application
* plpod_imp = '' " plpod Operation data (operation and sub-operation)
* plpom_imp = '' " plpom Operation data (only for sub-operations)
* rc27e_imp = '' " rc27e Equipment data of a task list
rc27i_imp = " rc27i Index field string on document tables
* rc27m_imp = '' " rc27m Material data of task list
* rcr01_imp = '' " rcr01 Work center data
* sel_sttag = ' ' " rc27s-sttag Key date for which task list is set up
* tca41_imp = '' " tca41 Profile
* tca05_imp = '' " tca05 Transaction control GI
* object_imp = " rc27x-object
* subobj_imp = " rc27x-subobj
* rcr01_sav_imp = SPACE " rcr01
* plpod_sav_imp = SPACE " plpod
IMPORTING
flg_esc = " Screen was cancelled
plpod_exp = " plpod Changed operation data
rcr01_exp = " rcr01 Work center data
flg_serv = " rc27s-flg_serv
. " CP_DO_OPR_CHECK
The ABAP code below is a full code listing to execute function module CP_DO_OPR_CHECK including all data declarations. The code uses the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the original method of declaring data variables up front. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8).
| ld_flg_esc | TYPE STRING , |
| ld_plpod_exp | TYPE PLPOD , |
| ld_rcr01_exp | TYPE RCR01 , |
| ld_flg_serv | TYPE RC27S-FLG_SERV . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_flg_esc | TYPE STRING , |
| ld_aennr_imp | TYPE PLPO-AENNR , |
| ld_plpod_exp | TYPE PLPOD , |
| ld_bldgr_excl_imp | TYPE RC27S-BLDGR , |
| ld_rcr01_exp | TYPE RCR01 , |
| ld_panel_excl_imp | TYPE RC27S-PANEL , |
| ld_flg_serv | TYPE RC27S-FLG_SERV , |
| ld_plfld_imp | TYPE PLFLD , |
| ld_plkod_imp | TYPE PLKOD , |
| ld_plnaw_imp | TYPE TCA01-PLNAW , |
| ld_plpod_imp | TYPE PLPOD , |
| ld_plpom_imp | TYPE PLPOM , |
| ld_rc27e_imp | TYPE RC27E , |
| ld_rc27i_imp | TYPE RC27I , |
| ld_rc27m_imp | TYPE RC27M , |
| ld_rcr01_imp | TYPE RCR01 , |
| ld_sel_sttag | TYPE RC27S-STTAG , |
| ld_tca41_imp | TYPE TCA41 , |
| ld_tca05_imp | TYPE TCA05 , |
| ld_object_imp | TYPE RC27X-OBJECT , |
| ld_subobj_imp | TYPE RC27X-SUBOBJ , |
| ld_rcr01_sav_imp | TYPE RCR01 , |
| ld_plpod_sav_imp | TYPE PLPOD . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CP_DO_OPR_CHECK or its description.