cancel
Showing results for 
Search instead for 
Did you mean: 

Inherit Contract custom fields in Sales order (VA01)

keyur_pawar
Active Participant
0 Kudos

Hello Experts,

I have created a sales order (VA01) with the reference of a Contract but custom fields which I have added in 'Additional Data B' tab (which are common in both) are not getting inherited.

I have checked on Copy control routines on SCN but I am not getting any clear idea about it.

May I know the procedure to get it done the above requirement.

Regards,

Keyur Pawar

Accepted Solutions (1)

Accepted Solutions (1)

jignesh_mehta3
Active Contributor
0 Kudos

Hello,

Since these are Custom Fields these will not be copied automatically. You will to enhance the Copy Control Routine or place a custom code on one of the User Exists in MV45AFZZ to achieve this.

Thanks,

keyur_pawar
Active Participant

Thanks for the quick reply...

It is working via copy control routine, but for that we need to first figure out the source and target documents and their Item category.

In such cases User exits degrades the performance due to their execution at multiple stages in Sales docs.

Answers (1)

Answers (1)

juan_suros
Contributor
0 Kudos

We did this with an implicit end-of-form enhancement in perform USEREXIT_MOVE_FIELD_TO_VBAP of program SAPMV45A.