SAP DG06_GET_EXCEPT_PROFILE Function Module for NOTRANSL: GG: GG-Beförderungsart lesen (SINGLE-READ)
DG06_GET_EXCEPT_PROFILE is a standard dg06 get except profile 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: GG: GG-Beförderungsart lesen (SINGLE-READ) 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 dg06 get except profile FM, simply by entering the name DG06_GET_EXCEPT_PROFILE into the relevant SAP transaction such as SE37 or SE38.
Function Group: DG06
Program Name: SAPLDG06
Main Program: SAPLDG06
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function DG06_GET_EXCEPT_PROFILE 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 'DG06_GET_EXCEPT_PROFILE'"NOTRANSL: GG: GG-Beförderungsart lesen (SINGLE-READ).
EXPORTING
* I_EXCEPTPROFILE = "Assignment Profile for Exception to DG Regulations
* I_LANGU = SY-LANGU "
IMPORTING
E_EXC_PROFILE_D = "Description of Assgmt Profile f. Exception to DG Regulations
TABLES
E_EXC_PROF_TAB = "Exceptions to DG Regulations: Assignment Profiles
EXCEPTIONS
NO_RECORD_FOUND = 1 NO_DESCRIPTION_FOUND = 2
IMPORTING Parameters details for DG06_GET_EXCEPT_PROFILE
I_EXCEPTPROFILE - Assignment Profile for Exception to DG Regulations
Data type: ADGE_EXCEPTPROFILEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_LANGU -
Data type: SY-LANGUDefault: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for DG06_GET_EXCEPT_PROFILE
E_EXC_PROFILE_D - Description of Assgmt Profile f. Exception to DG Regulations
Data type: ADGE_EXCEPTPROFILEDOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for DG06_GET_EXCEPT_PROFILE
E_EXC_PROF_TAB - Exceptions to DG Regulations: Assignment Profiles
Data type: TDG85Optional: No
Call by Reference: Yes
EXCEPTIONS details
NO_RECORD_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NO_DESCRIPTION_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for DG06_GET_EXCEPT_PROFILE 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_e_exc_prof_tab | TYPE STANDARD TABLE OF TDG85, " | |||
| lv_e_exc_profile_d | TYPE ADGE_EXCEPTPROFILED, " | |||
| lv_i_exceptprofile | TYPE ADGE_EXCEPTPROFILE, " | |||
| lv_no_record_found | TYPE ADGE_EXCEPTPROFILE, " | |||
| lv_i_langu | TYPE SY-LANGU, " SY-LANGU | |||
| lv_no_description_found | TYPE SY. " |
|   CALL FUNCTION 'DG06_GET_EXCEPT_PROFILE' "NOTRANSL: GG: GG-Beförderungsart lesen (SINGLE-READ) |
| EXPORTING | ||
| I_EXCEPTPROFILE | = lv_i_exceptprofile | |
| I_LANGU | = lv_i_langu | |
| IMPORTING | ||
| E_EXC_PROFILE_D | = lv_e_exc_profile_d | |
| TABLES | ||
| E_EXC_PROF_TAB | = lt_e_exc_prof_tab | |
| EXCEPTIONS | ||
| NO_RECORD_FOUND = 1 | ||
| NO_DESCRIPTION_FOUND = 2 | ||
| . " DG06_GET_EXCEPT_PROFILE | ||
ABAP code using 7.40 inline data declarations to call FM DG06_GET_EXCEPT_PROFILE
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 LANGU FROM SY INTO @DATA(ld_i_langu). | ||||
| DATA(ld_i_langu) | = SY-LANGU. | |||
Search for further information about these or an SAP related objects