cancel
Showing results for 
Search instead for 
Did you mean: 

Field entry mandatory based on sales org

former_member212707
Active Participant
0 Kudos

All,


We have a requirement where we need to make a field mandatory only for certain sales orgs on a sales order type.

I cannot add this field to the incompletion procedure assigned to the header level of this order type because it is used by multiple sales orgs and we only need to control it for orders created in one or two sales orgs. The field is a Z field in the additional data B tab available in the VBAK table.

Is there any standard way to achieve this or do we have to go for a custom development? Any ideas would be appreciated

Thanks,

Ravin

Accepted Solutions (1)

Accepted Solutions (1)

moazzam_ali
Active Contributor
0 Kudos

Hi

There is no standard way to make this field mandatory for some specific sales organization. You have to write a code in MV45AFZZ program. Take help of your ABAPER and ask him to incorporate this for you in USEREXIT_MOVE_FIELD_TO_VBAK .

Thank$

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Do you mean to say you have one sales document type for multiple sales organizations?  If not, you can differentiate the incompletion procedure and assign it to your order type.

G. Lakshmipathi

former_member212707
Active Participant
0 Kudos

Yes Sir,We have only one sales doc type being used across multiple sales orgs. So i think that rules out having different incompletion procedures.


As Moazzam suggested, we will have to go with writing the code in the userexit.

Thank you for your inputs

Ravin