SAP Reports / Programs

LSVIMFTX SAP ABAP INCLUDE - extended table maintenance: general FORMs for tables







LSVIMFTX is a standard ABAP INCLUDE available within your SAP system (depending on your version and release level). Below is the basic information available for this SAP report including which OBJECTS it interacts with such as TABLES, FUNCTION MODULES, INCLUDES ETC. Also check out the submitted Comments related to this SAP report or see any standard documentation available.

If you would like to execute this report or see the full code listing simply enter LSVIMFTX into the relevant SAP transactions such as SE38 or SE80


ABAP code to call this SAP report using the submit statement

This report can be called from another progam/report simply by using the ABAP SUBMIT statement, see below for example ABAP code snipts of how to do this.






SUBMIT LSVIMFTX. "Basic submit
SUBMIT LSVIMFTX AND RETURN. "Return to original report after report execution complete
SUBMIT LSVIMFTX VIA SELECTION-SCREEN. "Display selection screen of submitted report to user
    See more syntax options for the ABAP SUBMIT statement


Text pool values


Title: Extended table maintenance: General FORMs for tables


INCLUDES used within this REPORT LSVIMFTX

No INCLUDES are used within this REPORT code!


TABLES used within REPORT and the associated SELECT statement:





No SAP DATABASE tables are accessed within this REPORT code!


Function Modules used within report and the associated call statement:

VIEW_FILL_WHERETAB CALL FUNCTION 'VIEW_FILL_WHERETAB' EXPORTING tablename = x_header-maintview * ONLY_CNDS_FOR_KEYFLDS = 'X' "use default SPACE TABLES sellist = short_sellist wheretab = vim_wheretab x_namtab = x_namtab EXCEPTIONS "#EC FB_RC no_conditions_for_table = 01.

VIEW_FILL_WHERETAB CALL FUNCTION 'VIEW_FILL_WHERETAB' EXPORTING tablename = x_header-maintview * ONLY_CNDS_FOR_KEYFLDS = 'X' "use default SPACE TABLES sellist = dba_sellist wheretab = vim_wheretab x_namtab = x_namtab EXCEPTIONS "#EC FB_RC no_conditions_for_table = 01.

VIEW_FILL_WHERETAB * CALL FUNCTION 'VIEW_FILL_WHERETAB' * EXPORTING * tablename = x_header-texttab * only_cnds_for_keyflds = 'X' * TABLES * sellist = tgd_sellist * wheretab = vim_wheretab * x_namtab = x_namtab * EXCEPTIONS * no_conditions_for_table = 01.

VIEW_FILL_WHERETAB CALL FUNCTION 'VIEW_FILL_WHERETAB' EXPORTING tablename = x_header-texttab only_cnds_for_keyflds = 'X' TABLES sellist = short_sellist wheretab = vim_wheretab x_namtab = x_namtab EXCEPTIONS "#EC FB_RC no_conditions_for_table = 01.

VIEW_FILL_WHERETAB CALL FUNCTION 'VIEW_FILL_WHERETAB' EXPORTING tablename = x_header-texttab only_cnds_for_keyflds = 'X' TABLES sellist = tgd_sellist wheretab = vim_wheretab x_namtab = x_namtab EXCEPTIONS "#EC FB_RC no_conditions_for_table = 01.

DB_SELECT_GENERIC_TABLE CALL FUNCTION 'DB_SELECT_GENERIC_TABLE' EXPORTING tablename = x_header-maintview * genkey = gen_key genkey = genkey_ln = x_header-keylen TABLES * inttab = mod_elem_tab inttab = EXCEPTIONS db_error = 12 not_found = 04 wrong_param = 08.

DB_SELECT_GENERIC_TABLE CALL FUNCTION 'DB_SELECT_GENERIC_TABLE' EXPORTING tablename = x_header-texttab * genkey = gen_key genkey = genkey_ln = x_header-textkeylen TABLES * inttab = mod_elem_tab inttab = EXCEPTIONS db_error = 12 not_found = 04 wrong_param = 08.

VIEW_CONVERSION_OUTPUT CALL FUNCTION 'VIEW_CONVERSION_OUTPUT' EXPORTING tabname = cw_table fieldname = cw_sel-viewfield value_intern = * inttype = w_namtab-inttype * datatype = w_namtab-datatype * decimals = w_namtab-decimals * convexit = w_namtab-convexit * sign = w_namtab-sign outputlen = w_namtab-outputlen intlen = w_namtab-flength IMPORTING value_extern = cw_sel-value.

VIEW_FILL_WHERETAB CALL FUNCTION 'VIEW_FILL_WHERETAB' EXPORTING tablename = cw_table only_cnds_for_keyflds = 'X' TABLES sellist = cw_sellist wheretab = vim_wheretab x_namtab = cw_namtab EXCEPTIONS no_conditions_for_table = 01.

VIEW_CONVERSION_OUTPUT CALL FUNCTION 'VIEW_CONVERSION_OUTPUT' EXPORTING value_intern = inttype = cw_namtab-inttype datatype = cw_namtab-datatype decimals = cw_namtab-decimals convexit = cw_namtab-convexit sign = cw_namtab-sign outputlen = cw_namtab-outputlen intlen = cw_namtab-flength IMPORTING value_extern = cw_sel-value.

VIEW_FILL_WHERETAB CALL FUNCTION 'VIEW_FILL_WHERETAB' EXPORTING tablename = cw_table only_cnds_for_keyflds = 'X' TABLES sellist = cw_sellist wheretab = vim_wheretab x_namtab = cw_namtab EXCEPTIONS no_conditions_for_table = 01.



Contribute (Add Comments)

Although this basic information may have limited use it does provide an easy to find location to store any knowledge about this program/report.







The contribute/comments section below therefore offer's an opportunity for anyone to add additional information. This can be anything from useful hints, tips and screen shots to relevant SAP notes or anything else you feel is relevant to this report.

This will then be available for everyone to easily find by simply searching on the report name LSVIMFTX or its description.