SAP CO_IH_OPERATION_DETAIL_CALL Function Module for NOTRANSL: IH-Auftrag: Dynamischer Aufruf eines Detailbildes









CO_IH_OPERATION_DETAIL_CALL is a standard co ih operation detail call SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: IH-Auftrag: Dynamischer Aufruf eines Detailbildes processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for co ih operation detail call FM, simply by entering the name CO_IH_OPERATION_DETAIL_CALL into the relevant SAP transaction such as SE37 or SE38.

Function Group: COIH
Program Name: SAPLCOIH
Main Program: SAPLCOIH
Appliation area: C
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CO_IH_OPERATION_DETAIL_CALL pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'CO_IH_OPERATION_DETAIL_CALL'"NOTRANSL: IH-Auftrag: Dynamischer Aufruf eines Detailbildes
EXPORTING
AFFLD_IMP = "
PLNAW = "
RC27I_IMP = "Index field string on document tables
* RC27M_IMP = "Material data of the task list
RC27S_IMP = "
RCR01_CHK = "Job data old status (only for ActTyp =C)
* RCR01_IMP = "Work Center Data
* SEL_STTAG = "Key date for which task list is set up
* SLWID = ' ' "
AFVGD_CHK = "
* AFVGD_IMP = "
* AFVGM_IMP = "
AKTYP = "
CAUFVD_IMP = "
DYNNR = "
* FLG_DARK = ' ' "Process screen in the background
* FLG_REACHED_BY_FCODE = 'X' "Flag: screen was called explicitly by function code

IMPORTING
AFVGD_EXP = "
FLG_ESC = "
OK_CODE = "
RCR01_EXP = "Job data
CAUFVD_EXP = "

EXCEPTIONS
WRONG_BLDGR = 1 EXIT_FLAG = 2
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLCOIH_001 Create Maintenance Sub-Order: Customer-Specific Additions for Order Header
EXIT_SAPLCOIH_002 PM Order: Customer Exit Before Release
EXIT_SAPLCOIH_003 PM Order: USER-Specific Determination of Task Lists for PM Order
EXIT_SAPLCOIH_004 PM Order: Customer Exit for Technical Completion Event
EXIT_SAPLCOIH_005 PM Order: Customer Enhancement to Determine Profit Center
EXIT_SAPLCOIH_006 PM Order: Customer Enhancement for Exclusion of Function Codes
EXIT_SAPLCOIH_007 PM Order: Customer Enhancement for Permits
EXIT_SAPLCOIH_008 PM Order: Customer Enhancement to Determine Tax Jurisdiction Code
EXIT_SAPLCOIH_009 PM Order: Customer Check for 'Save' Event
EXIT_SAPLCOIH_010 PM Order: Customer Enhancement for Determination of WBS Element
EXIT_SAPLCOIH_012 Maintenance Order: Priority Handling on Central Header
EXIT_SAPLCOIH_014 Maintenance Order: Priority Handling on Central Header
EXIT_SAPLCOIH_015 PM Order: F4 Help for User Fields on Operation
EXIT_SAPLCOIH_016 PM Order: Check Entry of User Fields on Operation
EXIT_SAPLCOIH_017 PM Order: Determine External Order Number by Customer Logic
EXIT_SAPLCOIH_018 PM Order: User Fields for Order Header PBO
EXIT_SAPLCOIH_019 PM Order: Customer Enhancement for User Fields for Order Header PAI
EXIT_SAPLCOIH_020 PM Order: Automatic Inclusion of Task List Using IW31, IW34, IW36
EXIT_SAPLCOIH_021 PM: Automatic Task List Transfer when Order Generated from Notification
EXIT_SAPLCOIH_025 Customer Determination of Cost Center Responsible
EXIT_SAPLCOIH_026 Customer Check Status 'Not Performed'
EXIT_SAPLCOIH_030 Transfer User Fields from Maintenance Plan to Order
EXIT_SAPLCOIH_031 Hide personnel number in PM/SM order
EXIT_SAPLCOIH_032 Transfer User Fields from Notification to Order
EXIT_SAPLCOIH_100 Create Service Order: Customer Enhancements of Order Header

IMPORTING Parameters details for CO_IH_OPERATION_DETAIL_CALL

AFFLD_IMP -

Data type: AFFLD
Optional: No
Call by Reference: Yes

PLNAW -

Data type: TCA01-PLNAW
Optional: No
Call by Reference: Yes

RC27I_IMP - Index field string on document tables

Data type: RC27I
Optional: No
Call by Reference: Yes

RC27M_IMP - Material data of the task list

Data type: RC27M
Optional: Yes
Call by Reference: Yes

RC27S_IMP -

Data type: RC27S
Optional: No
Call by Reference: Yes

RCR01_CHK - Job data old status (only for ActTyp =C)

Data type: RCR01
Optional: No
Call by Reference: Yes

RCR01_IMP - Work Center Data

Data type: RCR01
Optional: Yes
Call by Reference: Yes

SEL_STTAG - Key date for which task list is set up

Data type: RC27S-STTAG
Optional: Yes
Call by Reference: Yes

SLWID -

Data type: TCA41-SLWID
Default: SPACE
Optional: Yes
Call by Reference: Yes

AFVGD_CHK -

