SAP Function Modules

FVKM_CORP_ACT_EXECUTION SAP Function module - Post Corporate Action







FVKM_CORP_ACT_EXECUTION 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 FVKM_CORP_ACT_EXECUTION into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: FVKM
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM FVKM_CORP_ACT_EXECUTION - FVKM CORP ACT EXECUTION





CALL FUNCTION 'FVKM_CORP_ACT_EXECUTION' "Post Corporate Action
  EXPORTING
    im_budat =                  " tpm_fi_posting_date  Different FI Posting Date
    im_period =                 " tpm_fi_posting_period  Different FI Posting Period
    im_bldat =                  " bldat         Document Date
    im_xzusatz =                " xzusatz       Assignment text
    im_simu =                   " char1         Test Run Flag
  TABLES
    im_range_company_code =     "               Range Company Code
    im_range_canr =             "               Range KAMA Nummer
    .  "  FVKM_CORP_ACT_EXECUTION

ABAP code example for Function Module FVKM_CORP_ACT_EXECUTION





The ABAP code below is a full code listing to execute function module FVKM_CORP_ACT_EXECUTION 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).

DATA:
it_im_range_company_code  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_im_range_company_code  LIKE LINE OF it_im_range_company_code ,
it_im_range_canr  TYPE STANDARD TABLE OF STRING,"TABLES PARAM
wa_im_range_canr  LIKE LINE OF it_im_range_canr .

DATA(ld_im_budat) = 'Check type of data required'.
DATA(ld_im_period) = 'Check type of data required'.
DATA(ld_im_bldat) = 'Check type of data required'.
DATA(ld_im_xzusatz) = 'Check type of data required'.
DATA(ld_im_simu) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_im_range_company_code to it_im_range_company_code.

"populate fields of struture and append to itab
append wa_im_range_canr to it_im_range_canr. . CALL FUNCTION 'FVKM_CORP_ACT_EXECUTION' EXPORTING im_budat = ld_im_budat im_period = ld_im_period im_bldat = ld_im_bldat im_xzusatz = ld_im_xzusatz im_simu = ld_im_simu TABLES im_range_company_code = it_im_range_company_code im_range_canr = it_im_range_canr . " FVKM_CORP_ACT_EXECUTION
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_im_budat  TYPE TPM_FI_POSTING_DATE ,
it_im_range_company_code  TYPE STANDARD TABLE OF STRING ,
wa_im_range_company_code  LIKE LINE OF it_im_range_company_code,
ld_im_period  TYPE TPM_FI_POSTING_PERIOD ,
it_im_range_canr  TYPE STANDARD TABLE OF STRING ,
wa_im_range_canr  LIKE LINE OF it_im_range_canr,
ld_im_bldat  TYPE BLDAT ,
ld_im_xzusatz  TYPE XZUSATZ ,
ld_im_simu  TYPE CHAR1 .

ld_im_budat = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_im_range_company_code to it_im_range_company_code.
ld_im_period = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_im_range_canr to it_im_range_canr.
ld_im_bldat = 'Check type of data required'.
ld_im_xzusatz = 'Check type of data required'.
ld_im_simu = 'Check type of data required'.

Contribute (Add Comments)

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 FVKM_CORP_ACT_EXECUTION or its description.