SAP Function Modules

ISUWA_GET_OBJECT_ADRESS SAP Function module - Determine Object Address Number







ISUWA_GET_OBJECT_ADRESS 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 ISUWA_GET_OBJECT_ADRESS into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: EEWA_ORDER
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ISUWA_GET_OBJECT_ADRESS - ISUWA GET OBJECT ADRESS





CALL FUNCTION 'ISUWA_GET_OBJECT_ADRESS' "Determine Object Address Number
  IMPORTING
    y_country =                 " land1         Country Key
    y_city_code =               " ad_citynum    City Code for City/Street File
    y_cityp_code =              " ad_citypnm    District Code for City and Street File
    y_region =                  " regiogroup    Regional Structure Grouping
    y_street_code =             " ad_strnum     Street Code for City/Street File
    y_addrnr =                  " ad_addrnum    Address Number
* TABLES
*   t_biw_isuwa_wdo_item =      " biw_isuwa_wdo_item  Business Warehouse Data for Waste Disposal Order Item
  CHANGING
    orderobject =               " ewa_order_object  Item Table for Waste Disposal Order
    .  "  ISUWA_GET_OBJECT_ADRESS

ABAP code example for Function Module ISUWA_GET_OBJECT_ADRESS





The ABAP code below is a full code listing to execute function module ISUWA_GET_OBJECT_ADRESS 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_y_country  TYPE LAND1 ,
ld_y_city_code  TYPE AD_CITYNUM ,
ld_y_cityp_code  TYPE AD_CITYPNM ,
ld_y_region  TYPE REGIOGROUP ,
ld_y_street_code  TYPE AD_STRNUM ,
ld_y_addrnr  TYPE AD_ADDRNUM ,
it_t_biw_isuwa_wdo_item  TYPE STANDARD TABLE OF BIW_ISUWA_WDO_ITEM,"TABLES PARAM
wa_t_biw_isuwa_wdo_item  LIKE LINE OF it_t_biw_isuwa_wdo_item .

DATA(ld_orderobject) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_biw_isuwa_wdo_item to it_t_biw_isuwa_wdo_item. . CALL FUNCTION 'ISUWA_GET_OBJECT_ADRESS' IMPORTING y_country = ld_y_country y_city_code = ld_y_city_code y_cityp_code = ld_y_cityp_code y_region = ld_y_region y_street_code = ld_y_street_code y_addrnr = ld_y_addrnr * TABLES * t_biw_isuwa_wdo_item = it_t_biw_isuwa_wdo_item CHANGING orderobject = ld_orderobject . " ISUWA_GET_OBJECT_ADRESS
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_orderobject  TYPE EWA_ORDER_OBJECT ,
ld_y_country  TYPE LAND1 ,
it_t_biw_isuwa_wdo_item  TYPE STANDARD TABLE OF BIW_ISUWA_WDO_ITEM ,
wa_t_biw_isuwa_wdo_item  LIKE LINE OF it_t_biw_isuwa_wdo_item,
ld_y_city_code  TYPE AD_CITYNUM ,
ld_y_cityp_code  TYPE AD_CITYPNM ,
ld_y_region  TYPE REGIOGROUP ,
ld_y_street_code  TYPE AD_STRNUM ,
ld_y_addrnr  TYPE AD_ADDRNUM .

ld_orderobject = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_biw_isuwa_wdo_item to it_t_biw_isuwa_wdo_item.

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 ISUWA_GET_OBJECT_ADRESS or its description.