SAP ISM_PRDH_AVM_STEP2 Function Module for IS-M/AM: Product Hierarchy: OPM - F4 Help Product Search Step 2









ISM_PRDH_AVM_STEP2 is a standard ism prdh avm step2 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: Product Hierarchy: OPM - F4 Help Product Search Step 2 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 prdh avm step2 FM, simply by entering the name ISM_PRDH_AVM_STEP2 into the relevant SAP transaction such as SE37 or SE38.

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



Function ISM_PRDH_AVM_STEP2 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_PRDH_AVM_STEP2'"IS-M/AM: Product Hierarchy: OPM - F4 Help Product Search Step 2
EXPORTING
PAR_INSERENT_TAB = "IS-M/AM: Product Hierarchy (S&P): Advertiser
PAR_STICHTAG = "Key Date
* PAR_POSNR = "IS-M: Order Item Number

IMPORTING
PAR_HERKUNFT = "IS-M/AM: Origin Key
PAR_PRODUKT = "IS-M/AM: Product
PAR_PRODBEZ = "IS-M/AM: Product Description
PAR_PRODH = "IS-M/AM: Product Hierarchy
PAR_FLAG_ENTE = "
PAR_FLAG_STEP3 = "
PAR_FLAG_STEP4 = "

TABLES
* PAR_SAVE_JP_VKTAB_ITAB = "
* PAR_SAVE_JP_ARBVORZ_ITAB = "
* PAR_SAVE_JJTPH_ITAB = "
* IT_PRDH_TC = "IS-M/AM: Structure for Screen 052 - Step Loop
* ET_PRDH_TC_ADD = "IS-M/AM: Product Hierarchy (Addit.) - Auxiliary Str.for TC
.



IMPORTING Parameters details for ISM_PRDH_AVM_STEP2

PAR_INSERENT_TAB - IS-M/AM: Product Hierarchy (S&P): Advertiser

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

PAR_STICHTAG - Key Date

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

PAR_POSNR - IS-M: Order Item Number

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

EXPORTING Parameters details for ISM_PRDH_AVM_STEP2

PAR_HERKUNFT - IS-M/AM: Origin Key

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

PAR_PRODUKT - IS-M/AM: Product

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

PAR_PRODBEZ - IS-M/AM: Product Description

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

PAR_PRODH - IS-M/AM: Product Hierarchy

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

PAR_FLAG_ENTE -

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

PAR_FLAG_STEP3 -

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

PAR_FLAG_STEP4 -

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

TABLES Parameters details for ISM_PRDH_AVM_STEP2

PAR_SAVE_JP_VKTAB_ITAB -

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

PAR_SAVE_JP_ARBVORZ_ITAB -

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

PAR_SAVE_JJTPH_ITAB -

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

IT_PRDH_TC - IS-M/AM: Structure for Screen 052 - Step Loop

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

ET_PRDH_TC_ADD - IS-M/AM: Product Hierarchy (Addit.) - Auxiliary Str.for TC

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

Copy and paste ABAP code example for ISM_PRDH_AVM_STEP2 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_par_herkunft  TYPE ISM_PRDH_HERKUNFT, "   
lv_par_inserent_tab  TYPE RJJPRDH_INSERENT_TAB, "   
lt_par_save_jp_vktab_itab  TYPE STANDARD TABLE OF RJJPRDH_AVM_VKTAB, "   
lv_par_produkt  TYPE ISM_PRDH_PROD, "   
lv_par_stichtag  TYPE D, "   
lt_par_save_jp_arbvorz_itab  TYPE STANDARD TABLE OF RJJPRDH_AVM_ARBVORZ, "   
lv_par_posnr  TYPE POS_NR, "   
lv_par_prodbez  TYPE ISM_PRDH_PRODBEZ, "   
lt_par_save_jjtph_itab  TYPE STANDARD TABLE OF RJJPRDH_AVM_JJTPH, "   
lv_par_prodh  TYPE J_PRODH, "   
lt_it_prdh_tc  TYPE STANDARD TABLE OF RJJPRDH0041_T1, "   
lv_par_flag_ente  TYPE C, "   
lt_et_prdh_tc_add  TYPE STANDARD TABLE OF RJJPRDH0041_T1, "   
lv_par_flag_step3  TYPE C, "   
lv_par_flag_step4  TYPE C. "   

  CALL FUNCTION 'ISM_PRDH_AVM_STEP2'  "IS-M/AM: Product Hierarchy: OPM - F4 Help Product Search Step 2
    EXPORTING
         PAR_INSERENT_TAB = lv_par_inserent_tab
         PAR_STICHTAG = lv_par_stichtag
         PAR_POSNR = lv_par_posnr
    IMPORTING
         PAR_HERKUNFT = lv_par_herkunft
         PAR_PRODUKT = lv_par_produkt
         PAR_PRODBEZ = lv_par_prodbez
         PAR_PRODH = lv_par_prodh
         PAR_FLAG_ENTE = lv_par_flag_ente
         PAR_FLAG_STEP3 = lv_par_flag_step3
         PAR_FLAG_STEP4 = lv_par_flag_step4
    TABLES
         PAR_SAVE_JP_VKTAB_ITAB = lt_par_save_jp_vktab_itab
         PAR_SAVE_JP_ARBVORZ_ITAB = lt_par_save_jp_arbvorz_itab
         PAR_SAVE_JJTPH_ITAB = lt_par_save_jjtph_itab
         IT_PRDH_TC = lt_it_prdh_tc
         ET_PRDH_TC_ADD = lt_et_prdh_tc_add
. " ISM_PRDH_AVM_STEP2




ABAP code using 7.40 inline data declarations to call FM ISM_PRDH_AVM_STEP2

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!