2005 Nov 16 10:19 AM
Hi All,
We have a requirement where we need to make use of the transaction CNR1 & CNR2 to validate the employee number, can anyone tell me is there any user exit/BADI available for this purpose, I have searched for the user exits using a small utility program which resulted in 'No Exits',
Your quick help would be highly appreciated,
Rgds,
2005 Nov 16 10:30 AM
Hi,
To search for a BADI you need to go to
transaction SE80->Package->Enhancement->BADI
From here you can find out a badi for that particular transaction.
Or otherwise you can goto that SAP standard transaction CNR1 & CNR2 System->status->program
and look for the statement in that program:
CL_EXITHANDLER=>GET_INSTANCE
This helps you to search for BADI..
Reward me if this helps you.
2005 Nov 16 10:30 AM
Hi,
To search for a BADI you need to go to
transaction SE80->Package->Enhancement->BADI
From here you can find out a badi for that particular transaction.
Or otherwise you can goto that SAP standard transaction CNR1 & CNR2 System->status->program
and look for the statement in that program:
CL_EXITHANDLER=>GET_INSTANCE
This helps you to search for BADI..
Reward me if this helps you.
2005 Nov 17 9:38 AM
Hi Sailatha,
I am not very clear with the requirement. I would appreciate if you can explain me the scenario.
As I understand the requirement there is no user exit exists for this purpose but there is one BADI available for CNR2 which can only be used if we try to remove the HR assignment to work center and the assignment is to Object Type "US" (User HR object). Hope this helps.
Definition name: CRHRORG
Method: CHECK_DEASSIGN_HRORG
Kind Regards,
Sanjeev Munjal
2005 Nov 17 9:50 AM
Hi Sanjeev,
Thanks for the response, we were encountering an error while assigning the employee to the workcenter from CNR2 transaction.
Hope your answer will resolve the issue.
Rgds,