SPLIT_OF_MILEAGE SAP (Assignment of Costs of a Particular Leg of Trip) Structure details
Description: Assignment of Costs of a Particular Leg of Trip
Related tables to SPLIT_OF_MILEAGE
Access table SPLIT_OF_MILEAGE
Structure field list including key, data, relationships and ABAP select examples
SPLIT_OF_MILEAGE 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 "Assignment of Costs of a Particular Leg of Trip" 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_SPLIT_OF_MILEAGE TYPE SPLIT_OF_MILEAGE.
The SPLIT_OF_MILEAGE table consists of various fields, each holding specific information or linking keys about Assignment of Costs of a Particular Leg of Trip data available in SAP. These include SPKZL (Travel Expense Type), KOKNR (Sequence Number for Cost Assignment of Leg of Trip), ZIKEY (Destination Assignment), AUFTL (Percentage of Cost Assignment).. 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 SPLIT_OF_MILEAGE 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 |
KMVNR | Document Number | NRBEL | CHAR | 3 | NRBEL | ||||
SPKZL | Travel Expense Type | SPKZL | CHAR | 4 | Assigned to domain | SPKZL | RSA | SH_EXPENSE_TYPES | |
KOKNR | Sequence Number for Cost Assignment of Leg of Trip | KOK_NR | CHAR | 3 | NRBEL | ||||
ZIKEY | Destination Assignment | KEYZI | CHAR | 2 | KEYZI | ||||
AUFTL | Percentage of Cost Assignment | PERC_SHARE | DEC | 5(2) | PERC_SHARE | ||||
BUKRS | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
GSBER | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
KOKRS | Controlling Area | KOKRS | CHAR | 4 | Assigned to domain | CACCD | CAC | ||
KOSTL | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
AUFNR | Order Number | AUFNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | ANR | |
KSTRG | Cost Object | KSTRG | CHAR | 12 | Assigned to domain | KSTRG | KTR | ||
POSNR | Work Breakdown Structure Element (WBS Element) | PS_PSP_PNR | NUMC | 8 | Assigned to domain | KONPR | PS_POSNR | ||
NPLNR | Network Number for Account Assignment | NPLNR | CHAR | 12 | Assigned to domain | ALPHA | AUFNR | NET | |
VORNR | Operation/Activity Number | VORNR | CHAR | 4 | NUMCV | VORNR | VGN | ||
KDAUF | Sales Order Number | KDAUF | CHAR | 10 | Assigned to domain | ALPHA | VBELN | AUN | |
KDPOS | Item Number in Sales Order | KDPOS | NUMC | 6 | NUM06 | KPO | |||
PAOBJNR | Profitability Segment Number (CO-PA) | RKEOBJNR | NUMC | 10 | RKEOBJNR | ||||
PRZNR | Business Process | CO_PRZNR | CHAR | 12 | Assigned to domain | ALPHA | CO_PRZNR | KWP | |
FISTL | Funds Center | FISTL | CHAR | 16 | Assigned to domain | FISTL | FIS | ||
FIPOS | Commitment Item | FIPOS | CHAR | 14 | Assigned to domain | FIPOS | FIP | ||
GEBER | Fund | BP_GEBER | CHAR | 10 | Assigned to domain | BP_GEBER | FIC | ||
EBELN | Purchasing Document Number | EBELN | CHAR | 10 | Assigned to domain | ALPHA | EBELN | BES | MEKK_C |
EBELP | Item Number of Purchasing Document | EBELP | NUMC | 5 | Assigned to domain | EBELP | BSP | ||
LSTNR | Activity Number | ASNUM | CHAR | 18 | Assigned to domain | ALPHA | ASNUM | ASN | |
LTLST | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
SBUKR | Company Code | BUKRS | CHAR | 4 | Assigned to domain | BUKRS | BUK | C_T001 | |
SGSBR | Business Area | GSBER | CHAR | 4 | Assigned to domain | GSBER | GSB | ||
SKOST | Cost Center | KOSTL | CHAR | 10 | Assigned to domain | ALPHA | KOSTL | KOS | |
LSTAR | Activity Type | LSTAR | CHAR | 6 | Assigned to domain | LSTAR | LAR | LART_EMPTY | |
EXBEL | Assignment number | HR_ZUONR | CHAR | 18 | HR_ZUONR | ||||
MWSKZ | Tax on sales/purchases code | MWSKZ | CHAR | 2 | Assigned to domain | MWSKZ | |||
OTYPE | Object Type | OTYPE | CHAR | 2 | Assigned to domain | OTYPE | POT | ||
STELL | Job | STELL | NUMC | 8 | Assigned to domain | STELL | |||
POHRS | Number of Hours for Activity Allocation/External Services | POHRS | DEC | 7(2) | PTM_DEC5_2S | ||||
DART | Service Type (Public Service Germany) | DART | CHAR | 2 | Assigned to domain | DART | DAR | ||
UDART | Service Category (Public Service Germany) | UDART | CHAR | 2 | Assigned to domain | UDART | UDA | ||
SGTXT | Item Text | SGTXT | CHAR | 50 | TEXT50 | ||||
TXJCD | Tax Jurisdiction | TXJCD | CHAR | 15 | Assigned to domain | TXJCD | TXJ | ||
FIPEX | Commitment Item | FM_FIPEX | CHAR | 24 | Assigned to domain | FM_FIPEX | FPS | ||
FKBER | Functional Area | FKBER | CHAR | 16 | Assigned to domain | FKBER | FBE | ||
GRANT_NBR | Grant | GM_GRANT_NBR | CHAR | 20 | ALPHA | GM_GRANT_NBR | GM_GRANT_NBR | GRANTS_GENERIC | |
SGEBER | Sender fund | FM_SFONDS | CHAR | 10 | Assigned to domain | BP_GEBER | SENDER_FUND | ||
SFKBER | Sending Functional Area | SFKTBER | CHAR | 16 | Assigned to domain | FKBER | |||
SGRANT_NBR | Sender Grant | GM_GRANT_SENDER | CHAR | 20 | ALPHA | GM_GRANT_NBR | |||
PROJECT_GUID | Project GUID (cProjects) | PTRV_PROJECT_GUID | RAW | 16 | CGPLP | CGPL_PROJECT_GUID | |||
PROJECT_EXT_ID | Project Number (cProjects) | PTRV_PROJECT_EXT_ID | CHAR | 24 | CGPL_EXTID | ||||
TASK_ROLE_GUID | Task GUID (cProjects) | PTRV_TASK_GUID | RAW | 16 | CGPLP | CGPL_PROJECT_GUID | |||
TASK_ROLE_EXT_ID | TaskRole Number (cProjects) | PTRV_TASK_ROLE_EXT_ID | CHAR | 24 | CGPL_EXTID | ||||
OBJECT_TYPE | Object Type (cProjects) | PTRV_OBJ_TYPE | CHAR | 3 | CHAR3 | ||||
PRCTR | Profit Center | PRCTR | CHAR | 10 | Assigned to domain | ALPHA | PRCTR | PRC | PRCTR_EMPTY |
SEGMENT | Segment for Segmental Reporting | FB_SEGMENT | CHAR | 10 | Assigned to domain | ALPHA | FB_SEGMENT | ||
BUDGET_PERIOD | FM: Budget Period | FM_BUDGET_PERIOD | CHAR | 10 | Assigned to domain | FM_BUDGET_PERIOD | BUDPER | ||
.INCLU--AP | 0 | ||||||||
CATEGORY | Cost Category | GLO_PTRV_COST_CAT | CHAR | 5 | Assigned to domain | GLO_PTRV_COST_CAT | |||
WBS_ELEMT | Work Breakdown Structure Element (WBS Element) | PTRA_WEB_INTERFACE_PS_POSID | CHAR | 24 | PTRA_WEB_INTERFACE_PS_POSID | PRO | |||
DISPLAY_ONLY | Cost Distribution Mileage Can Only Be Displayed | COSTDIST_MILE_DISPLAY_ONLY | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP structure SPLIT_OF_MILEAGE using ABAP code?
As SPLIT_OF_MILEAGE 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 SPLIT_OF_MILEAGE as there is no data to select.How to access SAP table SPLIT_OF_MILEAGE
Within an ECC or HANA version of SAP you can also view further information about SPLIT_OF_MILEAGE 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