SAP Function Modules

FRE_DATASET_READ_WRITE_DELETE SAP Function module - Write, read and delete Datasets







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

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


Pattern for FM FRE_DATASET_READ_WRITE_DELETE - FRE DATASET READ WRITE DELETE





CALL FUNCTION 'FRE_DATASET_READ_WRITE_DELETE' "Write, read and delete Datasets
  EXPORTING
    filename =                  " char30        File to be created, read or deleted
    path_to_file =              " pathintern    Logical path name
    modus =                     " fre_modus     Modus for Database Access Function Modules
    caller =                    " fre_con_interface  Calling Program
*   error =                     " xfeld         Checkbox
*   session_id =                " char15        Char 15
*   is_send_option =            " fre_send_option  Grundeinstellungen für Datenübertragung pflegen
*   no_tab_del =                " xfeld         Checkbox
* TABLES
*   header_if =                 " fre_op_header_if  Header Structure for Communication with F&R
*   item_if =                   " fre_op_item_if  Item Structure for Communication with F&R
*   loc_tty =                   " fre_bif_loc_tty  F&R data interface: List of location data
*   loct_tty =                  " fre_bif_loct_tty  F&R Data Interface Location Text Data
*   locadr_iso_tty =            " fre_bif_locadr_iso_tty  BIF: Location spec. address data incl. ISO fields
*   loctel_iso_tty =            " fre_bif_loctel_iso_tty  Location spec. phone numbers incl. ISO fields
*   locfax_iso_tty =            " fre_bif_locfax_iso_tty  location spec. fax numbers incl. ISO fields
*   locsmtp_tty =               " fre_bif_locsmtp_tty  F&R data interface: List of location spec. internet address
*   locuri_tty =                " fre_bif_locuri_tty  F&R data interface: List of location spec. commun. methods
*   trprod2_tty =               " fre_md_trprod2_tty  F&R Data Interface Transportation Lane for Subranges
*   trp2td_tty =                " fre_md_trp2td_tty  F&R Data Interface Transportation Lane for Subranges TD
*   trprod_tty =                " fre_md_trprod_tty  Fre Transportation Lane for Products
*   tpsrc_tty =                 " fre_md_tpsrc_tty  fre External Procurement data incl ISO fields
*   cscale_tty =                " fre_md_cscale_tty  Fre Price Information for external proc incl ISO fields
*   matkey_iso_tty =            " fre_bif_matkey_iso_tty  F&R Product unit of measures data incl ISO fields
*   mattxt_iso_tty =            " fre_bif_mattxt_iso_tty  F&R Product description data incl ISO fields
*   marm_iso_tty =              " fre_bif_marm_iso_tty  F&R Product unit of measures data incl ISO fields
*   matloc_iso_tty =            " fre_bif_matloc_iso_tty  F&R Location Product data incl ISO fields
*   matloct_tty =               " fre_bif_matloct_tty  F&R Data Interface Time dependent Location Product data
*   layout_tty =                " fre_bif_layout_tty  F&R Data Interface: Layout modules
*   prodh =                     " fre_bif_prodh_tty  Table Type for BAdI FRE_MCH_BEFORE_SEND
*   locgrp_tty =                " fre_bif_locgrp_tty  Location Product data
*   ekorg_assign_tty =          " fre_bif_ekorg_ass_tty
*   procyc_tty =                " fre_md_procyc_tty  Table type for transfer structure for procurement cycles
*   procyctxt_tty =             " fre_md_procyctxt_tty  Table type for transfer structure for procurement cycle text
*   difocc_tty =                " fre_bif_difocc_tty  F&R data interface DIF occurence input table
*   difa_tty =                  " fre_bif_difa_tty  F&R data interface DIF assignment input table
*   difocct_tty =               " fre_bif_difocct_tty  F&R data interface DIF descriptions incl ISO fields
*   abi_head_tty =              " fre_db_abi_head_tty  Table type for FRE_DB_ABI_HEAD
*   abi_pos_tty =               " fre_db_abi_pos_tty  Table type for FRE_DB_ABI_POS
*   proprl_tty =                " fre_bif_proprl_tty  release profile
*   proprlt_tty =               " fre_bif_proprlt_tty  release profile description
*   proprli_tty =               " fre_bif_proprli_tty  release profile detail
*   profas_tty =                " fre_bif_proprla_tty  release profile
*   laymod_tty =                " fre_bif_bapi_layout_tty  Interface table for layout modules to SAp F&R
*   dif_no_sites_tty =          " fre_dif_no_sites_tty  DIF occurrence data
*   contract =                  " fre_contract_51_tty  Contact Data IF Structure
*   it_lane =                   " fre_md_lane_tty  Lanes Data for Comminication with FRE
*   it_lane_td =                " fre_md_lane_td_tty  Time Dependent Lanes Data for Comminication with FRE
*   it_pcost =                  " fre_md_pcost_tty  Fre Price Information for external proc incl ISO fields
*   it_sales_order =            " standard table  Sales Order Data to be transferred to F&R
* CHANGING
*   ct_ts_tty =                 " fre_bif_tsd_exp_tty  Expanded structure for Time Series Data
*   ct_subst_switch_tty =       " fre_subst_switch_if_tty
*   ct_lanetd_tty =             " fre_md_lanetd_tty
*   ct_subst_assign_tty =       " fre_subst_assign_if_tty
*   ct_art_site =               " fre_md_art_site_tty  Table Type: Article Site Combinations
*   ct_art_site_td =            " fre_md_art_site_td_tty  Table Type: Article Site Combinations Time Dependent Data
  EXCEPTIONS
    PATH_NOT_FOUND = 1          "               No physical Path for logical Pathname maintained
    FILE_NOT_FOUND = 2          "               No file with  found or File corrupted
    NO_FILE_CREATED = 3         "               File couldn't get created
    .  "  FRE_DATASET_READ_WRITE_DELETE

