J_3RSELL_BOOK_12 SAP (Extended structure for sales ledger) Structure details
Description: Extended structure for sales ledger
Related tables to J_3RSELL_BOOK_12
Access table J_3RSELL_BOOK_12
Structure field list including key, data, relationships and ABAP select examples
J_3RSELL_BOOK_12 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 "Extended structure for sales ledger" 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_J_3RSELL_BOOK_12 TYPE J_3RSELL_BOOK_12.
The J_3RSELL_BOOK_12 table consists of various fields, each holding specific information or linking keys about Extended structure for sales ledger data available in SAP. These include BUKRS (Company Code), GJAHR_INV (Fiscal Year), BELNR_INV (Accounting Document Number), XBLNR_INV (Reference Document Number).. 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 J_3RSELL_BOOK_12 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 |
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GJAHR_INV | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BELNR_INV | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
XBLNR_INV | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
BUDAT_INV | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT_INV | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
DMBTR_INV | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
DMBTR_WRS_INV | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WRBTR_INV | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
WRBTR_WRS_INV | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
GJAHR_PAY | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BELNR_PAY | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
XBLNR_PAY | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
BUDAT_PAY | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT_PAY | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
DMBTR_PAY | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
DMBTR_WRS_PAY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WRBTR_PAY | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
WRBTR_WRS_PAY | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
GJAHR_TRN | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BELNR_TRN | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
BLDAT_TRN | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
BUDAT_TRN | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
DMBTR_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
DMBTR_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
WRBTR_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
WRBTR_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWBAS_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWBAS_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWBAS_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWBAS_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWBAS2_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWBAS2_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWBAS2_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWBAS2_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWBAS3_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWBAS3_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWBAS3_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWBAS3_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWBAS4_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWBAS4_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWBAS4_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWBAS4_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWBAS5_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWBAS5_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWBAS5_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWBAS5_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
BASGRUNO | Group Number for Tax Base Amounts | BASGRUNO | NUMC | 2 | NUM2 | ||||
HWSTE_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWSTE_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWSTE2_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWSTE2_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWSTE3_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWSTE3_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWSTE4_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWSTE4_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
HWSTE5_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
HWSTE5_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWSTE_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWSTE_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWSTE2_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWSTE2_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWSTE3_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWSTE3_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWSTE4_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWSTE4_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
FWSTE5_TRN | Total transactions in the period in local currency (curr 2) | HSLXX | CURR | 15(2) | WERTV8 | ||||
FWSTE5_WRS_TRN | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
STEGRUNO | Group Number for Tax Amounts | STEGRUNO | NUMC | 2 | NUM2 | ||||
GJAHR_TEST | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUZEI_TEST | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
XBLNR_TEST | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
LIFNR_CRED | Account Number of Vendor or Creditor | LIFNR | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
NAME1_CRED | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
NAME2_CRED | Name 2 | NAME2_GP | CHAR | 35 | NAME | ||||
NAME3_CRED | Name 3 | NAME3_GP | CHAR | 35 | NAME | ||||
NAME4_CRED | Name 4 | NAME4_GP | CHAR | 35 | NAME | ||||
NAME1_CRED_R | Name 1 | NAME1_GP | CHAR | 35 | NAME | ||||
NAME2_CRED_R | Name 2 | NAME2_GP | CHAR | 35 | NAME | ||||
NAME3_CRED_R | Name 3 | NAME3_GP | CHAR | 35 | NAME | ||||
NAME4_CRED_R | Name 4 | NAME4_GP | CHAR | 35 | NAME | ||||
STCD1_CRED | Tax Number 1 | STCD1 | CHAR | 16 | STCD1 | ||||
STCD3_CRED | Tax Number 3 | STCD3 | CHAR | 18 | CHAR18 | ||||
FLG_BELNR_TRN | Reversal (Tax Transfer) | J_3RF_BUE_F_D0 | CHAR | 1 | KOART | ||||
BKTXT_TRN | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
FLG_BELNR_PAY | Reversal (Payment) | J_3RF_BUE_F_D2 | CHAR | 1 | |||||
FLG_BELNR_INV | Reversal (Invoice) | J_3RF_BUE_F_D1 | CHAR | 1 | KOART | ||||
FLG_XRAGL_PAY | Indicator: Clearing was Reversed | XRAGL | CHAR | 1 | XFELD | ||||
FLG_BELNR_ALL | Reversal (Clearing) | J_3RF_BUE_F_ALL | CHAR | 1 | KOART | ||||
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUZEI | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
LINENUMB | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
BELNR_BUY | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
GJAHRBUY | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BUZEIBUY | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
FLG_BARTER | Indicator: Clearing was Reversed | XRAGL | CHAR | 1 | XFELD | ||||
BKTXT_PAY | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
BKTXT_INV | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
PART_PAYM | Partial Payment | J_3RF_BUE_F_PP | CHAR | 1 | |||||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELJ | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
ZUONR | Assignment Number | J_3RFZUONR | CHAR | 18 | CHAR18 | ||||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
XREF1_INV | Business partner reference key | XREF1 | CHAR | 12 | CHAR12 | ||||
XREF1_DAT | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
HKONT_INV | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
HKONT_TRN | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
HKONT_CLN | General Ledger Account | HKONT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ||
BELNR_ORIGPAY | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
GJAHR_ORIGPAY | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
BKTXT_ORIGPAY | Document Header Text | BKTXT | CHAR | 25 | TEXT25 | ||||
XBLNR_ORIGPAY | Reference Document Number | XBLNR | CHAR | 16 | XBLNR | ||||
BUDAT_ORIGPAY | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BLDAT_ORIGPAY | Document Date in Document | BLDAT | DATS | 8 | DATUM | ||||
USNAM_INV | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
USNAM_PAY | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
USNAM_PAY_FCT | User name | USNAM | CHAR | 12 | Assigned to domain | XUBNAME | USR | ||
BUKRS_ADD | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
BELNR_ADD | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
GJAHR_ADD | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
MONAT_ADD | Fiscal Period | MONAT | NUMC | 2 | MONAT | ||||
BUZEI_ADD | Number of Line Item Within Accounting Document | BUZEI | NUMC | 3 | BUZEI | BUZ | |||
FLAG_ADD | Indicator: Document is reversed | STORN | CHAR | 1 | XFELD | ||||
CORR_TYPE | Correction Type | J_3RF_BUE_CORR_TYPE | CHAR | 1 | J_3RF_BUE_CORR_TYPE | ||||
CORR_BOOK | Correction invoice from opposite book | J_3RF_BUE_CORR_BOOK | CHAR | 1 | FLAG | ||||
BELNR_ORIG_INV | Number of Original VAT Invoice | J_3RFINV_ORIGS | CHAR | 10 | ALPHA | BELNR | |||
GJAHR_ORIG_INV | Year of Original VAT Invoice | J_3RFINV_ORIGY | NUMC | 4 | GJAHR | GJAHR | |||
BLDAT_ORIG_INV | Date of Original VAT Invoice | J_3RFINV_ORIGD | DATS | 8 | DATUM | ||||
BUDAT_ORIG_INV | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
XBLNR_ORIG_INV | External Document Number | J_3RF_EXT_NUMBER | CHAR | 50 | TEXT50 | ||||
NUMBER_REV | Revision Number | J_3RFINV_REVNO | NUMC | 3 | NUM03 | ||||
NUMBER_CORR_REV | Revision Number of Correction | J_3RFINV_REVNO_CORR | NUMC | 3 | NUM03 | ||||
VATDATE_INV | Tax Reporting Date | VATDATE | DATS | 8 | DATUM | ||||
VATDATE_TRN | Tax Reporting Date | VATDATE | DATS | 8 | DATUM | ||||
BLDAT_CORR_INV | Date of Corrective VAT Invoice | J_3RFINV_CORRD | DATS | 8 | DATUM | ||||
XBLNR_CORR_INV | External Document Number | J_3RF_EXT_NUMBER | CHAR | 50 | TEXT50 | ||||
JOURNAL | Register in Journal | J_3RFINV_REGFLAG | CHAR | 1 | J_3RF_REGFLAG | ||||
BELNR_CORR_INV | Number of Corrective VAT Invoice | J_3RFINV_CORRS | CHAR | 10 | ALPHA | BELNR | |||
GJAHR_CORR_INV | Year of Corrective VAT Invoice | J_3RFINV_CORRY | NUMC | 4 | GJAHR | GJAHR | |||
BELNR_ORIG_REV | Number of Revised VAT Invoice | J_3RFINV_REVS | CHAR | 10 | ALPHA | BELNR | |||
GJAHR_ORIG_REV | Year of Revised VAT Invoice | J_3RFINV_REVY | NUMC | 4 | GJAHR | GJAHR | |||
BLDAT_ORIG_REV | Revision Date | J_3RFINV_REVD | DATS | 8 | DATUM | ||||
BELNR_CORR_REV | Number of Revised Correction Invoice | J_3RFINV_CORR_REVS | CHAR | 10 | ALPHA | BELNR | |||
GJAHR_CORR_REV | Year of Revised Correction Invoice | J_3RFINV_CORR_REVY | NUMC | 4 | GJAHR | GJAHR | |||
BLDAT_CORR_REV | Revision Date of Correction | J_3RFINV_CORR_REVD | DATS | 8 | DATUM | ||||
EXT_TEXT_ORIG | General Flag | FLAG | CHAR | 1 | FLAG | ||||
EXT_TEXT_CORR | General Flag | FLAG | CHAR | 1 | FLAG |
Key field | Non-key field |
How do I retrieve data from SAP structure J_3RSELL_BOOK_12 using ABAP code?
As J_3RSELL_BOOK_12 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 J_3RSELL_BOOK_12 as there is no data to select.How to access SAP table J_3RSELL_BOOK_12
Within an ECC or HANA version of SAP you can also view further information about J_3RSELL_BOOK_12 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