SAP ABAP IMG Activity SIMG_OHAX432 (Change Subtype for Address Formatting)
Hierarchy
SAP_HRRXX (Software Component) Sub component SAP_HRRXX of SAP_HR
   PY-XX (Application Component) Payroll: General Parts
     PCAC (Package) Customizing HR Payroll
IMG Activity
ID SIMG_OHAX432 Change Subtype for Address Formatting  
Transaction Code S_AHR_61010741   IMG Activity: SIMG_OHAX432 
Created on 19981221    
Customizing Attributes SIMG_OHAX432   Change Subtype for Address Formatting 
Customizing Activity SIMG_OHAX432   Change Subtype for Address Formatting 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHAX432    

This step explains how to change the sequence in which the subtypes of infotype 0006, Addresses, are read for address formatting.

You need only carry out this step if you do not want to use the subtype 1, Permanent address, that is supplied in the standard system as a basis for formatting addresses in every case.

The subtype or sequence of subtypes processed to format addresses is determined by feature ADDRS. There is a standard entry for this feature with the decision criterion "report class". It determines whether a report formats addresses according to subtype 1, Permanent address.

You can change this standard entry for the report class for the payroll account in the following two ways:

  • You can specify a different subtype for use in address formatting for report class "CKTO" instead of Permanent address (1) (such as Postal address (5)).

  • You can specify a sequence of subtypes for formatting addresses in report class "CKTO". When address formatting takes place, the system uses the highest subtype in the sequence which contains data on the employee.

Please note that you can set up decisions with all other decision operations in the feature structure as well as with decision operation "Report class". For example, it is possible to control address formatting for individual forms using field VARKY.

GENERAL NOTES ON CHANGING THE FEATURE

When changing feature ADDRS, please note the following:

  • The report class (field RCLAS) for the payroll account is "CKTO". If you want to set up a decision using the report class for the payroll account you must enter "CKTO" as the variable key.

  • If you want to format addresses for specific forms you must set up a decision accordingly using field VARKY. The form name for the payroll account is stored in field VARKY. Please note that when setting up the decision in the variable key, you must specify the report class for the payroll account as well as the form name.

  • The subtype Permanent address should not be omitted when the feature is changed, but instead should be included at least as the last entry in a sequence of subtypes. This removes the chance of a payroll account being printed without an address if there are no data records on the employee for the other subtypes which have a higher priority in the feature.

EXAMPLES

Example 1:

You want to format the address for the payroll account using subtype 5, Postal Address. In order to achieve this you must enter the following:

        D    RCLAS

****        &ADDRS=1,

CKTO        &ADDRS=5/1,

This entry specifies that subtype 5, Postal address is to be used for address formatting for the payroll account report class ("CKTO"). If there are no data records on the employee for this subtype, the system uses subtype 1, Permanent address, which should at least have been included as the last entry in the sequence of subtypes.

Example 2:

Your company uses two forms for payroll accounts ("ZK01" and "ZK02"). You want the system to use subtype 5, Postal address instead of subtype 1, Permanent address to format the address for form "ZK01". To do this you must make the following entries:

        D    RCLAS

****            &ADDRS=1,

CKTO        D    VARKY(4)

CKTO ZK01            &ADDRS=5/1,

CKTO ****            &ADDRS=1,

To format addresses for individual forms you must use field VARKY. You must specify the report class for each entry in this field. The second last entry determines that subtype 5, Postal address is to be used to format the address for form "ZK01". If there are no data records on the employees for this subtype, the system uses subtype 1, Permanent address, which should have been included at least as the last entry in the sequence of infotypes. The last entry determines that subtype 1, Permanent address, is to be used to format addresses for all further forms in report class "CKTO".

ACTIVITIES

Use feature ADDRS to change the sequence in which the subtypes of infotype 0006, Addresses, are read when formatting addresses.

FURTHER NOTES

See also the documentation on maintaining features. In the SAP System choose "Help -> SAP Library -> Human Resources -> HR Tools -> Features Editor".




Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency E   Invalid for countries specified 
Customizing Attributes Country Key Country Name
SIMG_OHAX432 AR Argentina
SIMG_OHAX432 AT Austria
SIMG_OHAX432 AU Australia
SIMG_OHAX432 BE Belgium
SIMG_OHAX432 BR Brazil
SIMG_OHAX432 CA Canada
SIMG_OHAX432 CH Switzerland
SIMG_OHAX432 DE Germany
SIMG_OHAX432 DK Denmark
SIMG_OHAX432 ES Spain
SIMG_OHAX432 FR France
SIMG_OHAX432 GB United Kingdom
SIMG_OHAX432 HK Hong Kong
SIMG_OHAX432 ID Indonesia
SIMG_OHAX432 IE Ireland
SIMG_OHAX432 IT Italy
SIMG_OHAX432 JP Japan
SIMG_OHAX432 MX Mexico
SIMG_OHAX432 MY Malaysia
SIMG_OHAX432 NL Netherlands
SIMG_OHAX432 NO Norway
SIMG_OHAX432 NZ New Zealand
SIMG_OHAX432 PH Philippines
SIMG_OHAX432 PT Portugal
SIMG_OHAX432 SE Sweden
SIMG_OHAX432 SG Singapore
SIMG_OHAX432 TH Thailand
SIMG_OHAX432 TW Taiwan
SIMG_OHAX432 US USA
SIMG_OHAX432 VE Venezuela
SIMG_OHAX432 ZA South Africa
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHAX432 0 HLA0100669 Forms 
Maintenance Objects
Maintenance object type C   Customizing Object 
Assigned objects
Customizing Object Object Type Transaction Code Sub-object Do not Summarize Skip Subset Dialog Box Description for multiple selections
PMKC L - Logical transport object PE00 ADDRS 04 Change subtype for address formatting 
History
Last changed by/on SAP  19981221 
SAP Release Created in