FAMTV SAP (View: Billing Items by Material) Structure details
Description: View: Billing Items by Material
Structure field list including key, data, relationships and ABAP select examples
FAMTV is a standard SAP Structure so does not store data like a database table does. It can be used to define the fields of other actual tables or to process "View: Billing Items by Material" Information within sap ABAP programs.
This is done by declaring abap internal tables, work areas or database tables based on this Structure. These can then be used to store and process the required data appropriately.
i.e. DATA: wa_FAMTV TYPE FAMTV.
The FAMTV table consists of various fields, each holding specific information or linking keys about View: Billing Items by Material data available in SAP. These include POSNR (Billing item), SELKZ (Selection indicator for list screens), ERNAM (Name of Person who Created the Object), FKART (Billing Type).. See below for full list along with technical details, documentation, text table, check tables, foreign key relationships, conversion routines, relevant tcodes and example ABAP select code etc. .
Delivery Class:Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP FAMTV structure fields - Full list of fields found in SAP data dictionary
Field | Description | Data Element | Data Type | length (Dec) | Check table | Conversion Routine | Domain Name | MemoryID | SHLP |
VBELN | Billing Document | VBELN_VF | CHAR | 10 | VBUK | ALPHA | VBELN | VF | |
POSNR | Billing item | POSNR_VF | NUMC | 6 | VBUP | POSNR | |||
SELKZ | Selection indicator for list screens | SELKZ_LIST | CHAR | 1 | SELKZ | ||||
ERNAM | Name of Person who Created the Object | ERNAM | CHAR | 12 | USNAM | ||||
FKART | Billing Type | FKART | CHAR | 4 | TVFK | FKART | |||
NETWR | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
WAERK | SD Document Currency | WAERK | CUKY | 5 | TCURC | WAERS | FWS | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | TVKO | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | TVTW | VTWEG | VTW | C_VTWEG | |
LLAND | Country of Destination | LLAND | CHAR | 3 | T005 | LAND1 | VLL | ||
BZIRK | Sales district | BZIRK | CHAR | 6 | T171 | BZIRK | BZI | ||
KDGRP | Customer group | KDGRP | CHAR | 2 | T151 | KDGRP | VKD | ||
KUNNR | Payer | KUNRG | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
NAME1 | Name of the payer | NAME_RG | CHAR | 35 | NAME | ||||
ADRNR | Address nummer of the payer | ADRNR_RG | CHAR | 10 | Assigned to domain | ALPHA | ADRNR | ||
MATNR | Material Number | MATNR | CHAR | 18 | MARA | MATN1 | MATNR | MAT | S_MAT1 |
ARKTX | Short text for sales order item | ARKTX | CHAR | 40 | TEXT40 | ||||
PRODH | Product hierarchy | PRODH_D | CHAR | 18 | T179 | PRODH | VPR | ||
WERKS | Plant | WERKS_D | CHAR | 4 | T001W | WERKS | WRK | H_T001W_C | |
CHARG | Batch Number | CHARG_D | CHAR | 10 | MCHA | CHARG | CHA | ||
FKIMG | Actual Invoiced Quantity | FKIMG | QUAN | 13(3) | MENG13 | ||||
VRKME | Sales unit | VRKME | UNIT | 3 | T006 | CUNIT | MEINS | ||
STATUS | Status of the document | STATUS_VB | CHAR | 1 | STATV | ||||
STATUS_BEZ | Status Description | STATUS_BEZ | CHAR | 20 | TEXT20 | ||||
FKTYP | Billing category | FKTYP | CHAR | 1 | FKTYP | ||||
FKDAT | Billing date for billing index and printout | FKDAT | DATS | 8 | DATUM | ||||
VBTYP | SD document category | VBTYP | CHAR | 1 | VBTYP | ||||
SHKZG | Returns item | SHKZG_VF | CHAR | 1 | SHKZG_VF | ||||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
ACTIV | List Level in which the Line Item is Active | ACTIV | NUMC | 2 | NUM02 | ||||
DUMMY | Dummy function in length 1 | DUMMY | CHAR | 1 | DUMMY |
Key field | Non-key field |
How do I retrieve data from SAP structure FAMTV using ABAP code?
As FAMTV is a database structure and not a table it does not store any data in the SAP data dictionary. The ABAP SELECT statement is therefore not appropriate and can not be performed on FAMTV as there is no data to select.How to access SAP table FAMTV
Within an ECC or HANA version of SAP you can also view further information about FAMTV and the data within it using relevant transactions such asSE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).
Search for further information about these or an SAP related objects