MM
BAPI
RFC
Used the same way in S/4HANA
BAPI_ENTRYSHEET_GETDETAIL Get Service Entry Sheet Details
Reads the header, service lines, account assignments and optional long texts of a service entry sheet. Developers use it in reports on service confirmations and in interfaces that check the current state of a sheet before acting on it. Long texts are returned only when LONG_TEXTS = 'X'; note that RETURN uses type BAPIRETURN1 here.
- Function group
- MLBO
- Remote-enabled (RFC)
- Yes
- Type
- BAPI
Importing parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| ENTRYSHEET | BAPIESSR-SHEET_NO | Entry sheet number | Yes |
| LONG_TEXTS | BAPIMMPARA-SELECTION | Also return long texts | — |
Exporting parameters
| Parameter | Type | Description |
|---|---|---|
| ENTRYSHEET_HEADER | BAPIESSR | Entry sheet header data |
Tables parameters
| Parameter | Type | Description | Required |
|---|---|---|---|
| ENTRYSHEET_SERVICES | BAPIESLL | Service lines | — |
| ENTRYSHEET_ACCOUNT_ASSIGNMENT | BAPIESKN | Account assignments | — |
| ENTRYSHEET_SRV_ACCASS_VALUES | BAPIESKL | Service account assignment values/links | — |
| ENTRYSHEET_HEADER_TEXT | BAPIESSRTX | Header long text | — |
| ENTRYSHEET_SERVICES_TEXTS | BAPIESLLTX | Service line long texts | — |
| RETURN | BAPIRETURN1 | Processing errors that occurred | — |
Call template (ABAP)
A skeleton generated from the interface. It lists mandatory importing parameters, exporting parameters and tables; declare the variables with suitable types in your own program.
CALL FUNCTION 'BAPI_ENTRYSHEET_GETDETAIL'
EXPORTING
entrysheet = lv_entrysheet
IMPORTING
entrysheet_header = lv_entrysheet_header
TABLES
entrysheet_services = lt_entrysheet_services
entrysheet_account_assignment = lt_entrysheet_account_assignment
entrysheet_srv_accass_values = lt_entrysheet_srv_accass_values
entrysheet_header_text = lt_entrysheet_header_text
entrysheet_services_texts = lt_entrysheet_services_texts
return = lt_return.Related tables
Can't find the report you need?
We also build anything that is not in the catalog. Describe it briefly and we will suggest the right solution.