Data type: AFVGD
Optional: No
Call by Reference: Yes

AFVGD_IMP -

Data type: AFVGD
Optional: Yes
Call by Reference: Yes

AFVGM_IMP -

Data type: AFVGM
Optional: Yes
Call by Reference: Yes

AKTYP -

Data type: TC01A-AKTYP
Optional: No
Call by Reference: Yes

CAUFVD_IMP -

Data type: CAUFVD
Optional: No
Call by Reference: Yes

DYNNR -

Data type: T185V-CDYNPRO
Optional: No
Call by Reference: Yes

FLG_DARK - Process screen in the background

Data type:
Default: SPACE
Optional: Yes
Call by Reference: Yes

FLG_REACHED_BY_FCODE - Flag: screen was called explicitly by function code

Data type:
Default: 'X'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for CO_IH_OPERATION_DETAIL_CALL

AFVGD_EXP -

Data type: AFVGD
Optional: No
Call by Reference: No ( called with pass by value option)

FLG_ESC -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

OK_CODE -

Data type: T185-FCODE
Optional: No
Call by Reference: No ( called with pass by value option)

RCR01_EXP - Job data

Data type: RCR01
Optional: No
Call by Reference: No ( called with pass by value option)

CAUFVD_EXP -

Data type: CAUFVD
Optional: No
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

WRONG_BLDGR - Screen modification group does not exist

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

EXIT_FLAG -

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CO_IH_OPERATION_DETAIL_CALL Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_affld_imp  TYPE AFFLD, "   
lv_afvgd_exp  TYPE AFVGD, "   
lv_wrong_bldgr  TYPE AFVGD, "   
lv_plnaw  TYPE TCA01-PLNAW, "   
lv_rc27i_imp  TYPE RC27I, "   
lv_rc27m_imp  TYPE RC27M, "   
lv_rc27s_imp  TYPE RC27S, "   
lv_rcr01_chk  TYPE RCR01, "   
lv_rcr01_imp  TYPE RCR01, "   
lv_sel_sttag  TYPE RC27S-STTAG, "   
lv_slwid  TYPE TCA41-SLWID, "   SPACE
lv_flg_esc  TYPE TCA41, "   
lv_afvgd_chk  TYPE AFVGD, "   
lv_exit_flag  TYPE AFVGD, "   
lv_ok_code  TYPE T185-FCODE, "   
lv_afvgd_imp  TYPE AFVGD, "   
lv_afvgm_imp  TYPE AFVGM, "   
lv_rcr01_exp  TYPE RCR01, "   
lv_aktyp  TYPE TC01A-AKTYP, "   
lv_caufvd_exp  TYPE CAUFVD, "   
lv_caufvd_imp  TYPE CAUFVD, "   
lv_dynnr  TYPE T185V-CDYNPRO, "   
lv_flg_dark  TYPE T185V, "   SPACE
lv_flg_reached_by_fcode  TYPE T185V. "   'X'

  CALL FUNCTION 'CO_IH_OPERATION_DETAIL_CALL'  "NOTRANSL: IH-Auftrag: Dynamischer Aufruf eines Detailbildes
    EXPORTING
         AFFLD_IMP = lv_affld_imp
         PLNAW = lv_plnaw
         RC27I_IMP = lv_rc27i_imp
         RC27M_IMP = lv_rc27m_imp
         RC27S_IMP = lv_rc27s_imp
         RCR01_CHK = lv_rcr01_chk
         RCR01_IMP = lv_rcr01_imp
         SEL_STTAG = lv_sel_sttag
         SLWID = lv_slwid
         AFVGD_CHK = lv_afvgd_chk
         AFVGD_IMP = lv_afvgd_imp
         AFVGM_IMP = lv_afvgm_imp
         AKTYP = lv_aktyp
         CAUFVD_IMP = lv_caufvd_imp
         DYNNR = lv_dynnr
         FLG_DARK = lv_flg_dark
         FLG_REACHED_BY_FCODE = lv_flg_reached_by_fcode
    IMPORTING
         AFVGD_EXP = lv_afvgd_exp
         FLG_ESC = lv_flg_esc
         OK_CODE = lv_ok_code
         RCR01_EXP = lv_rcr01_exp
         CAUFVD_EXP = lv_caufvd_exp
    EXCEPTIONS
        WRONG_BLDGR = 1
        EXIT_FLAG = 2
. " CO_IH_OPERATION_DETAIL_CALL




ABAP code using 7.40 inline data declarations to call FM CO_IH_OPERATION_DETAIL_CALL

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
"SELECT single PLNAW FROM TCA01 INTO @DATA(ld_plnaw).
 
 
 
 
 
 
"SELECT single STTAG FROM RC27S INTO @DATA(ld_sel_sttag).
 
"SELECT single SLWID FROM TCA41 INTO @DATA(ld_slwid).
DATA(ld_slwid) = ' '.
 
 
 
 
"SELECT single FCODE FROM T185 INTO @DATA(ld_ok_code).
 
 
 
 
"SELECT single AKTYP FROM TC01A INTO @DATA(ld_aktyp).
 
 
 
"SELECT single CDYNPRO FROM T185V INTO @DATA(ld_dynnr).
 
DATA(ld_flg_dark) = ' '.
 
DATA(ld_flg_reached_by_fcode) = 'X'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!