SAP Function Modules

ISM_IF_BUPADDR_TO_JGTSADR SAP Function module - Interface for ADRC/BUT000 to JGTSADR







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

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


Pattern for FM ISM_IF_BUPADDR_TO_JGTSADR - ISM IF BUPADDR TO JGTSADR





CALL FUNCTION 'ISM_IF_BUPADDR_TO_JGTSADR' "Interface for ADRC/BUT000 to JGTSADR
  EXPORTING
    in_addr =                   " busadrdata    Addresses (central address admin.)
    in_but000 =                 " but000        BP: Addresses
*   in_jgtsadr =                " jgtsadr       IS-M/SD: Extended Adress Management
*   in_jytadrcode =             " jytadrcode    IS-M: Address Data with Coding and Postal Units
  IMPORTING
    out_jgtsadr =               " jgtsadr       IS-M: Extended Address Management
* TABLES
*   t_adr2 =                    " adr2          Telephone numbers (central address admin.)
*   t_adr3 =                    " adr3          Fax numbers (central address admin.)
*   t_adr4 =                    " adr4          Teletex numbers (central address admin.)
*   t_adr5 =                    " adr5          Telex numbers (central address administration)
*   t_adr6 =                    " adr6          SMTP numbers (central address admin.)
*   t_adrt =                    " adrt          Communication Data Text (Business Address Services)
    .  "  ISM_IF_BUPADDR_TO_JGTSADR

ABAP code example for Function Module ISM_IF_BUPADDR_TO_JGTSADR





The ABAP code below is a full code listing to execute function module ISM_IF_BUPADDR_TO_JGTSADR 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_out_jgtsadr  TYPE JGTSADR ,
it_t_adr2  TYPE STANDARD TABLE OF ADR2,"TABLES PARAM
wa_t_adr2  LIKE LINE OF it_t_adr2 ,
it_t_adr3  TYPE STANDARD TABLE OF ADR3,"TABLES PARAM
wa_t_adr3  LIKE LINE OF it_t_adr3 ,
it_t_adr4  TYPE STANDARD TABLE OF ADR4,"TABLES PARAM
wa_t_adr4  LIKE LINE OF it_t_adr4 ,
it_t_adr5  TYPE STANDARD TABLE OF ADR5,"TABLES PARAM
wa_t_adr5  LIKE LINE OF it_t_adr5 ,
it_t_adr6  TYPE STANDARD TABLE OF ADR6,"TABLES PARAM
wa_t_adr6  LIKE LINE OF it_t_adr6 ,
it_t_adrt  TYPE STANDARD TABLE OF ADRT,"TABLES PARAM
wa_t_adrt  LIKE LINE OF it_t_adrt .

DATA(ld_in_addr) = 'Check type of data required'.
DATA(ld_in_but000) = 'Check type of data required'.
DATA(ld_in_jgtsadr) = 'Check type of data required'.
DATA(ld_in_jytadrcode) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_adr2 to it_t_adr2.

"populate fields of struture and append to itab
append wa_t_adr3 to it_t_adr3.

"populate fields of struture and append to itab
append wa_t_adr4 to it_t_adr4.

"populate fields of struture and append to itab
append wa_t_adr5 to it_t_adr5.

"populate fields of struture and append to itab
append wa_t_adr6 to it_t_adr6.

"populate fields of struture and append to itab
append wa_t_adrt to it_t_adrt. . CALL FUNCTION 'ISM_IF_BUPADDR_TO_JGTSADR' EXPORTING in_addr = ld_in_addr in_but000 = ld_in_but000 * in_jgtsadr = ld_in_jgtsadr * in_jytadrcode = ld_in_jytadrcode IMPORTING out_jgtsadr = ld_out_jgtsadr * TABLES * t_adr2 = it_t_adr2 * t_adr3 = it_t_adr3 * t_adr4 = it_t_adr4 * t_adr5 = it_t_adr5 * t_adr6 = it_t_adr6 * t_adrt = it_t_adrt . " ISM_IF_BUPADDR_TO_JGTSADR
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_out_jgtsadr  TYPE JGTSADR ,
ld_in_addr  TYPE BUSADRDATA ,
it_t_adr2  TYPE STANDARD TABLE OF ADR2 ,
wa_t_adr2  LIKE LINE OF it_t_adr2,
ld_in_but000  TYPE BUT000 ,
it_t_adr3  TYPE STANDARD TABLE OF ADR3 ,
wa_t_adr3  LIKE LINE OF it_t_adr3,
ld_in_jgtsadr  TYPE JGTSADR ,
it_t_adr4  TYPE STANDARD TABLE OF ADR4 ,
wa_t_adr4  LIKE LINE OF it_t_adr4,
ld_in_jytadrcode  TYPE JYTADRCODE ,
it_t_adr5  TYPE STANDARD TABLE OF ADR5 ,
wa_t_adr5  LIKE LINE OF it_t_adr5,
it_t_adr6  TYPE STANDARD TABLE OF ADR6 ,
wa_t_adr6  LIKE LINE OF it_t_adr6,
it_t_adrt  TYPE STANDARD TABLE OF ADRT ,
wa_t_adrt  LIKE LINE OF it_t_adrt.

ld_in_addr = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_adr2 to it_t_adr2.
ld_in_but000 = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_adr3 to it_t_adr3.
ld_in_jgtsadr = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_adr4 to it_t_adr4.
ld_in_jytadrcode = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_t_adr5 to it_t_adr5.

"populate fields of struture and append to itab
append wa_t_adr6 to it_t_adr6.

"populate fields of struture and append to itab
append wa_t_adrt to it_t_adrt.

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