SAP ISCD_ACCOUNT_MAINTAIN Function Module for









ISCD_ACCOUNT_MAINTAIN is a standard iscd account maintain 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 iscd account maintain FM, simply by entering the name ISCD_ACCOUNT_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

Function Group: FSCDMAD_CA_RFC
Program Name: SAPLFSCDMAD_CA_RFC
Main Program: SAPLFSCDMAD_CA_RFC
Appliation area: F
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ISCD_ACCOUNT_MAINTAIN 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 'ISCD_ACCOUNT_MAINTAIN'"
EXPORTING
I_HDR_DI = "
* I_XKEEP_MEMORY = ' ' "
* I_FKKVK_DI = "
* I_NODATA = '/' "
* I_COMMIT = 'X' "
* I_COMMIT_AND_WAIT = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_RFC_TEST = ' ' "
* I_XTEST = "
* I_XCHDOC = 'X' "
* I_XUPDTASK = ' ' "

IMPORTING
E_XERROR = "
E_HDR_DI = "Contract Account: Header Data (Direct Input)
E_FKKVK_DI = "Contract Account: General Data (Direct Input)

TABLES
* T_FKKVKP_DI = "
* T_FKKVKLOCK_DI = "
* T_FKKVK_CORR_DI = "Alternative Correspondence Recipient for Account: Dir. Input
* T_FKKVKP_CHGDISC_DI = "Charges and Discounts for CtrAcct<->Partner Relationship: DI
* T_FKKVK_TAXEX_DI = "Account Tax Exemptions: Direct Input
* T_MESSAGE = "Message Table
* T_KEYVALUE = "Key Fields
.



IMPORTING Parameters details for ISCD_ACCOUNT_MAINTAIN

I_HDR_DI -

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

I_XKEEP_MEMORY -

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

I_FKKVK_DI -

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

I_NODATA -

Data type: BUS000FLDS-CHAR1
Default: '/'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COMMIT -

Data type: BOOLE-BOOLE
Default: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_COMMIT_AND_WAIT - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')

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

I_RFC_TEST -

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

I_XTEST -

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

I_XCHDOC -

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

I_XUPDTASK -

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

EXPORTING Parameters details for ISCD_ACCOUNT_MAINTAIN

E_XERROR -

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

E_HDR_DI - Contract Account: Header Data (Direct Input)

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

E_FKKVK_DI - Contract Account: General Data (Direct Input)

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

TABLES Parameters details for ISCD_ACCOUNT_MAINTAIN

T_FKKVKP_DI -

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

T_FKKVKLOCK_DI -

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

T_FKKVK_CORR_DI - Alternative Correspondence Recipient for Account: Dir. Input

Data type: FKKVK_CORR_S_DI
Optional: Yes
Call by Reference: Yes

T_FKKVKP_CHGDISC_DI - Charges and Discounts for CtrAcct<->Partner Relationship: DI

Data type: FKKVKP_CHGDISC_S_DI
Optional: Yes
Call by Reference: Yes

T_FKKVK_TAXEX_DI - Account Tax Exemptions: Direct Input

Data type: FKKVK_TAXEX_S_DI
Optional: Yes
Call by Reference: Yes

T_MESSAGE - Message Table

Data type: BUS0MSG1
Optional: Yes
Call by Reference: Yes

T_KEYVALUE - Key Fields

Data type: BUSSKEYVAL
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for ISCD_ACCOUNT_MAINTAIN 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_e_xerror  TYPE BUS000FLDS-CHAR1, "   
lv_i_hdr_di  TYPE FKKVK_HDR_DI, "   
lt_t_fkkvkp_di  TYPE STANDARD TABLE OF FKKVKP_S_DI, "   
lv_i_xkeep_memory  TYPE BOOLE_D, "   SPACE
lv_e_hdr_di  TYPE FKKVK_HDR_DI, "   
lv_i_fkkvk_di  TYPE FKKVK_S_DI, "   
lt_t_fkkvklock_di  TYPE STANDARD TABLE OF FKKVKLOCK_S_DI, "   
lv_i_nodata  TYPE BUS000FLDS-CHAR1, "   '/'
lv_e_fkkvk_di  TYPE FKKVK_S_DI, "   
lt_t_fkkvk_corr_di  TYPE STANDARD TABLE OF FKKVK_CORR_S_DI, "   
lv_i_commit  TYPE BOOLE-BOOLE, "   'X'
lt_t_fkkvkp_chgdisc_di  TYPE STANDARD TABLE OF FKKVKP_CHGDISC_S_DI, "   
lt_t_fkkvk_taxex_di  TYPE STANDARD TABLE OF FKKVK_TAXEX_S_DI, "   
lv_i_commit_and_wait  TYPE BOOLE-BOOLE, "   SPACE
lt_t_message  TYPE STANDARD TABLE OF BUS0MSG1, "   
lv_i_rfc_test  TYPE BOOLE-BOOLE, "   SPACE
lv_i_xtest  TYPE BOOLE_D, "   
lt_t_keyvalue  TYPE STANDARD TABLE OF BUSSKEYVAL, "   
lv_i_xchdoc  TYPE BOOLE_D, "   'X'
lv_i_xupdtask  TYPE BOOLE_D. "   SPACE

  CALL FUNCTION 'ISCD_ACCOUNT_MAINTAIN'  "
    EXPORTING
         I_HDR_DI = lv_i_hdr_di
         I_XKEEP_MEMORY = lv_i_xkeep_memory
         I_FKKVK_DI = lv_i_fkkvk_di
         I_NODATA = lv_i_nodata
         I_COMMIT = lv_i_commit
         I_COMMIT_AND_WAIT = lv_i_commit_and_wait
         I_RFC_TEST = lv_i_rfc_test
         I_XTEST = lv_i_xtest
         I_XCHDOC = lv_i_xchdoc
         I_XUPDTASK = lv_i_xupdtask
    IMPORTING
         E_XERROR = lv_e_xerror
         E_HDR_DI = lv_e_hdr_di
         E_FKKVK_DI = lv_e_fkkvk_di
    TABLES
         T_FKKVKP_DI = lt_t_fkkvkp_di
         T_FKKVKLOCK_DI = lt_t_fkkvklock_di
         T_FKKVK_CORR_DI = lt_t_fkkvk_corr_di
         T_FKKVKP_CHGDISC_DI = lt_t_fkkvkp_chgdisc_di
         T_FKKVK_TAXEX_DI = lt_t_fkkvk_taxex_di
         T_MESSAGE = lt_t_message
         T_KEYVALUE = lt_t_keyvalue
. " ISCD_ACCOUNT_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM ISCD_ACCOUNT_MAINTAIN

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 CHAR1 FROM BUS000FLDS INTO @DATA(ld_e_xerror).
 
 
 
DATA(ld_i_xkeep_memory) = ' '.
 
 
 
 
"SELECT single CHAR1 FROM BUS000FLDS INTO @DATA(ld_i_nodata).
DATA(ld_i_nodata) = '/'.
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_commit).
DATA(ld_i_commit) = 'X'.
 
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_commit_and_wait).
DATA(ld_i_commit_and_wait) = ' '.
 
 
"SELECT single BOOLE FROM BOOLE INTO @DATA(ld_i_rfc_test).
DATA(ld_i_rfc_test) = ' '.
 
 
 
DATA(ld_i_xchdoc) = 'X'.
 
DATA(ld_i_xupdtask) = ' '.
 


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!