IFMFG_SO_HISTORY SAP (Sales Order History) Structure details
Description: Sales Order 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 |
SORTDOC | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
SORTPOSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
VBELN | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
POSNR | Item number of the SD document | POSNR | NUMC | 6 | Assigned to domain | POSNR | |||
DOCNO | Accounting Document Number | BELNR_D | CHAR | 10 | ALPHA | BELNR | BLN | ||
DOCLN | Six-Character Posting Item for Ledger | DOCLN6 | CHAR | 6 | DOCLN6 | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GJAHR | Fiscal Year | GJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
TEXT | Character 100 | CHAR100 | CHAR | 100 | CHAR100 | ||||
RACCT | Account Number | RACCT | CHAR | 10 | Assigned to domain | ALPHA | SAKNR | ACC | |
WRTTP | Value Type | FM_WRTTP | CHAR | 2 | FM_WRTTP | ||||
TWAER | Transaction Currency | TWAER | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
TRBTR | Amount in transaction currency | FM_TRBTR | CURR | 13(2) | WERTV7 | ||||
BUDAT | Posting Date in the Document | BUDAT | DATS | 8 | DATUM | ||||
BTART | Amount type | FM_BTART | CHAR | 4 | FM_BTART | ||||
MEASURE | Funded Program | FM_MEASURE | CHAR | 24 | Assigned to domain | FM_MEASURE | FM_MEASURE | ||
RPROJK | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
FONDS | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
FIPEX | Commitment Item | FM_FIPEX | CHAR | 24 | Assigned to domain | FM_FIPEX | FPS | ||
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
AWTYP | Reference Transaction | AWTYP | CHAR | 5 | Assigned to domain | AWTYP | |||
REFDOC | Reference document number of an accounting document | REFBELNR | CHAR | 10 | ALPHA | BELNR | BLN | ||
REFBUK | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
REFGJA | Reference fiscal year | REFGJAHR | NUMC | 4 | GJAHR | GJAHR | GJR | ||
REFFI | FI document number | FM_KNBELNR | CHAR | 10 | ALPHA | BELNR | BLN | ||
DOCTY | FI-SL Document Type | DOCTY | CHAR | 2 | Assigned to domain | DOCTY | BAR | ||
DTTEXT | Document Type Description | LTEXT_003T | CHAR | 20 | TEXT20 | ||||
FAREA | Functional Area | FM_FAREA | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
BUDGET_PD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER |
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 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