SAP ISPAM_AVMPOS_PROCEDURE_FIND Function Module for IS-M/AM: Determine Partner Determination Procedure for Item









ISPAM_AVMPOS_PROCEDURE_FIND is a standard ispam avmpos procedure find 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: Determine Partner Determination Procedure for 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 ispam avmpos procedure find FM, simply by entering the name ISPAM_AVMPOS_PROCEDURE_FIND 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 ISPAM_AVMPOS_PROCEDURE_FIND 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 'ISPAM_AVMPOS_PROCEDURE_FIND'"IS-M/AM: Determine Partner Determination Procedure for Item
EXPORTING
PAR_POS_ART = "IS-M: Order-Publishing-Media - Item Type
PAR_PSTYV = "IS-M: Item Category for Sales Document

IMPORTING
OUT_PARSP = "
OUT_KALSM = "
OUT_KALVG = "
.




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 ISPAM_AVMPOS_PROCEDURE_FIND

PAR_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)

PAR_PSTYV - IS-M: Item Category for Sales Document

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

EXPORTING Parameters details for ISPAM_AVMPOS_PROCEDURE_FIND

OUT_PARSP -

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

OUT_KALSM -

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

OUT_KALVG -

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

Copy and paste ABAP code example for ISPAM_AVMPOS_PROCEDURE_FIND 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_out_parsp  TYPE TJHPSF-PARSP, "   
lv_par_pos_art  TYPE RJHAP-POS_ART, "   
lv_out_kalsm  TYPE TJHPSF-KALSM, "   
lv_par_pstyv  TYPE RJHAP-PSTYV, "   
lv_out_kalvg  TYPE TJHPSF-KALVG. "   

  CALL FUNCTION 'ISPAM_AVMPOS_PROCEDURE_FIND'  "IS-M/AM: Determine Partner Determination Procedure for Item
    EXPORTING
         PAR_POS_ART = lv_par_pos_art
         PAR_PSTYV = lv_par_pstyv
    IMPORTING
         OUT_PARSP = lv_out_parsp
         OUT_KALSM = lv_out_kalsm
         OUT_KALVG = lv_out_kalvg
. " ISPAM_AVMPOS_PROCEDURE_FIND




ABAP code using 7.40 inline data declarations to call FM ISPAM_AVMPOS_PROCEDURE_FIND

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 PARSP FROM TJHPSF INTO @DATA(ld_out_parsp).
 
"SELECT single POS_ART FROM RJHAP INTO @DATA(ld_par_pos_art).
 
"SELECT single KALSM FROM TJHPSF INTO @DATA(ld_out_kalsm).
 
"SELECT single PSTYV FROM RJHAP INTO @DATA(ld_par_pstyv).
 
"SELECT single KALVG FROM TJHPSF INTO @DATA(ld_out_kalvg).
 


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!