cancel
Showing results for 
Search instead for 
Did you mean: 

delivering plant in sales order

Former Member
0 Kudos

hi all,

how to make delivering plant is sales order mandatory without using any incompletion procedure.....

the requirement is the user after entering Sold-to party must enter delivering plant and only

after that the material can be enterd at item level.

Please suggest some alternatives.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi

try to use the user exit USEREXIT_MOVE_FIELD_TO_VBEP inprogram MV45AFZZ,

this allow you to control the document at item level i.e you wont be able to enter

a material unless you enter the delivering plant.this can be enhanced by inserting an error statement

in the program..for example"Please enter the delivering plant".

Alternatively you can also check an user exit USEREXIT_CHECK_VBAP in the program MV45AFZB.

Answers (5)

Answers (5)

Former Member
0 Kudos

hi friend, what's your scenario that won't allow incomplete procedure? this is really the most efficient way to map your requirement.

sarthak_mohantysd
Active Contributor
0 Kudos

Hello Sushant,

If you don't not want to use incompletion log then try this out by using authorization object t-code "SU21".

1. Here just create object class and then create a authorization object.

2. When you want to change the authorization field for an object then this is only possible after all the authorization the object uses and all the calls of the AUTHORITY-CHECK language command have been deleted.

3. Just create an activity "ACTVT" in the authorization object and specify the activity permitted for this under "ACTVT".

4.Use user-exit and call the the function module "AUTHORITY-CHECK".

Let me know if you are able to resolve the requirement now.

Regards,

SARTHAK

Lakshmipathi
Active Contributor
0 Kudos

The best and straight method is assigning Incompletion Procedure and I am surprised why you dont what this facility.

The other options are

- in your existing routine assigned in copy control, you have to write this logic in such a way that without delivering plant in sale order, it should not be saved

- try with sale order user exits

thanks

G. Lakshmipathi

Former Member
0 Kudos

Try with T code - SHD0, wherein you'll have to make the RV45A-DWERK field as Required.

This could solve your problem.

Thanks,

Swamy H P

Former Member
0 Kudos

hi

try using screen variant in SHD0 tcode

here mark it as required

regards

Former Member
0 Kudos

Hi

Dont repeat the same threads

u have already posted the same query

regards