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: 

Infotype 0006

Former Member
0 Kudos
145

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 ?

7 REPLIES 7

GauthamV
Active Contributor
0 Kudos
96

hi,

you can create using pa30 transaction.

former_member181995
Active Contributor
0 Kudos
96

Answers 3.

from PM01.

phildeane
Participant
0 Kudos
96

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

Former Member
0 Kudos
96

It is migration of data from one R3 system to other . So I cant use PA30 or PM01 for updating .

0 Kudos
96

>

> 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

Former Member
0 Kudos
96

Hi Suresh,

I am using RFC Call. Could you suggest what methods should be used for uploading data ?

0 Kudos
96

Did you try BAPI_ADDRESSEMP_CHANGE ?

~Suresh