2005 Dec 20 4:53 PM
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.
2005 Dec 20 4:56 PM
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
2005 Dec 20 5:04 PM
hi suresh,
i done that before.but the requirement is i need to update it through pa30 transaction only.
Thanks.
Madhu.
2005 Dec 20 5:01 PM
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
2005 Dec 20 5:05 PM
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
2005 Dec 20 5:06 PM
Hi Madhu,
This function module takes care of what ever you are doing n PA30.
Venu
2005 Dec 20 8:33 PM
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.
2005 Dec 21 6:34 AM
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.