cancel
Showing results for 
Search instead for 
Did you mean: 

Sales employee

Former Member
0 Kudos

Sales employee is been created in HCM in our company and this personnel number which has been created will be used in sales transaction like Qt or sales order. If this personnel number which has been created as sales employee if resigned will be marked as DELETED  in HCM. But in our sales transaction still we can use this number even after assignment of deletion and the message gives it as SALES EMPLOYEE 10562 HAS BEEN DELTED and this is warning message. My issue is it should not allow to enter by anybody if it has been assigned as DELETED indicator. How can i achieve this.

Accepted Solutions (0)

Answers (3)

Answers (3)

hualin_zhang
Participant
0 Kudos

It is SAP standard behavior that the deletion flag doesn't prevent the SO creation. This behavior is the same for customer master data.

To achieve your requirement, as Crystal explained above, you may need to change the message VPD002 from a warning to an error on code level.

Alternatively, you may also consider archiving the sales employee. After that, the user will not be able to create SO with that sales employee any more.

Hope the information is helpful.

Best regards,

Hualin

former_member200027
Active Participant
0 Kudos

Hi,

Do you set the deletion flag in XD06? What is the message number of waring " sales employee has been deleted", is it VPD002?

In standard system, warning message VPD002 will be issued when creating order with a partner function that has been marked as deletion. The deletion flag is used for archiving purpose, the customer is not deleted actually.

Also, the message is hard coded as warning so that it cannot be changed to error via customizing.

You need to implement modifications to change it to error so that it is not possible to create order with

such partner function.

Best regards,

Crystal Lin

siva_vasireddy2
Active Contributor
0 Kudos

Hi,

confirm under which partner Function you have assigned the sales employee created in HCM

The partner function need to be as SE  

Former Member
0 Kudos

Partner function assignment is PE in partner procedure

siva_vasireddy2
Active Contributor
0 Kudos

hi,

check what is the error group assigned to the partner function and partner function type in partner determination