FAGL_S_AP_ITEM_UI SAP (Customer Lines) Structure details
Description: Customer Lines
Related tables to FAGL_S_AP_ITEM_UI
Access table FAGL_S_AP_ITEM_UI
Structure field list including key, data, relationships and ABAP select examples
FAGL_S_AP_ITEM_UI 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 "Customer Lines" 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_FAGL_S_AP_ITEM_UI TYPE FAGL_S_AP_ITEM_UI.
The FAGL_S_AP_ITEM_UI table consists of various fields, each holding specific information or linking keys about Customer Lines data available in SAP. These include NEW_LINE (General Flag), POS_ID_UI (Item Number), CURR_NO (Currency Number: 1 = Document, 2 = Local, from 3 Parallel), ACCOUNT (Customer or Vendor).. 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 FAGL_S_AP_ITEM_UI 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 |
OBJECT_KEY | Object Key | CRMT_BSP_OBJECTKEY | CHAR | 100 | |||||
NEW_LINE | General Flag | FLAG | CHAR | 1 | FLAG | ||||
POS_ID_UI | Item Number | FAGL_POS_ID_UI | CHAR | 6 | CHAR6 | ||||
CURR_NO | Currency Number: 1 = Document, 2 = Local, from 3 Parallel | 0 | |||||||
ACCOUNT | Customer or Vendor | FAGL_ACCOUNT | CHAR | 10 | CHAR10 | ||||
VENDOR_NO | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
GL_ACCOUNT | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
SHKZG | Debit/Credit Indicator | SHKZG | CHAR | 1 | SHKZG | ||||
CURR_TYPE | Currency Type and Valuation View | CURTP | CHAR | 2 | CURTP | ||||
AMT_DOCCUR | Amount in document currency | WRBTR | CURR | 13(2) | WERT7 | ||||
TAX_AMOUNT | Tax Amount in Document Currency | FWSTE | CURR | 13(2) | WERT7 | ||||
DISC_BASE | Amount Eligible for Cash Discount in Document Currency | SKFBT | CURR | 13(2) | WERT7 | ||||
DISC_AMT | Cash Discount Amount in the Currency of the Currency Types | ACSKT | CURR | 13(2) | WERT7 | ||||
REF_KEY_1 | Business partner reference key | XREF1 | CHAR | 12 | CHAR12 | ||||
REF_KEY_2 | Business partner reference key | XREF2 | CHAR | 12 | CHAR12 | ||||
REF_KEY_3 | Reference key for line item | XREF3 | CHAR | 20 | CHAR20 | ||||
COMP_CODE | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BUS_AREA | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
PMNTTRMS | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
NETTERMS | Net Payment Terms Period | DZBD3T | DEC | 3 | ZBDXT | ||||
BLINE_DATE | Baseline Date for Due Date Calculation | DZFBDT | DATS | 8 | DATUM | ||||
DSCT_DAYS1 | Cash discount days 1 | DZBD1T | DEC | 3 | ZBDXT | ||||
DSCT_DAYS2 | Cash discount days 2 | DZBD2T | DEC | 3 | ZBDXT | ||||
DSCT_DAYS3 | Net Payment Terms Period | DZBD3T | DEC | 3 | ZBDXT | ||||
DSCT_PCT1 | Cash Discount Percentage 1 | DZBD1P | DEC | 5(3) | PRZ23 | ||||
DSCT_PCT2 | Cash Discount Percentage 2 | DZBD2P | DEC | 5(3) | PRZ23 | ||||
PYMT_METH | Payment Method | DZLSCH | CHAR | 1 | Assigned to domain | ZLSCH | |||
PMTMTHSUPL | Payment Method Supplement | UZAWE | CHAR | 2 | Assigned to domain | UZAWE | |||
PMNT_BLOCK | Payment Block Key | DZLSPR | CHAR | 1 | Assigned to domain | ZAHLS | SPE | ||
SCBANK_IND | State Central Bank Indicator | LZBKZ | CHAR | 3 | Assigned to domain | LZBKZ | |||
SUPCOUNTRY | Supplying Country | LANDL | CHAR | 3 | Assigned to domain | LAND1 | |||
SUPCOUNTRY_ISO | Supplier country ISO code | LANDL_ISO | CHAR | 2 | INTCA | ||||
BLLSRV_IND | Service Indicator (Foreign Payment) | DIEKZ | CHAR | 1 | DIEKZ | ||||
ALLOC_NMBR | Assignment Number | DZUONR | CHAR | 18 | ZUONR | ||||
ITEM_TEXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
PO_SUB_NO | ISR Subscriber Number | ESRNR | CHAR | 11 | ESRNR | ||||
PO_CHECKDG | ISR Check Digit | ESRPZ | CHAR | 2 | CHAR2 | ||||
PO_REF_NO | ISR Reference Number | ESRRE | CHAR | 27 | ALPHA | ESRRE | |||
W_TAX_CODE | Withholding Tax Code | QSSKZ | CHAR | 2 | Assigned to domain | QSSKZ | |||
BUSINESSPLACE | Business Place | BUPLA | CHAR | 4 | Assigned to domain | J_1BBRANCH | |||
SECTIONCODE | Section Code | SECCO | CHAR | 4 | Assigned to domain | SECCO | SECCO_ABA | ||
INSTR1 | Instruction key 1 | DTAT16 | NUMC | 2 | Assigned to domain | DTWSX | |||
INSTR2 | Instruction key 2 | DTAT17 | NUMC | 2 | Assigned to domain | DTWSX | |||
INSTR3 | Instruction key 3 | DTAT18 | NUMC | 2 | Assigned to domain | DTWSX | |||
INSTR4 | Instruction key 4 | DTAT19 | NUMC | 2 | Assigned to domain | DTWSX | |||
BRANCH | Account Number of the Branch | FILKD | CHAR | 10 | ALPHA | MAXKK | |||
PYMT_CUR | Currency for Automatic Payment | PYCUR | CUKY | 5 | Assigned to domain | WAERS | |||
PYMT_AMT | Amount in Payment Currency | PYAMT | CURR | 13(2) | WERT7 | ||||
PYMT_CUR_ISO | ISO code currency | WAERS_ISO | CHAR | 3 | ISOCD | ||||
SP_GL_IND | Special G/L Indicator | UMSKZ | CHAR | 1 | Assigned to domain | UMSKZ | |||
TAX_CODE | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
TAX_DATE | Date for defining tax rates | TXDAT | DATS | 8 | DATUM | ||||
TAXJURCODE | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
ALT_PAYEE | Alternative payee | VVABWZE | CHAR | 10 | Assigned to domain | ALPHA | KUNNR | ||
ALT_PAYEE_BANK | Bank type of alternative payer | VVBVTYPABW | CHAR | 4 | BVTYP | ||||
PARTNER_BK | Partner Bank Type | BVTYP | CHAR | 4 | BVTYP | ||||
BANK_ID | Short Key for a House Bank | HBKID | CHAR | 5 | Assigned to domain | HBKID | |||
ZBFIX | Fixed Payment Terms | DZBFIX | CHAR | 1 | ZBFIX | ||||
PAYMT_REF | Payment Reference | KIDNO | CHAR | 30 | CHAR30 | ||||
XINVE | Indicator: Capital Goods Affected? | XINVE | CHAR | 1 | XFELD | ||||
PENRC | Reason for late payment | PENRC | CHAR | 2 | CHAR2 | FM_PENRC | |||
ERLKZ | Completed Indicator for Open Items | ERLKZ | CHAR | 1 | ERLKZ | ||||
CURRENCY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS |
Key field | Non-key field |
How do I retrieve data from SAP structure FAGL_S_AP_ITEM_UI using ABAP code?
As FAGL_S_AP_ITEM_UI 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 FAGL_S_AP_ITEM_UI as there is no data to select.How to access SAP table FAGL_S_AP_ITEM_UI
Within an ECC or HANA version of SAP you can also view further information about FAGL_S_AP_ITEM_UI 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