cancel
Showing results for 
Search instead for 
Did you mean: 

QTY in return order more than billed QTY

Former Member
0 Kudos

hi

i am trying to rasie an return order with ref to billing doc and copying the quantity.

Though the qty is getting copied from ref doc,i am able to increase the qty more than billed.

the system is through an waring msg ,but allowing me raise the return order with greater qty.

Same is with subsequent delivery free of charge too,i am able to raise order with this doc type w.r.f to return order and giving greater qty than ref doc.

it is allowing me to go ahead the finish the sales cycle.

Can any one guide me how to restirct the system from taking qty if it greater than the qty from the ref doc?

how and the path in spro please.

thanks

shashi

Accepted Solutions (1)

Accepted Solutions (1)

former_member204513
Active Contributor
0 Kudos

Hi Shashi,

I think as per standard it may give warrning message, If you want to control, you better to go for user exit with the ABAPer help it will solve your problem,you can use these user exits.

Program MV45AFZZ

USEREXIT_SAVE_DOCUMENT

USEREXIT_SAVE_DOCUMENT_PREPARE

I hope it will help you

Regards,

Murali.

Former Member
0 Kudos

DEAR all Thanks for that quick and usefull info.

i am trying it out with my ABAPER.

I shall update you if it is working and served my purpose or not.

regards

shashi

Former Member
0 Kudos

Dear Murali

Sorry for responding too late,

Thanks for your guidance,with the information (user exit) you have provided i could solve the issue.

Thnaking you

regards

shashi

former_member204513
Active Contributor
0 Kudos

No Issues Shashi ....... you are welcome >>>>

Regards,

Murali.

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi friends,

I am also ahving the same problem, like multiple return orders are getting created with one single invoice.

how to proceed to avoid copying of multiple return orders more than the ordr qty.

How to go along with the user exit MV45AFZZ as mentioned in earlier mails.

or anyother customisation is possible?

Regards,

Rajesh

rajeshgsd gmail.com

Former Member
0 Kudos

Dear Mr Chavva,

Trust the message is as follows:-

Class :V4 and Number: 229.

Body of the message is:

Item &1: Order quantity (&2) greater than billed quantity (&3).

If so kindly attempt the following:-

using transaction OVAH kindly locate the message and change its settings from W (warning) to E (error).

Kindly simulate the transaction, expecting it to fail.

In case of disappointments, kindly explore a setting the user exit MV45AFZZ disabling saving of the document in case the quantity exceeds reference document quantity.

Trust the reply is useful.

Regards,

K Gopidas.

Former Member
0 Kudos

Hello Shashi,

The warning what you are getting is normal and this actually happens in SAP.

Please note that the messages in sales order level cannot be changed to error message which will

prevent you from increasing the order quantity more than invoiced quantity.

The only thing you can do is to write a routine, use an user exit which will help you prevent this.

There isnt any related configuration to prevent this.

Hope this resolves your issue.

REGDS

Dhananjay.