IFMFG_SO_HISTORY SAP (Sales Order History) Structure details

Dictionary Type: Structure
Description: Sales Order History




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




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

IFMFG_SO_HISTORY 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 "Sales Order History" 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_IFMFG_SO_HISTORY TYPE IFMFG_SO_HISTORY.

The IFMFG_SO_HISTORY table consists of various fields, each holding specific information or linking keys about Sales Order History data available in SAP. These include SORTPOSNR (Item number of the SD document), VBELN (Accounting Document Number), POSNR (Item number of the SD document), DOCNO (Accounting 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 IFMFG_SO_HISTORY 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
SORTDOCAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
SORTPOSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
VBELNAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
POSNRItem number of the SD document POSNRNUMC6Assigned to domainPOSNR
DOCNOAccounting Document Number BELNR_DCHAR10ALPHABELNRBLN
DOCLNSix-Character Posting Item for Ledger DOCLN6CHAR6DOCLN6
BUKRSCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
GJAHRFiscal Year GJAHRNUMC4GJAHRGJAHRGJR
TEXTCharacter 100 CHAR100CHAR100CHAR100
RACCTAccount Number RACCTCHAR10Assigned to domainALPHASAKNRACC
WRTTPValue Type FM_WRTTPCHAR2FM_WRTTP
TWAERTransaction Currency TWAERCUKY5Assigned to domainWAERSFWS
TRBTRAmount in transaction currency FM_TRBTRCURR13(2) WERTV7
BUDATPosting Date in the Document BUDATDATS8DATUM
BTARTAmount type FM_BTARTCHAR4FM_BTART
MEASUREFunded Program FM_MEASURECHAR24Assigned to domainFM_MEASUREFM_MEASURE
RPROJKWork Breakdown Structure Element (WBS Element) PS_PSP_PNRNUMC8Assigned to domainKONPRPS_POSNR
FISTLFunds Center FISTLCHAR16Assigned to domainFISTLFIS
FONDSFund BP_GEBERCHAR10Assigned to domainBP_GEBERFIC
FIPEXCommitment Item FM_FIPEXCHAR24Assigned to domainFM_FIPEXFPS
AUFNROrder Number AUFNRCHAR12Assigned to domainALPHAAUFNRANR
AWTYPReference Transaction AWTYPCHAR5Assigned to domainAWTYP
REFDOCReference document number of an accounting document REFBELNRCHAR10ALPHABELNRBLN
REFBUKCompany Code BUKRSCHAR4Assigned to domainBUKRSBUKC_T001
REFGJAReference fiscal year REFGJAHRNUMC4GJAHRGJAHRGJR
REFFIFI document number FM_KNBELNRCHAR10ALPHABELNRBLN
DOCTYFI-SL Document Type DOCTYCHAR2Assigned to domainDOCTYBAR
DTTEXTDocument Type Description LTEXT_003TCHAR20TEXT20
FAREAFunctional Area FM_FAREACHAR16Assigned to domainFKBERFBE
BUDGET_PDFM: Budget Period FM_BUDGET_PERIODCHAR10Assigned to domainFM_BUDGET_PERIODBUDPER

Key field Non-key field



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

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

How to access SAP table IFMFG_SO_HISTORY

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