ABAP code example for Function Module FRE_DATASET_READ_WRITE_DELETE





The ABAP code below is a full code listing to execute function module FRE_DATASET_READ_WRITE_DELETE 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:
it_header_if  TYPE STANDARD TABLE OF FRE_OP_HEADER_IF,"TABLES PARAM
wa_header_if  LIKE LINE OF it_header_if ,
it_item_if  TYPE STANDARD TABLE OF FRE_OP_ITEM_IF,"TABLES PARAM
wa_item_if  LIKE LINE OF it_item_if ,
it_loc_tty  TYPE STANDARD TABLE OF FRE_BIF_LOC_TTY,"TABLES PARAM
wa_loc_tty  LIKE LINE OF it_loc_tty ,
it_loct_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCT_TTY,"TABLES PARAM
wa_loct_tty  LIKE LINE OF it_loct_tty ,
it_locadr_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCADR_ISO_TTY,"TABLES PARAM
wa_locadr_iso_tty  LIKE LINE OF it_locadr_iso_tty ,
it_loctel_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCTEL_ISO_TTY,"TABLES PARAM
wa_loctel_iso_tty  LIKE LINE OF it_loctel_iso_tty ,
it_locfax_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCFAX_ISO_TTY,"TABLES PARAM
wa_locfax_iso_tty  LIKE LINE OF it_locfax_iso_tty ,
it_locsmtp_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCSMTP_TTY,"TABLES PARAM
wa_locsmtp_tty  LIKE LINE OF it_locsmtp_tty ,
it_locuri_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCURI_TTY,"TABLES PARAM
wa_locuri_tty  LIKE LINE OF it_locuri_tty ,
it_trprod2_tty  TYPE STANDARD TABLE OF FRE_MD_TRPROD2_TTY,"TABLES PARAM
wa_trprod2_tty  LIKE LINE OF it_trprod2_tty ,
it_trp2td_tty  TYPE STANDARD TABLE OF FRE_MD_TRP2TD_TTY,"TABLES PARAM
wa_trp2td_tty  LIKE LINE OF it_trp2td_tty ,
it_trprod_tty  TYPE STANDARD TABLE OF FRE_MD_TRPROD_TTY,"TABLES PARAM
wa_trprod_tty  LIKE LINE OF it_trprod_tty ,
it_tpsrc_tty  TYPE STANDARD TABLE OF FRE_MD_TPSRC_TTY,"TABLES PARAM
wa_tpsrc_tty  LIKE LINE OF it_tpsrc_tty ,
it_cscale_tty  TYPE STANDARD TABLE OF FRE_MD_CSCALE_TTY,"TABLES PARAM
wa_cscale_tty  LIKE LINE OF it_cscale_tty ,
it_matkey_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MATKEY_ISO_TTY,"TABLES PARAM
wa_matkey_iso_tty  LIKE LINE OF it_matkey_iso_tty ,
it_mattxt_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MATTXT_ISO_TTY,"TABLES PARAM
wa_mattxt_iso_tty  LIKE LINE OF it_mattxt_iso_tty ,
it_marm_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MARM_ISO_TTY,"TABLES PARAM
wa_marm_iso_tty  LIKE LINE OF it_marm_iso_tty ,
it_matloc_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MATLOC_ISO_TTY,"TABLES PARAM
wa_matloc_iso_tty  LIKE LINE OF it_matloc_iso_tty ,
it_matloct_tty  TYPE STANDARD TABLE OF FRE_BIF_MATLOCT_TTY,"TABLES PARAM
wa_matloct_tty  LIKE LINE OF it_matloct_tty ,
it_layout_tty  TYPE STANDARD TABLE OF FRE_BIF_LAYOUT_TTY,"TABLES PARAM
wa_layout_tty  LIKE LINE OF it_layout_tty ,
it_prodh  TYPE STANDARD TABLE OF FRE_BIF_PRODH_TTY,"TABLES PARAM
wa_prodh  LIKE LINE OF it_prodh ,
it_locgrp_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCGRP_TTY,"TABLES PARAM
wa_locgrp_tty  LIKE LINE OF it_locgrp_tty ,
it_ekorg_assign_tty  TYPE STANDARD TABLE OF FRE_BIF_EKORG_ASS_TTY,"TABLES PARAM
wa_ekorg_assign_tty  LIKE LINE OF it_ekorg_assign_tty ,
it_procyc_tty  TYPE STANDARD TABLE OF FRE_MD_PROCYC_TTY,"TABLES PARAM
wa_procyc_tty  LIKE LINE OF it_procyc_tty ,
it_procyctxt_tty  TYPE STANDARD TABLE OF FRE_MD_PROCYCTXT_TTY,"TABLES PARAM
wa_procyctxt_tty  LIKE LINE OF it_procyctxt_tty ,
it_difocc_tty  TYPE STANDARD TABLE OF FRE_BIF_DIFOCC_TTY,"TABLES PARAM
wa_difocc_tty  LIKE LINE OF it_difocc_tty ,
it_difa_tty  TYPE STANDARD TABLE OF FRE_BIF_DIFA_TTY,"TABLES PARAM
wa_difa_tty  LIKE LINE OF it_difa_tty ,
it_difocct_tty  TYPE STANDARD TABLE OF FRE_BIF_DIFOCCT_TTY,"TABLES PARAM
wa_difocct_tty  LIKE LINE OF it_difocct_tty ,
it_abi_head_tty  TYPE STANDARD TABLE OF FRE_DB_ABI_HEAD_TTY,"TABLES PARAM
wa_abi_head_tty  LIKE LINE OF it_abi_head_tty ,
it_abi_pos_tty  TYPE STANDARD TABLE OF FRE_DB_ABI_POS_TTY,"TABLES PARAM
wa_abi_pos_tty  LIKE LINE OF it_abi_pos_tty ,
it_proprl_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRL_TTY,"TABLES PARAM
wa_proprl_tty  LIKE LINE OF it_proprl_tty ,
it_proprlt_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRLT_TTY,"TABLES PARAM
wa_proprlt_tty  LIKE LINE OF it_proprlt_tty ,
it_proprli_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRLI_TTY,"TABLES PARAM
wa_proprli_tty  LIKE LINE OF it_proprli_tty ,
it_profas_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRLA_TTY,"TABLES PARAM
wa_profas_tty  LIKE LINE OF it_profas_tty ,
it_laymod_tty  TYPE STANDARD TABLE OF FRE_BIF_BAPI_LAYOUT_TTY,"TABLES PARAM
wa_laymod_tty  LIKE LINE OF it_laymod_tty ,
it_dif_no_sites_tty  TYPE STANDARD TABLE OF FRE_DIF_NO_SITES_TTY,"TABLES PARAM
wa_dif_no_sites_tty  LIKE LINE OF it_dif_no_sites_tty ,
it_contract  TYPE STANDARD TABLE OF FRE_CONTRACT_51_TTY,"TABLES PARAM
wa_contract  LIKE LINE OF it_contract ,
it_it_lane  TYPE STANDARD TABLE OF FRE_MD_LANE_TTY,"TABLES PARAM
wa_it_lane  LIKE LINE OF it_it_lane ,
it_it_lane_td  TYPE STANDARD TABLE OF FRE_MD_LANE_TD_TTY,"TABLES PARAM
wa_it_lane_td  LIKE LINE OF it_it_lane_td ,
it_it_pcost  TYPE STANDARD TABLE OF FRE_MD_PCOST_TTY,"TABLES PARAM
wa_it_pcost  LIKE LINE OF it_it_pcost ,
it_it_sales_order  TYPE STANDARD TABLE OF STANDARD TABLE,"TABLES PARAM
wa_it_sales_order  LIKE LINE OF it_it_sales_order .

