SAP CREDITCONTROL_SET_INCREMENT Function Module for









CREDITCONTROL_SET_INCREMENT is a standard creditcontrol set increment 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 creditcontrol set increment FM, simply by entering the name CREDITCONTROL_SET_INCREMENT into the relevant SAP transaction such as SE37 or SE38.

Function Group: CRDM
Program Name: SAPLCRDM
Main Program: SAPLCRDM
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CREDITCONTROL_SET_INCREMENT 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 'CREDITCONTROL_SET_INCREMENT'"
EXPORTING
KLIBT = "Credit Amount
SHKZG = "Debit/Credit Indicator
UMSKZ = "Special G/L Indicator
* XAUSZ = ' ' "G/L account number
* I_ABSBT = "Amount Guaranteed for Payment

IMPORTING
SKFOR = "G/L account number
SSOBL = "G/L account number
E_ABSBT = "Amount Guaranteed for Payment
.



IMPORTING Parameters details for CREDITCONTROL_SET_INCREMENT

KLIBT - Credit Amount

Data type: BSEG-KLIBT
Optional: No
Call by Reference: No ( called with pass by value option)

SHKZG - Debit/Credit Indicator

Data type: BSEG-SHKZG
Optional: No
Call by Reference: No ( called with pass by value option)

UMSKZ - Special G/L Indicator

Data type: BSEG-UMSKZ
Optional: No
Call by Reference: No ( called with pass by value option)

XAUSZ - G/L account number

Data type:
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_ABSBT - Amount Guaranteed for Payment

Data type: BSEG-ABSBT
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for CREDITCONTROL_SET_INCREMENT

SKFOR - G/L account number

Data type: KNKK-SKFOR
Optional: No
Call by Reference: No ( called with pass by value option)

SSOBL - G/L account number

Data type: KNKK-SSOBL
Optional: No
Call by Reference: No ( called with pass by value option)

E_ABSBT - Amount Guaranteed for Payment

Data type: KNKK-ABSBT
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CREDITCONTROL_SET_INCREMENT 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_klibt  TYPE BSEG-KLIBT, "   
lv_skfor  TYPE KNKK-SKFOR, "   
lv_shkzg  TYPE BSEG-SHKZG, "   
lv_ssobl  TYPE KNKK-SSOBL, "   
lv_umskz  TYPE BSEG-UMSKZ, "   
lv_e_absbt  TYPE KNKK-ABSBT, "   
lv_xausz  TYPE KNKK, "   SPACE
lv_i_absbt  TYPE BSEG-ABSBT. "   

  CALL FUNCTION 'CREDITCONTROL_SET_INCREMENT'  "
    EXPORTING
         KLIBT = lv_klibt
         SHKZG = lv_shkzg
         UMSKZ = lv_umskz
         XAUSZ = lv_xausz
         I_ABSBT = lv_i_absbt
    IMPORTING
         SKFOR = lv_skfor
         SSOBL = lv_ssobl
         E_ABSBT = lv_e_absbt
. " CREDITCONTROL_SET_INCREMENT




ABAP code using 7.40 inline data declarations to call FM CREDITCONTROL_SET_INCREMENT

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 KLIBT FROM BSEG INTO @DATA(ld_klibt).
 
"SELECT single SKFOR FROM KNKK INTO @DATA(ld_skfor).
 
"SELECT single SHKZG FROM BSEG INTO @DATA(ld_shkzg).
 
"SELECT single SSOBL FROM KNKK INTO @DATA(ld_ssobl).
 
"SELECT single UMSKZ FROM BSEG INTO @DATA(ld_umskz).
 
"SELECT single ABSBT FROM KNKK INTO @DATA(ld_e_absbt).
 
DATA(ld_xausz) = ' '.
 
"SELECT single ABSBT FROM BSEG INTO @DATA(ld_i_absbt).
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!