SAP ISM_ISZ_INIT Function Module for IS-M: Define Default Advertiser Assignment









ISM_ISZ_INIT is a standard ism isz init 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: Define Default Advertiser Assignment 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 isz init FM, simply by entering the name ISM_ISZ_INIT into the relevant SAP transaction such as SE37 or SE38.

Function Group: JHPA
Program Name: SAPLJHPA
Main Program: SAPLJHPA
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function ISM_ISZ_INIT 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_ISZ_INIT'"IS-M: Define Default Advertiser Assignment
EXPORTING
* PV_TRTYP = 'A' "Transaction Type
PS_RJHALLG = "
PS_RJHAK = "
PT_RJHAGPZ = "
PV_POS_NR = "IS-M: Order Item Number
PV_POS_ART = "IS-M: Order-Publishing-Media - Item Type
* PS_RJHAP = "
* PV_INSZ_NR = '0001' "IS-M: Advertiser assignment number

IMPORTING
PV_XAGENAUFTR = "IS-M: Agency Order Indicator
PV_CHIFFRE_OR = "IS-M: Box Number Location
PV_BRAN_PAM = "IS-M/AM: Current Industry Sector Associated with Order Item
PV_BRAN_PAM_TEXT = "Label
PV_KONKAUS = "IS-M: Competitor exclusion

CHANGING
PS_RJHAISZ = "
PT_RJGTSADR = "
PT_RJGTADRE = "
.




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_ISZ_INIT

PV_TRTYP - Transaction Type

Data type: TJ180-TRTYP
Default: 'A'
Optional: Yes
Call by Reference: Yes

PS_RJHALLG -

Data type: JHA1_RJHALLG_STR
Optional: No
Call by Reference: No ( called with pass by value option)

PS_RJHAK -

Data type: JHA1_RJHAK_STR
Optional: No
Call by Reference: No ( called with pass by value option)

PT_RJHAGPZ -

Data type: JHA1_RJHAGPZ_TAB
Optional: No
Call by Reference: Yes

PV_POS_NR - IS-M: Order Item Number

Data type: RJHAP-POS_NR
Optional: No
Call by Reference: No ( called with pass by value option)

PV_POS_ART - IS-M: Order-Publishing-Media - Item Type

Data type: RJHAP-POS_ART
Optional: No
Call by Reference: No ( called with pass by value option)

PS_RJHAP -

Data type: JHA1_RJHAP_STR
Optional: Yes
Call by Reference: Yes

PV_INSZ_NR - IS-M: Advertiser assignment number

Data type: INSZ_NR
Default: '0001'
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for ISM_ISZ_INIT

PV_XAGENAUFTR - IS-M: Agency Order Indicator

Data type: RJHAP-XAGENAUFTR
Optional: No
Call by Reference: No ( called with pass by value option)

PV_CHIFFRE_OR - IS-M: Box Number Location

Data type: RJHAPA-CHIFFRE_OR
Optional: No
Call by Reference: No ( called with pass by value option)

PV_BRAN_PAM - IS-M/AM: Current Industry Sector Associated with Order Item

Data type: RJHAP-BRAN_PAM
Optional: No
Call by Reference: No ( called with pass by value option)

PV_BRAN_PAM_TEXT - Label

Data type: RJHAP-BRAN_PAM_TEXT
Optional: No
Call by Reference: No ( called with pass by value option)

PV_KONKAUS - IS-M: Competitor exclusion

Data type: RJHAPA-KONKAUS
Optional: No
Call by Reference: No ( called with pass by value option)

CHANGING Parameters details for ISM_ISZ_INIT

PS_RJHAISZ -

Data type: JHA1_RJHAISZ_STR
Optional: No
Call by Reference: Yes

PT_RJGTSADR -

Data type: JHA1_RJGTSADR_TAB
Optional: No
Call by Reference: Yes

PT_RJGTADRE -

Data type: JHA1_RJGTADRE_TAB
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ISM_ISZ_INIT 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_trtyp  TYPE TJ180-TRTYP, "   'A'
lv_ps_rjhaisz  TYPE JHA1_RJHAISZ_STR, "   
lv_pv_xagenauftr  TYPE RJHAP-XAGENAUFTR, "   
lv_ps_rjhallg  TYPE JHA1_RJHALLG_STR, "   
lv_pt_rjgtsadr  TYPE JHA1_RJGTSADR_TAB, "   
lv_pv_chiffre_or  TYPE RJHAPA-CHIFFRE_OR, "   
lv_ps_rjhak  TYPE JHA1_RJHAK_STR, "   
lv_pt_rjgtadre  TYPE JHA1_RJGTADRE_TAB, "   
lv_pv_bran_pam  TYPE RJHAP-BRAN_PAM, "   
lv_pt_rjhagpz  TYPE JHA1_RJHAGPZ_TAB, "   
lv_pv_bran_pam_text  TYPE RJHAP-BRAN_PAM_TEXT, "   
lv_pv_pos_nr  TYPE RJHAP-POS_NR, "   
lv_pv_konkaus  TYPE RJHAPA-KONKAUS, "   
lv_pv_pos_art  TYPE RJHAP-POS_ART, "   
lv_ps_rjhap  TYPE JHA1_RJHAP_STR, "   
lv_pv_insz_nr  TYPE INSZ_NR. "   '0001'

  CALL FUNCTION 'ISM_ISZ_INIT'  "IS-M: Define Default Advertiser Assignment
    EXPORTING
         PV_TRTYP = lv_pv_trtyp
         PS_RJHALLG = lv_ps_rjhallg
         PS_RJHAK = lv_ps_rjhak
         PT_RJHAGPZ = lv_pt_rjhagpz
         PV_POS_NR = lv_pv_pos_nr
         PV_POS_ART = lv_pv_pos_art
         PS_RJHAP = lv_ps_rjhap
         PV_INSZ_NR = lv_pv_insz_nr
    IMPORTING
         PV_XAGENAUFTR = lv_pv_xagenauftr
         PV_CHIFFRE_OR = lv_pv_chiffre_or
         PV_BRAN_PAM = lv_pv_bran_pam
         PV_BRAN_PAM_TEXT = lv_pv_bran_pam_text
         PV_KONKAUS = lv_pv_konkaus
    CHANGING
         PS_RJHAISZ = lv_ps_rjhaisz
         PT_RJGTSADR = lv_pt_rjgtsadr
         PT_RJGTADRE = lv_pt_rjgtadre
. " ISM_ISZ_INIT




ABAP code using 7.40 inline data declarations to call FM ISM_ISZ_INIT

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 TRTYP FROM TJ180 INTO @DATA(ld_pv_trtyp).
DATA(ld_pv_trtyp) = 'A'.
 
 
"SELECT single XAGENAUFTR FROM RJHAP INTO @DATA(ld_pv_xagenauftr).
 
 
 
"SELECT single CHIFFRE_OR FROM RJHAPA INTO @DATA(ld_pv_chiffre_or).
 
 
 
"SELECT single BRAN_PAM FROM RJHAP INTO @DATA(ld_pv_bran_pam).
 
 
"SELECT single BRAN_PAM_TEXT FROM RJHAP INTO @DATA(ld_pv_bran_pam_text).
 
"SELECT single POS_NR FROM RJHAP INTO @DATA(ld_pv_pos_nr).
 
"SELECT single KONKAUS FROM RJHAPA INTO @DATA(ld_pv_konkaus).
 
"SELECT single POS_ART FROM RJHAP INTO @DATA(ld_pv_pos_art).
 
 
DATA(ld_pv_insz_nr) = '0001'.
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!