Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

How to Save data of Infotype 0006 Permanent address into temporary address?

vimal
Active Participant
0 Kudos

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

6 REPLIES 6

0 Kudos

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

0 Kudos

I would use method AFTER_INPUT or user exit with CMOD (ZXPADU02).

Simply copy the record and change the subtype from 1 to yours.

Former Member
0 Kudos

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

Former Member
0 Kudos

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,

Former Member
0 Kudos

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]

0 Kudos

Hi Chirag,

Thanks for your help.

I have created another thread for my issue, updated with the entries i made, and I can give points there for you kind help as well.

--

Regards

AJ

Edited by: AJ Singh on Aug 23, 2011 1:50 AM