SAP EXIT_SAPLCOI1_030 Function Module for Customer exit: Preset COBL fields
EXIT_SAPLCOI1_030 is a standard exit saplcoi1 030 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Customer exit: Preset COBL fields 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 saplcoi1 030 FM, simply by entering the name EXIT_SAPLCOI1_030 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XWOC
Program Name: SAPLXWOC
Main Program: SAPLXWOC
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:
Function EXIT_SAPLCOI1_030 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_SAPLCOI1_030'"Customer exit: Preset COBL fields.
EXPORTING
* PMSDO_IMP = "PM organizational data for SD documents
* HEADER_IMP = "Dialog structure for order headers and items
* SUBMT_IMP = "Construction type material of the object
CHANGING
P_COBL = "Coding Block
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.CO_I1_ABRV_ARCH_FREI NOTRANSL: PM/SM Auftrag prüfen ob Auftrag freigegeben bzw. abgeschlossen w
CO_I1_ABRV_MAINTAIN Maintain Settlement Rule
CO_I1_DEFAULTRULE_CREATE NOTRANSL: Defaultregel bilden (Abrechnungsvorschrift)
CO_I1_MAINTENANCE_ITEM_SETTLE NOTRANSL: Wartungsplanposition --> Defaultregel bilden
CO_I1_ORDER_SETTLE NOTRANSL: IH-Auftragskopf kontieren
CO_I1_PMSM_ORDER_GET_WA NOTRANSL: ermittelt Informationen über PM/CS Auftrag aus Speicher
CO_I1_SETTLEMENTRULE_VERIFY NOTRANSL: Prüfen und ggf. ändern der COPA Objektnummer
CO_I1_SR_HEADER_CREATE NOTRANSL: Erzeugen Kopf der Abrechnungsvorschrift (COBRA)
IMPORTING Parameters details for EXIT_SAPLCOI1_030
PMSDO_IMP - PM organizational data for SD documents
Data type: PMSDOOptional: Yes
Call by Reference: Yes
HEADER_IMP - Dialog structure for order headers and items
Data type: CAUFVDOptional: Yes
Call by Reference: Yes
SUBMT_IMP - Construction type material of the object
Data type: EQUZ-SUBMTOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for EXIT_SAPLCOI1_030
P_COBL - Coding Block
Data type: COBLOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLCOI1_030 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_p_cobl | TYPE COBL, " | |||
lv_pmsdo_imp | TYPE PMSDO, " | |||
lv_header_imp | TYPE CAUFVD, " | |||
lv_submt_imp | TYPE EQUZ-SUBMT. " |
  CALL FUNCTION 'EXIT_SAPLCOI1_030' "Customer exit: Preset COBL fields |
EXPORTING | ||
PMSDO_IMP | = lv_pmsdo_imp | |
HEADER_IMP | = lv_header_imp | |
SUBMT_IMP | = lv_submt_imp | |
CHANGING | ||
P_COBL | = lv_p_cobl | |
. " EXIT_SAPLCOI1_030 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLCOI1_030
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 SUBMT FROM EQUZ INTO @DATA(ld_submt_imp). | ||||
Search for further information about these or an SAP related objects