TMPA1 SAP (Agency Business: Profit Group) Table details
Dictionary Type: Table
Description: Agency Business: Profit Group
Description: Agency Business: Profit Group
Table field list including key, data, relationships and ABAP select examples
TMPA1 is a standard SAP Table which is used to store Agency Business: Profit Group data and is available within R/3 SAP systems depending on the version and release level.
The TMPA1 table consists of various fields, each holding specific information or linking keys about Agency Business: Profit Group data available in SAP. These include WPGRO (Profit group), MARGINP (Profit margin as a percentage), MARGINA (Absolute Minimum Margin), CURR (Currency for minimum profit margin).. 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: G - Customising table which is protected against SAP UpdateDisplay/Maintenance via tcode SM30: Display/Maintenance Allowed but with Restrictions
SAP enhancement categories: Can be enhanced (character-type or numeric)
Text table = TMPA1T
SAP TMPA1 table 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 |
MANDT | Client | MANDT | CLNT | 3 | T000 | MANDT | |||
WPGRO | Profit group | WPGRO | CHAR | 4 | CHAR4 | ||||
MARGINP | Profit margin as a percentage | WPMAP | DEC | 5(3) | DEC2_3 | ||||
MARGINA | Absolute Minimum Margin | WPMAA | CURR | 15(2) | WERTV8 | ||||
CURR | Currency for minimum profit margin | WCURR | CUKY | 5 | TCURC | WAERS | |||
INTEREST | Interest rate | WPVEP | DEC | 7(3) | PRO43 | ||||
CALCMETH | Agency business: Method of calculation interest, profit sim. | WZINM | CHAR | 1 | SZBMETH | ||||
CALCPAYDAY | Method for Calculating the Date of Payment | CALCPAYDAY | CHAR | 1 | CALCPAYDAY | ||||
TURNOVER_SIDE | Business Volume of Vendor or Customer | TURNOVER_SIDE | CHAR | 1 | TURNOVER_SIDE | ||||
DISC_CALC | Calculate cash discount | SKONTOBER | CHAR | 1 | XFELD |
Key field | Non-key field |
How do I retrieve data from SAP table TMPA1 using ABAP code
The following ABAP code Example will allow you to do a basic selection on TMPA1 to SELECT all data from the tableDATA: WA_TMPA1 TYPE TMPA1.
SELECT SINGLE *
FROM TMPA1
INTO CORRESPONDING FIELDS OF WA_TMPA1
WHERE...
How to access SAP table TMPA1
Within an ECC or HANA version of SAP you can also view further information about TMPA1 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