SAP B45A_FI_DOCUMENT_READ Function Module for 45a driver for amount quantity propose
B45A_FI_DOCUMENT_READ is a standard b45a fi document read SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for 45a driver for amount quantity propose 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 b45a fi document read FM, simply by entering the name B45A_FI_DOCUMENT_READ into the relevant SAP transaction such as SE37 or SE38.
Function Group: BBP_BD_DRIVER_45A
Program Name: SAPLBBP_BD_DRIVER_45A
Main Program: SAPLBBP_BD_DRIVER_45A
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function B45A_FI_DOCUMENT_READ 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 'B45A_FI_DOCUMENT_READ'"45a driver for amount quantity propose.
EXPORTING
* I_AWTYP = "
* I_AWREF = "
* I_AWORG = "
* I_AWSYS = "Logical system
IMPORTING
E_AWTYP = "
E_AWREF = "
E_AWORG = "
E_AWSYS = "
TABLES
* T_BSEG = "
CONTROL_RECORD = "
EXCEPTIONS
WRONG_INPUT = 1 NOT_FOUND = 2
IMPORTING Parameters details for B45A_FI_DOCUMENT_READ
I_AWTYP -
Data type: BBP_ACCHD-AWTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AWREF -
Data type: BBP_ACCHD-AWREFOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AWORG -
Data type: BBP_ACCHD-AWORGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_AWSYS - Logical system
Data type: BBP_ACCHD-AWSYSOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for B45A_FI_DOCUMENT_READ
E_AWTYP -
Data type: BBP_ACCHD-AWTYPOptional: No
Call by Reference: No ( called with pass by value option)
E_AWREF -
Data type: BBP_ACCHD-AWREFOptional: No
Call by Reference: No ( called with pass by value option)
E_AWORG -
Data type: BBP_ACCHD-AWORGOptional: No
Call by Reference: No ( called with pass by value option)
E_AWSYS -
Data type: BBP_ACCHD-AWSYSOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for B45A_FI_DOCUMENT_READ
T_BSEG -
Data type: BBP_IV_BSEG_45BOptional: Yes
Call by Reference: No ( called with pass by value option)
CONTROL_RECORD -
Data type: BBP_CONTROL_RECORDOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
WRONG_INPUT -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
NOT_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for B45A_FI_DOCUMENT_READ 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: | ||||
| lt_t_bseg | TYPE STANDARD TABLE OF BBP_IV_BSEG_45B, " | |||
| lv_e_awtyp | TYPE BBP_ACCHD-AWTYP, " | |||
| lv_i_awtyp | TYPE BBP_ACCHD-AWTYP, " | |||
| lv_wrong_input | TYPE BBP_ACCHD, " | |||
| lv_e_awref | TYPE BBP_ACCHD-AWREF, " | |||
| lv_i_awref | TYPE BBP_ACCHD-AWREF, " | |||
| lv_not_found | TYPE BBP_ACCHD, " | |||
| lt_control_record | TYPE STANDARD TABLE OF BBP_CONTROL_RECORD, " | |||
| lv_e_aworg | TYPE BBP_ACCHD-AWORG, " | |||
| lv_i_aworg | TYPE BBP_ACCHD-AWORG, " | |||
| lv_e_awsys | TYPE BBP_ACCHD-AWSYS, " | |||
| lv_i_awsys | TYPE BBP_ACCHD-AWSYS. " |
|   CALL FUNCTION 'B45A_FI_DOCUMENT_READ' "45a driver for amount quantity propose |
| EXPORTING | ||
| I_AWTYP | = lv_i_awtyp | |
| I_AWREF | = lv_i_awref | |
| I_AWORG | = lv_i_aworg | |
| I_AWSYS | = lv_i_awsys | |
| IMPORTING | ||
| E_AWTYP | = lv_e_awtyp | |
| E_AWREF | = lv_e_awref | |
| E_AWORG | = lv_e_aworg | |
| E_AWSYS | = lv_e_awsys | |
| TABLES | ||
| T_BSEG | = lt_t_bseg | |
| CONTROL_RECORD | = lt_control_record | |
| EXCEPTIONS | ||
| WRONG_INPUT = 1 | ||
| NOT_FOUND = 2 | ||
| . " B45A_FI_DOCUMENT_READ | ||
ABAP code using 7.40 inline data declarations to call FM B45A_FI_DOCUMENT_READ
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.| "SELECT single AWTYP FROM BBP_ACCHD INTO @DATA(ld_e_awtyp). | ||||
| "SELECT single AWTYP FROM BBP_ACCHD INTO @DATA(ld_i_awtyp). | ||||
| "SELECT single AWREF FROM BBP_ACCHD INTO @DATA(ld_e_awref). | ||||
| "SELECT single AWREF FROM BBP_ACCHD INTO @DATA(ld_i_awref). | ||||
| "SELECT single AWORG FROM BBP_ACCHD INTO @DATA(ld_e_aworg). | ||||
| "SELECT single AWORG FROM BBP_ACCHD INTO @DATA(ld_i_aworg). | ||||
| "SELECT single AWSYS FROM BBP_ACCHD INTO @DATA(ld_e_awsys). | ||||
| "SELECT single AWSYS FROM BBP_ACCHD INTO @DATA(ld_i_awsys). | ||||
Search for further information about these or an SAP related objects