08-03-2011 6:56 AM
In Infotype 0006 there is subinfotype 1 for permanent addess , while saving permanent address the subinfotype 2 Temporary address should get saved with same information mentioned in subinfo type 1 . That is I want save the same address in temporary address when we are saving the permanent address. Please suggest steps how to do it?
Edited by: VimalSharma on Aug 3, 2011 8:22 AM
08-03-2011 7:30 AM
You can use BADI: HRPAD00INFTY method: BEFORE_OUTPUT
Read documetation and check existing standard implementations of badi for usage. In structure PRELP you will get infotype and subtype
08-05-2011 8:33 AM
I would use method AFTER_INPUT or user exit with CMOD (ZXPADU02).
Simply copy the record and change the subtype from 1 to yours.
08-05-2011 7:35 AM
HI Vimal,
I have a similar requirement, need to copy permanent addr to mailing addr...
i can get the data for the infotype, but do not understand how copying the same into a similar structure with subtype = 5 will help.
pls share the solution you applied.
--
regards
08-08-2011 10:56 AM
Hello Vimal,
You can use Dynamic Actions to address this requirement. This will be the correct way of doing that other then using user exits.
Regards,
08-08-2011 10:59 AM
Vimal,
please refer to the below mentioned link for your reference -
[http://sap.ittoolbox.com/groups/technical-functional/sap-hr/dynamic-action-for-copying-it-0006-address-1497419|http://sap.ittoolbox.com/groups/technical-functional/sap-hr/dynamic-action-for-copying-it-0006-address-1497419]
08-22-2011 6:21 AM