SAP CBGL_DE00_LABEL_TYPES_MOD Function Module for NOTRANSL: EHS: Prüfungen vor der Etikettenermittlung
CBGL_DE00_LABEL_TYPES_MOD is a standard cbgl de00 label types mod 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: EHS: Prüfungen vor der Etikettenermittlung 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 cbgl de00 label types mod FM, simply by entering the name CBGL_DE00_LABEL_TYPES_MOD into the relevant SAP transaction such as SE37 or SE38.
Function Group: CBGL_DE00
Program Name: SAPLCBGL_DE00
Main Program: SAPLCBGL_DE00
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CBGL_DE00_LABEL_TYPES_MOD 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 'CBGL_DE00_LABEL_TYPES_MOD'"NOTRANSL: EHS: Prüfungen vor der Etikettenermittlung.
EXPORTING
I_LABEL_DET_PARAMS = "EHS: Structure with Data Required for Label Determination
I_PACKING_TYPES = "EHS: Packaging Hierarchy
TABLES
I_SHIPPING_MODES_TAB = "EHS: Structure for Modes of Transport
I_COUNTRY_TAB = "EHS: Structure for Countries
I_DEG_REG_TAB = "EHS: Structure for Validity Areas
I_CVDDP_TAB = "EHS: Parameter Values for Report Shipping
I_PACKING_TYPES_TAB = "EHS: Packaging Hierarchy
X_LABEL_TYPES_TAB = "EHS: Label Categories
EXCEPTIONS
XXX = 1
IMPORTING Parameters details for CBGL_DE00_LABEL_TYPES_MOD
I_LABEL_DET_PARAMS - EHS: Structure with Data Required for Label Determination
Data type: CCGLS_LABEL_DETOptional: No
Call by Reference: Yes
I_PACKING_TYPES - EHS: Packaging Hierarchy
Data type: CCGLS_PACK_HIERARCHYOptional: No
Call by Reference: Yes
TABLES Parameters details for CBGL_DE00_LABEL_TYPES_MOD
I_SHIPPING_MODES_TAB - EHS: Structure for Modes of Transport
Data type: CCGLS_SHIPPING_MODESOptional: No
Call by Reference: No ( called with pass by value option)
I_COUNTRY_TAB - EHS: Structure for Countries
Data type: CCGLS_COUNTRY_TABOptional: No
Call by Reference: No ( called with pass by value option)
I_DEG_REG_TAB - EHS: Structure for Validity Areas
Data type: CCGLS_VALIDITY_AREASOptional: No
Call by Reference: Yes
I_CVDDP_TAB - EHS: Parameter Values for Report Shipping
Data type: CVDDPOptional: No
Call by Reference: No ( called with pass by value option)
I_PACKING_TYPES_TAB - EHS: Packaging Hierarchy
Data type: CCGLS_PACK_HIERARCHYOptional: No
Call by Reference: Yes
X_LABEL_TYPES_TAB - EHS: Label Categories
Data type: CCGLC_LABTYOptional: No
Call by Reference: Yes
EXCEPTIONS details
XXX - xxx
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CBGL_DE00_LABEL_TYPES_MOD 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_xxx | TYPE STRING, " | |||
| lv_i_label_det_params | TYPE CCGLS_LABEL_DET, " | |||
| lt_i_shipping_modes_tab | TYPE STANDARD TABLE OF CCGLS_SHIPPING_MODES, " | |||
| lt_i_country_tab | TYPE STANDARD TABLE OF CCGLS_COUNTRY_TAB, " | |||
| lv_i_packing_types | TYPE CCGLS_PACK_HIERARCHY, " | |||
| lt_i_deg_reg_tab | TYPE STANDARD TABLE OF CCGLS_VALIDITY_AREAS, " | |||
| lt_i_cvddp_tab | TYPE STANDARD TABLE OF CVDDP, " | |||
| lt_i_packing_types_tab | TYPE STANDARD TABLE OF CCGLS_PACK_HIERARCHY, " | |||
| lt_x_label_types_tab | TYPE STANDARD TABLE OF CCGLC_LABTY. " |
|   CALL FUNCTION 'CBGL_DE00_LABEL_TYPES_MOD' "NOTRANSL: EHS: Prüfungen vor der Etikettenermittlung |
| EXPORTING | ||
| I_LABEL_DET_PARAMS | = lv_i_label_det_params | |
| I_PACKING_TYPES | = lv_i_packing_types | |
| TABLES | ||
| I_SHIPPING_MODES_TAB | = lt_i_shipping_modes_tab | |
| I_COUNTRY_TAB | = lt_i_country_tab | |
| I_DEG_REG_TAB | = lt_i_deg_reg_tab | |
| I_CVDDP_TAB | = lt_i_cvddp_tab | |
| I_PACKING_TYPES_TAB | = lt_i_packing_types_tab | |
| X_LABEL_TYPES_TAB | = lt_x_label_types_tab | |
| EXCEPTIONS | ||
| XXX = 1 | ||
| . " CBGL_DE00_LABEL_TYPES_MOD | ||
ABAP code using 7.40 inline data declarations to call FM CBGL_DE00_LABEL_TYPES_MOD
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