FAMT2 SAP (Invoice List Items by Customer) Structure details
Description: Invoice List Items by Customer
Structure field list including key, data, relationships and ABAP select examples
FAMT2 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 "Invoice List Items by Customer" 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_FAMT2 TYPE FAMT2.
The FAMT2 table consists of various fields, each holding specific information or linking keys about Invoice List Items by Customer 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 FAMT2 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 | Assigned to domain | ALPHA | VBELN | VF | |
POSNR | Billing item | POSNR_VF | NUMC | 6 | Assigned to domain | 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 | Assigned to domain | FKART | |||
NETWR | Net Value in Document Currency | NETWR | CURR | 15(2) | WERTV8 | ||||
WAERK | SD Document Currency | WAERK | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
VKORG | Sales Organization | VKORG | CHAR | 4 | Assigned to domain | VKORG | VKO | C_VKORG | |
VTWEG | Distribution Channel | VTWEG | CHAR | 2 | Assigned to domain | VTWEG | VTW | C_VTWEG | |
LLAND | Country of Destination | LLAND | CHAR | 3 | Assigned to domain | LAND1 | VLL | ||
BZIRK | Sales district | BZIRK | CHAR | 6 | Assigned to domain | BZIRK | BZI | ||
KDGRP | Customer group | KDGRP | CHAR | 2 | Assigned to domain | KDGRP | VKD | ||
KUNNR | Payer | KUNRG | CHAR | 10 | Assigned to domain | 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 | ||
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 | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BELNR | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
VBELN_VF | Billing Document | VBELN_VF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | VF | |
KUNAG | Sold-to party | KUNAG | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | VAG | |
NAME2 | Name of the sold-to party | NAME_AG | CHAR | 35 | NAME | ||||
ADRN2 | Address number of the sold-to party | ADRNR_AG | CHAR | 10 | Assigned to domain | ALPHA | ADRNR | ||
MWSBP | Tax amount in document currency | MWSBP | CURR | 13(2) | WERTV7 | ||||
KWERT_RL | Value of Remuneration List Condition of Indiv. Billing Doc. | KWERT_RL | CURR | 13(2) | WERTV7 | ||||
MWSBP_RL | Amount of Tax in Remuneration List Condition | MWSBP_RL | CURR | 13(2) | WERTV7 | ||||
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 FAMT2 using ABAP code?
As FAMT2 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 FAMT2 as there is no data to select.How to access SAP table FAMT2
Within an ECC or HANA version of SAP you can also view further information about FAMT2 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