FKK_ACCOUNT_UPDATE is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name FKK_ACCOUNT_UPDATE into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKKU
Released Date:
Not Released
Processing type: Start update immediately (start immed)
CALL FUNCTION 'FKK_ACCOUNT_UPDATE' "
EXPORTING
x_fkkvk = " fkkvk
* y_fkkvk = " fkkvk
vk_upd_mode = " bus_istat-xchng
* i_write_only_change_docs = " boole-boole
* udate = " cdhdr-udate
* utime = " cdhdr-utime
* planned_change_number = SPACE " cdhdr-planchngnr
* planned_or_real_changes = SPACE " cdpos-chngind
* upd_onl_change_docs = " boole-boole Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* xwrite_change_docs = 'X' " boole-boole
* username = SY-UNAME " sy-uname User Name
TABLES
x_fkkvkp = " fkkvkp
* y_fkkvkp = " fkkvkp
* x_fkkvk_corr = " fkkvk_corr
* y_fkkvk_corr = " fkkvk_corr
* it_actv_pcdhdr = " pcdhdr
* x_fkktaxex = " dfkktaxex
* y_fkktaxex = " dfkktaxex
* x_fkkvkp_chgdisc = " fkkvkp_chgdisc Charges and Discounts for CtrAcct<->Partner Relationship
* y_fkkvkp_chgdisc = " fkkvkp_chgdisc Charges and Discounts for CtrAcct<->Partner Relationship
. " FKK_ACCOUNT_UPDATE
The ABAP code below is a full code listing to execute function module FKK_ACCOUNT_UPDATE including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_x_fkkvkp | TYPE STANDARD TABLE OF FKKVKP,"TABLES PARAM |
| wa_x_fkkvkp | LIKE LINE OF it_x_fkkvkp , |
| it_y_fkkvkp | TYPE STANDARD TABLE OF FKKVKP,"TABLES PARAM |
| wa_y_fkkvkp | LIKE LINE OF it_y_fkkvkp , |
| it_x_fkkvk_corr | TYPE STANDARD TABLE OF FKKVK_CORR,"TABLES PARAM |
| wa_x_fkkvk_corr | LIKE LINE OF it_x_fkkvk_corr , |
| it_y_fkkvk_corr | TYPE STANDARD TABLE OF FKKVK_CORR,"TABLES PARAM |
| wa_y_fkkvk_corr | LIKE LINE OF it_y_fkkvk_corr , |
| it_it_actv_pcdhdr | TYPE STANDARD TABLE OF PCDHDR,"TABLES PARAM |
| wa_it_actv_pcdhdr | LIKE LINE OF it_it_actv_pcdhdr , |
| it_x_fkktaxex | TYPE STANDARD TABLE OF DFKKTAXEX,"TABLES PARAM |
| wa_x_fkktaxex | LIKE LINE OF it_x_fkktaxex , |
| it_y_fkktaxex | TYPE STANDARD TABLE OF DFKKTAXEX,"TABLES PARAM |
| wa_y_fkktaxex | LIKE LINE OF it_y_fkktaxex , |
| it_x_fkkvkp_chgdisc | TYPE STANDARD TABLE OF FKKVKP_CHGDISC,"TABLES PARAM |
| wa_x_fkkvkp_chgdisc | LIKE LINE OF it_x_fkkvkp_chgdisc , |
| it_y_fkkvkp_chgdisc | TYPE STANDARD TABLE OF FKKVKP_CHGDISC,"TABLES PARAM |
| wa_y_fkkvkp_chgdisc | LIKE LINE OF it_y_fkkvkp_chgdisc . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_x_fkkvk | TYPE FKKVK , |
| it_x_fkkvkp | TYPE STANDARD TABLE OF FKKVKP , |
| wa_x_fkkvkp | LIKE LINE OF it_x_fkkvkp, |
| ld_y_fkkvk | TYPE FKKVK , |
| it_y_fkkvkp | TYPE STANDARD TABLE OF FKKVKP , |
| wa_y_fkkvkp | LIKE LINE OF it_y_fkkvkp, |
| ld_vk_upd_mode | TYPE BUS_ISTAT-XCHNG , |
| it_x_fkkvk_corr | TYPE STANDARD TABLE OF FKKVK_CORR , |
| wa_x_fkkvk_corr | LIKE LINE OF it_x_fkkvk_corr, |
| ld_i_write_only_change_docs | TYPE BOOLE-BOOLE , |
| it_y_fkkvk_corr | TYPE STANDARD TABLE OF FKKVK_CORR , |
| wa_y_fkkvk_corr | LIKE LINE OF it_y_fkkvk_corr, |
| ld_udate | TYPE CDHDR-UDATE , |
| it_it_actv_pcdhdr | TYPE STANDARD TABLE OF PCDHDR , |
| wa_it_actv_pcdhdr | LIKE LINE OF it_it_actv_pcdhdr, |
| ld_utime | TYPE CDHDR-UTIME , |
| it_x_fkktaxex | TYPE STANDARD TABLE OF DFKKTAXEX , |
| wa_x_fkktaxex | LIKE LINE OF it_x_fkktaxex, |
| ld_planned_change_number | TYPE CDHDR-PLANCHNGNR , |
| it_y_fkktaxex | TYPE STANDARD TABLE OF DFKKTAXEX , |
| wa_y_fkktaxex | LIKE LINE OF it_y_fkktaxex, |
| ld_planned_or_real_changes | TYPE CDPOS-CHNGIND , |
| it_x_fkkvkp_chgdisc | TYPE STANDARD TABLE OF FKKVKP_CHGDISC , |
| wa_x_fkkvkp_chgdisc | LIKE LINE OF it_x_fkkvkp_chgdisc, |
| ld_upd_onl_change_docs | TYPE BOOLE-BOOLE , |
| it_y_fkkvkp_chgdisc | TYPE STANDARD TABLE OF FKKVKP_CHGDISC , |
| wa_y_fkkvkp_chgdisc | LIKE LINE OF it_y_fkkvkp_chgdisc, |
| ld_xwrite_change_docs | TYPE BOOLE-BOOLE , |
| ld_username | TYPE SY-UNAME . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name FKK_ACCOUNT_UPDATE or its description.