SAP ABAP IMG Activity SIMG_OHAC451 (Change Subtype for Address Formatting)
Hierarchy
SAP_HRCCH (Software Component) Sub component SAP_HRCCH of SAP_HR
   PY-CH (Application Component) Switzerland
     P02C (Package) HR Customizing: Switzerland
IMG Activity
ID SIMG_OHAC451 Change Subtype for Address Formatting  
Transaction Code S_AHR_61002532   IMG Activity: SIMG_OHAC451 
Created on 19981221    
Customizing Attributes SIMG_OHAC451   Change Subtype for Address Formatting 
Customizing Activity SIMG_OHAC451   Change Subtype for Address Formatting 
Document
Document Class SIMG   Hypertext: Object Class - Class to which a document belongs.
Document Name SIMG_OHAC451    

In this IMG activity you can change the order in which the system reads the subtypes of infotype 0006, Addresses, for address formatting.

You only need to perform this activity if you only want to use the subtype Permanent address (1) in certain cases or do not want to use it as a basis for address formatting at all.

The subtype or sequence of subtypes for address formatting is determined by feature ADDRS. There is a standard entry for this feature with the decision criterion "report class". It determines that address formatting within a report is based on subtype Permanent address (1).

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

  • Instead of Permanent address (1), you can specify a different subtype for use by report class "CKTO" in address formatting (for example Postal address (5)).

  • You can specify a sequence of subtypes for address formatting in report class "CKTO". When formatting is carried out, the system uses the highest subtype in the sequence which contains the available employee data.

Note that you can also set up decisions using all other decision operations in the feature structure in addition to the decision operation "report class". For example, you can use field VARKY to control address formatting for individual forms.

General remarks for changing the feature

When changing feature ADDRS, 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 address formatting is to be set for individual forms, you must set up an appropriate decision using field VARKY. The form name for the payroll account is stored in this field. Please note that when setting up the decision, you must specify the report class for the payroll account as well as the form name in the variable key.

  • The subtype Permanent address should not be omitted when the feature is changed, but still be included, at least as the last entry in a sequence of subtypes. This prevents a payroll account being printed out without an address if there is no data recorded on the employee in the subtypes with higher priority in the sequence.

Examples

Example 1:

You want address formatting for the payroll account to be done using subtype 5, Postal address. To do this you must make the following entries:

        D    RCLAS

****        &ADDRS=1,

CKTO        &ADDRS=5/1,

This entry determines that subtype 5, Postal address, is to be used for address formatting with the payroll account report class ("CKTO"). If this subtype does not contain any data records on the employee in question, the system uses subtype 1, Permanent address, which should be included, at least as the last entry, in a sequence of subtypes.

Example 2:

Your company uses two different forms for payroll accounts ("ZK01" and "ZK02"). For form "ZK01", you want to use subtype 5, Postal address, instead of subtype 1, Permanent address. 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 can use field VARKY. You must specify the report class for each entry. The second last entry specifies that the system is to use subtype 5, Postal address for form "ZK01" address formatting. If this subtype does not contain any data on the employee in question, the system uses subtype 1, Permanent address, which should be included, at least as the last entry, in a sequence of subtypes. The last entry specifies that subtype 1, Permanent address is to be used for address formatting for all other forms in report class "CKTO".

Activities

In feature ADDRS, change the order in which the subtypes of infotype 0006, Addresses, are read for address formatting.

Further notes

Please see the general documentation on feature maintenance in the SAP Library.





Business Attributes
ASAP Roadmap ID 204   Establish Functions and Processes 
Mandatory / Optional 2   Optional activity 
Critical / Non-Critical 2   Non-critical 
Country-Dependency I   Valid for countries specified 
Customizing Attributes Country Key Country Name
SIMG_OHAC451 CH Switzerland
Assigned Application Components
Documentation Object Class Documentation Object Name Current line number Application Component Application Component Name
SIMG SIMG_OHAC451 0 HLA0009648 Payroll Account 
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 C1  
History
Last changed by/on SAP  19981221 
SAP Release Created in