DATA(ld_ct_ts_tty) = 'Check type of data required'.
DATA(ld_ct_subst_switch_tty) = 'Check type of data required'.
DATA(ld_ct_lanetd_tty) = 'Check type of data required'.
DATA(ld_ct_subst_assign_tty) = 'Check type of data required'.
DATA(ld_ct_art_site) = 'Check type of data required'.
DATA(ld_ct_art_site_td) = 'Check type of data required'.
DATA(ld_filename) = 'Check type of data required'.
DATA(ld_path_to_file) = 'Check type of data required'.
DATA(ld_modus) = 'Check type of data required'.
DATA(ld_caller) = 'Check type of data required'.
DATA(ld_error) = 'Check type of data required'.
DATA(ld_session_id) = 'Check type of data required'.
DATA(ld_is_send_option) = 'Check type of data required'.
DATA(ld_no_tab_del) = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_header_if to it_header_if.

"populate fields of struture and append to itab
append wa_item_if to it_item_if.

"populate fields of struture and append to itab
append wa_loc_tty to it_loc_tty.

"populate fields of struture and append to itab
append wa_loct_tty to it_loct_tty.

"populate fields of struture and append to itab
append wa_locadr_iso_tty to it_locadr_iso_tty.

"populate fields of struture and append to itab
append wa_loctel_iso_tty to it_loctel_iso_tty.

