BFSTOCK_RESULT SAP (Extended Results Table for Stock Determination) Structure details
Description: Extended Results Table for Stock Determination
Related tables to BFSTOCK_RESULT
Access table BFSTOCK_RESULT
Structure field list including key, data, relationships and ABAP select examples
BFSTOCK_RESULT 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 Results Table for Stock Determination" 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_BFSTOCK_RESULT TYPE BFSTOCK_RESULT.
The BFSTOCK_RESULT table consists of various fields, each holding specific information or linking keys about Extended Results Table for Stock Determination data available in SAP. These include MATNR (Material Number), WERKS (Plant), LGORT (Storage Location), CHARG (Batch 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 BFSTOCK_RESULT 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 |
MATNR | Material Number | MATNR | CHAR | 18 | Assigned to domain | MATN1 | MATNR | MAT | S_MAT1 |
WERKS | Plant | WERKS_D | CHAR | 4 | Assigned to domain | WERKS | WRK | H_T001W_C | |
LGORT | Storage Location | LGORT_D | CHAR | 4 | Assigned to domain | LGORT | LAG | ||
CHARG | Batch Number | CHARG_D | CHAR | 10 | Assigned to domain | CHARG | CHA | ||
BWTAR | Valuation Type | BWTAR_D | CHAR | 10 | Assigned to domain | BWTAR | BWT | ||
SOBKZ | Special Stock Indicator | SOBKZ | CHAR | 1 | Assigned to domain | SOBKZ | |||
LIFNR | Vendor Account Number | ELIFN | CHAR | 10 | Assigned to domain | ALPHA | LIFNR | LIF | KRED_C |
MENGE | Quantity | MENGE_D | QUAN | 13(3) | MENG13 | ||||
MEINS | Base Unit of Measure | MEINS | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
ERFMG | Quantity in Unit of Entry | ERFMG | QUAN | 13(3) | MENG13 | ||||
ERFME | Unit of Entry | ERFME | UNIT | 3 | Assigned to domain | CUNIT | MEINS | ||
UMREZ | Numerator for Conversion to Base Units of Measure | UMREZ | DEC | 5 | UMBSZ | ||||
UMREN | Denominator for conversion to base units of measure | UMREN | DEC | 5 | UMBSN | ||||
VRFMG | Available quantity | VRFMG | QUAN | 13(3) | MENGV13 | ||||
KZUPD | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
SUBRC | Subroutines for return code | SUBRC | NUMC | 2 | EK08R_RC | ||||
POSNR | Numeric field: Length 6 | NUM06 | NUMC | 6 | NUM06 | ||||
LOBM_BPRIO | Stock determination: Priority indicator | BF_BPRIO | NUMC | 3 | NUM3 | ||||
TABIX_INT | Field defined as in SY-TABIX | TABIX_D | INT4 | 10 | TABIX | ||||
PREIS | Standard price | STPRS | CURR | 11(2) | WERT11V | ||||
PEINH | Price Unit | PEINH | DEC | 5 | PACK3 | ||||
BPRIO | Stock determination: Priority indicator | BF_BPRIO | NUMC | 3 | NUM3 | ||||
VRFMG_AME | Available quantity | VRFMG | QUAN | 13(3) | MENGV13 | ||||
XSELE | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
XREAD | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
XKEEP | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
XCORR | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
XDELE | Single-Character Indicator | CHAR1 | CHAR | 1 | CHAR1 | ||||
SORT1 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
SORT2 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
SORT3 | 30 Characters | CHAR30 | CHAR | 30 | CHAR30 | ||||
ORG_TABIX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG | ||||
SORT_TABIX | Row Index of Internal Tables | SYTABIX | INT4 | 10 | SYST_LONG |
Key field | Non-key field |
How do I retrieve data from SAP structure BFSTOCK_RESULT using ABAP code?
As BFSTOCK_RESULT 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 BFSTOCK_RESULT as there is no data to select.How to access SAP table BFSTOCK_RESULT
Within an ECC or HANA version of SAP you can also view further information about BFSTOCK_RESULT 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