QBEFU SAP (View for Stock Posting from the Usage Decision) Structure details

Dictionary Type: Structure
Description: View for Stock Posting from the Usage Decision




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




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

QBEFU 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 "View for Stock Posting from the Usage Decision" 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_QBEFU TYPE QBEFU.

The QBEFU table consists of various fields, each holding specific information or linking keys about View for Stock Posting from the Usage Decision data available in SAP. These include MATNR (Material Number), WERKS (Plant), LGORT (Storage Location), LGTYP_SP (Storage Type).. 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 QBEFU 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
MNGNRNo. of Quantity Field for Interface Table QBEFU QMNGNRINT410INT4
MATNRMaterial Number MATNRCHAR18Assigned to domainMATN1MATNRMATS_MAT1
WERKSPlant WERKS_DCHAR4Assigned to domainWERKSWRKH_T001W_C
LGORTStorage Location LGORT_DCHAR4Assigned to domainLGORTLAG
LGTYP_SPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
LGPLA_SPStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
UMLGT_SPStorage Type LGTYPCHAR3Assigned to domainLGTYPLGTH_T301
UMLGP_SPStorage Bin LGPLACHAR10Assigned to domainLGPLALGPLAG1
CHARGBatch Number CHARG_DCHAR10Assigned to domainCHARGCHA
SOBKZSpecial Stock Indicator SOBKZCHAR1Assigned to domainSOBKZ
LIFNRAccount Number of Vendor or Creditor LIFNRCHAR10Assigned to domainALPHALIFNRLIFKRED_C
BWARTMovement Type (Inventory Management) BWARTCHAR3Assigned to domainBWARTBWA
MENGEQuantity MENGE_DQUAN13(3) MENG13
MEINSBase Unit of Measure MEINSUNIT3Assigned to domainCUNITMEINS
UMMATReceiving/Issuing Material UMMATCHAR18Assigned to domainMATN1MATNR
UMWRKReceiving/Issuing Plant UMWRKCHAR4Assigned to domainWERKS
UMLGOReceiving/Issuing Storage Location UMLGOCHAR4Assigned to domainLGORT
UMCHAReceiving/Issuing Batch UMCHACHAR10Assigned to domainCHARG
KOSTLCost Center KOSTLCHAR10Assigned to domainALPHAKOSTLKOS
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AUFPSItem Number of Reservation/Dependent Requirement RSPOSNUMC4RSPOSRPO
ANLN1Main Asset Number ANLN1CHAR12Assigned to domainALPHAANLN1AN1
ANLN2Asset Subnumber ANLN2CHAR4Assigned to domainALPHAANLN2AN2
PS_PSP_PNRWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
NPLNRNetwork Number for Account Assignment NPLNRCHAR12Assigned to domainALPHAAUFNRNET
AUFPLRouting number of operations in the order CO_AUFPLNUMC10AUFPL
APLZLInternal counter CIM_COUNTNUMC8CIM_COUNT
KUNNRAccount Number of Customer EKUNNCHAR10Assigned to domainALPHAKUNNRKUN
KDAUFSales Order Number KDAUFCHAR10Assigned to domainALPHAVBELNAUN
KDPOSItem Number in Sales Order KDPOSNUMC6NUM06KPO
IMKEYInternal Key for Real Estate Object IMKEYCHAR8IMKEY
DABRZReference Date for Settlement DABRBEZDATS8DDAT
KSTRGCost Object KSTRGCHAR12Assigned to domainKSTRGKTR
PAOBJNRProfitability Segment Number (CO-PA) RKEOBJNRNUMC10RKEOBJNR
PRCTRProfit Center PRCTRCHAR10Assigned to domainALPHAPRCTRPRCPRCTR_EMPTY
GSBERBusiness Area GSBERCHAR4Assigned to domainGSBERGSB
KONTOG/L Account Number SAKNRCHAR10Assigned to domainALPHASAKNRSAKC_SAKNR
BEAKZIndicator: Line already processed BEAKZ_WACHAR1XFELD
YZEILItem in Material Document MBLPONUMC4MBLPOPOS
MSGTYMessage Type MSGTYCHAR1MSGAR
MSGIDMessage identification MSGIDCHAR20Assigned to domainARBGB
MSGNOSystem Message Number MSGNOCHAR3Assigned to domainMSGNR
MSGV1Message variable 01 MSGV1CHAR50CHAR50
MSGV2Message variable 02 MSGV2CHAR50CHAR50
MSGV3Message variable 03 MSGV3CHAR50CHAR50
MSGV4Message variable 04 MSGV4CHAR50CHAR50
MBLNRNumber of Material Document MBLNRCHAR10ALPHABELNRMBN
MJAHRMaterial Document Year MJAHRNUMC4GJAHRGJAHRMJA
ZEILEItem in Material Document MBLPONUMC4MBLPOPOS
CPUDTDay On Which Accounting Document Was Entered CPUDTDATS8DATUM
CPUTMTime of Entry CPUTMTIMS6UZEIT
PRUEFLOSInspection Lot Number QPLOSNUMC12Assigned to domainQPLOSQLSQALS
SCRTEXT_MMedium Field Label SCRTEXT_MCHAR20SCRTEXT_M
BPMNGQuantity in Purchase Order Price Unit BPMNGQUAN13(3) MENG13
BPRMEOrder Price Unit (Purchasing) BBPRMUNIT3Assigned to domainCUNITMEINS
KZBEWMovement Indicator KZBEWCHAR1KZBEW
ELIKZ'Delivery Completed' Indicator ELIKZCHAR1XFELD
INSMKStock Type MB_INSMKCHAR1MB_INSMK
ABLADUnloading Point ABLADCHAR25TEXT25
GRUNDReason for Movement MB_GRBEWNUMC4Assigned to domainMB_GRBEW
SGTXTItem Text SGTXTCHAR50TEXT50
EBELNPurchasing Document Number EBELNCHAR10Assigned to domainALPHAEBELNBESMEKK_C
EBELPItem Number of Purchasing Document EBELPNUMC5Assigned to domainEBELPBSP
TBFKZIndicator: No Transfer Requirement Created LVS_TBFKZCHAR1XFELD
TAFKZIndicator: do not cal up automatic TO creation LVS_TAFKZCHAR1XFELD
TBBELMaterial doc. no. of transfer requirement to be cancelled LVS_TBBELCHAR10ALPHABELNRMBN
TBBPOMaterial doc. item of transf.reqmnt item to be cancelled LVS_TBBPONUMC4MBLPOPOS
TBBJRMaterial doc. year of transfer requirement to be cancelled LVS_TBBJRNUMC4GJAHRGJAHRMJA
LFBJAFiscal Year of a Reference Document LFBJANUMC4GJAHRGJAHR
LFBNRDocument No. of a Reference Document LFBNRCHAR10ALPHABELNR
LFPOSItem of a Reference Document LFPOSNUMC4MBLPO
UMBARValuation Type of Transfer Batch UMBARCHAR10Assigned to domainBWTAR

Key field Non-key field



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

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

How to access SAP table QBEFU

Within an ECC or HANA version of SAP you can also view further information about QBEFU 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!