"populate fields of struture and append to itab
append wa_locfax_iso_tty to it_locfax_iso_tty.

"populate fields of struture and append to itab
append wa_locsmtp_tty to it_locsmtp_tty.

"populate fields of struture and append to itab
append wa_locuri_tty to it_locuri_tty.

"populate fields of struture and append to itab
append wa_trprod2_tty to it_trprod2_tty.

"populate fields of struture and append to itab
append wa_trp2td_tty to it_trp2td_tty.

"populate fields of struture and append to itab
append wa_trprod_tty to it_trprod_tty.

"populate fields of struture and append to itab
append wa_tpsrc_tty to it_tpsrc_tty.

"populate fields of struture and append to itab
append wa_cscale_tty to it_cscale_tty.

"populate fields of struture and append to itab
append wa_matkey_iso_tty to it_matkey_iso_tty.

"populate fields of struture and append to itab
append wa_mattxt_iso_tty to it_mattxt_iso_tty.

"populate fields of struture and append to itab
append wa_marm_iso_tty to it_marm_iso_tty.

"populate fields of struture and append to itab
append wa_matloc_iso_tty to it_matloc_iso_tty.

"populate fields of struture and append to itab
append wa_matloct_tty to it_matloct_tty.

"populate fields of struture and append to itab
append wa_layout_tty to it_layout_tty.

"populate fields of struture and append to itab
append wa_prodh to it_prodh.

