Application Development and Automation 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 0002

Former Member
0 Kudos
169

hi,

I am updating Infotype 0002 through PA30 transaction,

I am getting different screens for 0002 Infotype (eg Screen 2010 for US 3042 for taiwan country etc),its setting screens on some condition,

How to proceed on this ??

Thanks.

Madhu.

7 REPLIES 7

suresh_datti
Active Contributor
0 Kudos
134

Hi Madhu,

If you are trying to do a BDC for 0002 pl use the delivered function module 'HR_INFOTYPE_OPERATION'. It does perform all the screen field checks.

Regards,

Suresh Datti

0 Kudos
134

hi suresh,

i done that before.but the requirement is i need to update it through pa30 transaction only.

Thanks.

Madhu.

Former Member
0 Kudos
134

Hi Madhu,

If you want to continue with BDC only then Check MOLGA (country groupping) field and populate DYNTAB accordingly.. else use HR_INFOTYPE_OPERATION function..

Hope this helps..

-Bharat

Former Member
0 Kudos
134

Hi,

Use the function module HR_INFOTYPE_OPERATION for updating the infotype. It will automatically take care of screens.

You have to use BAPI_EMPLOYEE_ENQUEUE before using the above function module and BAPI_EMPLOYEE_DEQUEUE after the above function module.

So the sequence is

BAPI_EMPLOYEE_ENQUEUE

HR_INFOTYPE_OPERATION

BAPI_EMPLOYEE_DEQUEUE

Please close the issue with appropriate points if helpful.

Good luck.

Venu

Former Member
0 Kudos
134

Hi Madhu,

This function module takes care of what ever you are doing n PA30.

Venu

Former Member
0 Kudos
134

If you are really interested in country specific screens, go to Table T588M.

SELECT SINGLE adynr INTO p_screen FROM t588m WHERE

repna = 'MP000200'

AND dynnr = '2000'

AND varky = Molga

adynr will give you the screen no. to use.

Former Member
0 Kudos
134

Hi madhu,

1. I think this is the default behaviour.

For different countries there are different screens

as designed by the standard program.

2. This probably can be changed

in customizating.

ie. for this country --> use this screen.

regards,

amit m.