KNB1 SAP (Customer Master (Company Code)) Table details
Dictionary Type: Table
Description: Customer Master (Company Code)
Description: Customer Master (Company Code)
Table field list including key, data, relationships and ABAP select examples
KNB1 is a standard SAP Table which is used to store Customer Master (Company Code) data and is available within R/3 SAP systems depending on the version and release level.
The KNB1 table consists of various fields, each holding specific information or linking keys about Customer Master (Company Code) data available in SAP. These include KUNNR (Customer Numbers), BUKRS (Company Code), PERNR (Personnel Number), ERDAT (Date on which the Record Was Created).. 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: A - Application table (master and transaction data)Display/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
SAP KNB1 table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
KUNNR | Customer Numbers | KUNNR | CHAR | 10 | KNA1 | ALPHA | KUNNR | KUN | C_KUNNR |
BUKRS | Company Code | BUKRS | CHAR | 4 | T001 | BUKRS | BUK | C_T001 | |
PERNR | Personnel Number | PERNR_D | NUMC | 8 | PERNR | PER | |||
ERDAT | Date on which the Record Was Created | ERDAT_RF | DATS | 8 | DATUM | ||||
ERNAM | Name of Person who Created the Object | ERNAM_RF | CHAR | 12 | USNAM | ||||
SPERR | Posting block for company code | SPERB_B | CHAR | 1 | XFELD | ||||
LOEVM | Deletion Flag for Master Record (Company Code Level) | LOEVM_B | CHAR | 1 | XFELD | ||||
ZUAWA | Key for sorting according to assignment numbers | DZUAWA | CHAR | 3 | TZUN | ZUAWA | |||
BUSAB | Accounting clerk | BUSAB | CHAR | 2 | T001S | BUSAB | |||
AKONT | Reconciliation Account in General Ledger | AKONT | CHAR | 10 | SKB1 | ALPHA | SAKNR | ||
BEGRU | Authorization Group | BRGRU | CHAR | 4 | Assigned to domain | BRGRU | |||
KNRZE | Head office account number (in branch accounts) | KNRZE | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
KNRZB | Account number of an alternative payer | KNRZB | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
ZAMIM | Indicator: Payment notice to customer (with cleared items)? | DZAMIM | CHAR | 1 | XFELD | ||||
ZAMIV | Indicator: payment notice to sales department? | DZAMIV | CHAR | 1 | XFELD | ||||
ZAMIR | Indicator: payment notice to legal department? | DZAMIR | CHAR | 1 | XFELD | ||||
ZAMIB | Indicator: Payment notice to the accounting department ? | DZAMIB | CHAR | 1 | XFELD | ||||
ZAMIO | Indicator: payment notice to customer (w/o cleared items)? | DZAMIO | CHAR | 1 | XFELD | ||||
ZWELS | List of the Payment Methods to be Considered | DZWELS | CHAR | 10 | ZWELS | ||||
XVERR | Indicator: Clearing between customer and vendor ? | XVERR_KNB1 | CHAR | 1 | XFELD | ||||
ZAHLS | Block Key for Payment | DZAHLS | CHAR | 1 | T008 | ZAHLS | |||
ZTERM | Terms of Payment Key | DZTERM | CHAR | 4 | ZTERM | ||||
WAKON | Terms of payment key for bill of exchange charges | WAKON | CHAR | 4 | ZTERM | ||||
VZSKZ | Interest calculation indicator | VZSKZ | CHAR | 2 | T056 | VZSKZ | |||
ZINDT | Key date of the last interest calculation | DZINDT | DATS | 8 | DATUM | ||||
ZINRT | Interest calculation frequency in months | DZINRT | NUMC | 2 | ZINRT | ||||
EIKTO | Our account number at customer | EIKTO_D | CHAR | 12 | CHAR12 | ||||
ZSABE | User at customer | DZSABE_D | CHAR | 15 | TEXT15 | ||||
KVERM | Memo | KVERM | CHAR | 30 | TEXT30 | ||||
FDGRV | Planning group | FDGRV | CHAR | 10 | T035 | ALPHA | FDGRP | ||
VRBKZ | Export credit insurance institution number | VRBKZ | CHAR | 2 | VRBKZ | ||||
VLIBB | Amount Insured | VLIBB | CURR | 13(2) | WERT7 | ||||
VRSZL | Insurance lead months | VRSZL | DEC | 3 | PACK2 | ||||
VRSPR | Deductible percentage rate | VRSPR | DEC | 3 | PACK2 | ||||
VRSNR | Insurance number | VRSNR | CHAR | 10 | CHAR10 | ||||
VERDT | Insurance validity date | VERDT | DATS | 8 | DATUM | ||||
PERKZ | Collective invoice variant | PERKZ_KNB1 | CHAR | 1 | PERKZ_KNB1 | ||||
XDEZV | Indicator: Local processing? | XDEZV | CHAR | 1 | XFELD | ||||
XAUSZ | Indicator for periodic account statements | XAUSZ | CHAR | 1 | T048K | AUSZG | |||
WEBTR | Bill of exchange limit (in local currency) | WEBTR | CURR | 13(2) | WERT7 | ||||
REMIT | Next payee | REMIT | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
DATLZ | Date of the last interest calculation run | DATLZ | DATS | 8 | DATUM | ||||
XZVER | Indicator: Record Payment History ? | XZVER | CHAR | 1 | XFELD | ||||
TOGRU | Tolerance group for the business partner/G/L account | TOGRU | CHAR | 4 | T043G | TOGRU | |||
KULTG | Probable time until check is paid | KULTG | DEC | 3 | PACK2 | ||||
HBKID | Short Key for a House Bank | HBKID | CHAR | 5 | T012 | HBKID | |||
XPORE | Indicator: Pay all items separately ? | XPORE | CHAR | 1 | XFELD | ||||
BLNKZ | Subsidy indicator for determining the reduction rates | BLNKZ | CHAR | 2 | Assigned to domain | BLNKZ | |||
ALTKN | Previous Master Record Number | ALTKN | CHAR | 10 | CHAR10 | ||||
ZGRUP | Key for Payment Grouping | DZGRUP | CHAR | 2 | TZGR | ZGRUP | |||
URLID | Short Key for Known/Negotiated Leave | URLID | CHAR | 4 | T052A | URLID | |||
MGRUP | Key for dunning notice grouping | MGRUP | CHAR | 2 | T047R | MGRUP | |||
LOCKB | Key of the Lockbox to Which the Customer Is To Pay | LOCKB | CHAR | 7 | T049L | LCKID | |||
UZAWE | Payment Method Supplement | UZAWE | CHAR | 2 | T042F | UZAWE | |||
EKVBD | Account Number of Buying Group | EKVBD | CHAR | 10 | KNA1 | ALPHA | KUNNR | ||
SREGL | Selection Rule for Payment Advices | SREGL | CHAR | 3 | T053A | SREGL | |||
XEDIP | Indicator: Send Payment Advices by EDI | XEDIP | CHAR | 1 | XFELD | ||||
FRGRP | Release Approval Group | FRGRP | CHAR | 4 | VBWF08 | FRGRP | |||
VRSDG | Reason Code Conversion Version | VRSDG | CHAR | 3 | T053V | VRSDG | |||
TLFXS | Accounting clerk's fax number at the customer/vendor | TLFXS | CHAR | 31 | TEXT31 | ||||
INTAD | Internet address of partner company clerk | INTAD | CHAR | 130 | TXT130 | ||||
XKNZB | Indicator: Alternative payer using account number | XKNZB | CHAR | 1 | XFELD | ||||
GUZTE | Payment Terms Key for Credit Memos | GUZTE | CHAR | 4 | ZTERM | ||||
GRICD | Activity Code for Gross Income Tax | J_1AGICD_D | CHAR | 2 | J_1AGICD | J_1AGICD2 | |||
GRIDT | Distribution Type for Employment Tax | J_1ADTYP_D | CHAR | 2 | J_1ADTYP | J_1ADTYP | |||
WBRSL | Value Adjustment Key | WBRSL | CHAR | 2 | T044G | WBRSL | |||
CONFS | Status of Change Authorization (Company Code Level) | CONFS_B | CHAR | 1 | CHAR1 | ||||
UPDAT | Date on Which the Changes Were Confirmed | UPDAT_RF | DATS | 8 | DATUM | ||||
UPTIM | Time of Last Change Confirmation | UPTIM_RF | TIMS | 6 | AS4TIME | ||||
NODEL | Deletion bock for master record (company code level) | NODEL_B | CHAR | 1 | XFELD | ||||
TLFNS | Accounting clerk's telephone number at business partner | TLFNS | CHAR | 30 | CHAR30 | ||||
CESSION_KZ | Accounts Receivable Pledging Indicator | CESSION_KZ | CHAR | 2 | TCESSION | CESSION_KZ | |||
AVSND | Indicator: Send Payment Advice by XML | AVSND | CHAR | 1 | AVSND | ||||
AD_HASH | E-Mail Address for Avis: Hash Value | ADHASH | CHAR | 10 | ADHASH | ||||
QLAND | Withholding Tax Country Key | QLAND | CHAR | 3 | T005Q | QLAND | |||
.INCLU--AP | 0 | ||||||||
GMVKZD | Customer is in execution | GMVKZD | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table KNB1 using ABAP code
The following ABAP code Example will allow you to do a basic selection on KNB1 to SELECT all data from the tableDATA: WA_KNB1 TYPE KNB1.
SELECT SINGLE *
FROM KNB1
INTO CORRESPONDING FIELDS OF WA_KNB1
WHERE...
How to access SAP table KNB1
Within an ECC or HANA version of SAP you can also view further information about KNB1 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