SAP Function Modules

FMFG_ASSET_TRANSFER SAP Function module - US Federal Asset Transfer Extension







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

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


Pattern for FM FMFG_ASSET_TRANSFER - FMFG ASSET TRANSFER





CALL FUNCTION 'FMFG_ASSET_TRANSFER' "US Federal Asset Transfer Extension
  EXPORTING
    is_rlambu =                 " rlambu        Help structure for asset line item
    is_acchd =                  " acchd         Interface to Accounting: Header Information
    it_anepi =                  " ty_anepi      ANEPI
  CHANGING
    ct_accit =                  " taccit        Table of ACCIT items (should be delete if core creates one)
    ct_acccr =                  " tacccr        Table of acccr items (should be delete if core provides one)
    .  "  FMFG_ASSET_TRANSFER

ABAP code example for Function Module FMFG_ASSET_TRANSFER





The ABAP code below is a full code listing to execute function module FMFG_ASSET_TRANSFER 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(ld_ct_accit) = 'Check type of data required'.
DATA(ld_ct_acccr) = 'Check type of data required'.
DATA(ld_is_rlambu) = 'Check type of data required'.
DATA(ld_is_acchd) = 'Check type of data required'.
DATA(ld_it_anepi) = 'Check type of data required'. . CALL FUNCTION 'FMFG_ASSET_TRANSFER' EXPORTING is_rlambu = ld_is_rlambu is_acchd = ld_is_acchd it_anepi = ld_it_anepi CHANGING ct_accit = ld_ct_accit ct_acccr = ld_ct_acccr . " FMFG_ASSET_TRANSFER
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_ct_accit  TYPE TACCIT ,
ld_is_rlambu  TYPE RLAMBU ,
ld_ct_acccr  TYPE TACCCR ,
ld_is_acchd  TYPE ACCHD ,
ld_it_anepi  TYPE TY_ANEPI .

ld_ct_accit = 'Check type of data required'.
ld_is_rlambu = 'Check type of data required'.
ld_ct_acccr = 'Check type of data required'.
ld_is_acchd = 'Check type of data required'.
ld_it_anepi = 'Check type of data required'.

SAP Documentation for FM FMFG_ASSET_TRANSFER


Function Module FMFG_ASSET_TRANSFER was created for the US Federal Cancelled Fund Asset Transfer process. In US Federal Accounting, when a ...See here for full SAP fm documentation

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