cancel
Showing results for 
Search instead for 
Did you mean: 

user exits for sales order

Former Member
0 Kudos

Hi experts,

i need user exits for sales order creation, my requirement is to put a warning message while creating a sales order in the line item wheneever i enter a material number it should give a warning message. could you help me where i need to write a programme.

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

USEREXIT_SAVE_DOCUMENT_PREPARE is called only when you try to save the sales order. Therefore check with your ABAP developer, whether you can use below user exit.

Include - MV45AFZZ

User Exit - FORM USEREXIT_MOVE_FIELD_TO_VBAP

This is getting triggered as soon as when you enter a material in the Line item.

Best regards,

Rahal

Former Member
0 Kudos

hi ,

user exit- FORM USEREXIT_SAVE_DOCUMENT_PREPARE. consullt abaper before making changes

prasanna_kumar4
Active Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi Ganesh,

write your codes on MV45AFZZ on routine FORM userexit_save_document, it will check as per your coding before saving the sales order.

thanks,

Sandeep Singh Chauhan