API_RE_RS_ROOMRSDATA_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name API_RE_RS_ROOMRSDATA_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
REOR_API_RESERVATION
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'API_RE_RS_ROOMRSDATA_GET' "
EXPORTING
* id_ooidext = " reorooidext External Identification
id_rsobjtype = " reorrsobjtype Reservation Object Type
* id_capacity = " reorcapacity
* id_rstype = " reorrstype Reservation Type
* is_datetimeperiod = " reca_time_period Period From-To
* id_occupant = " reoroccupant Business Partner Number
* id_occupantname = " rebpxname Short Description of Business Partner
* id_responsible = " reorrsresponsible Business Partner Number
* id_responsiblename = " rebpxname Short Description of Business Partner
* id_occupantuser = " reoroccupantuser
* id_responsibleuser = " reorresponsibleuser
* if_isoccupantuser = " reorisrsuser
* if_isresponsibleuser = " reorisrsuser
* if_optimumindicatorrequested = " recabool General Yes/No Field
* if_freeroomrequested = ABAP_TRUE " recabool General Yes/No Field
* if_partlyfreeroomrequested = ABAP_TRUE " recabool General Yes/No Field
* if_occupiedroomrequested = ABAP_TRUE " recabool General Yes/No Field
* if_seriesrequested = ABAP_TRUE " recabool General Yes/No Field
* if_onetimerequested = ABAP_TRUE " recabool General Yes/No Field
* if_servicesrequested = ABAP_TRUE " recabool General Yes/No Field
* it_neighborhood = " re_t_rebd_neighborhood Location
* it_fittings = " re_t_rebdfixfitcharact Fixtures and Fittings Characteristic
* it_recurrencerule = " re_t_recurrence_rule Recurrence Rule
IMPORTING
et_offerobject = " re_t_offer_object Offered Object
et_service = " re_t_api_service_type Service Type
et_reservationdata = " re_t_api_reservation_data Reservation Data
et_fitting = " re_t_api_fitting Fixtures and Fittings Characteristics
. " API_RE_RS_ROOMRSDATA_GET
The ABAP code below is a full code listing to execute function module API_RE_RS_ROOMRSDATA_GET including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_et_offerobject | TYPE RE_T_OFFER_OBJECT , |
| ld_et_service | TYPE RE_T_API_SERVICE_TYPE , |
| ld_et_reservationdata | TYPE RE_T_API_RESERVATION_DATA , |
| ld_et_fitting | TYPE RE_T_API_FITTING . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_et_offerobject | TYPE RE_T_OFFER_OBJECT , |
| ld_id_ooidext | TYPE REOROOIDEXT , |
| ld_et_service | TYPE RE_T_API_SERVICE_TYPE , |
| ld_id_rsobjtype | TYPE REORRSOBJTYPE , |
| ld_et_reservationdata | TYPE RE_T_API_RESERVATION_DATA , |
| ld_id_capacity | TYPE REORCAPACITY , |
| ld_et_fitting | TYPE RE_T_API_FITTING , |
| ld_id_rstype | TYPE REORRSTYPE , |
| ld_is_datetimeperiod | TYPE RECA_TIME_PERIOD , |
| ld_id_occupant | TYPE REOROCCUPANT , |
| ld_id_occupantname | TYPE REBPXNAME , |
| ld_id_responsible | TYPE REORRSRESPONSIBLE , |
| ld_id_responsiblename | TYPE REBPXNAME , |
| ld_id_occupantuser | TYPE REOROCCUPANTUSER , |
| ld_id_responsibleuser | TYPE REORRESPONSIBLEUSER , |
| ld_if_isoccupantuser | TYPE REORISRSUSER , |
| ld_if_isresponsibleuser | TYPE REORISRSUSER , |
| ld_if_optimumindicatorrequested | TYPE RECABOOL , |
| ld_if_freeroomrequested | TYPE RECABOOL , |
| ld_if_partlyfreeroomrequested | TYPE RECABOOL , |
| ld_if_occupiedroomrequested | TYPE RECABOOL , |
| ld_if_seriesrequested | TYPE RECABOOL , |
| ld_if_onetimerequested | TYPE RECABOOL , |
| ld_if_servicesrequested | TYPE RECABOOL , |
| ld_it_neighborhood | TYPE RE_T_REBD_NEIGHBORHOOD , |
| ld_it_fittings | TYPE RE_T_REBDFIXFITCHARACT , |
| ld_it_recurrencerule | TYPE RE_T_RECURRENCE_RULE . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name API_RE_RS_ROOMRSDATA_GET or its description.