SAP for Automotive Discussions
Connect with fellow SAP users in discussions to troubleshoot challenges, share best practices, and fuel each other's success. Join a conversation or start your own.
cancel
Showing results for 
Search instead for 
Did you mean: 

Doc type in VMS

tariq_aziz
Participant
0 Kudos
473

Dear Auto wizards,

The std VMS has one doc type for a sales order. if I want to provide the user to make a choice of the sales order doc type, where should i head for making the setting?

I guess it would be some BADI.

Please do enlighten.

Regards,

Tariq

1 ACCEPTED SOLUTION

Former Member
0 Kudos
334

Hello Tariq,

please refer to note 903913 regarding writing and enhancing actions in VMS.

In a nutshell, I think you need to do the following things:

1.)

replace the action subscreen of CUOR so that you can add the field for the sales order type

2.)

enhance structure VLCACDATA (if the field isn't available already anyway) to transport the information from the UI to the action function module

3.)

implement BAdI "vlc_cuor_execute" to forward the information to the sales order BAPI

This might not be the complete list of things to do, so please read the cookbook attached to the note.

Kind regards,

Steffen

View solution in original post

2 REPLIES 2

Former Member
0 Kudos
335

Hello Tariq,

please refer to note 903913 regarding writing and enhancing actions in VMS.

In a nutshell, I think you need to do the following things:

1.)

replace the action subscreen of CUOR so that you can add the field for the sales order type

2.)

enhance structure VLCACDATA (if the field isn't available already anyway) to transport the information from the UI to the action function module

3.)

implement BAdI "vlc_cuor_execute" to forward the information to the sales order BAPI

This might not be the complete list of things to do, so please read the cookbook attached to the note.

Kind regards,

Steffen

former_member183879
Active Contributor
0 Kudos
334

Hi Tariq,

Most of the times, in VMS, we dont use the standard actions provided by SAP, becos of the need for new validations, custom processes etc. So, in those cases, we need to copy the existing action and create a new action. Also we have to copy the BADI ( we have enabled actions through FMs, prepare, execute and history FMs) or FM whatever is applicable and change it to our reqmt. Once this is done, we can link the action to the action matrix and start running the functionality