SAP ISP_KREDITOR_ADD Function Module for IS-M/SD: Create Vendor for General BP
ISP_KREDITOR_ADD is a standard isp kreditor add 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/SD: Create Vendor for General BP 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 kreditor add FM, simply by entering the name ISP_KREDITOR_ADD into the relevant SAP transaction such as SE37 or SE38.
Function Group: JG30
Program Name: SAPLJG30
Main Program: SAPLJG30
Appliation area: J
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function ISP_KREDITOR_ADD 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_KREDITOR_ADD'"IS-M/SD: Create Vendor for General BP.
EXPORTING
* BUKRS_IN = ' ' "
GPNR_IN = "Business Partner Number
* VKORG_IN = ' ' "
EXCEPTIONS
BUKRS_NOT_EXISTS = 1 CANCEL = 2 GP_NOT_EXISTS = 3 GP_SD_NOT_EXISTS = 4 KREDITOR_EXISTS = 5 KREDI_ENQUEUED = 6 KREDI_NOT_SAVED = 7 KTOKD_NOT_EXISTS = 8 VKORG_NOT_EXISTS = 9
IMPORTING Parameters details for ISP_KREDITOR_ADD
BUKRS_IN -
Data type: LFB1-BUKRSDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
GPNR_IN - Business Partner Number
Data type: JGTGPNR-GPNROptional: No
Call by Reference: No ( called with pass by value option)
VKORG_IN -
Data type: KNVV-VKORGDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
BUKRS_NOT_EXISTS - Company code does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
CANCEL -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GP_NOT_EXISTS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
GP_SD_NOT_EXISTS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KREDITOR_EXISTS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KREDI_ENQUEUED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KREDI_NOT_SAVED -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KTOKD_NOT_EXISTS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
VKORG_NOT_EXISTS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for ISP_KREDITOR_ADD 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_bukrs_in | TYPE LFB1-BUKRS, " SPACE | |||
| lv_bukrs_not_exists | TYPE LFB1, " | |||
| lv_cancel | TYPE LFB1, " | |||
| lv_gpnr_in | TYPE JGTGPNR-GPNR, " | |||
| lv_vkorg_in | TYPE KNVV-VKORG, " SPACE | |||
| lv_gp_not_exists | TYPE KNVV, " | |||
| lv_gp_sd_not_exists | TYPE KNVV, " | |||
| lv_kreditor_exists | TYPE KNVV, " | |||
| lv_kredi_enqueued | TYPE KNVV, " | |||
| lv_kredi_not_saved | TYPE KNVV, " | |||
| lv_ktokd_not_exists | TYPE KNVV, " | |||
| lv_vkorg_not_exists | TYPE KNVV. " |
|   CALL FUNCTION 'ISP_KREDITOR_ADD' "IS-M/SD: Create Vendor for General BP |
| EXPORTING | ||
| BUKRS_IN | = lv_bukrs_in | |
| GPNR_IN | = lv_gpnr_in | |
| VKORG_IN | = lv_vkorg_in | |
| EXCEPTIONS | ||
| BUKRS_NOT_EXISTS = 1 | ||
| CANCEL = 2 | ||
| GP_NOT_EXISTS = 3 | ||
| GP_SD_NOT_EXISTS = 4 | ||
| KREDITOR_EXISTS = 5 | ||
| KREDI_ENQUEUED = 6 | ||
| KREDI_NOT_SAVED = 7 | ||
| KTOKD_NOT_EXISTS = 8 | ||
| VKORG_NOT_EXISTS = 9 | ||
| . " ISP_KREDITOR_ADD | ||
ABAP code using 7.40 inline data declarations to call FM ISP_KREDITOR_ADD
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 LFB1 INTO @DATA(ld_bukrs_in). | ||||
| DATA(ld_bukrs_in) | = ' '. | |||
| "SELECT single GPNR FROM JGTGPNR INTO @DATA(ld_gpnr_in). | ||||
| "SELECT single VKORG FROM KNVV INTO @DATA(ld_vkorg_in). | ||||
| DATA(ld_vkorg_in) | = ' '. | |||
Search for further information about these or an SAP related objects