"populate fields of struture and append to itab
append wa_locgrp_tty to it_locgrp_tty.

"populate fields of struture and append to itab
append wa_ekorg_assign_tty to it_ekorg_assign_tty.

"populate fields of struture and append to itab
append wa_procyc_tty to it_procyc_tty.

"populate fields of struture and append to itab
append wa_procyctxt_tty to it_procyctxt_tty.

"populate fields of struture and append to itab
append wa_difocc_tty to it_difocc_tty.

"populate fields of struture and append to itab
append wa_difa_tty to it_difa_tty.

"populate fields of struture and append to itab
append wa_difocct_tty to it_difocct_tty.

"populate fields of struture and append to itab
append wa_abi_head_tty to it_abi_head_tty.

"populate fields of struture and append to itab
append wa_abi_pos_tty to it_abi_pos_tty.

"populate fields of struture and append to itab
append wa_proprl_tty to it_proprl_tty.

"populate fields of struture and append to itab
append wa_proprlt_tty to it_proprlt_tty.

"populate fields of struture and append to itab
append wa_proprli_tty to it_proprli_tty.

"populate fields of struture and append to itab
append wa_profas_tty to it_profas_tty.

"populate fields of struture and append to itab
append wa_laymod_tty to it_laymod_tty.

"populate fields of struture and append to itab
append wa_dif_no_sites_tty to it_dif_no_sites_tty.

"populate fields of struture and append to itab
append wa_contract to it_contract.

"populate fields of struture and append to itab
append wa_it_lane to it_it_lane.

"populate fields of struture and append to itab
append wa_it_lane_td to it_it_lane_td.

"populate fields of struture and append to itab
append wa_it_pcost to it_it_pcost.

