SAP KEIZ_CHECK_COSP_COSS Function Module for NOTRANSL: Übernahme Manfplanung auf PSP-Element









KEIZ_CHECK_COSP_COSS is a standard keiz check cosp coss 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: Übernahme Manfplanung auf PSP-Element 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 keiz check cosp coss FM, simply by entering the name KEIZ_CHECK_COSP_COSS into the relevant SAP transaction such as SE37 or SE38.

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



Function KEIZ_CHECK_COSP_COSS 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 'KEIZ_CHECK_COSP_COSS'"NOTRANSL: Übernahme Manfplanung auf PSP-Element
EXPORTING
ID_KOKRS = "Controlling Area
ID_SOURCE = "Source Version
ID_TARGET = "Target Version

TABLES
* CT_COSPA = "COSPA
* CT_COSSA = "COSSA
* CT_LIST = "Object List
* CT_MESG = "Messages
.



IMPORTING Parameters details for KEIZ_CHECK_COSP_COSS

ID_KOKRS - Controlling Area

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

ID_SOURCE - Source Version

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

ID_TARGET - Target Version

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

TABLES Parameters details for KEIZ_CHECK_COSP_COSS

CT_COSPA - COSPA

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

CT_COSSA - COSSA

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

CT_LIST - Object List

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

CT_MESG - Messages

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

Copy and paste ABAP code example for KEIZ_CHECK_COSP_COSS 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:
lt_ct_cospa  TYPE STANDARD TABLE OF COSPA, "   
lv_id_kokrs  TYPE KOKRS, "   
lt_ct_cossa  TYPE STANDARD TABLE OF COSSA, "   
lv_id_source  TYPE VERSN, "   
lt_ct_list  TYPE STANDARD TABLE OF KPU3_LIST, "   
lv_id_target  TYPE VERSN, "   
lt_ct_mesg  TYPE STANDARD TABLE OF KALK_MESG_TYPE_TAB. "   

  CALL FUNCTION 'KEIZ_CHECK_COSP_COSS'  "NOTRANSL: Übernahme Manfplanung auf PSP-Element
    EXPORTING
         ID_KOKRS = lv_id_kokrs
         ID_SOURCE = lv_id_source
         ID_TARGET = lv_id_target
    TABLES
         CT_COSPA = lt_ct_cospa
         CT_COSSA = lt_ct_cossa
         CT_LIST = lt_ct_list
         CT_MESG = lt_ct_mesg
. " KEIZ_CHECK_COSP_COSS




ABAP code using 7.40 inline data declarations to call FM KEIZ_CHECK_COSP_COSS

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.

 
 
 
 
 
 
 


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!