SAP ISP_ACCOUNTING_DOC_CREATE_ACC Function Module for
ISP_ACCOUNTING_DOC_CREATE_ACC is a standard isp accounting doc create acc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 accounting doc create acc FM, simply by entering the name ISP_ACCOUNTING_DOC_CREATE_ACC into the relevant SAP transaction such as SE37 or SE38.
Function Group: JF81
Program Name: SAPLJF81
Main Program: SAPLJF81
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISP_ACCOUNTING_DOC_CREATE_ACC 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_ACCOUNTING_DOC_CREATE_ACC'".
EXPORTING
ACCOUNT_BUKRS = "
ACCOUNT_HEADER = "
* TESTLAUF = ' ' "
ULDATUM = "
TABLES
T_KOMK1 = "
XKRED = "
XJFFS = "
T_KOMK2 = "
T_KOMK3 = "
T_KOMK4 = "
XBELEG = "
XBPOS = "
XJLFS = "
XJLRP = "
XKOMV = "
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_SAPLJF81_001 IS-M/SD: Modify Fields for Document Header (Billing Transfer to FI/RF)
EXIT_SAPLJF81_002 IS-M/SD: Modify Fields for Customer Item (Billing Transfer)
EXIT_SAPLJF81_003 IS-M/SD: Fields for G/L Account Item for Bank Clearance Coll.Billing Tfer
EXIT_SAPLJF81_004 IS-M/SD: Fields for G/L Account Item (Billing Transfer)
EXIT_SAPLJF81_005 IS-M/SD: Modify Fields for Cancellation of G/L Account Item
EXIT_SAPLJF81_006 IS-M/SD: Modify Fields for Document Header (Settlement Transfer)
EXIT_SAPLJF81_007 IS-M/SD: Modify Fields for G/L Account Item (Settlement Transfer)
EXIT_SAPLJF81_008 IS-M/SD: Modify Fields for Vendor Item (Settlement Transfer)
EXIT_SAPLJF81_009 IS-M/SD: Enter Segment Text for Automatic Debit
IMPORTING Parameters details for ISP_ACCOUNTING_DOC_CREATE_ACC
ACCOUNT_BUKRS -
Data type: JLRK-BUKRSOptional: No
Call by Reference: No ( called with pass by value option)
ACCOUNT_HEADER -
Data type: JLRKOptional: No
Call by Reference: No ( called with pass by value option)
TESTLAUF -
Data type:Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
ULDATUM -
Data type: SY-DATUMOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for ISP_ACCOUNTING_DOC_CREATE_ACC
T_KOMK1 -
Data type: JKOMK1Optional: No
Call by Reference: No ( called with pass by value option)
XKRED -
Data type: RJGFGPKOptional: No
Call by Reference: No ( called with pass by value option)
XJFFS -
Data type: JFFSOptional: No
Call by Reference: No ( called with pass by value option)
T_KOMK2 -
Data type: JKOMK2Optional: No
Call by Reference: No ( called with pass by value option)
T_KOMK3 -
Data type: JKOMK3Optional: No
Call by Reference: No ( called with pass by value option)
T_KOMK4 -
Data type: JKOMK3Optional: No
Call by Reference: No ( called with pass by value option)
XBELEG -
Data type: JFJFRKOptional: No
Call by Reference: Yes
XBPOS -
Data type: JYPSDFIOptional: No
Call by Reference: No ( called with pass by value option)
XJLFS -
Data type: JLFSOptional: No
Call by Reference: No ( called with pass by value option)
XJLRP -
Data type: JLRPOptional: No
Call by Reference: No ( called with pass by value option)
XKOMV -
Data type: KOMVOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISP_ACCOUNTING_DOC_CREATE_ACC 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: | ||||
| lt_t_komk1 | TYPE STANDARD TABLE OF JKOMK1, " | |||
| lv_account_bukrs | TYPE JLRK-BUKRS, " | |||
| lt_xkred | TYPE STANDARD TABLE OF RJGFGPK, " | |||
| lt_xjffs | TYPE STANDARD TABLE OF JFFS, " | |||
| lt_t_komk2 | TYPE STANDARD TABLE OF JKOMK2, " | |||
| lv_account_header | TYPE JLRK, " | |||
| lt_t_komk3 | TYPE STANDARD TABLE OF JKOMK3, " | |||
| lv_testlauf | TYPE JKOMK3, " ' ' | |||
| lt_t_komk4 | TYPE STANDARD TABLE OF JKOMK3, " | |||
| lv_uldatum | TYPE SY-DATUM, " | |||
| lt_xbeleg | TYPE STANDARD TABLE OF JFJFRK, " | |||
| lt_xbpos | TYPE STANDARD TABLE OF JYPSDFI, " | |||
| lt_xjlfs | TYPE STANDARD TABLE OF JLFS, " | |||
| lt_xjlrp | TYPE STANDARD TABLE OF JLRP, " | |||
| lt_xkomv | TYPE STANDARD TABLE OF KOMV. " |
|   CALL FUNCTION 'ISP_ACCOUNTING_DOC_CREATE_ACC' " |
| EXPORTING | ||
| ACCOUNT_BUKRS | = lv_account_bukrs | |
| ACCOUNT_HEADER | = lv_account_header | |
| TESTLAUF | = lv_testlauf | |
| ULDATUM | = lv_uldatum | |
| TABLES | ||
| T_KOMK1 | = lt_t_komk1 | |
| XKRED | = lt_xkred | |
| XJFFS | = lt_xjffs | |
| T_KOMK2 | = lt_t_komk2 | |
| T_KOMK3 | = lt_t_komk3 | |
| T_KOMK4 | = lt_t_komk4 | |
| XBELEG | = lt_xbeleg | |
| XBPOS | = lt_xbpos | |
| XJLFS | = lt_xjlfs | |
| XJLRP | = lt_xjlrp | |
| XKOMV | = lt_xkomv | |
| . " ISP_ACCOUNTING_DOC_CREATE_ACC | ||
ABAP code using 7.40 inline data declarations to call FM ISP_ACCOUNTING_DOC_CREATE_ACC
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 BUKRS FROM JLRK INTO @DATA(ld_account_bukrs). | ||||
| DATA(ld_testlauf) | = ' '. | |||
| "SELECT single DATUM FROM SY INTO @DATA(ld_uldatum). | ||||
Search for further information about these or an SAP related objects