"populate fields of struture and append to itab
append wa_it_sales_order to it_it_sales_order. . CALL FUNCTION 'FRE_DATASET_READ_WRITE_DELETE' EXPORTING filename = ld_filename path_to_file = ld_path_to_file modus = ld_modus caller = ld_caller * error = ld_error * session_id = ld_session_id * is_send_option = ld_is_send_option * no_tab_del = ld_no_tab_del * TABLES * header_if = it_header_if * item_if = it_item_if * loc_tty = it_loc_tty * loct_tty = it_loct_tty * locadr_iso_tty = it_locadr_iso_tty * loctel_iso_tty = it_loctel_iso_tty * locfax_iso_tty = it_locfax_iso_tty * locsmtp_tty = it_locsmtp_tty * locuri_tty = it_locuri_tty * trprod2_tty = it_trprod2_tty * trp2td_tty = it_trp2td_tty * trprod_tty = it_trprod_tty * tpsrc_tty = it_tpsrc_tty * cscale_tty = it_cscale_tty * matkey_iso_tty = it_matkey_iso_tty * mattxt_iso_tty = it_mattxt_iso_tty * marm_iso_tty = it_marm_iso_tty * matloc_iso_tty = it_matloc_iso_tty * matloct_tty = it_matloct_tty * layout_tty = it_layout_tty * prodh = it_prodh * locgrp_tty = it_locgrp_tty * ekorg_assign_tty = it_ekorg_assign_tty * procyc_tty = it_procyc_tty * procyctxt_tty = it_procyctxt_tty * difocc_tty = it_difocc_tty * difa_tty = it_difa_tty * difocct_tty = it_difocct_tty * abi_head_tty = it_abi_head_tty * abi_pos_tty = it_abi_pos_tty * proprl_tty = it_proprl_tty * proprlt_tty = it_proprlt_tty * proprli_tty = it_proprli_tty * profas_tty = it_profas_tty * laymod_tty = it_laymod_tty * dif_no_sites_tty = it_dif_no_sites_tty * contract = it_contract * it_lane = it_it_lane * it_lane_td = it_it_lane_td * it_pcost = it_it_pcost * it_sales_order = it_it_sales_order * CHANGING * ct_ts_tty = ld_ct_ts_tty * ct_subst_switch_tty = ld_ct_subst_switch_tty * ct_lanetd_tty = ld_ct_lanetd_tty * ct_subst_assign_tty = ld_ct_subst_assign_tty * ct_art_site = ld_ct_art_site * ct_art_site_td = ld_ct_art_site_td EXCEPTIONS PATH_NOT_FOUND = 1 FILE_NOT_FOUND = 2 NO_FILE_CREATED = 3 . " FRE_DATASET_READ_WRITE_DELETE
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 2. "Exception "Add code for exception here ELSEIF SY-SUBRC EQ 3. "Exception "Add code for exception here 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_ct_ts_tty  TYPE FRE_BIF_TSD_EXP_TTY ,
it_header_if  TYPE STANDARD TABLE OF FRE_OP_HEADER_IF ,
wa_header_if  LIKE LINE OF it_header_if,
ld_filename  TYPE CHAR30 ,
it_item_if  TYPE STANDARD TABLE OF FRE_OP_ITEM_IF ,
wa_item_if  LIKE LINE OF it_item_if,
ld_path_to_file  TYPE PATHINTERN ,
ld_ct_subst_switch_tty  TYPE FRE_SUBST_SWITCH_IF_TTY ,
ld_modus  TYPE FRE_MODUS ,
ld_ct_lanetd_tty  TYPE FRE_MD_LANETD_TTY ,
it_loc_tty  TYPE STANDARD TABLE OF FRE_BIF_LOC_TTY ,
wa_loc_tty  LIKE LINE OF it_loc_tty,
ld_caller  TYPE FRE_CON_INTERFACE ,
it_loct_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCT_TTY ,
wa_loct_tty  LIKE LINE OF it_loct_tty,
ld_ct_subst_assign_tty  TYPE FRE_SUBST_ASSIGN_IF_TTY ,
it_locadr_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCADR_ISO_TTY ,
wa_locadr_iso_tty  LIKE LINE OF it_locadr_iso_tty,
ld_ct_art_site  TYPE FRE_MD_ART_SITE_TTY ,
ld_error  TYPE XFELD ,
it_loctel_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCTEL_ISO_TTY ,
wa_loctel_iso_tty  LIKE LINE OF it_loctel_iso_tty,
ld_session_id  TYPE CHAR15 ,
ld_ct_art_site_td  TYPE FRE_MD_ART_SITE_TD_TTY ,
ld_is_send_option  TYPE FRE_SEND_OPTION ,
it_locfax_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCFAX_ISO_TTY ,
wa_locfax_iso_tty  LIKE LINE OF it_locfax_iso_tty,
ld_no_tab_del  TYPE XFELD ,
it_locsmtp_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCSMTP_TTY ,
wa_locsmtp_tty  LIKE LINE OF it_locsmtp_tty,
it_locuri_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCURI_TTY ,
wa_locuri_tty  LIKE LINE OF it_locuri_tty,
it_trprod2_tty  TYPE STANDARD TABLE OF FRE_MD_TRPROD2_TTY ,
wa_trprod2_tty  LIKE LINE OF it_trprod2_tty,
it_trp2td_tty  TYPE STANDARD TABLE OF FRE_MD_TRP2TD_TTY ,
wa_trp2td_tty  LIKE LINE OF it_trp2td_tty,
it_trprod_tty  TYPE STANDARD TABLE OF FRE_MD_TRPROD_TTY ,
wa_trprod_tty  LIKE LINE OF it_trprod_tty,
it_tpsrc_tty  TYPE STANDARD TABLE OF FRE_MD_TPSRC_TTY ,
wa_tpsrc_tty  LIKE LINE OF it_tpsrc_tty,
it_cscale_tty  TYPE STANDARD TABLE OF FRE_MD_CSCALE_TTY ,
wa_cscale_tty  LIKE LINE OF it_cscale_tty,
it_matkey_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MATKEY_ISO_TTY ,
wa_matkey_iso_tty  LIKE LINE OF it_matkey_iso_tty,
it_mattxt_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MATTXT_ISO_TTY ,
wa_mattxt_iso_tty  LIKE LINE OF it_mattxt_iso_tty,
it_marm_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MARM_ISO_TTY ,
wa_marm_iso_tty  LIKE LINE OF it_marm_iso_tty,
it_matloc_iso_tty  TYPE STANDARD TABLE OF FRE_BIF_MATLOC_ISO_TTY ,
wa_matloc_iso_tty  LIKE LINE OF it_matloc_iso_tty,
it_matloct_tty  TYPE STANDARD TABLE OF FRE_BIF_MATLOCT_TTY ,
wa_matloct_tty  LIKE LINE OF it_matloct_tty,
it_layout_tty  TYPE STANDARD TABLE OF FRE_BIF_LAYOUT_TTY ,
wa_layout_tty  LIKE LINE OF it_layout_tty,
it_prodh  TYPE STANDARD TABLE OF FRE_BIF_PRODH_TTY ,
wa_prodh  LIKE LINE OF it_prodh,
it_locgrp_tty  TYPE STANDARD TABLE OF FRE_BIF_LOCGRP_TTY ,
wa_locgrp_tty  LIKE LINE OF it_locgrp_tty,
it_ekorg_assign_tty  TYPE STANDARD TABLE OF FRE_BIF_EKORG_ASS_TTY ,
wa_ekorg_assign_tty  LIKE LINE OF it_ekorg_assign_tty,
it_procyc_tty  TYPE STANDARD TABLE OF FRE_MD_PROCYC_TTY ,
wa_procyc_tty  LIKE LINE OF it_procyc_tty,
it_procyctxt_tty  TYPE STANDARD TABLE OF FRE_MD_PROCYCTXT_TTY ,
wa_procyctxt_tty  LIKE LINE OF it_procyctxt_tty,
it_difocc_tty  TYPE STANDARD TABLE OF FRE_BIF_DIFOCC_TTY ,
wa_difocc_tty  LIKE LINE OF it_difocc_tty,
it_difa_tty  TYPE STANDARD TABLE OF FRE_BIF_DIFA_TTY ,
wa_difa_tty  LIKE LINE OF it_difa_tty,
it_difocct_tty  TYPE STANDARD TABLE OF FRE_BIF_DIFOCCT_TTY ,
wa_difocct_tty  LIKE LINE OF it_difocct_tty,
it_abi_head_tty  TYPE STANDARD TABLE OF FRE_DB_ABI_HEAD_TTY ,
wa_abi_head_tty  LIKE LINE OF it_abi_head_tty,
it_abi_pos_tty  TYPE STANDARD TABLE OF FRE_DB_ABI_POS_TTY ,
wa_abi_pos_tty  LIKE LINE OF it_abi_pos_tty,
it_proprl_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRL_TTY ,
wa_proprl_tty  LIKE LINE OF it_proprl_tty,
it_proprlt_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRLT_TTY ,
wa_proprlt_tty  LIKE LINE OF it_proprlt_tty,
it_proprli_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRLI_TTY ,
wa_proprli_tty  LIKE LINE OF it_proprli_tty,
it_profas_tty  TYPE STANDARD TABLE OF FRE_BIF_PROPRLA_TTY ,
wa_profas_tty  LIKE LINE OF it_profas_tty,
it_laymod_tty  TYPE STANDARD TABLE OF FRE_BIF_BAPI_LAYOUT_TTY ,
wa_laymod_tty  LIKE LINE OF it_laymod_tty,
it_dif_no_sites_tty  TYPE STANDARD TABLE OF FRE_DIF_NO_SITES_TTY ,
wa_dif_no_sites_tty  LIKE LINE OF it_dif_no_sites_tty,
it_contract  TYPE STANDARD TABLE OF FRE_CONTRACT_51_TTY ,
wa_contract  LIKE LINE OF it_contract,
it_it_lane  TYPE STANDARD TABLE OF FRE_MD_LANE_TTY ,
wa_it_lane  LIKE LINE OF it_it_lane,
it_it_lane_td  TYPE STANDARD TABLE OF FRE_MD_LANE_TD_TTY ,
wa_it_lane_td  LIKE LINE OF it_it_lane_td,
it_it_pcost  TYPE STANDARD TABLE OF FRE_MD_PCOST_TTY ,
wa_it_pcost  LIKE LINE OF it_it_pcost,
it_it_sales_order  TYPE STANDARD TABLE OF STANDARD TABLE ,
wa_it_sales_order  LIKE LINE OF it_it_sales_order.

