SAP ISP_POSITION Function Module for IS-M/AM Accesses Program to Position Ad (Automatically)
ISP_POSITION is a standard isp position 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 Accesses Program to Position Ad (Automatically) 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 isp position FM, simply by entering the name ISP_POSITION into the relevant SAP transaction such as SE37 or SE38.
Function Group: JHTS
Program Name: SAPLJHTS
Main Program: SAPLJHTS
Appliation area: J
Release date: 08-Aug-2000
Mode(Normal, Remote etc): Remote-Enabled
Update:

Function ISP_POSITION 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 'ISP_POSITION'"IS-M/AM Accesses Program to Position Ad (Automatically).
EXPORTING
RJHATPAK_WA = "Production Order
RJHATPAP_WA = "Item for Which Positioning Requests Are To Be Checked
* FLG_POS_CHANGEABLE = "Controls Input Options in Positioning System
TABLES
RJHATISZ_ITAB = "Advertisers
RJHATMO_ITAB = "Partially Filled with Planning Data
RJHATPS_ITAB = "Placements with Date and Positioning Data
RJHATPLZ_ITAB = "Positioning Request
RJHATPLZA_ITAB = "List of Alternative Positionings for Each Positioning Request
RJHATTXT_ITAB = "Texts
* RJHATSTAT_ITAB = "Status Characteristics
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_SAPLJHTS_001 IS-M/AM: Check Whether Item Represents a Page-Defining Ad
EXIT_SAPLJHTS_002 IS-M/AM: Typing of Ads for Positioning System
EXIT_SAPLJHTS_003 IS-M/AM: Line Type Conversion in the Technical System
EXIT_SAPLJHTS_004 IS-M/AM: Word Type Conversion in the Technical System
EXIT_SAPLJHTS_005 IS-M/AM: Fill Structure RJHATMO for the Technical Interface
EXIT_SAPLJHTS_006 IS-M/AM: Fill Structure RJHATPAP for the Technical Interface
EXIT_SAPLJHTS_007 IS-M/AM: Fill Structure RJHATPAK for the Technical Interface
EXIT_SAPLJHTS_008 IS-M/AM: Fill Structure RJHATPS for the Technical Interface
EXIT_SAPLJHTS_009 IS-M/AM: Fill Structure RJHATBPZ for the Technical Interface
EXIT_SAPLJHTS_010 IS-M/AM: Fill Structure RJHATISZ for the Technical Interface
EXIT_SAPLJHTS_011 IS-M/AM: Fill Structure RJHATPLZA for the Technical Interface
EXIT_SAPLJHTS_012 IS-M/AM: Fill Structure RJHATPLZ for the Technical Interface
EXIT_SAPLJHTS_013 IS-M/AM: Read Structure RJHATMO from the Technical Interface
EXIT_SAPLJHTS_014 IS-M/AM: Provide Fields During External Order Transfer
EXIT_SAPLJHTS_015 IS-M/AM: Evaluate Message Returned by the Positioning System
EXIT_SAPLJHTS_016 IS-M/AM: Fill Structure RJHATSTAT for the Technical Interface
EXIT_SAPLJHTS_017 IS-M/AM: Fill Structure RJHATPRF for the Technical Interface
EXIT_SAPLJHTS_018
EXIT_SAPLJHTS_019 IS-M/AM: Read Structure RJHATSTAT from the Technical Interface
EXIT_SAPLJHTS_020 IS-M/AM: Read Structure RJHATPAP from the Technical Interface
EXIT_SAPLJHTS_021 IS-M/AM: Read Structure RJHATPSI from the Technical Interface
IMPORTING Parameters details for ISP_POSITION
RJHATPAK_WA - Production Order
Data type: RJHATPAKOptional: No
Call by Reference: No ( called with pass by value option)
RJHATPAP_WA - Item for Which Positioning Requests Are To Be Checked
Data type: RJHATPAPOptional: No
Call by Reference: No ( called with pass by value option)
FLG_POS_CHANGEABLE - Controls Input Options in Positioning System
Data type: XFELDOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISP_POSITION
RJHATISZ_ITAB - Advertisers
Data type: RJHATISZOptional: No
Call by Reference: No ( called with pass by value option)
RJHATMO_ITAB - Partially Filled with Planning Data
Data type: RJHATMOOptional: No
Call by Reference: No ( called with pass by value option)
RJHATPS_ITAB - Placements with Date and Positioning Data
Data type: RJHATPSOptional: No
Call by Reference: No ( called with pass by value option)
RJHATPLZ_ITAB - Positioning Request
Data type: RJHATPLZOptional: No
Call by Reference: No ( called with pass by value option)
RJHATPLZA_ITAB - List of Alternative Positionings for Each Positioning Request
Data type: RJHATPLZAOptional: No
Call by Reference: No ( called with pass by value option)
RJHATTXT_ITAB - Texts
Data type: RJHATTXTOptional: No
Call by Reference: No ( called with pass by value option)
RJHATSTAT_ITAB - Status Characteristics
Data type: RJHATSTATOptional: Yes
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISP_POSITION 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_rjhatpak_wa | TYPE RJHATPAK, " | |||
| lt_rjhatisz_itab | TYPE STANDARD TABLE OF RJHATISZ, " | |||
| lv_rjhatpap_wa | TYPE RJHATPAP, " | |||
| lt_rjhatmo_itab | TYPE STANDARD TABLE OF RJHATMO, " | |||
| lt_rjhatps_itab | TYPE STANDARD TABLE OF RJHATPS, " | |||
| lv_flg_pos_changeable | TYPE XFELD, " | |||
| lt_rjhatplz_itab | TYPE STANDARD TABLE OF RJHATPLZ, " | |||
| lt_rjhatplza_itab | TYPE STANDARD TABLE OF RJHATPLZA, " | |||
| lt_rjhattxt_itab | TYPE STANDARD TABLE OF RJHATTXT, " | |||
| lt_rjhatstat_itab | TYPE STANDARD TABLE OF RJHATSTAT. " |
|   CALL FUNCTION 'ISP_POSITION' "IS-M/AM Accesses Program to Position Ad (Automatically) |
| EXPORTING | ||
| RJHATPAK_WA | = lv_rjhatpak_wa | |
| RJHATPAP_WA | = lv_rjhatpap_wa | |
| FLG_POS_CHANGEABLE | = lv_flg_pos_changeable | |
| TABLES | ||
| RJHATISZ_ITAB | = lt_rjhatisz_itab | |
| RJHATMO_ITAB | = lt_rjhatmo_itab | |
| RJHATPS_ITAB | = lt_rjhatps_itab | |
| RJHATPLZ_ITAB | = lt_rjhatplz_itab | |
| RJHATPLZA_ITAB | = lt_rjhatplza_itab | |
| RJHATTXT_ITAB | = lt_rjhattxt_itab | |
| RJHATSTAT_ITAB | = lt_rjhatstat_itab | |
| . " ISP_POSITION | ||
ABAP code using 7.40 inline data declarations to call FM ISP_POSITION
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