SAP ISM_JHPA_CUSTOM_FUNCT_007_CALL Function Module for IS-M/AM: Access Customer Function 007 (Define Default Item)
ISM_JHPA_CUSTOM_FUNCT_007_CALL is a standard ism jhpa custom funct 007 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 007 (Define Default Item) 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 jhpa custom funct 007 call FM, simply by entering the name ISM_JHPA_CUSTOM_FUNCT_007_CALL into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHPA
Program Name: SAPLJHPA
Main Program: SAPLJHPA
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISM_JHPA_CUSTOM_FUNCT_007_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_JHPA_CUSTOM_FUNCT_007_CALL'"IS-M/AM: Access Customer Function 007 (Define Default Item).
EXPORTING
* PV_DIALOG = 'X' "IS-M: Dialog Functions Admissible
PS_RJHAPO = "IS-M/AM: Order-Publishing-Media Online Item Structure
PS_RJHAPP = "Order Publishing Media Item Package Structure
PS_TJ180 = "Initial Values of Transaction in IS-M
PV_FLG_NEWPOS = "
PV_POS_CALLER = "
PS_RJHAORDER = "
PT_RJHSABG = "
PS_RJHAP = "IS-M/AM: Order-Publishing-Media Item Structure
PS_RJHAPA = "IS-M: Order-Publishing-Media Item Ad Structure
PS_RJHAPS = "IS-M/AM: Order-Publishing-Media Ad Insert Item Structure
PS_RJHAPD = "IS-M/AM: Order-Publishing-Media Service Item Structure
PS_RJHAPW = "IS-PAM: Structure of OPM Commercial Item
PS_RJHAPV = "IS-M/AM: Order-Publishing-Media Distribution Item Structure
CHANGING
* PS_RJHA400 = "IS-M/AM: Ad Screen Structure
* PS_RJHA831 = "IS-M/AM: Screen Attributes for Ad Spec Details (Online)
* PS_RJHA460 = "IS-M/AM: Service Screen Structure
* PS_RJHA470 = "IS-M/AM: Commercial Screen Structure
* PS_RJHA480 = "IS-M/AM: Ad Insert Screen Structure
* PS_RJHA440 = "IS-M/AM: Distribution Screen Structure
* PS_RJHA430 = "IS-M/AM: Online Screen Structure
* PS_RJHA2495 = "Screen Structure Package
* PS_RJHA800 = "IS-M/AM: Screen Attributes for Order Ad Spec Details
* PS_RJHA881 = "IS-M: Screen Attributes for Ad Spec Details (Commercial)
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_SAPLJHPA_001 IS-M/AM: Set Status Characteristics for an Ad Item
EXIT_SAPLJHPA_002 IS-M/AM: Set Status Characteristics for an Ad Insert Item
EXIT_SAPLJHPA_003 IS-M/AM: Set Status Characteristics for a Service Item
EXIT_SAPLJHPA_004 IS-M/AM: Box Number Assignment
EXIT_SAPLJHPA_006 IS-M/AM: Check Completeness and Plausibility of an Item
EXIT_SAPLJHPA_007 IS-M/AM: Define Default Item
EXIT_SAPLJHPA_008 IS-M/AM: Check Completeness and Plausibility of Date Information
EXIT_SAPLJHPA_009 IS-M/AM: Modification of F4 Help for Content Components
EXIT_SAPLJHPA_010 IS-M/AM: Modify Advertiser Assignment
EXIT_SAPLJHPA_011 IS-M/AM: Menu Exit OPM Item Details
EXIT_SAPLJHPA_012 IS-M/AM: Set Status Characteristics for a Commercial Item
EXIT_SAPLJHPA_013 IS-M/AM: Define Default Item Category
EXIT_SAPLJHPA_014 IS-M/AM: Represent Dependencies for Item Characteristics
EXIT_SAPLJHPA_015 IS-M/AM: Set Status Characteristics for a Distribution Item
EXIT_SAPLJHPA_016 IS-M/AM: Set Status Characteristics for an Online Item
EXIT_SAPLJHPA_017 IS-M/AM: Trigger Billing Dataset Generation
EXIT_SAPLJHPA_018 IS-M/AM: Check Completeness and Plausibility of an Item
EXIT_SAPLJHPA_019 IS-M/AM: Trigger Schedule Line Generation
EXIT_SAPLJHPA_020 IS-M/AM: Set Status Characteristics for a Package Item
IMPORTING Parameters details for ISM_JHPA_CUSTOM_FUNCT_007_CALL
PV_DIALOG - IS-M: Dialog Functions Admissible
Data type: ISM_DIALOG_ALLOWEDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
PS_RJHAPO - IS-M/AM: Order-Publishing-Media Online Item Structure
Data type: RJHAPOOptional: No
Call by Reference: Yes
PS_RJHAPP - Order Publishing Media Item Package Structure
Data type: RJHAPPOptional: No
Call by Reference: Yes
PS_TJ180 - Initial Values of Transaction in IS-M
Data type: TJ180Optional: No
Call by Reference: Yes
PV_FLG_NEWPOS -
Data type: XFELDOptional: No
Call by Reference: Yes
PV_POS_CALLER -
Data type: COptional: No
Call by Reference: Yes
PS_RJHAORDER -
Data type: RJHAORDER_STROptional: No
Call by Reference: Yes
PT_RJHSABG -
Data type: JHA1_RJHSABG_TABOptional: 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_RJHAPS - IS-M/AM: Order-Publishing-Media Ad Insert Item Structure
Data type: RJHAPSOptional: No
Call by Reference: Yes
PS_RJHAPD - IS-M/AM: Order-Publishing-Media Service Item Structure
Data type: RJHAPDOptional: No
Call by Reference: Yes
PS_RJHAPW - IS-PAM: Structure of OPM Commercial Item
Data type: RJHAPWOptional: No
Call by Reference: Yes
PS_RJHAPV - IS-M/AM: Order-Publishing-Media Distribution Item Structure
Data type: RJHAPVOptional: No
Call by Reference: Yes
CHANGING Parameters details for ISM_JHPA_CUSTOM_FUNCT_007_CALL
PS_RJHA400 - IS-M/AM: Ad Screen Structure
Data type: RJHA400Optional: Yes
Call by Reference: Yes
PS_RJHA831 - IS-M/AM: Screen Attributes for Ad Spec Details (Online)
Data type: RJHA831Optional: Yes
Call by Reference: Yes
PS_RJHA460 - IS-M/AM: Service Screen Structure
Data type: RJHA460Optional: Yes
Call by Reference: Yes
PS_RJHA470 - IS-M/AM: Commercial Screen Structure
Data type: RJHA470Optional: Yes
Call by Reference: Yes
PS_RJHA480 - IS-M/AM: Ad Insert Screen Structure
Data type: RJHA480Optional: Yes
Call by Reference: Yes
PS_RJHA440 - IS-M/AM: Distribution Screen Structure
Data type: RJHA440Optional: Yes
Call by Reference: Yes
PS_RJHA430 - IS-M/AM: Online Screen Structure
Data type: RJHA430Optional: Yes
Call by Reference: Yes
PS_RJHA2495 - Screen Structure Package
Data type: RJHA2495Optional: Yes
Call by Reference: Yes
PS_RJHA800 - IS-M/AM: Screen Attributes for Order Ad Spec Details
Data type: RJHA800Optional: Yes
Call by Reference: Yes
PS_RJHA881 - IS-M: Screen Attributes for Ad Spec Details (Commercial)
Data type: RJHA881Optional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for ISM_JHPA_CUSTOM_FUNCT_007_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_dialog | TYPE ISM_DIALOG_ALLOWED, " 'X' | |||
| lv_ps_rjha400 | TYPE RJHA400, " | |||
| lv_ps_rjhapo | TYPE RJHAPO, " | |||
| lv_ps_rjha831 | TYPE RJHA831, " | |||
| lv_ps_rjhapp | TYPE RJHAPP, " | |||
| lv_ps_tj180 | TYPE TJ180, " | |||
| lv_pv_flg_newpos | TYPE XFELD, " | |||
| lv_pv_pos_caller | TYPE C, " | |||
| lv_ps_rjha460 | TYPE RJHA460, " | |||
| lv_ps_rjhaorder | TYPE RJHAORDER_STR, " | |||
| lv_ps_rjha470 | TYPE RJHA470, " | |||
| lv_pt_rjhsabg | TYPE JHA1_RJHSABG_TAB, " | |||
| lv_ps_rjhap | TYPE RJHAP, " | |||
| lv_ps_rjha480 | TYPE RJHA480, " | |||
| lv_ps_rjhapa | TYPE RJHAPA, " | |||
| lv_ps_rjha440 | TYPE RJHA440, " | |||
| lv_ps_rjhaps | TYPE RJHAPS, " | |||
| lv_ps_rjha430 | TYPE RJHA430, " | |||
| lv_ps_rjhapd | TYPE RJHAPD, " | |||
| lv_ps_rjha2495 | TYPE RJHA2495, " | |||
| lv_ps_rjhapw | TYPE RJHAPW, " | |||
| lv_ps_rjha800 | TYPE RJHA800, " | |||
| lv_ps_rjhapv | TYPE RJHAPV, " | |||
| lv_ps_rjha881 | TYPE RJHA881. " |
|   CALL FUNCTION 'ISM_JHPA_CUSTOM_FUNCT_007_CALL' "IS-M/AM: Access Customer Function 007 (Define Default Item) |
| EXPORTING | ||
| PV_DIALOG | = lv_pv_dialog | |
| PS_RJHAPO | = lv_ps_rjhapo | |
| PS_RJHAPP | = lv_ps_rjhapp | |
| PS_TJ180 | = lv_ps_tj180 | |
| PV_FLG_NEWPOS | = lv_pv_flg_newpos | |
| PV_POS_CALLER | = lv_pv_pos_caller | |
| PS_RJHAORDER | = lv_ps_rjhaorder | |
| PT_RJHSABG | = lv_pt_rjhsabg | |
| PS_RJHAP | = lv_ps_rjhap | |
| PS_RJHAPA | = lv_ps_rjhapa | |
| PS_RJHAPS | = lv_ps_rjhaps | |
| PS_RJHAPD | = lv_ps_rjhapd | |
| PS_RJHAPW | = lv_ps_rjhapw | |
| PS_RJHAPV | = lv_ps_rjhapv | |
| CHANGING | ||
| PS_RJHA400 | = lv_ps_rjha400 | |
| PS_RJHA831 | = lv_ps_rjha831 | |
| PS_RJHA460 | = lv_ps_rjha460 | |
| PS_RJHA470 | = lv_ps_rjha470 | |
| PS_RJHA480 | = lv_ps_rjha480 | |
| PS_RJHA440 | = lv_ps_rjha440 | |
| PS_RJHA430 | = lv_ps_rjha430 | |
| PS_RJHA2495 | = lv_ps_rjha2495 | |
| PS_RJHA800 | = lv_ps_rjha800 | |
| PS_RJHA881 | = lv_ps_rjha881 | |
| . " ISM_JHPA_CUSTOM_FUNCT_007_CALL | ||
ABAP code using 7.40 inline data declarations to call FM ISM_JHPA_CUSTOM_FUNCT_007_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.| DATA(ld_pv_dialog) | = 'X'. | |||
Search for further information about these or an SAP related objects