ld_ct_ts_tty = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_header_if to it_header_if.
ld_filename = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_item_if to it_item_if.
ld_path_to_file = 'Check type of data required'.
ld_ct_subst_switch_tty = 'Check type of data required'.
ld_modus = 'Check type of data required'.
ld_ct_lanetd_tty = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_loc_tty to it_loc_tty.
ld_caller = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_loct_tty to it_loct_tty.
ld_ct_subst_assign_tty = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_locadr_iso_tty to it_locadr_iso_tty.
ld_ct_art_site = 'Check type of data required'.
ld_error = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_loctel_iso_tty to it_loctel_iso_tty.
ld_session_id = 'Check type of data required'.
ld_ct_art_site_td = 'Check type of data required'.
ld_is_send_option = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_locfax_iso_tty to it_locfax_iso_tty.
ld_no_tab_del = 'Check type of data required'.

"populate fields of struture and append to itab
append wa_locsmtp_tty to it_locsmtp_tty.

"populate fields of struture and append to itab
append wa_locuri_tty to it_locuri_tty.

"populate fields of struture and append to itab
append wa_trprod2_tty to it_trprod2_tty.

"populate fields of struture and append to itab
append wa_trp2td_tty to it_trp2td_tty.

"populate fields of struture and append to itab
append wa_trprod_tty to it_trprod_tty.

