SAP ISM_SHIPPING_CHECK_VT Function Module for IS-M/AM: Shipping Checks for Distribution
ISM_SHIPPING_CHECK_VT is a standard ism shipping check vt SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for IS-M/AM: Shipping Checks for Distribution 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 ism shipping check vt FM, simply by entering the name ISM_SHIPPING_CHECK_VT into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHA3
Program Name: SAPLJHA3
Main Program: SAPLJHA3
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_SHIPPING_CHECK_VT 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 'ISM_SHIPPING_CHECK_VT'"IS-M/AM: Shipping Checks for Distribution.
EXPORTING
PV_SHIPPING_CHECK_DIALOG = "IS-M/AM: Check M/SD shipping preps when creating DT item
* PT_RJHAPV = "
PT_RJHAUV = "
PT_RJHAE = "
PT_RJHAEV = "
PV_AVM_NR = "
PV_POS_NR = "
* PS_RJHAK = "
* PT_RJHAK = "
* PS_RJHA440 = "
* PS_RJHAP = "
* PT_RJHAP = "
* PS_RJHAPV = "
IMPORTING
PT_SHIPPING_VT = "
PS_MSG_VT = "
PS_MSG = "
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_SAPLJHA3_001 IS-M/AM: User Exit for Filling Append Structure for AI Order Element
EXIT_SAPLJHA3_211 IS-M/AM: AI Copy Schedule Lines to New Date
EXIT_SAPLJHA3_212 IS-M/AM: DT Copy Schedule Lines to New Date
IMPORTING Parameters details for ISM_SHIPPING_CHECK_VT
PV_SHIPPING_CHECK_DIALOG - IS-M/AM: Check M/SD shipping preps when creating DT item
Data type: RJHALLG-VT_SHIPP_CHECKOptional: No
Call by Reference: No ( called with pass by value option)
PT_RJHAPV -
Data type: JHA1_RJHAPV_TABOptional: Yes
Call by Reference: Yes
PT_RJHAUV -
Data type: JHA1_RJHAUV_TABOptional: No
Call by Reference: Yes
PT_RJHAE -
Data type: JHA1_RJHAE_TABOptional: No
Call by Reference: Yes
PT_RJHAEV -
Data type: JHA1_RJHAEV_TABOptional: No
Call by Reference: Yes
PV_AVM_NR -
Data type: JHAP-AVM_NROptional: No
Call by Reference: No ( called with pass by value option)
PV_POS_NR -
Data type: JHAP-POS_NROptional: No
Call by Reference: No ( called with pass by value option)
PS_RJHAK -
Data type: JHA1_RJHAK_STROptional: Yes
Call by Reference: Yes
PT_RJHAK -
Data type: JHA1_RJHAK_TABOptional: Yes
Call by Reference: Yes
PS_RJHA440 -
Data type: RJHA440Optional: Yes
Call by Reference: Yes
PS_RJHAP -
Data type: JHA1_RJHAP_STROptional: Yes
Call by Reference: Yes
PT_RJHAP -
Data type: JHA1_RJHAP_TABOptional: Yes
Call by Reference: Yes
PS_RJHAPV -
Data type: JHA1_RJHAPV_STROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for ISM_SHIPPING_CHECK_VT
PT_SHIPPING_VT -
Data type: JJBE_SHIPPING_VT_TABOptional: No
Call by Reference: Yes
PS_MSG_VT -
Data type: RJMSGOptional: No
Call by Reference: Yes
PS_MSG -
Data type: JJBE_ERROR_STROptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_SHIPPING_CHECK_VT 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_pt_shipping_vt | TYPE JJBE_SHIPPING_VT_TAB, " | |||
| lv_pv_shipping_check_dialog | TYPE RJHALLG-VT_SHIPP_CHECK, " | |||
| lv_pt_rjhapv | TYPE JHA1_RJHAPV_TAB, " | |||
| lv_pt_rjhauv | TYPE JHA1_RJHAUV_TAB, " | |||
| lv_pt_rjhae | TYPE JHA1_RJHAE_TAB, " | |||
| lv_pt_rjhaev | TYPE JHA1_RJHAEV_TAB, " | |||
| lv_ps_msg_vt | TYPE RJMSG, " | |||
| lv_pv_avm_nr | TYPE JHAP-AVM_NR, " | |||
| lv_ps_msg | TYPE JJBE_ERROR_STR, " | |||
| lv_pv_pos_nr | TYPE JHAP-POS_NR, " | |||
| lv_ps_rjhak | TYPE JHA1_RJHAK_STR, " | |||
| lv_pt_rjhak | TYPE JHA1_RJHAK_TAB, " | |||
| lv_ps_rjha440 | TYPE RJHA440, " | |||
| lv_ps_rjhap | TYPE JHA1_RJHAP_STR, " | |||
| lv_pt_rjhap | TYPE JHA1_RJHAP_TAB, " | |||
| lv_ps_rjhapv | TYPE JHA1_RJHAPV_STR. " |
|   CALL FUNCTION 'ISM_SHIPPING_CHECK_VT' "IS-M/AM: Shipping Checks for Distribution |
| EXPORTING | ||
| PV_SHIPPING_CHECK_DIALOG | = lv_pv_shipping_check_dialog | |
| PT_RJHAPV | = lv_pt_rjhapv | |
| PT_RJHAUV | = lv_pt_rjhauv | |
| PT_RJHAE | = lv_pt_rjhae | |
| PT_RJHAEV | = lv_pt_rjhaev | |
| PV_AVM_NR | = lv_pv_avm_nr | |
| PV_POS_NR | = lv_pv_pos_nr | |
| PS_RJHAK | = lv_ps_rjhak | |
| PT_RJHAK | = lv_pt_rjhak | |
| PS_RJHA440 | = lv_ps_rjha440 | |
| PS_RJHAP | = lv_ps_rjhap | |
| PT_RJHAP | = lv_pt_rjhap | |
| PS_RJHAPV | = lv_ps_rjhapv | |
| IMPORTING | ||
| PT_SHIPPING_VT | = lv_pt_shipping_vt | |
| PS_MSG_VT | = lv_ps_msg_vt | |
| PS_MSG | = lv_ps_msg | |
| . " ISM_SHIPPING_CHECK_VT | ||
ABAP code using 7.40 inline data declarations to call FM ISM_SHIPPING_CHECK_VT
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 VT_SHIPP_CHECK FROM RJHALLG INTO @DATA(ld_pv_shipping_check_dialog). | ||||
| "SELECT single AVM_NR FROM JHAP INTO @DATA(ld_pv_avm_nr). | ||||
| "SELECT single POS_NR FROM JHAP INTO @DATA(ld_pv_pos_nr). | ||||
Search for further information about these or an SAP related objects