SAP API_RE_BUSOBJ_GET_DETAIL Function Module for
API_RE_BUSOBJ_GET_DETAIL is a standard api re busobj get detail 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 api re busobj get detail FM, simply by entering the name API_RE_BUSOBJ_GET_DETAIL into the relevant SAP transaction such as SE37 or SE38.
Function Group: RECA_API_BUS_OBJECT
Program Name: SAPLRECA_API_BUS_OBJECT
Main Program: SAPLRECA_API_BUS_OBJECT
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function API_RE_BUSOBJ_GET_DETAIL 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 'API_RE_BUSOBJ_GET_DETAIL'".
EXPORTING
* ID_OBJNR = "
* ID_DATETO = RECA0_DATE-MAX "
* ID_OBJTYPE_FILTER = "
* IT_OBJTYPE_FILTER = "
* IF_ENTIRE_PERIOD_ONLY = ABAP_TRUE "
* ID_INTRENO = "
* ID_BUSTYPE = "
* ID_BUSKEY = "
* ID_OBJTYPE = "
* ID_IDENT_KEY = "
* ID_IDENT = "
* IO_OBJECT = "
* ID_DATEFROM = RECA0_DATE-MIN "
IMPORTING
ES_BUS_OBJECT = "
ES_TRANSP_KEYS = "
ED_OBJTYPE = "
ED_XOBJTYPE = "
ED_IDENT_KEY = "
ED_ACTIVITY = "
EF_ARCHIVED = "
ET_SUB_OBJECTS = "
EXCEPTIONS
ERROR = 1
IMPORTING Parameters details for API_RE_BUSOBJ_GET_DETAIL
ID_OBJNR -
Data type: RECAOBJNROptional: Yes
Call by Reference: No ( called with pass by value option)
ID_DATETO -
Data type: RECADATETODefault: RECA0_DATE-MAX
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_OBJTYPE_FILTER -
Data type: RECAOBJTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_OBJTYPE_FILTER -
Data type: RE_T_OBJTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
IF_ENTIRE_PERIOD_ONLY -
Data type: ABAP_BOOLDefault: ABAP_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ID_INTRENO -
Data type: RECAINTRENOOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_BUSTYPE -
Data type: SWO_OBJTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_BUSKEY -
Data type: SWO_TYPEIDOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_OBJTYPE -
Data type: RECAOBJTYPEOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_IDENT_KEY -
Data type: RECAIDENTKEYOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_IDENT -
Data type: RECAIDENTOptional: Yes
Call by Reference: No ( called with pass by value option)
IO_OBJECT -
Data type: OBJECTOptional: Yes
Call by Reference: No ( called with pass by value option)
ID_DATEFROM -
Data type: RECADATEFROMDefault: RECA0_DATE-MIN
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for API_RE_BUSOBJ_GET_DETAIL
ES_BUS_OBJECT -
Data type: BAPI_RE_BUS_OBJECT_INTOptional: No
Call by Reference: Yes
ES_TRANSP_KEYS -
Data type: BAPI_RE_TRANSP_KEYS_INTOptional: No
Call by Reference: Yes
ED_OBJTYPE -
Data type: RECAOBJTYPEOptional: No
Call by Reference: Yes
ED_XOBJTYPE -
Data type: RECAXOBJTYPEOptional: No
Call by Reference: Yes
ED_IDENT_KEY -
Data type: RECAIDENTKEYOptional: No
Call by Reference: Yes
ED_ACTIVITY -
Data type: RECAACTIVITYOptional: No
Call by Reference: Yes
EF_ARCHIVED -
Data type: RECABOOLOptional: No
Call by Reference: Yes
ET_SUB_OBJECTS -
Data type: RE_T_OBJNROptional: No
Call by Reference: Yes
EXCEPTIONS details
ERROR -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for API_RE_BUSOBJ_GET_DETAIL 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_error | TYPE STRING, " | |||
| lv_id_objnr | TYPE RECAOBJNR, " | |||
| lv_es_bus_object | TYPE BAPI_RE_BUS_OBJECT_INT, " | |||
| lv_id_dateto | TYPE RECADATETO, " RECA0_DATE-MAX | |||
| lv_id_objtype_filter | TYPE RECAOBJTYPE, " | |||
| lv_it_objtype_filter | TYPE RE_T_OBJTYPE, " | |||
| lv_if_entire_period_only | TYPE ABAP_BOOL, " ABAP_TRUE | |||
| lv_id_intreno | TYPE RECAINTRENO, " | |||
| lv_es_transp_keys | TYPE BAPI_RE_TRANSP_KEYS_INT, " | |||
| lv_ed_objtype | TYPE RECAOBJTYPE, " | |||
| lv_id_bustype | TYPE SWO_OBJTYP, " | |||
| lv_id_buskey | TYPE SWO_TYPEID, " | |||
| lv_ed_xobjtype | TYPE RECAXOBJTYPE, " | |||
| lv_id_objtype | TYPE RECAOBJTYPE, " | |||
| lv_ed_ident_key | TYPE RECAIDENTKEY, " | |||
| lv_ed_activity | TYPE RECAACTIVITY, " | |||
| lv_id_ident_key | TYPE RECAIDENTKEY, " | |||
| lv_id_ident | TYPE RECAIDENT, " | |||
| lv_ef_archived | TYPE RECABOOL, " | |||
| lv_io_object | TYPE OBJECT, " | |||
| lv_et_sub_objects | TYPE RE_T_OBJNR, " | |||
| lv_id_datefrom | TYPE RECADATEFROM. " RECA0_DATE-MIN |
|   CALL FUNCTION 'API_RE_BUSOBJ_GET_DETAIL' " |
| EXPORTING | ||
| ID_OBJNR | = lv_id_objnr | |
| ID_DATETO | = lv_id_dateto | |
| ID_OBJTYPE_FILTER | = lv_id_objtype_filter | |
| IT_OBJTYPE_FILTER | = lv_it_objtype_filter | |
| IF_ENTIRE_PERIOD_ONLY | = lv_if_entire_period_only | |
| ID_INTRENO | = lv_id_intreno | |
| ID_BUSTYPE | = lv_id_bustype | |
| ID_BUSKEY | = lv_id_buskey | |
| ID_OBJTYPE | = lv_id_objtype | |
| ID_IDENT_KEY | = lv_id_ident_key | |
| ID_IDENT | = lv_id_ident | |
| IO_OBJECT | = lv_io_object | |
| ID_DATEFROM | = lv_id_datefrom | |
| IMPORTING | ||
| ES_BUS_OBJECT | = lv_es_bus_object | |
| ES_TRANSP_KEYS | = lv_es_transp_keys | |
| ED_OBJTYPE | = lv_ed_objtype | |
| ED_XOBJTYPE | = lv_ed_xobjtype | |
| ED_IDENT_KEY | = lv_ed_ident_key | |
| ED_ACTIVITY | = lv_ed_activity | |
| EF_ARCHIVED | = lv_ef_archived | |
| ET_SUB_OBJECTS | = lv_et_sub_objects | |
| EXCEPTIONS | ||
| ERROR = 1 | ||
| . " API_RE_BUSOBJ_GET_DETAIL | ||
ABAP code using 7.40 inline data declarations to call FM API_RE_BUSOBJ_GET_DETAIL
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.| DATA(ld_id_dateto) | = RECA0_DATE-MAX. | |||
| DATA(ld_if_entire_period_only) | = ABAP_TRUE. | |||
| DATA(ld_id_datefrom) | = RECA0_DATE-MIN. | |||
Search for further information about these or an SAP related objects