"populate fields of struture and append to itab
append wa_tpsrc_tty to it_tpsrc_tty.

"populate fields of struture and append to itab
append wa_cscale_tty to it_cscale_tty.

"populate fields of struture and append to itab
append wa_matkey_iso_tty to it_matkey_iso_tty.

"populate fields of struture and append to itab
append wa_mattxt_iso_tty to it_mattxt_iso_tty.

"populate fields of struture and append to itab
append wa_marm_iso_tty to it_marm_iso_tty.

"populate fields of struture and append to itab
append wa_matloc_iso_tty to it_matloc_iso_tty.

"populate fields of struture and append to itab
append wa_matloct_tty to it_matloct_tty.

"populate fields of struture and append to itab
append wa_layout_tty to it_layout_tty.

"populate fields of struture and append to itab
append wa_prodh to it_prodh.

"populate fields of struture and append to itab
append wa_locgrp_tty to it_locgrp_tty.

"populate fields of struture and append to itab
append wa_ekorg_assign_tty to it_ekorg_assign_tty.

"populate fields of struture and append to itab
append wa_procyc_tty to it_procyc_tty.

"populate fields of struture and append to itab
append wa_procyctxt_tty to it_procyctxt_tty.

"populate fields of struture and append to itab
append wa_difocc_tty to it_difocc_tty.

"populate fields of struture and append to itab
append wa_difa_tty to it_difa_tty.

"populate fields of struture and append to itab
append wa_difocct_tty to it_difocct_tty.

"populate fields of struture and append to itab
append wa_abi_head_tty to it_abi_head_tty.

"populate fields of struture and append to itab
append wa_abi_pos_tty to it_abi_pos_tty.

"populate fields of struture and append to itab
append wa_proprl_tty to it_proprl_tty.

"populate fields of struture and append to itab
append wa_proprlt_tty to it_proprlt_tty.

"populate fields of struture and append to itab
append wa_proprli_tty to it_proprli_tty.

"populate fields of struture and append to itab
append wa_profas_tty to it_profas_tty.

"populate fields of struture and append to itab
append wa_laymod_tty to it_laymod_tty.

"populate fields of struture and append to itab
append wa_dif_no_sites_tty to it_dif_no_sites_tty.

"populate fields of struture and append to itab
append wa_contract to it_contract.

"populate fields of struture and append to itab
append wa_it_lane to it_it_lane.

"populate fields of struture and append to itab
append wa_it_lane_td to it_it_lane_td.

"populate fields of struture and append to itab
append wa_it_pcost to it_it_pcost.

"populate fields of struture and append to itab
append wa_it_sales_order to it_it_sales_order.

SAP Documentation for FM FRE_DATASET_READ_WRITE_DELETE

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