Skip to Content
Former Member
Feb 15, 2006 at 12:59 PM

Delete employee from work centre - BDC


Hi ,

Iam doing a BDC to delete employee from workcentre. The tcode for workcentre is CNR2. when u enter CNR2, u need to enter workcentre number ( which has the employee to be deleted ) and plant and press enter. in the next screen there is a tab called " HR assignment " u need to click that. it will take u to another screen which has no of employees attached to the workcenter.

we need to expand the person list by clicking "+" icon next to person , here there is a list of persons attached to the workcentre. we need to choose the person to be deleted . keep the cursor on the employee name and click the delete icon or from the menu screen we can delate relationship. either ways it works , then we need to save.

The problem is when iam recording BDC for this the employee to be deleted is not getting recorded it just showing cursor for the screen , like

<b>perform bdc_dynpro using 'SAPMSSY0' '0120'.

perform bdc_field using 'BDC_CURSOR'


perform bdc_field using 'BDC_OKCODE'


Iam not able to link the employee filed to that of the text file.

Is there any way to do this , Please give me valuable inputs for this.