SAP EXIT_SAPLJHF2_006 Function Module for IS-M/AM: Prepare Data for FI Interface Tax Line
EXIT_SAPLJHF2_006 is a standard exit sapljhf2 006 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: Prepare Data for FI Interface Tax Line 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 sapljhf2 006 FM, simply by entering the name EXIT_SAPLJHF2_006 into the relevant SAP transaction such as SE37 or SE38.
Function Group: XJHF
Program Name: SAPLXJHF
Main Program: SAPLXJHF
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function EXIT_SAPLJHF2_006 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_SAPLJHF2_006'"IS-M/AM: Prepare Data for FI Interface Tax Line.
EXPORTING
IN_JHTFK = "Current Billing Header
IN_JHTFP = "Current Billing Header
IN_JHTFP_TAB = "
IN_XKOMV = "Current Condition Line
CHANGING
IO_XACCIT = "FI interface: Item information
Related Function Modules
Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.ISMAM_GSBER_COLLECT IS-M/AM: Manage Standardized Business Area
ISPAM_ACCOUNTING_DOC_CREATE IS-M/AM: Accounting Document
ISPAM_ACCOUNTING_DOC_POST IS-M/AM: Update FI Document, Return FI Document Number
ISPAM_INV_ACC_INTERFACE_FI_1 IS-M/AM: Generate FI Interface for RFC Call and Call RFC for Each Bill.Doc
ISPAM_INV_ACC_INTERFACE_FI_2 IS-M/AM: For RFC Call External FI; All Billing Documents Before Update
ISPAM_INV_ACC_INTERFACE_FI_3 IS-M/AM: Update FI Document from Billing Document; Return FI Document No.
IMPORTING Parameters details for EXIT_SAPLJHF2_006
IN_JHTFK - Current Billing Header
Data type: JHF1_JHTFK_STROptional: No
Call by Reference: No ( called with pass by value option)
IN_JHTFP - Current Billing Header
Data type: JHF1_JHTFP_STROptional: No
Call by Reference: No ( called with pass by value option)
IN_JHTFP_TAB -
Data type: JHF1_JHTFP_TABOptional: No
Call by Reference: Yes
IN_XKOMV - Current Condition Line
Data type: JHF1_XKOMV_STROptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_SAPLJHF2_006
IO_XACCIT - FI interface: Item information
Data type: JHF1_XACCIT_STROptional: No
Call by Reference: Yes
Copy and paste ABAP code example for EXIT_SAPLJHF2_006 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_in_jhtfk | TYPE JHF1_JHTFK_STR, " | |||
| lv_io_xaccit | TYPE JHF1_XACCIT_STR, " | |||
| lv_in_jhtfp | TYPE JHF1_JHTFP_STR, " | |||
| lv_in_jhtfp_tab | TYPE JHF1_JHTFP_TAB, " | |||
| lv_in_xkomv | TYPE JHF1_XKOMV_STR. " |
|   CALL FUNCTION 'EXIT_SAPLJHF2_006' "IS-M/AM: Prepare Data for FI Interface Tax Line |
| EXPORTING | ||
| IN_JHTFK | = lv_in_jhtfk | |
| IN_JHTFP | = lv_in_jhtfp | |
| IN_JHTFP_TAB | = lv_in_jhtfp_tab | |
| IN_XKOMV | = lv_in_xkomv | |
| CHANGING | ||
| IO_XACCIT | = lv_io_xaccit | |
| . " EXIT_SAPLJHF2_006 | ||
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLJHF2_006
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