SAP EXIT_SAPLJHER_001 Function Module for IS-M/AM: Billing SD Number Assignment
EXIT_SAPLJHER_001 is a standard exit sapljher 001 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: Billing SD Number 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 exit sapljher 001 FM, simply by entering the name EXIT_SAPLJHER_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XJHE
Program Name: SAPLXJHE
Main Program: SAPLXJHE
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLJHER_001 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_SAPLJHER_001'"IS-M/AM: Billing SD Number Assignment.
EXPORTING
PS_XJHTFK = "Billing Header
CHANGING
PV_NUMKI = "Number Range for Internal Number Assignment
PV_IGNORE_BUFFER = "Retrieve Number Without Buffering
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ISMAM_BTE_00503106 IS-M/AM: Value Change Following Revenue Recognition
ISMAM_BTE_00503106_DEFAULT IS-M/AM: Revenue Comparison Old/New Observing Posting Period
ISMAM_BTE_00503106_NO_UNBILLED IS-M/AM: Do Not Post Account 'Unbilled Receivables'
ISMAM_BTE_00503110 IS-M/AM: BTE - Event (00503110): Change Accounting Data
ISMAM_BTE_00503111 IS-M/AM: BTE - Event (00503111): Change Posting Date and Document Type
ISMAM_BTE_00503114 IS-M/AM: BET - Event (00503114) Change Tax Indicator
ISMAM_CHECK_ORDER_RR_RELEVANCE IS-M/AM: RR: Check Revenue Recognition Relevance in the Order
ISMAM_GN_ACCOUNT_DETERM IS-M/AM: Account Determination
ISMAM_KOMPCV_CHANGE_KF IS-M/AM: RR: Fill Account Determination KOMPCV
ISMAM_PROVIDE_KOMK_P_CV IS-M/AM: RR: Account Determination FIll KOMPCV & KOMKCV
ISMAM_RD_MEM_DOC_MARKUP_FOR_SD IS-M/AM: Read Memory SD VBELN and Set Bookmark for RD_MEM_DOC
ISMAM_RR_ACCOUNT_DETERM IS-M/AM: RR: Account Determination
ISMAM_RR_AVMAUART_READ IS-M/AM: Read Memory SD VBELN and Set Bookmark for RD_MEM_DOC
ISMAM_RR_AVMNR_FROM_SDREF_READ IS-M/AM: Read AVM_NR for SD Reference Number
ISMAM_RR_AWTYP_SET IS-M/AM: RR Define Reference Transaction (AWTYP)
ISMAM_RR_BILLING IS-M/AM: RR: Billing Document
ISMAM_RR_BUDAT_PERIOD_CHECK IS-M/AM: Checks Fisc.Year; Checks Period, Posting Date, Changes Post.Dte
ISMAM_RR_CONVERT_INVOICE_TAB IS-M/AM: RR: IS-M Conversion to SD Tables Billing Document
ISMAM_RR_CONVERT_INV_TAB_POST IS-M/AM: RR: IS-M Conversion to SD Tables Billing Document (Posting)
ISMAM_RR_CONVERT_ORDER_TAB IS-M/AM: RR: IS-M Conversion Order to SD Tables - Order
ISMAM_RR_FI_SHOW IS-M/AM: RR: Display FI Document
ISMAM_RR_INVOICE_POST IS-M/AM: RR: Posting of SD Billing Tables
ISMAM_RR_IXSD_REFRESH IS-M/AM: Reset Memory for SD Document Number
ISMAM_RR_IXSD_WRITE IS-M/AM: Write Memory SD VBELN
ISMAM_RR_PAOBJ_READ IS-M/AM: RR Cost Centers, Read Internal Order and PA Objects Using ROD
ISMAM_RR_SALES IS-M/AM: RR: Order
ISMAM_RR_SDKOMV_CREATE IS-M/AM: RR: Fill XKOMV from EOB Document
ISMAM_RR_SD_NR_GET IS-M/AM: RR: Number Assignment for SD Documents
ISMAM_RR_VBELN_FROM_SDREF_READ IS-M/AM: Read Billing Document Number for SD Reference Number
ISMAM_XVBREV_REFRESH IS-M/AM: Revenue Recognition Refresh VBREV*
ISM_LAST_DAY_OF_MONTH IS-M: Determine Last Day of the Month
IMPORTING Parameters details for EXIT_SAPLJHER_001
PS_XJHTFK - Billing Header
Data type: JHF1_XJHTFK_STROptional: No
Call by Reference: Yes
CHANGING Parameters details for EXIT_SAPLJHER_001
PV_NUMKI - Number Range for Internal Number Assignment
Data type: NUMKIOptional: No
Call by Reference: Yes
PV_IGNORE_BUFFER - Retrieve Number Without Buffering
Data type: XFELDOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLJHER_001 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_numki | TYPE NUMKI, " | |||
| lv_ps_xjhtfk | TYPE JHF1_XJHTFK_STR, " | |||
| lv_pv_ignore_buffer | TYPE XFELD. " |
|   CALL FUNCTION 'EXIT_SAPLJHER_001' "IS-M/AM: Billing SD Number Assignment |
| EXPORTING | ||
| PS_XJHTFK | = lv_ps_xjhtfk | |
| CHANGING | ||
| PV_NUMKI | = lv_pv_numki | |
| PV_IGNORE_BUFFER | = lv_pv_ignore_buffer | |
| . " EXIT_SAPLJHER_001 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLJHER_001
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