SAP ISM_JHTD_CUSTOM_FUNCT_006_CALL Function Module for IS-M/AM: Access CUSTOMER FUNCTION 006
ISM_JHTD_CUSTOM_FUNCT_006_CALL is a standard ism jhtd custom funct 006 call 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: Access CUSTOMER FUNCTION 006 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 jhtd custom funct 006 call FM, simply by entering the name ISM_JHTD_CUSTOM_FUNCT_006_CALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHTD
Program Name: SAPLJHTD
Main Program: SAPLJHTD
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_JHTD_CUSTOM_FUNCT_006_CALL 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_JHTD_CUSTOM_FUNCT_006_CALL'"IS-M/AM: Access CUSTOMER FUNCTION 006.
EXPORTING
PV_FCODE = "Function Code
PS_RJHAE = "IS-M/AM: Order-Publishing-Media-Sub-Item-Sch.Line Structure
PS_RJHAEA = "IS-M/AM: Order-Publishing-Media-Sub-Item-Sch.Line Display
PS_RJHA891 = "
PS_RJHAORDER = "IS-M/AM: Sales Document
PT_RJHAPLZ = "IS-M/AM: Sales Document - Positioning Instruction
PV_CURRENT_LINE = "Screens: Index of Current Table Line
PV_AVM_NR = "IS-M: Order
PV_POS_NR = "IS-M: Order Item Number
PV_UPOS_NR = "IS-M: Order Sub-Item Number
PV_EIN_NR = "IS-M: Schedule Line
PS_RJHAP = "IS-M/AM: Order-Publishing-Media Item Structure
PS_RJHAPA = "IS-M: Order-Publishing-Media Item Ad Structure
PS_RJHAUA = "
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_SAPLJHTD_001 IS-M/AM: Set Status Characteristics for an Ad Spec
EXIT_SAPLJHTD_002 IS-M/AM: Conversion of Characters, Words, or Lines to Column Millimeters
EXIT_SAPLJHTD_003 IS-M/AM: Conversion of Characters, Words or Lines to Page Parts
EXIT_SAPLJHTD_004 IS-M/AM: Check Completeness and Plausibility of an Ad Spec
EXIT_SAPLJHTD_005 IS-M/AM: Define Default Ad Spec
EXIT_SAPLJHTD_006 IS-M/AM: Plausibility Checks for Positioning Instructions
EXIT_SAPLJHTD_007 IS-M/AM: Convert Ad Sizes
EXIT_SAPLJHTD_008 IS-M/AM: Convert Ad Spec Widths and Heights
EXIT_SAPLJHTD_009 IS-M/AM: Define Default Ad Spec Master
EXIT_SAPLJHTD_010 IS-M/AM: Check Completeness and Plausibility of Ad Spec Master
EXIT_SAPLJHTD_011 IS-M/AM: Set Status Characteristics for a Commercial Ad Spec
EXIT_SAPLJHTD_012 IS-M/AM: Define Default Ad Spec (Commercial)
EXIT_SAPLJHTD_013 IS-M/AM: Define Default Ad Spec (Online)
EXIT_SAPLJHTD_014 IS-M/AM: Check Completness and Plausibility of an Ad Spec (Online)
EXIT_SAPLJHTD_015 IS-M/AM: Set Status Characteristics for an Online Ad Spec
EXIT_SAPLJHTD_016 IS-M/AM: Check Completeness and Plausibility of an Ad Spec
IMPORTING Parameters details for ISM_JHTD_CUSTOM_FUNCT_006_CALL
PV_FCODE - Function Code
Data type: T185-FCODEOptional: No
Call by Reference: Yes
PS_RJHAE - IS-M/AM: Order-Publishing-Media-Sub-Item-Sch.Line Structure
Data type: RJHAEOptional: No
Call by Reference: Yes
PS_RJHAEA - IS-M/AM: Order-Publishing-Media-Sub-Item-Sch.Line Display
Data type: RJHAEAOptional: No
Call by Reference: Yes
PS_RJHA891 -
Data type: RJHA891Optional: No
Call by Reference: Yes
PS_RJHAORDER - IS-M/AM: Sales Document
Data type: RJHAORDER_STROptional: No
Call by Reference: Yes
PT_RJHAPLZ - IS-M/AM: Sales Document - Positioning Instruction
Data type: RJHAPLZ_TABOptional: No
Call by Reference: Yes
PV_CURRENT_LINE - Screens: Index of Current Table Line
Data type: SY-STEPLOptional: No
Call by Reference: Yes
PV_AVM_NR - IS-M: Order
Data type: AVM_NROptional: No
Call by Reference: Yes
PV_POS_NR - IS-M: Order Item Number
Data type: POS_NROptional: No
Call by Reference: Yes
PV_UPOS_NR - IS-M: Order Sub-Item Number
Data type: UPOS_NROptional: No
Call by Reference: Yes
PV_EIN_NR - IS-M: Schedule Line
Data type: EIN_NROptional: No
Call by Reference: Yes
PS_RJHAP - IS-M/AM: Order-Publishing-Media Item Structure
Data type: RJHAPOptional: No
Call by Reference: Yes
PS_RJHAPA - IS-M: Order-Publishing-Media Item Ad Structure
Data type: RJHAPAOptional: No
Call by Reference: Yes
PS_RJHAUA -
Data type: RJHAUAOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for ISM_JHTD_CUSTOM_FUNCT_006_CALL 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_pv_fcode | TYPE T185-FCODE, " | |||
| lv_ps_rjhae | TYPE RJHAE, " | |||
| lv_ps_rjhaea | TYPE RJHAEA, " | |||
| lv_ps_rjha891 | TYPE RJHA891, " | |||
| lv_ps_rjhaorder | TYPE RJHAORDER_STR, " | |||
| lv_pt_rjhaplz | TYPE RJHAPLZ_TAB, " | |||
| lv_pv_current_line | TYPE SY-STEPL, " | |||
| lv_pv_avm_nr | TYPE AVM_NR, " | |||
| lv_pv_pos_nr | TYPE POS_NR, " | |||
| lv_pv_upos_nr | TYPE UPOS_NR, " | |||
| lv_pv_ein_nr | TYPE EIN_NR, " | |||
| lv_ps_rjhap | TYPE RJHAP, " | |||
| lv_ps_rjhapa | TYPE RJHAPA, " | |||
| lv_ps_rjhaua | TYPE RJHAUA. " |
|   CALL FUNCTION 'ISM_JHTD_CUSTOM_FUNCT_006_CALL' "IS-M/AM: Access CUSTOMER FUNCTION 006 |
| EXPORTING | ||
| PV_FCODE | = lv_pv_fcode | |
| PS_RJHAE | = lv_ps_rjhae | |
| PS_RJHAEA | = lv_ps_rjhaea | |
| PS_RJHA891 | = lv_ps_rjha891 | |
| PS_RJHAORDER | = lv_ps_rjhaorder | |
| PT_RJHAPLZ | = lv_pt_rjhaplz | |
| PV_CURRENT_LINE | = lv_pv_current_line | |
| PV_AVM_NR | = lv_pv_avm_nr | |
| PV_POS_NR | = lv_pv_pos_nr | |
| PV_UPOS_NR | = lv_pv_upos_nr | |
| PV_EIN_NR | = lv_pv_ein_nr | |
| PS_RJHAP | = lv_ps_rjhap | |
| PS_RJHAPA | = lv_ps_rjhapa | |
| PS_RJHAUA | = lv_ps_rjhaua | |
| . " ISM_JHTD_CUSTOM_FUNCT_006_CALL | ||
ABAP code using 7.40 inline data declarations to call FM ISM_JHTD_CUSTOM_FUNCT_006_CALL
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 FCODE FROM T185 INTO @DATA(ld_pv_fcode). | ||||
| "SELECT single STEPL FROM SY INTO @DATA(ld_pv_current_line). | ||||
Search for further information about these or an SAP related objects