SAP EXIT_SAPLCOKO_003 Function Module for PS Customer Exit: User Specific Fields f. Network Header (SAP -> SUBSCR.)









EXIT_SAPLCOKO_003 is a standard exit saplcoko 003 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for PS Customer Exit: User Specific Fields f. Network Header (SAP -> SUBSCR.) 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 exit saplcoko 003 FM, simply by entering the name EXIT_SAPLCOKO_003 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLCOKO_003 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 'EXIT_SAPLCOKO_003'"PS Customer Exit: User Specific Fields f. Network Header (SAP -> SUBSCR.)
EXPORTING
SAP_CAUFVD_IMP = "
COCI_AUFK_IMP = "
SAP_DISPLAY_ONLY = "Display Mode (Cannot make Entries in Fields)
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
CO_INIT NOTRANSL: Initialisierung der Transaktion über FUGR
CO_KO_AFPOD_GET NOTRANSL: Zuordnung Kundenauftragsposition für Standardnetzvorlage
CO_KO_BAPI_CNEX0012 NOTRANSL: Aufruf des Customer Exit 002 (aus BAPI)
CO_KO_CAUFVD_INIT_PS NOTRANSL: Initialisieren Netzplankopf
CO_KO_CAUFVD_INS_PS NOTRANSL: Netzplankopf in Belegtabelen einstellen
CO_KO_CHECK_AND_UPD_AMOUNT_MQC NOTRANSL: Änderung der Auftragsmenge durch Materialmengenberechnung
CO_KO_CHECK_EBS_ELEM_ALLOC NOTRANSL: Prüft Orgeinheiten bei Zuordnung Netzplan zum PSP
CO_KO_CHECK_ORD_TO_SDOC NOTRANSL: Prüfung Fertigungsaufträge zu Kundenauftrag
CO_KO_COLLECTIVE_ORDER_EXPAND NOTRANSL: Collective order expand
CO_KO_EXPORT_GENKEY NOTRANSL: Die generische Schlüssel der lfd. Transakt. exportieren
CO_KO_FHM_AVAILABILITY_CHK NOTRANSL: Verfügbarkeitsprüfung der FHM zu einem auftrag
CO_KO_GET_EXT_NETNR NOTRANSL: Externe Netzplannummer eingeben lassen
CO_KO_GET_HEADER NOTRANSL: Bereitstellung Auftragskopf für ext. Modulpools
CO_KO_GET_RC27S NOTRANSL: Lesen der Steuerleiste RC27S aus COKO
CO_KO_HEADER_ENTRY_PROJ NOTRANSL: Einstieg Projektterminverwaltung in Netzplanverwaltung
CO_KO_NETWORK_ACL_EXTERN_CALL NOTRANSL: Initialisierung COKO für externen Subscreen-Aufruf (PS)
CO_KO_NETWORK_INIT_EXTERN_CALL NOTRANSL: Initialisierung COKO für externen Subscreen-Aufruf (PS)
CO_KO_ORDER_ENTRY_EXT NOTRANSL: Einstieg in die Auftragsbearbeitung aus externer Anwendung
CO_KO_ORDER_OK_CODE_EXT NOTRANSL: Externe OK-Code Verarbeitung
CO_KO_ORDER_TO_PROJECT_DEL NOTRANSL: Verarbeitung ansteuern Auftrag/Netzplan zum Projekt von extern
CO_KO_PROJKN_DET NOTRANSL: Setzt Filterkennzeichen für Projektterminplaanung
CO_KO_PROJ_NW_INIT NOTRANSL: Initialisiert Netzplan. Schnittstelle PSP-Element/Netzplan bei i
CO_KO_SET_HEADER NOTRANSL: Übergeben CAUFVD an SAPLCOKO zwecks SUBSCREEN-Anzeige
CO_KO_SET_PARAMETER NOTRANSL: Funktionsbaustein setzt bestimmte Parameter global im SAPLCOKO
CO_KO_SET_PLANT NOTRANSL: Setzt Werk in der Funktionsgruppe COKO
CO_KO_SET_RC27S NOTRANSL: Ändern der Steuerleiste rc27s in COKO

IMPORTING Parameters details for EXIT_SAPLCOKO_003

SAP_CAUFVD_IMP -

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

COCI_AUFK_IMP -

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

SAP_DISPLAY_ONLY - Display Mode (Cannot make Entries in Fields)

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

Copy and paste ABAP code example for EXIT_SAPLCOKO_003 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_sap_caufvd_imp  TYPE CAUFVD, "   
lv_coci_aufk_imp  TYPE COCI_AUFK, "   
lv_sap_display_only  TYPE RC27S-FLG_SHOW. "   

  CALL FUNCTION 'EXIT_SAPLCOKO_003'  "PS Customer Exit: User Specific Fields f. Network Header (SAP -> SUBSCR.)
    EXPORTING
         SAP_CAUFVD_IMP = lv_sap_caufvd_imp
         COCI_AUFK_IMP = lv_coci_aufk_imp
         SAP_DISPLAY_ONLY = lv_sap_display_only
. " EXIT_SAPLCOKO_003




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCOKO_003

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 FLG_SHOW FROM RC27S INTO @DATA(ld_sap_display_only).
 


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!