SAP Function Modules

ISH_PPT_API_MAP_NEW2OLD_PARAM SAP Function module - IS-H: API Layer for Mapping New to Old Param. for Patient with Prov Dat







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

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


Pattern for FM ISH_PPT_API_MAP_NEW2OLD_PARAM - ISH PPT API MAP NEW2OLD PARAM





CALL FUNCTION 'ISH_PPT_API_MAP_NEW2OLD_PARAM' "IS-H: API  Layer for Mapping New to Old Param. for Patient with Prov Data
  EXPORTING
    it_nppt =                   " ish_t_bupa_hcroles  Standard Table for Structure RNBUPA_HCROLES
*   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_npap =                   " ish_t_npap    Standard Table for Patient with Provisional Master Data
    et_nadr =                   " ish_yt_nadr   IS-H: Table for Address Data
    ett_telnr =                 " 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_PPT_API_MAP_NEW2OLD_PARAM

ABAP code example for Function Module ISH_PPT_API_MAP_NEW2OLD_PARAM





The ABAP code below is a full code listing to execute function module ISH_PPT_API_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_npap  TYPE ISH_T_NPAP ,
ld_et_nadr  TYPE ISH_YT_NADR ,
ld_ett_telnr  TYPE ISH_TT_NADR_TELNR ,
ld_et_rc  TYPE ISH_BAPIRET2_TAB_TYPE .

DATA(ld_it_nppt) = '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_PPT_API_MAP_NEW2OLD_PARAM' EXPORTING it_nppt = ld_it_nppt * i_address_map = ld_i_address_map * i_telnr_map = ld_i_telnr_map IMPORTING et_npap = ld_et_npap et_nadr = ld_et_nadr ett_telnr = ld_ett_telnr et_rc = ld_et_rc . " ISH_PPT_API_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_npap  TYPE ISH_T_NPAP ,
ld_it_nppt  TYPE ISH_T_BUPA_HCROLES ,
ld_et_nadr  TYPE ISH_YT_NADR ,
ld_i_address_map  TYPE ISH_ON_OFF ,
ld_ett_telnr  TYPE ISH_TT_NADR_TELNR ,
ld_i_telnr_map  TYPE ISH_ON_OFF ,
ld_et_rc  TYPE ISH_BAPIRET2_TAB_TYPE .

ld_it_nppt = 'Check type of data required'.
ld_i_address_map = 'Check type of data required'.
ld_i_telnr_map = 'Check type of data required'.

SAP Documentation for FM ISH_PPT_API_MAP_NEW2OLD_PARAM


This function module imports an entire table of HC Patients w. Prov. Data details and address details (IT_NPPT) and maps the details to the ...See here for full SAP fm documentation



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