J_3RSELL_BOOK SAP (Structure for sale ledger) Structure details

Dictionary Type: Structure
Description: Structure for sale ledger




ABAP Code to SELECT data from J_3RSELL_BOOK
Related tables to J_3RSELL_BOOK
Access table J_3RSELL_BOOK




Structure field list including key, data, relationships and ABAP select examples

J_3RSELL_BOOK 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 "Structure for sale 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 TYPE J_3RSELL_BOOK.

The J_3RSELL_BOOK table consists of various fields, each holding specific information or linking keys about Structure for sale ledger data available in SAP. These include GJAHR_INV (Fiscal Year), BELNR_INV (Accounting Document Number), XBLNR_INV (Reference Document Number), BUDAT_INV (Posting Date in the Document).. 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 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
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
GJAHR_INVFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BELNR_INVAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
XBLNR_INVReference Document Number XBLNR1CHAR16XBLNR1
BUDAT_INVPosting Date in the Document BUDATDATS8DATUM
BLDAT_INVDocument Date in Document BLDATDATS8DATUM
DMBTR_INVAmount in Local Currency DMBTRCURR13(2) WERT7
DMBTR_WRS_INVCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WRBTR_INVAmount in document currency WRBTRCURR13(2) WERT7
WRBTR_WRS_INVCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
GJAHR_PAYFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BELNR_PAYAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
XBLNR_PAYReference Document Number XBLNR1CHAR16XBLNR1
BUDAT_PAYPosting Date in the Document BUDATDATS8DATUM
BLDAT_PAYDocument Date in Document BLDATDATS8DATUM
DMBTR_PAYAmount in Local Currency DMBTRCURR13(2) WERT7
DMBTR_WRS_PAYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WRBTR_PAYAmount in document currency WRBTRCURR13(2) WERT7
WRBTR_WRS_PAYCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
GJAHR_TRNFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BELNR_TRNAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BLDAT_TRNDocument Date in Document BLDATDATS8DATUM
BUDAT_TRNPosting Date in the Document BUDATDATS8DATUM
DMBTR_TRNAmount in Local Currency DMBTRCURR13(2) WERT7
DMBTR_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
WRBTR_TRNAmount in document currency WRBTRCURR13(2) WERT7
WRBTR_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWBAS_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWBAS_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWBAS_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWBAS_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWBAS2_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWBAS2_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWBAS2_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWBAS2_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWBAS3_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWBAS3_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWBAS3_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWBAS3_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWBAS4_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWBAS4_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWBAS4_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWBAS4_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWBAS5_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWBAS5_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWBAS5_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWBAS5_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
BASGRUNOGroup Number for Tax Base Amounts BASGRUNONUMC2NUM2
HWSTE_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWSTE_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWSTE2_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWSTE2_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWSTE3_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWSTE3_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWSTE4_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWSTE4_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
HWSTE5_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
HWSTE5_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWSTE_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWSTE_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWSTE2_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWSTE2_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWSTE3_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWSTE3_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWSTE4_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWSTE4_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
FWSTE5_TRNAmount Posted in Display Currency ANZBT_F05LCURR13(2) WRTV7
FWSTE5_WRS_TRNCurrency Key WAERSCUKY5Assigned to domainWAERSFWS
STEGRUNOGroup Number for Tax Amounts STEGRUNONUMC2NUM2
GJAHR_TESTFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BUZEI_TESTNumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
XBLNR_TESTReference Document Number XBLNR1CHAR16XBLNR1
LIFNR_CREDAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
NAME1_CREDName 1 NAME1_GPCHAR35NAME
NAME2_CREDName 2 NAME2_GPCHAR35NAME
NAME3_CREDName 3 NAME3_GPCHAR35NAME
NAME4_CREDName 4 NAME4_GPCHAR35NAME
NAME1_CRED_RName 1 NAME1_GPCHAR35NAME
NAME2_CRED_RName 2 NAME2_GPCHAR35NAME
NAME3_CRED_RName 3 NAME3_GPCHAR35NAME
NAME4_CRED_RName 4 NAME4_GPCHAR35NAME
STCD1_CREDTax Number 1 STCD1CHAR16STCD1
STCD3_CREDTax Number 3 STCD3CHAR18CHAR18
FLG_BELNR_TRNReversal (Tax Transfer) J_3RF_BUE_F_D0CHAR1KOART
BKTXT_TRNDocument Header Text BKTXTCHAR25TEXT25
MWSKZTax on sales/purchases code MWSKZCHAR2Assigned to domainMWSKZ
FLG_BELNR_PAYReversal (Payment) J_3RF_BUE_F_D2CHAR1
FLG_BELNR_INVReversal (Invoice) J_3RF_BUE_F_D1CHAR1KOART
FLG_XRAGL_PAYIndicator: Clearing was Reversed XRAGLCHAR1XFELD
FLG_BELNR_ALLReversal (Clearing) J_3RF_BUE_F_ALLCHAR1KOART
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BUZEINumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
LINENUMBAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
BELNR_BUYAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHRBUYFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BUZEIBUYNumber of Line Item Within Accounting Document BUZEINUMC3BUZEIBUZ
FLG_BARTERIndicator: Clearing was Reversed XRAGLCHAR1XFELD
BKTXT_PAYDocument Header Text BKTXTCHAR25TEXT25
BKTXT_INVDocument Header Text BKTXTCHAR25TEXT25
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
PART_PAYMPartial Payment J_3RF_BUE_F_PPCHAR1
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELJFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
ZUONRAssignment Number J_3RFZUONRCHAR18CHAR18
SGTXTItem Text SGTXTCHAR50TEXT50
XREF1_INVBusiness partner reference key XREF1CHAR12CHAR12
XREF1_DATDocument Date in Document BLDATDATS8DATUM
HKONT_INVGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
HKONT_TRNGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
HKONT_CLNGeneral Ledger Account HKONTCHAR10Assigned to domainALPHASAKNR
BELNR_ORIGPAYAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
GJAHR_ORIGPAYFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
BKTXT_ORIGPAYDocument Header Text BKTXTCHAR25TEXT25
XBLNR_ORIGPAYReference Document Number XBLNR1CHAR16XBLNR1
BUDAT_ORIGPAYPosting Date in the Document BUDATDATS8DATUM
BLDAT_ORIGPAYDocument Date in Document BLDATDATS8DATUM
USNAM_INVUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
USNAM_PAYUser name USNAMCHAR12Assigned to domainXUBNAMEUSR
USNAM_PAY_FCTUser name USNAMCHAR12Assigned to domainXUBNAMEUSR

Key field Non-key field



How do I retrieve data from SAP structure J_3RSELL_BOOK using ABAP code?

As J_3RSELL_BOOK 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 as there is no data to select.

How to access SAP table J_3RSELL_BOOK

Within an ECC or HANA version of SAP you can also view further information about J_3RSELL_BOOK and the data within it using relevant transactions such as

SE11 (ABAP Dictionary Maintenance)
SM30 (Maintain Table Data)
SE80 (Object Navigator)
SE16 (Data Browser).


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!