TXW_VIEW_DATA_PERFORM 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 TXW_VIEW_DATA_PERFORM into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
TXW5
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'TXW_VIEW_DATA_PERFORM' "View data output (display or file)
EXPORTING
it_vw_meta = " txw_vw_meta_t internal: Table for View meta data
it_desc = " txw_vdt_desc_t Table of View Data Description
is_params = " txw_vb_params Parameters for DART Viewbuilder
it_trange = " rsds_trange
it_sourcefiles = " txw_vdt_sourcefile_t Table of Sourcefiles for a view
* id_flag_complete = " c
it_meta_ori = " txw_vw_meta_t internal: Table for View meta data
IMPORTING
gd_total_count = " i Count of totalling records
TABLES
et_lines = " generated Source code
CHANGING
cd_tabref = " data Reference to table
cd_viewid = " num4 key counter for DB table key
EXCEPTIONS
NO_RECORDS = 1 " no records
. " TXW_VIEW_DATA_PERFORM
The ABAP code below is a full code listing to execute function module TXW_VIEW_DATA_PERFORM 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).
| ld_gd_total_count | TYPE I , |
| it_et_lines | TYPE STANDARD TABLE OF STRING,"TABLES PARAM |
| wa_et_lines | LIKE LINE OF it_et_lines . |
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_cd_tabref | TYPE DATA , |
| ld_gd_total_count | TYPE I , |
| ld_it_vw_meta | TYPE TXW_VW_META_T , |
| it_et_lines | TYPE STANDARD TABLE OF STRING , |
| wa_et_lines | LIKE LINE OF it_et_lines, |
| ld_cd_viewid | TYPE NUM4 , |
| ld_it_desc | TYPE TXW_VDT_DESC_T , |
| ld_is_params | TYPE TXW_VB_PARAMS , |
| ld_it_trange | TYPE RSDS_TRANGE , |
| ld_it_sourcefiles | TYPE TXW_VDT_SOURCEFILE_T , |
| ld_id_flag_complete | TYPE C , |
| ld_it_meta_ori | TYPE TXW_VW_META_T . |
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 TXW_VIEW_DATA_PERFORM or its description.
TXW_VIEW_DATA_PERFORM - View data output (display or file) TXW_VIEW_DATA_OUTPUT - View data output (display or file) TXW_VIEW_DATA_META_GET - Get metadata for segment from file TXW_VIEW_DATA_EXECUTE - Execute view TXW_VIEW_DATA_DESCRIPTION - View Description TXW_VIEW_DATA_CREATE_FILE - Create Viewfile in View directory