SAP RFIDPT_ASSET_AUC Function Module for Asset Under Construction









RFIDPT_ASSET_AUC is a standard rfidpt asset auc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Asset Under Construction processing and below is the pattern details for this FM, 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 rfidpt asset auc FM, simply by entering the name RFIDPT_ASSET_AUC into the relevant SAP transaction such as SE37 or SE38.

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



Function RFIDPT_ASSET_AUC 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 'RFIDPT_ASSET_AUC'"Asset Under Construction
EXPORTING
I_ANLA = "Asset Master Record Segment
* I_AFABE = "Real depreciation area
I_GJAHR = "Fiscal Year
* I_KTOPL = "Chart of Accounts

IMPORTING
E_AUC = "Active (Yes/No)
E_ANLKL_AUC = "Asset class
E_AUC_RETIRED = "Active (Yes/No)
E_PARTIAL_TRANSFER = "Active (Yes/No)
E_ANLA_KEY_CA = "ANLA Key - completed asset
E_ANLKL_CA = "Asset class
E_KTANSW_CA = "Bal. sheet account: Acquisition and production costs

TABLES
IT_ACLASS_AUC = "Structure of a range table for a character (8) field
IT_TTYPE_AUC = "Structure of a Range Table for a 3 Character Field
* ET_ANLA_KEY_CA = "ANLA Key

EXCEPTIONS
REC_NOT_FOUND = 1 REC_NOT_FOUND_CA = 2 NO_VALID_AUC_PARAMETERS = 3 ERROR_ASSET_DOCS = 4 ERROR_ASSET_FI_ACC = 5 ERROR_ASSET_RETIREMENT = 6
.



IMPORTING Parameters details for RFIDPT_ASSET_AUC

I_ANLA - Asset Master Record Segment

Data type: ANLA
Optional: No
Call by Reference: Yes

I_AFABE - Real depreciation area

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

I_GJAHR - Fiscal Year

Data type: GJAHR
Optional: No
Call by Reference: Yes

I_KTOPL - Chart of Accounts

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

EXPORTING Parameters details for RFIDPT_ASSET_AUC

E_AUC - Active (Yes/No)

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

E_ANLKL_AUC - Asset class

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

E_AUC_RETIRED - Active (Yes/No)

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

E_PARTIAL_TRANSFER - Active (Yes/No)

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

E_ANLA_KEY_CA - ANLA Key - completed asset

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

E_ANLKL_CA - Asset class

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

E_KTANSW_CA - Bal. sheet account: Acquisition and production costs

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

TABLES Parameters details for RFIDPT_ASSET_AUC

IT_ACLASS_AUC - Structure of a range table for a character (8) field

Data type: RANGE_C8
Optional: No
Call by Reference: Yes

IT_TTYPE_AUC - Structure of a Range Table for a 3 Character Field

Data type: RANGE_C3
Optional: No
Call by Reference: Yes

ET_ANLA_KEY_CA - ANLA Key

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

EXCEPTIONS details

REC_NOT_FOUND - Asset number not found (AUC)

Data type:
Optional: No
Call by Reference: Yes

REC_NOT_FOUND_CA - Asset number not found (Completed Asset)

Data type:
Optional: No
Call by Reference: Yes

NO_VALID_AUC_PARAMETERS - Empty AUC Ranges-Trans.Type or Asset Class

Data type:
Optional: No
Call by Reference: Yes

ERROR_ASSET_DOCS - Error accessing Asset documents

Data type:
Optional: No
Call by Reference: Yes

ERROR_ASSET_FI_ACC - Error accessing Asset FI accounts

Data type:
Optional: No
Call by Reference: Yes

ERROR_ASSET_RETIREMENT - Error accessing Asset Retirement module

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RFIDPT_ASSET_AUC 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_auc  TYPE DFIDPT_ACTIVE_FL, "   
lv_i_anla  TYPE ANLA, "   
lt_it_aclass_auc  TYPE STANDARD TABLE OF RANGE_C8, "   
lv_rec_not_found  TYPE RANGE_C8, "   
lv_i_afabe  TYPE AFABE_D, "   
lv_e_anlkl_auc  TYPE ANLKL, "   
lt_it_ttype_auc  TYPE STANDARD TABLE OF RANGE_C3, "   
lv_rec_not_found_ca  TYPE RANGE_C3, "   
lv_i_gjahr  TYPE GJAHR, "   
lv_e_auc_retired  TYPE DFIDPT_ACTIVE_FL, "   
lt_et_anla_key_ca  TYPE STANDARD TABLE OF ANLA_KEY, "   
lv_no_valid_auc_parameters  TYPE ANLA_KEY, "   
lv_i_ktopl  TYPE KTOPL, "   
lv_error_asset_docs  TYPE KTOPL, "   
lv_e_partial_transfer  TYPE DFIDPT_ACTIVE_FL, "   
lv_e_anla_key_ca  TYPE ANLA_KEY, "   
lv_error_asset_fi_acc  TYPE ANLA_KEY, "   
lv_e_anlkl_ca  TYPE ANLKL, "   
lv_error_asset_retirement  TYPE ANLKL, "   
lv_e_ktansw_ca  TYPE KTANSW. "   

  CALL FUNCTION 'RFIDPT_ASSET_AUC'  "Asset Under Construction
    EXPORTING
         I_ANLA = lv_i_anla
         I_AFABE = lv_i_afabe
         I_GJAHR = lv_i_gjahr
         I_KTOPL = lv_i_ktopl
    IMPORTING
         E_AUC = lv_e_auc
         E_ANLKL_AUC = lv_e_anlkl_auc
         E_AUC_RETIRED = lv_e_auc_retired
         E_PARTIAL_TRANSFER = lv_e_partial_transfer
         E_ANLA_KEY_CA = lv_e_anla_key_ca
         E_ANLKL_CA = lv_e_anlkl_ca
         E_KTANSW_CA = lv_e_ktansw_ca
    TABLES
         IT_ACLASS_AUC = lt_it_aclass_auc
         IT_TTYPE_AUC = lt_it_ttype_auc
         ET_ANLA_KEY_CA = lt_et_anla_key_ca
    EXCEPTIONS
        REC_NOT_FOUND = 1
        REC_NOT_FOUND_CA = 2
        NO_VALID_AUC_PARAMETERS = 3
        ERROR_ASSET_DOCS = 4
        ERROR_ASSET_FI_ACC = 5
        ERROR_ASSET_RETIREMENT = 6
. " RFIDPT_ASSET_AUC




ABAP code using 7.40 inline data declarations to call FM RFIDPT_ASSET_AUC

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!