SAP HAZMAT_CHK_FRAME_TRANS Function Module for NOTRANSL: GG-PR: Rahmenprogramm GG-Prüfungen im Transportbeleg
HAZMAT_CHK_FRAME_TRANS is a standard hazmat chk frame trans 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-PR: Rahmenprogramm GG-Prüfungen im Transportbeleg 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 hazmat chk frame trans FM, simply by entering the name HAZMAT_CHK_FRAME_TRANS into the relevant SAP transaction such as SE37 or SE38.
Function Group: DG60
Program Name: SAPLDG60
Main Program: SAPLDG60
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function HAZMAT_CHK_FRAME_TRANS 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 'HAZMAT_CHK_FRAME_TRANS'"NOTRANSL: GG-PR: Rahmenprogramm GG-Prüfungen im Transportbeleg.
EXPORTING
I_DG_CHK_START = "Start Mode
* I_DG_CHK_HAZMAT_POS = "
I_CHK_VTTKVB_WA = "Shipment Header
* I_CHK_VTTPVB_WA = "Shipment Item for Logging
* I_CHK_VTTSVB_WA = "Stage of Shipment
* I_CHK_VTSPVB_WA = "Stage of Transport / Item: Logging
* I_CHK_VTRLK_WA = "Delivery in Shipment: Header
* I_CHK_VTRLP_WA = "Delivery in Shipment: Item
IMPORTING
E_DG_CHK_TRANS_LOCK = "Block Indicator for Dangerous Goods
E_DG_CHK_SELDATE = "Selection Date
E_DG_CHK_FLG_DIVERS = "
E_DG_CHK_RDGLKPRO = "
TABLES
I_CHK_VTTPVBTAB = "Shipment Items
* E_DG_CHK_LOGTAB = "
* E_DG_CHK_STAGE_CONT_DGTAB = "
* E_CHANGE_MATTAB = "
* E_USX_LOGTAB = "
I_CHK_VTTSVBTAB = "Shipment Legs
I_CHK_VTSPVBTAB = "
I_CHK_VTRLKTAB = "Delivery Headers
I_CHK_VTRLPTAB = "Delivery Items
I_CHK_VEKPTAB = "
I_CHK_VEPOTAB = "
* E_CHK_PAP_FLAGSTAB = "
* E_SD_PROFILESTAB = "
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLDG60_001 DG: Merge Item Data and Delivery Schedule Data for Expected Deliveries
EXIT_SAPLDG60_002 DG: Determine Expected Deliveries
EXIT_SAPLDG60_003 DG: Write Log Header for Expected Deliveries
IMPORTING Parameters details for HAZMAT_CHK_FRAME_TRANS
I_DG_CHK_START - Start Mode
Data type: DGPCS_DG_CHK_STARTOptional: No
Call by Reference: No ( called with pass by value option)
I_DG_CHK_HAZMAT_POS -
Data type: TDGA1-DGDNPOSOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHK_VTTKVB_WA - Shipment Header
Data type: VTTKVBOptional: No
Call by Reference: No ( called with pass by value option)
I_CHK_VTTPVB_WA - Shipment Item for Logging
Data type: VTTPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHK_VTTSVB_WA - Stage of Shipment
Data type: VTTSVBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHK_VTSPVB_WA - Stage of Transport / Item: Logging
Data type: VTSPVBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHK_VTRLK_WA - Delivery in Shipment: Header
Data type: VTRLKOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHK_VTRLP_WA - Delivery in Shipment: Item
Data type: VTRLPOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for HAZMAT_CHK_FRAME_TRANS
E_DG_CHK_TRANS_LOCK - Block Indicator for Dangerous Goods
Data type: VTTK-DGTLOCKOptional: No
Call by Reference: No ( called with pass by value option)
E_DG_CHK_SELDATE - Selection Date
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
E_DG_CHK_FLG_DIVERS -
Data type: DGPCS_DG_CHK_FLG_DIVERSOptional: No
Call by Reference: No ( called with pass by value option)
E_DG_CHK_RDGLKPRO -
Data type: RDGLKPROOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for HAZMAT_CHK_FRAME_TRANS
I_CHK_VTTPVBTAB - Shipment Items
Data type: VTTPVBOptional: No
Call by Reference: No ( called with pass by value option)
E_DG_CHK_LOGTAB -
Data type: BALMIOptional: Yes
Call by Reference: No ( called with pass by value option)
E_DG_CHK_STAGE_CONT_DGTAB -
Data type: RDGSCDGOptional: Yes
Call by Reference: No ( called with pass by value option)
E_CHANGE_MATTAB -
Data type: RDGCHANGEOptional: Yes
Call by Reference: No ( called with pass by value option)
E_USX_LOGTAB -
Data type: BALMIOptional: Yes
Call by Reference: No ( called with pass by value option)
I_CHK_VTTSVBTAB - Shipment Legs
Data type: VTTSVBOptional: No
Call by Reference: No ( called with pass by value option)
I_CHK_VTSPVBTAB -
Data type: VTSPVBOptional: No
Call by Reference: No ( called with pass by value option)
I_CHK_VTRLKTAB - Delivery Headers
Data type: VTRLKOptional: No
Call by Reference: No ( called with pass by value option)
I_CHK_VTRLPTAB - Delivery Items
Data type: VTRLPOptional: No
Call by Reference: No ( called with pass by value option)
I_CHK_VEKPTAB -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
I_CHK_VEPOTAB -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
E_CHK_PAP_FLAGSTAB -
Data type: RDGFPAPOptional: Yes
Call by Reference: No ( called with pass by value option)
E_SD_PROFILESTAB -
Data type: RDGSDPROFOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for HAZMAT_CHK_FRAME_TRANS 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_i_dg_chk_start | TYPE DGPCS_DG_CHK_START, " | |||
| lt_i_chk_vttpvbtab | TYPE STANDARD TABLE OF VTTPVB, " | |||
| lv_e_dg_chk_trans_lock | TYPE VTTK-DGTLOCK, " | |||
| lt_e_dg_chk_logtab | TYPE STANDARD TABLE OF BALMI, " | |||
| lt_e_dg_chk_stage_cont_dgtab | TYPE STANDARD TABLE OF RDGSCDG, " | |||
| lt_e_change_mattab | TYPE STANDARD TABLE OF RDGCHANGE, " | |||
| lt_e_usx_logtab | TYPE STANDARD TABLE OF BALMI, " | |||
| lt_i_chk_vttsvbtab | TYPE STANDARD TABLE OF VTTSVB, " | |||
| lv_e_dg_chk_seldate | TYPE SY-DATUM, " | |||
| lv_i_dg_chk_hazmat_pos | TYPE TDGA1-DGDNPOS, " | |||
| lt_i_chk_vtspvbtab | TYPE STANDARD TABLE OF VTSPVB, " | |||
| lv_i_chk_vttkvb_wa | TYPE VTTKVB, " | |||
| lv_e_dg_chk_flg_divers | TYPE DGPCS_DG_CHK_FLG_DIVERS, " | |||
| lt_i_chk_vtrlktab | TYPE STANDARD TABLE OF VTRLK, " | |||
| lv_i_chk_vttpvb_wa | TYPE VTTPVB, " | |||
| lv_e_dg_chk_rdglkpro | TYPE RDGLKPRO, " | |||
| lt_i_chk_vtrlptab | TYPE STANDARD TABLE OF VTRLP, " | |||
| lv_i_chk_vttsvb_wa | TYPE VTTSVB, " | |||
| lt_i_chk_vekptab | TYPE STANDARD TABLE OF VTTSVB, " | |||
| lv_i_chk_vtspvb_wa | TYPE VTSPVB, " | |||
| lt_i_chk_vepotab | TYPE STANDARD TABLE OF VTSPVB, " | |||
| lv_i_chk_vtrlk_wa | TYPE VTRLK, " | |||
| lv_i_chk_vtrlp_wa | TYPE VTRLP, " | |||
| lt_e_chk_pap_flagstab | TYPE STANDARD TABLE OF RDGFPAP, " | |||
| lt_e_sd_profilestab | TYPE STANDARD TABLE OF RDGSDPROF. " |
|   CALL FUNCTION 'HAZMAT_CHK_FRAME_TRANS' "NOTRANSL: GG-PR: Rahmenprogramm GG-Prüfungen im Transportbeleg |
| EXPORTING | ||
| I_DG_CHK_START | = lv_i_dg_chk_start | |
| I_DG_CHK_HAZMAT_POS | = lv_i_dg_chk_hazmat_pos | |
| I_CHK_VTTKVB_WA | = lv_i_chk_vttkvb_wa | |
| I_CHK_VTTPVB_WA | = lv_i_chk_vttpvb_wa | |
| I_CHK_VTTSVB_WA | = lv_i_chk_vttsvb_wa | |
| I_CHK_VTSPVB_WA | = lv_i_chk_vtspvb_wa | |
| I_CHK_VTRLK_WA | = lv_i_chk_vtrlk_wa | |
| I_CHK_VTRLP_WA | = lv_i_chk_vtrlp_wa | |
| IMPORTING | ||
| E_DG_CHK_TRANS_LOCK | = lv_e_dg_chk_trans_lock | |
| E_DG_CHK_SELDATE | = lv_e_dg_chk_seldate | |
| E_DG_CHK_FLG_DIVERS | = lv_e_dg_chk_flg_divers | |
| E_DG_CHK_RDGLKPRO | = lv_e_dg_chk_rdglkpro | |
| TABLES | ||
| I_CHK_VTTPVBTAB | = lt_i_chk_vttpvbtab | |
| E_DG_CHK_LOGTAB | = lt_e_dg_chk_logtab | |
| E_DG_CHK_STAGE_CONT_DGTAB | = lt_e_dg_chk_stage_cont_dgtab | |
| E_CHANGE_MATTAB | = lt_e_change_mattab | |
| E_USX_LOGTAB | = lt_e_usx_logtab | |
| I_CHK_VTTSVBTAB | = lt_i_chk_vttsvbtab | |
| I_CHK_VTSPVBTAB | = lt_i_chk_vtspvbtab | |
| I_CHK_VTRLKTAB | = lt_i_chk_vtrlktab | |
| I_CHK_VTRLPTAB | = lt_i_chk_vtrlptab | |
| I_CHK_VEKPTAB | = lt_i_chk_vekptab | |
| I_CHK_VEPOTAB | = lt_i_chk_vepotab | |
| E_CHK_PAP_FLAGSTAB | = lt_e_chk_pap_flagstab | |
| E_SD_PROFILESTAB | = lt_e_sd_profilestab | |
| . " HAZMAT_CHK_FRAME_TRANS | ||
ABAP code using 7.40 inline data declarations to call FM HAZMAT_CHK_FRAME_TRANS
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 DGTLOCK FROM VTTK INTO @DATA(ld_e_dg_chk_trans_lock). | ||||
| "SELECT single DATUM FROM SY INTO @DATA(ld_e_dg_chk_seldate). | ||||
| "SELECT single DGDNPOS FROM TDGA1 INTO @DATA(ld_i_dg_chk_hazmat_pos). | ||||
Search for further information about these or an SAP related objects