cancel
Showing results for 
Search instead for 
Did you mean: 

User exit for VA01

Former Member
0 Kudos

Hii All

I am looking for a user exit for VA01 so that when I save the order the esit should automatically update the header text field.

The user exit should check the table VBKD and field KDGRP and for a particular set of customer group it should update the header text field.

Do let me know if some user exit exist for this.

Thanks & Regards,

Gaurav Manocha

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

done

Former Member
0 Kudos

Hi gavrav,

What i undertsnd from your question is you need to the pricing to take effect in your sales order according to your customer groups for which you have maintained the prices in the condition records.

If it is the case then you have to go to header,sales tab,selct the required price group before entering the materials at the item level and u will be able to get the required prices.

Hope this is what u wanted..

ajay

Former Member
0 Kudos

sorry gavrav you were talking abt the customer groups.

ignore my answer

ajay

former_member204513
Active Contributor
0 Kudos

Dear Gaurav,

Try with this User Exit in the program MV45AFZZ

USEREXIT_MOVE_FIELD_TO_VBKD

Use this user exit to assign values to new fields for business data of the sales document. It is described in the section "Copy customer master fields into sales document".

The user exit is called up at the end of the FORM routine VBKD_FUELLEN.

I hope this will help you,

Regards,

Murali.

Former Member
0 Kudos

Hii Thanks for the information.

This user exit may work, but how will I populate the entries from customer master to order header text.

My objective is to:

- Compare the values in table VBKD and field KDGRP if it equals "X" then

- extract value from customer master (control data)

- populate it to header text in special delivery instruction

I hope i made myself clearer now.

Thanks & Regards

Gaurav

former_member204513
Active Contributor
0 Kudos

Dear Gaurav,

Through maintaining the access sequence in the Text determination of the sales order you can get populate the customer text in to the sales order header text.

You main the Text determination for the customers throuh VOTXN transaction

After that In VOTXN transaction in the sales order text determination access sequence you maintain the Text Object KNA1 table to the sales order text ID.

I hope this will help you,

Regards,

Murali.

Former Member
0 Kudos

Hii Murali

You mentioned about text determination, I have few questions on that:

- Will this work only for set of customers

- I do not want text to be determined for other customers, will this work for that also

- How can i accomplish my objectives using user exit

Thanks & Regards

reazuddin_md
Active Contributor
0 Kudos

Hi Gourav,

There r many exits avaialble in sales order- VA01,

i feel its better to provide your exact requirement. which will be helpful to suggest the rel userexit.

if u want ur req should trigger at the time sales order saving.

then there is an include MV45AFZZ

USEREXIT_SAVE_DOCUMENT.

may help you. & abaper help may needed