PS0581 SAP (Housing ( HRA / CLA / COA )) Structure details
Description: Housing ( HRA / CLA / COA )
Structure field list including key, data, relationships and ABAP select examples
PS0581 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 "Housing ( HRA / CLA / COA )" 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_PS0581 TYPE PS0581.
The PS0581 table consists of various fields, each holding specific information or linking keys about Housing ( HRA / CLA / COA ) data available in SAP. These include HRTXE (Whether HRA to be tax-exempted), ELGMT (Eligible amount for housing(HRA/CLA/COA)), ELGWT (Wage Type), RTAMT (Rent amount (rented/ company leased accommodation)).. 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 PS0581 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 |
METRO | Whether metro | PIN_METRO | CHAR | 1 | CHAR1 | ||||
HRTXE | Whether HRA to be tax-exempted | PIN_HRTXE | CHAR | 1 | CHECKBOX | ||||
ELGMT | Eligible amount for housing(HRA/CLA/COA) | PIN_ELGMT | CURR | 12(2) | CURR12 | ||||
ELGWT | Wage Type | LGART | CHAR | 4 | Assigned to domain | LGART | |||
RTAMT | Rent amount (rented/ company leased accommodation) | PIN_RTAMT | CURR | 12(2) | CURR12 | ||||
ACCOM | Code for Housing type | PIN_HRACD | CHAR | 1 | T7INR7 | CHAR1 | |||
HLPMN | Number of helpers(gardener/maid servant/sweeper) | PIN_HLPMN | NUMC | 5 | NUMC | ||||
WAEHI | Currency Key | WAERS | CUKY | 5 | Assigned to domain | WAERS | FWS | ||
TFURV | Total furniture value | PIN_TFURV | CURR | 9(2) | CURR9 | ||||
HCFUR | Hiring charges of furniture | PIN_HCFUR | CURR | 9(2) | CURR9 | ||||
FRAMT | Fair rental value of CLA /COA | PIN_FRAMT | CURR | 12(2) | CURR12 | ||||
LDAD1 | Landlord's address | PIN_LDADD | CHAR | 35 | TEXT35 | ||||
LDAD2 | Landlord's address | PIN_LDADD | CHAR | 35 | TEXT35 | ||||
LDAD3 | Landlord's address | PIN_LDADD | CHAR | 35 | TEXT35 | ||||
HLAMT | Helper Cost | PIN_HLAMT | CURR | 12(2) | CURR12 |
Key field | Non-key field |
How do I retrieve data from SAP structure PS0581 using ABAP code?
As PS0581 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 PS0581 as there is no data to select.How to access SAP table PS0581
Within an ECC or HANA version of SAP you can also view further information about PS0581 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