SAP CREDIT_ACCOUNT_CONV_SING_F_SAP Function Module for









CREDIT_ACCOUNT_CONV_SING_F_SAP is a standard credit account conv sing f sap 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 credit account conv sing f sap FM, simply by entering the name CREDIT_ACCOUNT_CONV_SING_F_SAP into the relevant SAP transaction such as SE37 or SE38.

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



Function CREDIT_ACCOUNT_CONV_SING_F_SAP 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 'CREDIT_ACCOUNT_CONV_SING_F_SAP'"
EXPORTING
I_KUNNR = "
I_KKBER = "

IMPORTING
DEBTORID = "
C_CTR_AREA = "

TABLES
CREDIT_ACCOUNT_OPEN_ITEMS = "
T_KNKKF2 = "
T_KNKKF1 = "
CREDIT_ACCOUNT_DETAIL = "
.



IMPORTING Parameters details for CREDIT_ACCOUNT_CONV_SING_F_SAP

I_KUNNR -

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

I_KKBER -

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

EXPORTING Parameters details for CREDIT_ACCOUNT_CONV_SING_F_SAP

DEBTORID -

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

C_CTR_AREA -

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

TABLES Parameters details for CREDIT_ACCOUNT_CONV_SING_F_SAP

CREDIT_ACCOUNT_OPEN_ITEMS -

Data type: BAPI1010_2
Optional: No
Call by Reference: No ( called with pass by value option)

T_KNKKF2 -

Data type: KNKKF2
Optional: No
Call by Reference: No ( called with pass by value option)

T_KNKKF1 -

Data type: KNKKF1
Optional: No
Call by Reference: No ( called with pass by value option)

CREDIT_ACCOUNT_DETAIL -

Data type: BAPI1010_1
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for CREDIT_ACCOUNT_CONV_SING_F_SAP 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_i_kunnr  TYPE KNKK-KUNNR, "   
lv_debtorid  TYPE BAPI1010-CUSTMR_NO, "   
lt_credit_account_open_items  TYPE STANDARD TABLE OF BAPI1010_2, "   
lv_i_kkber  TYPE KNKK-KKBER, "   
lt_t_knkkf2  TYPE STANDARD TABLE OF KNKKF2, "   
lv_c_ctr_area  TYPE BAPI1010-C_CTR_AREA, "   
lt_t_knkkf1  TYPE STANDARD TABLE OF KNKKF1, "   
lt_credit_account_detail  TYPE STANDARD TABLE OF BAPI1010_1. "   

  CALL FUNCTION 'CREDIT_ACCOUNT_CONV_SING_F_SAP'  "
    EXPORTING
         I_KUNNR = lv_i_kunnr
         I_KKBER = lv_i_kkber
    IMPORTING
         DEBTORID = lv_debtorid
         C_CTR_AREA = lv_c_ctr_area
    TABLES
         CREDIT_ACCOUNT_OPEN_ITEMS = lt_credit_account_open_items
         T_KNKKF2 = lt_t_knkkf2
         T_KNKKF1 = lt_t_knkkf1
         CREDIT_ACCOUNT_DETAIL = lt_credit_account_detail
. " CREDIT_ACCOUNT_CONV_SING_F_SAP




ABAP code using 7.40 inline data declarations to call FM CREDIT_ACCOUNT_CONV_SING_F_SAP

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 KUNNR FROM KNKK INTO @DATA(ld_i_kunnr).
 
"SELECT single CUSTMR_NO FROM BAPI1010 INTO @DATA(ld_debtorid).
 
 
"SELECT single KKBER FROM KNKK INTO @DATA(ld_i_kkber).
 
 
"SELECT single C_CTR_AREA FROM BAPI1010 INTO @DATA(ld_c_ctr_area).
 
 
 


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!