SAP Function Modules

ISH_PNT_OBJ_MAP_NEW2OLD_PARAM SAP Function module - Map New Patient Parameters to Old







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

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


Pattern for FM ISH_PNT_OBJ_MAP_NEW2OLD_PARAM - ISH PNT OBJ MAP NEW2OLD PARAM





CALL FUNCTION 'ISH_PNT_OBJ_MAP_NEW2OLD_PARAM' "Map New Patient Parameters to Old
  EXPORTING
    it_npnt =                   " ish_t_bupa_hcroles  Standard Table for Structure RNBUPA_HCROLES
*   it_npnt_hcrelships =        " ish_t_hcrelships  Standard Table for Structure RNHCRELSHIPS
*   it_npnt_bupa_hcrelships =   " ish_t_bupa_pntrel  Standard Table for Structure RNBUPA_PNTREL
*   i_address_map = ' '         " ish_on_off    IS-H: Boolean Data Type for ON (= "X") and OFF (= " ")
*   i_telnr_map = ' '           " ish_on_off    IS-H: Boolean Data Type for ON (= "X") and OFF (= " ")
  IMPORTING
    et_npat =                   " ish_t_npat    Standard Table for Patient Data
    et_npae =                   " ish_t_npae    IS-H: Table Type NPAE
    et_nadr =                   " ish_yt_nadr   IS-H: Table for Address Data
    et_nadr2 =                  " ish_yt_nadr   IS-H: Table for Address Data
    et_nadr_abg =               " ish_yt_nadr   IS-H: Table for Address Data
    et_nadr_an1 =               " ish_yt_nadr   IS-H: Table for Address Data
    et_nadr_an2 =               " ish_yt_nadr   IS-H: Table for Address Data
    ett_telnr =                 " ish_tt_nadr_telnr  Telephone Numbers for More Than One Addresses(NADR)
    ett_telnr2 =                " ish_tt_nadr_telnr  Telephone Numbers for More Than One Addresses(NADR)
    ett_telnr_abg =             " ish_tt_nadr_telnr  Telephone Numbers for More Than One Addresses(NADR)
    ett_telnr_an1 =             " ish_tt_nadr_telnr  Telephone Numbers for More Than One Addresses(NADR)
    ett_telnr_an2 =             " ish_tt_nadr_telnr  Telephone Numbers for More Than One Addresses(NADR)
    et_rc =                     " ish_bapiret2_tab_type  IS-H: Table Type for Structure BAPIRET2
    .  "  ISH_PNT_OBJ_MAP_NEW2OLD_PARAM

ABAP code example for Function Module ISH_PNT_OBJ_MAP_NEW2OLD_PARAM





The ABAP code below is a full code listing to execute function module ISH_PNT_OBJ_MAP_NEW2OLD_PARAM 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_npat  TYPE ISH_T_NPAT ,
ld_et_npae  TYPE ISH_T_NPAE ,
ld_et_nadr  TYPE ISH_YT_NADR ,
ld_et_nadr2  TYPE ISH_YT_NADR ,
ld_et_nadr_abg  TYPE ISH_YT_NADR ,
ld_et_nadr_an1  TYPE ISH_YT_NADR ,
ld_et_nadr_an2  TYPE ISH_YT_NADR ,
ld_ett_telnr  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr2  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr_abg  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr_an1  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr_an2  TYPE ISH_TT_NADR_TELNR ,
ld_et_rc  TYPE ISH_BAPIRET2_TAB_TYPE .

DATA(ld_it_npnt) = 'Check type of data required'.
DATA(ld_it_npnt_hcrelships) = 'Check type of data required'.
DATA(ld_it_npnt_bupa_hcrelships) = 'Check type of data required'.
DATA(ld_i_address_map) = 'Check type of data required'.
DATA(ld_i_telnr_map) = 'Check type of data required'. . CALL FUNCTION 'ISH_PNT_OBJ_MAP_NEW2OLD_PARAM' EXPORTING it_npnt = ld_it_npnt * it_npnt_hcrelships = ld_it_npnt_hcrelships * it_npnt_bupa_hcrelships = ld_it_npnt_bupa_hcrelships * i_address_map = ld_i_address_map * i_telnr_map = ld_i_telnr_map IMPORTING et_npat = ld_et_npat et_npae = ld_et_npae et_nadr = ld_et_nadr et_nadr2 = ld_et_nadr2 et_nadr_abg = ld_et_nadr_abg et_nadr_an1 = ld_et_nadr_an1 et_nadr_an2 = ld_et_nadr_an2 ett_telnr = ld_ett_telnr ett_telnr2 = ld_ett_telnr2 ett_telnr_abg = ld_ett_telnr_abg ett_telnr_an1 = ld_ett_telnr_an1 ett_telnr_an2 = ld_ett_telnr_an2 et_rc = ld_et_rc . " ISH_PNT_OBJ_MAP_NEW2OLD_PARAM
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_npat  TYPE ISH_T_NPAT ,
ld_it_npnt  TYPE ISH_T_BUPA_HCROLES ,
ld_et_npae  TYPE ISH_T_NPAE ,
ld_it_npnt_hcrelships  TYPE ISH_T_HCRELSHIPS ,
ld_et_nadr  TYPE ISH_YT_NADR ,
ld_it_npnt_bupa_hcrelships  TYPE ISH_T_BUPA_PNTREL ,
ld_et_nadr2  TYPE ISH_YT_NADR ,
ld_i_address_map  TYPE ISH_ON_OFF ,
ld_et_nadr_abg  TYPE ISH_YT_NADR ,
ld_i_telnr_map  TYPE ISH_ON_OFF ,
ld_et_nadr_an1  TYPE ISH_YT_NADR ,
ld_et_nadr_an2  TYPE ISH_YT_NADR ,
ld_ett_telnr  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr2  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr_abg  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr_an1  TYPE ISH_TT_NADR_TELNR ,
ld_ett_telnr_an2  TYPE ISH_TT_NADR_TELNR ,
ld_et_rc  TYPE ISH_BAPIRET2_TAB_TYPE .

ld_it_npnt = 'Check type of data required'.
ld_it_npnt_hcrelships = 'Check type of data required'.
ld_it_npnt_bupa_hcrelships = 'Check type of data required'.
ld_i_address_map = 'Check type of data required'.
ld_i_telnr_map = '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 ISH_PNT_OBJ_MAP_NEW2OLD_PARAM or its description.