SAP Function Modules

API_RE_RS_ROOMRSDATA_GET SAP Function module







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
remote enabled module settings


Pattern for FM API_RE_RS_ROOMRSDATA_GET - API RE RS ROOMRSDATA GET





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

ABAP code example for Function Module 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).

DATA:
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 .

DATA(ld_id_ooidext) = 'Check type of data required'.
DATA(ld_id_rsobjtype) = 'Check type of data required'.
DATA(ld_id_capacity) = 'Check type of data required'.
DATA(ld_id_rstype) = 'Check type of data required'.
DATA(ld_is_datetimeperiod) = 'Check type of data required'.
DATA(ld_id_occupant) = 'Check type of data required'.
DATA(ld_id_occupantname) = 'Check type of data required'.
DATA(ld_id_responsible) = 'Check type of data required'.
DATA(ld_id_responsiblename) = 'Check type of data required'.
DATA(ld_id_occupantuser) = 'Check type of data required'.
DATA(ld_id_responsibleuser) = 'Check type of data required'.
DATA(ld_if_isoccupantuser) = 'Check type of data required'.
DATA(ld_if_isresponsibleuser) = 'Check type of data required'.
DATA(ld_if_optimumindicatorrequested) = 'Check type of data required'.
DATA(ld_if_freeroomrequested) = 'Check type of data required'.
DATA(ld_if_partlyfreeroomrequested) = 'Check type of data required'.
DATA(ld_if_occupiedroomrequested) = 'Check type of data required'.
DATA(ld_if_seriesrequested) = 'Check type of data required'.
DATA(ld_if_onetimerequested) = 'Check type of data required'.
DATA(ld_if_servicesrequested) = 'Check type of data required'.
DATA(ld_it_neighborhood) = 'Check type of data required'.
DATA(ld_it_fittings) = 'Check type of data required'.
DATA(ld_it_recurrencerule) = 'Check type of data required'. . CALL FUNCTION 'API_RE_RS_ROOMRSDATA_GET' EXPORTING * id_ooidext = ld_id_ooidext id_rsobjtype = ld_id_rsobjtype * id_capacity = ld_id_capacity * id_rstype = ld_id_rstype * is_datetimeperiod = ld_is_datetimeperiod * id_occupant = ld_id_occupant * id_occupantname = ld_id_occupantname * id_responsible = ld_id_responsible * id_responsiblename = ld_id_responsiblename * id_occupantuser = ld_id_occupantuser * id_responsibleuser = ld_id_responsibleuser * if_isoccupantuser = ld_if_isoccupantuser * if_isresponsibleuser = ld_if_isresponsibleuser * if_optimumindicatorrequested = ld_if_optimumindicatorrequested * if_freeroomrequested = ld_if_freeroomrequested * if_partlyfreeroomrequested = ld_if_partlyfreeroomrequested * if_occupiedroomrequested = ld_if_occupiedroomrequested * if_seriesrequested = ld_if_seriesrequested * if_onetimerequested = ld_if_onetimerequested * if_servicesrequested = ld_if_servicesrequested * it_neighborhood = ld_it_neighborhood * it_fittings = ld_it_fittings * it_recurrencerule = ld_it_recurrencerule IMPORTING et_offerobject = ld_et_offerobject et_service = ld_et_service et_reservationdata = ld_et_reservationdata et_fitting = ld_et_fitting . " API_RE_RS_ROOMRSDATA_GET
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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 .

ld_id_ooidext = 'Check type of data required'.
ld_id_rsobjtype = 'Check type of data required'.
ld_id_capacity = 'Check type of data required'.
ld_id_rstype = 'Check type of data required'.
ld_is_datetimeperiod = 'Check type of data required'.
ld_id_occupant = 'Check type of data required'.
ld_id_occupantname = 'Check type of data required'.
ld_id_responsible = 'Check type of data required'.
ld_id_responsiblename = 'Check type of data required'.
ld_id_occupantuser = 'Check type of data required'.
ld_id_responsibleuser = 'Check type of data required'.
ld_if_isoccupantuser = 'Check type of data required'.
ld_if_isresponsibleuser = 'Check type of data required'.
ld_if_optimumindicatorrequested = 'Check type of data required'.
ld_if_freeroomrequested = 'Check type of data required'.
ld_if_partlyfreeroomrequested = 'Check type of data required'.
ld_if_occupiedroomrequested = 'Check type of data required'.
ld_if_seriesrequested = 'Check type of data required'.
ld_if_onetimerequested = 'Check type of data required'.
ld_if_servicesrequested = 'Check type of data required'.
ld_it_neighborhood = 'Check type of data required'.
ld_it_fittings = 'Check type of data required'.
ld_it_recurrencerule = 'Check type of data required'.

Contribute (Add Comments)

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.