SAP CO_WIPB_UPD_SINGLE_CHVW Function Module for NOTRANSL: Bearbeiten WIP-Chargen (READ/UPD/DEL/INS/MOD)









CO_WIPB_UPD_SINGLE_CHVW is a standard co wipb upd single chvw 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: Bearbeiten WIP-Chargen (READ/UPD/DEL/INS/MOD) 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 wipb upd single chvw FM, simply by entering the name CO_WIPB_UPD_SINGLE_CHVW into the relevant SAP transaction such as SE37 or SE38.

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



Function CO_WIPB_UPD_SINGLE_CHVW 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_WIPB_UPD_SINGLE_CHVW'"NOTRANSL: Bearbeiten WIP-Chargen (READ/UPD/DEL/INS/MOD)
EXPORTING
I_FLG_UPD = "
* I_SEL_TYP = '00' "
* I_NO_COMMIT = "Boolean Variable (X=True, -=False, Space=Unknown)
IS_COWIPB_CHVW_KEY = "Confirmation/WIP Batches and Reference Fields
* I_FLG_INT_BATCH = "Single-Character Indicator
* IS_COWIPB_CHVW = "WIP Batches with Where-Used List

IMPORTING
ES_COWIPB_CHVW = "WIP Batches with Where-Used List

TABLES
* CT_COWIPB_CHVW = "WIP Batches with Where-Used List

EXCEPTIONS
NO_RECORD_FOUND = 1 DUPLICATE_RECORD = 2
.



IMPORTING Parameters details for CO_WIPB_UPD_SINGLE_CHVW

I_FLG_UPD -

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

I_SEL_TYP -

Data type: CHAR2
Default: '00'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NO_COMMIT - Boolean Variable (X=True, -=False, Space=Unknown)

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

IS_COWIPB_CHVW_KEY - Confirmation/WIP Batches and Reference Fields

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

I_FLG_INT_BATCH - Single-Character Indicator

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

IS_COWIPB_CHVW - WIP Batches with Where-Used List

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

EXPORTING Parameters details for CO_WIPB_UPD_SINGLE_CHVW

ES_COWIPB_CHVW - WIP Batches with Where-Used List

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

TABLES Parameters details for CO_WIPB_UPD_SINGLE_CHVW

CT_COWIPB_CHVW - WIP Batches with Where-Used List

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

EXCEPTIONS details

NO_RECORD_FOUND - Record Not Found

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

DUPLICATE_RECORD - Record already exists

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

Copy and paste ABAP code example for CO_WIPB_UPD_SINGLE_CHVW 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_i_flg_upd  TYPE CHAR1, "   
lt_ct_cowipb_chvw  TYPE STANDARD TABLE OF COWIPB_CHVW_UPD, "   
lv_es_cowipb_chvw  TYPE COWIPB_CHVW, "   
lv_no_record_found  TYPE COWIPB_CHVW, "   
lv_i_sel_typ  TYPE CHAR2, "   '00'
lv_duplicate_record  TYPE CHAR2, "   
lv_i_no_commit  TYPE BOOLEAN, "   
lv_is_cowipb_chvw_key  TYPE COWIPB_CHVW_KEY, "   
lv_i_flg_int_batch  TYPE CHAR01, "   
lv_is_cowipb_chvw  TYPE COWIPB_CHVW_UPD. "   

  CALL FUNCTION 'CO_WIPB_UPD_SINGLE_CHVW'  "NOTRANSL: Bearbeiten WIP-Chargen (READ/UPD/DEL/INS/MOD)
    EXPORTING
         I_FLG_UPD = lv_i_flg_upd
         I_SEL_TYP = lv_i_sel_typ
         I_NO_COMMIT = lv_i_no_commit
         IS_COWIPB_CHVW_KEY = lv_is_cowipb_chvw_key
         I_FLG_INT_BATCH = lv_i_flg_int_batch
         IS_COWIPB_CHVW = lv_is_cowipb_chvw
    IMPORTING
         ES_COWIPB_CHVW = lv_es_cowipb_chvw
    TABLES
         CT_COWIPB_CHVW = lt_ct_cowipb_chvw
    EXCEPTIONS
        NO_RECORD_FOUND = 1
        DUPLICATE_RECORD = 2
. " CO_WIPB_UPD_SINGLE_CHVW




ABAP code using 7.40 inline data declarations to call FM CO_WIPB_UPD_SINGLE_CHVW

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.

 
 
 
 
DATA(ld_i_sel_typ) = '00'.
 
 
 
 
 
 


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!