2008 Oct 20 1:34 PM
HI All,
A) I need to create new entries to infotype 0006 ( address Data) .
What would be a better approach
1) BADI
2) Use FM
3) Is there some other way??
B) Also if there exists a record I need to modify few fields
How to do this ?
2008 Oct 20 1:36 PM
2008 Oct 20 1:37 PM
2008 Oct 20 1:40 PM
Hi,
To change data in an infotype as part of a custom development I would recommend using FM HR_INFOTYPE_OPERATION. It will handle modification or delimiting a current record and creating a new one (depending on the time constraint configured for the infotype and sub type combo)
BADI would be for adding logic to perform another task during the save / display of the data (as would the user exits)
PA30 is for maintaining the data as a user
PM01 would be used to customise the infotype
Cheers
Phil
2008 Oct 20 1:43 PM
It is migration of data from one R3 system to other . So I cant use PA30 or PM01 for updating .
2008 Oct 20 2:09 PM
>
> It is migration of data from one R3 system to other . So I cant use PA30 or PM01 for updating .
Why don't you use ALE?
PM01 is to create a custom infotype or add custoom fields to a Std infotype.
PA30 is to Maintain Master data of an employee .. not for mass update..
~Suresh
2008 Oct 20 2:21 PM
Hi Suresh,
I am using RFC Call. Could you suggest what methods should be used for uploading data ?
2008 Oct 20 2:23 PM