SAP APAR_EBPP_READ_T042ZEBPP Function Module for
APAR_EBPP_READ_T042ZEBPP is a standard apar ebpp read t042zebpp SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 apar ebpp read t042zebpp FM, simply by entering the name APAR_EBPP_READ_T042ZEBPP into the relevant SAP transaction such as SE37 or SE38.
Function Group: APAR_EBPP_SERVICES
Program Name: SAPLAPAR_EBPP_SERVICES
Main Program: SAPLAPAR_EBPP_SERVICES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function APAR_EBPP_READ_T042ZEBPP 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 'APAR_EBPP_READ_T042ZEBPP'".
EXPORTING
* I_ZBUKR = "
* I_BUKRS = "
* I_PMCLA = "
* I_ONLY_CHECK_ACTIVE = "
IMPORTING
E_T042ZEBPP = "
E_ACTIVE = "
EXCEPTIONS
INVALID_CALL = 1 NO_PAYING_COMPANY_CODE = 2 NO_PAYMENT_METHOD_FOUND = 3
IMPORTING Parameters details for APAR_EBPP_READ_T042ZEBPP
I_ZBUKR -
Data type: T042B-ZBUKROptional: Yes
Call by Reference: Yes
I_BUKRS -
Data type: T001-BUKRSOptional: Yes
Call by Reference: Yes
I_PMCLA -
Data type: T042ZEBPP-PMCLAOptional: Yes
Call by Reference: Yes
I_ONLY_CHECK_ACTIVE -
Data type: COptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for APAR_EBPP_READ_T042ZEBPP
E_T042ZEBPP -
Data type: T042ZEBPPOptional: No
Call by Reference: Yes
E_ACTIVE -
Data type: COptional: No
Call by Reference: Yes
EXCEPTIONS details
INVALID_CALL -
Data type:Optional: No
Call by Reference: Yes
NO_PAYING_COMPANY_CODE -
Data type:Optional: No
Call by Reference: Yes
NO_PAYMENT_METHOD_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for APAR_EBPP_READ_T042ZEBPP 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_i_zbukr | TYPE T042B-ZBUKR, " | |||
| lv_e_t042zebpp | TYPE T042ZEBPP, " | |||
| lv_invalid_call | TYPE T042ZEBPP, " | |||
| lv_i_bukrs | TYPE T001-BUKRS, " | |||
| lv_e_active | TYPE C, " | |||
| lv_no_paying_company_code | TYPE C, " | |||
| lv_i_pmcla | TYPE T042ZEBPP-PMCLA, " | |||
| lv_no_payment_method_found | TYPE T042ZEBPP, " | |||
| lv_i_only_check_active | TYPE C. " |
|   CALL FUNCTION 'APAR_EBPP_READ_T042ZEBPP' " |
| EXPORTING | ||
| I_ZBUKR | = lv_i_zbukr | |
| I_BUKRS | = lv_i_bukrs | |
| I_PMCLA | = lv_i_pmcla | |
| I_ONLY_CHECK_ACTIVE | = lv_i_only_check_active | |
| IMPORTING | ||
| E_T042ZEBPP | = lv_e_t042zebpp | |
| E_ACTIVE | = lv_e_active | |
| EXCEPTIONS | ||
| INVALID_CALL = 1 | ||
| NO_PAYING_COMPANY_CODE = 2 | ||
| NO_PAYMENT_METHOD_FOUND = 3 | ||
| . " APAR_EBPP_READ_T042ZEBPP | ||
ABAP code using 7.40 inline data declarations to call FM APAR_EBPP_READ_T042ZEBPP
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 ZBUKR FROM T042B INTO @DATA(ld_i_zbukr). | ||||
| "SELECT single BUKRS FROM T001 INTO @DATA(ld_i_bukrs). | ||||
| "SELECT single PMCLA FROM T042ZEBPP INTO @DATA(ld_i_pmcla). | ||||
Search for further information about these or an SAP related objects