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

sales Order Creation

Former Member
0 Likes
428

Hi ,

While creating Sales Order, when I enter Item number, material number and quantity and press enter. It creates sales Order and take the default Storage location as 'C101' without checking whether the storage location is not valid for that material or not.

Some times it checks the validity of the storage location.

I dont know why is it happening . Do I need to Write some code in the User exit? Please suggest .

Hi ,

While creating Sales Order, when I enter Item number, material number and quantity and press enter. It creates sales Order and take the default Storage location as 'C101' without checking whether the storage location is not valid for that material or not.

Some times it checks the validity of the storage location.

I dont know why is it happening . Do I need to Write some code in the User exit? Please suggest .

2 REPLIES 2
Read only

Former Member
0 Likes
410

the configuration is done in such a way that it will validate the storage location for particular document types and it will bypass for some document types...

u can even write code in user exit if u want to validate all storage location data irrespective of the configuration.

Read only

Former Member
0 Likes
410

write the code under MV45AFZZ

FORM USEREXIT_MOVE_FIELD_TO_VBAP.

  • VBAP-zzfield = xxxx-zzfield2.

ENDFORM.

Reward Points if it is helpful

Thanks

Seshu