SAP ACAC_ACACOBJNR_TO_FIDOCNR_CONV Function Module for Conversion of ACE Object Number into FI Document Number









ACAC_ACACOBJNR_TO_FIDOCNR_CONV is a standard acac acacobjnr to fidocnr conv SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Conversion of ACE Object Number into FI Document Number 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 acac acacobjnr to fidocnr conv FM, simply by entering the name ACAC_ACACOBJNR_TO_FIDOCNR_CONV into the relevant SAP transaction such as SE37 or SE38.

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



Function ACAC_ACACOBJNR_TO_FIDOCNR_CONV 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 'ACAC_ACACOBJNR_TO_FIDOCNR_CONV'"Conversion of ACE Object Number into FI Document Number
EXPORTING
ID_ACAC_OBJNUMBER = "Object Number of an Accrual Object

IMPORTING
ED_BELNR = "Accounting Document Number
ED_BUZEI = "Line Item Number Within the Accounting Document
ED_GJAHR = "Fiscal Year

EXCEPTIONS
CONVERSION_NOT_POSSIBLE = 1
.



IMPORTING Parameters details for ACAC_ACACOBJNR_TO_FIDOCNR_CONV

ID_ACAC_OBJNUMBER - Object Number of an Accrual Object

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

EXPORTING Parameters details for ACAC_ACACOBJNR_TO_FIDOCNR_CONV

ED_BELNR - Accounting Document Number

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

ED_BUZEI - Line Item Number Within the Accounting Document

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

ED_GJAHR - Fiscal Year

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

EXCEPTIONS details

CONVERSION_NOT_POSSIBLE - Not possible to convert object number into FI document number

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ACAC_ACACOBJNR_TO_FIDOCNR_CONV 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_ed_belnr  TYPE BELNR_D, "   
lv_id_acac_objnumber  TYPE ACAC_OBJNUMBER, "   
lv_conversion_not_possible  TYPE ACAC_OBJNUMBER, "   
lv_ed_buzei  TYPE BUZEI, "   
lv_ed_gjahr  TYPE GJAHR. "   

  CALL FUNCTION 'ACAC_ACACOBJNR_TO_FIDOCNR_CONV'  "Conversion of ACE Object Number into FI Document Number
    EXPORTING
         ID_ACAC_OBJNUMBER = lv_id_acac_objnumber
    IMPORTING
         ED_BELNR = lv_ed_belnr
         ED_BUZEI = lv_ed_buzei
         ED_GJAHR = lv_ed_gjahr
    EXCEPTIONS
        CONVERSION_NOT_POSSIBLE = 1
. " ACAC_ACACOBJNR_TO_FIDOCNR_CONV




ABAP code using 7.40 inline data declarations to call FM ACAC_ACACOBJNR_TO_FIDOCNR_CONV

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!