SAP EXIT_SAPLJHTS_011 Function Module for IS-M/AM: Fill Structure RJHATPLZA for the Technical Interface
EXIT_SAPLJHTS_011 is a standard exit sapljhts 011 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: Fill Structure RJHATPLZA for the Technical Interface 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 exit sapljhts 011 FM, simply by entering the name EXIT_SAPLJHTS_011 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XJHA
Program Name: SAPLXJHA
Main Program: SAPLXJHA
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLJHTS_011 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 'EXIT_SAPLJHTS_011'"IS-M/AM: Fill Structure RJHATPLZA for the Technical Interface.
EXPORTING
PAR_RJHAK = "Order header
PAR_RJHAP = "Items
PAR_RJHAPA = "Ad item
PAR_RJHAPLZ_ITAB = "Advertiser Assignment
PAR_RJHAEA_ITAB = "Ad schedule lines
CHANGING
PAR_RJHATPLZA_ITAB = "Positioning alternatives for the interface
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ISM_ADPRODORDER_READ TS Accesses IS-M/AM and Imports a Complete Order
ISM_CHECK_PACKAGE_ID_EXISTS IS-M/AM: Check Whether Package ID Exists
ISM_CHECK_PK_ELEMENT_ID_EXISTS IS-M/AM: Check Whether Package ID/Element ID Exists
ISM_GRAPHIC_TYPES_READ IS-M: Read Graphic Types with Texts
ISM_ITA_QUEUE_NAME_SET IS-M/AM: Define Queue Name for qRFC
ISM_RJHATTXT_TO_SAPSCRIPT_SAVE IS-M: Read a SAPScript Text for IS-M/ITA
ISM_SAPSCRIPT_TO_RJHATTXT_READ IS-M: Read a SAPScript Text for IS-M/ITA
ISM_SELECT_SINGLE_TJHA5_GEN IS-M/AM: Read TJHA5 Generically Using Sales Area
ISM_SELECT_SINGLE_TJHDES_GEN IS-M/AM: Read Destination from TJHDES Generically Using Frontend ID
ISM_TJHA5_ALL_GET IS-M/AM: Read TJHA5 Generically Using Sales Area
ISP_ACTUALIZE_AENVERS_NR IS-M/AM: Update Change Version Number of Order Objects
ISP_ADPRODORDER_CANCEL IS-M/AM Accesses TS and Rejects All Changes to Current Production Order
ISP_ADPRODORDER_CANCEL_CALL IS-M/AM: Access RFC Function Module ISP_ADPRODORDER_CANCEL
ISP_ADPRODORDER_READ_AND_SAVE TS Accesses IS-M/AM and Performs a Status Alignment with IS-M/AM
ISP_ADPRODORDER_SAVE IS-M/AM Accesses TS and Transfers Data for a Complete Production Order
ISP_ADPRODORDER_SAVE_CALL IS-M/AM: Access RFC Function Module ISP_ADPROORDER_SAVE
ISP_ADPRODORDER_UPDATE_ISPAM TS Accesses IS-M/AM and Transfers Correction to Existing Production Order
ISP_ADPROOFDATA_GET IS-M/AM Accesses TS and Receives Data for an Ad Proof (e.g. EPSF,PS,..)
ISP_AD_DESIGN IS-M/AM Accesses Text Entry/Ad Design
ISP_AD_DESIGN_CALL IS-M/AM: Access RFC Function Module ISP_AD_DESIGN
ISP_CHIFFRENR_GET IS-M/AM: Callback Routine for Box Number Ads
ISP_EXCHANGE_ERRORMESSAGES IS-M/AM: Exchange Error Messages with the Technical System
ISP_EXT_ADPRODORDER_SAVE TS Accesses IS-M/AM and Transfers Data for an External Order
ISP_GP_DATA_GET TS Accesses IS-M/AM and Receives Business Partner Data
ISP_JHTS_CUSTOM_FUNCT_003_CALL IS-M/AM: Access CUSTOMER FUNCTION 003
ISP_JHTS_CUSTOM_FUNCT_004_CALL IS-M/AM: Access CUSTOMER FUNCTION 004
ISP_POSITION IS-M/AM Accesses Program to Position Ad (Automatically)
ISP_POSITION_CALL IS-M/AM: Access RFC Function Module ISP_POSITION
ISP_POSITION_DIALOG IS-M/AM Accesses Positioning Program in Dialog
ISP_POSITION_DIALOG_CALL IS-M/AM: Access RFC Function Module ISP_POSITION_DIALOG
ISP_PRODUCTION_FINISHED IS-M/AM: TS Supplies Production Completion Confirmation to IS-M/AM
ISP_STATUS_GET TS and IS-M/AM can Query Status in the Other System
ISP_STATUS_GET_ALL IS-M/AM and TS Query Status and Characteristics in Both Systems
ISP_STATUS_GET_ALL_CALL IS-M/AM: Access RFC Function Module ISP_STATUS_GET_ALL
ISP_STATUS_GET_CALL IS-M/AM: Access RFC Function Module ISP_STATUS_GET
ISP_STATUS_UPDATE_ISPAM TS Accesses IS-M/AM and Performs a Status Alignment with IS-M/AM
ISP_STATUS_UPDATE_TS IS-M/AM Accesses TS and Performs a Status Alignment with the TS
ISP_STATUS_UPDATE_TS_CALL IS-M/AM: Access RFC Function Module ISP_STATUS_UPDATE_TS
ISP_TECH_SYSTEM_START IS-M/AM: Access Technical System
ISP_TECH_SYSTEM_START_CALL IS-M/AM: Access RFC Function Module ISP_TECH_SYSTEM_START
IMPORTING Parameters details for EXIT_SAPLJHTS_011
PAR_RJHAK - Order header
Data type: JHA1_RJHAK_STROptional: No
Call by Reference: No ( called with pass by value option)
PAR_RJHAP - Items
Data type: JHA1_RJHAP_STROptional: No
Call by Reference: No ( called with pass by value option)
PAR_RJHAPA - Ad item
Data type: JHA1_RJHAPA_STROptional: No
Call by Reference: No ( called with pass by value option)
PAR_RJHAPLZ_ITAB - Advertiser Assignment
Data type: JHA1_RJHAPLZ_TABOptional: No
Call by Reference: Yes
PAR_RJHAEA_ITAB - Ad schedule lines
Data type: JHA1_RJHAEA_TABOptional: No
Call by Reference: Yes
CHANGING Parameters details for EXIT_SAPLJHTS_011
PAR_RJHATPLZA_ITAB - Positioning alternatives for the interface
Data type: JHA1_RJHATPLZA_TABOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLJHTS_011 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_rjhak | TYPE JHA1_RJHAK_STR, " | |||
| lv_par_rjhatplza_itab | TYPE JHA1_RJHATPLZA_TAB, " | |||
| lv_par_rjhap | TYPE JHA1_RJHAP_STR, " | |||
| lv_par_rjhapa | TYPE JHA1_RJHAPA_STR, " | |||
| lv_par_rjhaplz_itab | TYPE JHA1_RJHAPLZ_TAB, " | |||
| lv_par_rjhaea_itab | TYPE JHA1_RJHAEA_TAB. " |
|   CALL FUNCTION 'EXIT_SAPLJHTS_011' "IS-M/AM: Fill Structure RJHATPLZA for the Technical Interface |
| EXPORTING | ||
| PAR_RJHAK | = lv_par_rjhak | |
| PAR_RJHAP | = lv_par_rjhap | |
| PAR_RJHAPA | = lv_par_rjhapa | |
| PAR_RJHAPLZ_ITAB | = lv_par_rjhaplz_itab | |
| PAR_RJHAEA_ITAB | = lv_par_rjhaea_itab | |
| CHANGING | ||
| PAR_RJHATPLZA_ITAB | = lv_par_rjhatplza_itab | |
| . " EXIT_SAPLJHTS_011 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLJHTS_011
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