Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

User exit not active when saving sales orders

Former Member
0 Likes
737

while creating a sales order (VA01) i need to update the storage location based on division . for this the badis and user exits are not triggering while creating a sales order for the above requirement

any solution........

<removed by moderator>

thanks in advance..

<Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>

Edited by: Mike Pokraka on Aug 7, 2008 8:38 AM

while creating a sales order (VA01) i need to update the storage location based on division . for this the badis and user exits are not triggering while creating a sales order for the above requirement

any solution........

<removed by moderator>

thanks in advance..

<Subject edited. Please read the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement]>

Edited by: Mike Pokraka on Aug 7, 2008 8:38 AM

5 REPLIES 5
Read only

Former Member
0 Likes
708

Hi ,

try program MV45AFZZ , and u need to work on tables X/YVBAP.

Regards

Prabhu

Read only

Former Member
0 Likes
708

JVP,

MV45AFZZ this is the include which is trigger while creating SO.

use FORM USEREXIT_FIELD_MODIFICATION to write code.

your code look like if sy-tcode = 'VA01'.

update field.

endif.

Amit.

Read only

0 Likes
708

i need to set storage location with respect to sales division

while saving the va01(Sales order Creation) let me know which exit /badi triggers

Read only

0 Likes
708

Hi Amit and prabhu

thanks for u r reply ....

but the include MV45AFZZ. is not triggering when iam saving the sales order ...........please let me know which include triggers

before saving the so

Read only

0 Likes
708

Try to set break-point in form FORM USEREXIT_SAVE_DOCUMENT either FORM USEREXIT_SAVE_DOCUMENT_PREPARE .

sampal code:

if sy-tcode = 'VA01'.

break-point.

endif.

it should stop.

Amit.