cancel
Showing results for 
Search instead for 
Did you mean: 

user exit for ship-to entry in VA01

Former Member
0 Kudos

Hi guru's,

I'm looking for a specific USER EXIT for when I press enter on the Ship-to field in Sales Order creation. Could you guys help me out with the name of the exit ?

Regards,

Roy

Accepted Solutions (1)

Accepted Solutions (1)

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Try with subroutine USEREXIT_CHECK_VBAK in include MV45AFZB. Set a value for a partner and press intro. It must be triggered (set a break-point and check it)

I hope this helps you

Regards

Eduardo

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Tell your requirement in detail what you are looking for ?? Based on that suitable exit can be proposed.

G. Lakshmipathi

Former Member
0 Kudos

Hi Lakshmipathi,

The requirement is to place a check on Ship-to field. When a entry is made, we would check to see if it is a valid entry or not. So we require a user exit for when an entry is made in the field and the user presses enter.

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Code your requirement in the userexit suggested. Read the comments,


*&---------------------------------------------------------------------*
*&      Form  USEREXIT_CHECK_VBAK
*&---------------------------------------------------------------------*
*                                                                     *
*       This Userexit can be used to add additional logic for         *
*       checking the header for completeness and consistency.         *
*                                                                     *
*       US_DIALOG  -  Indicator, that can be used to suppress         *
*                     dialogs in certain routines, e.g. in a          *
*                     copy routine.                                   *
*                                                                     *
*       This form is called from form VBAK_PRUEFEN.                   *
*                                                                     *
*---------------------------------------------------------------------*
FORM USEREXIT_CHECK_VBAK USING US_DIALOG.


ENDFORM.

Set the proper filter to avoid performance troubles.

Regards

Eduardo

Former Member
0 Kudos

thanks guru's for your swift responses

I found the userexit i needed. USEREXIT_MOVE_FIELD_TO_VBAK