cancel
Showing results for 
Search instead for 
Did you mean: 

Return sales order with refernce to billing document

Former Member
0 Kudos

Dear All,

while creating the Return sales order with reference to the billing document, i am facing a problem . The problem is -

if the qnty in the blling document is 10 units and i am creating a return sales order with reference to this doc with qnty more than 10 , then the system is allowing it .My requirement is that the system should not allow to make a return order with qnty more than in the reference billing document .( i.e more than 10)

Regards

Satish

Accepted Solutions (0)

Answers (9)

Answers (9)

Former Member
0 Kudos

Hi,

It is not possible returned sales order to qty update more than 10units with reference to Billing Document.If you want to update more than 10 units qty in the system, please create a seperate sales order (T-Code- VA01) with selection of order Type - "Goods Return w/o Ref." for said customer.

Thanx&Regds,

Rajesh

DouglasCezar
Contributor
0 Kudos

Hi Satish,

Thanks for your reply!

I´ve searched a lot and there's really no evidence that the system would handle this situation.

So I will go through the user exit as you said.

Thank you very much!

Regards,

Douglas

Former Member
0 Kudos

Hello Guys I was having the same problem bf4 but it was giving me the warning msg and i went variable msgs and i make this warning msg in to the error msg and now its working fine.....so i think no use to use the user exit.....and it will solve ur problem.....

Regards,

Mohsin

DouglasCezar
Contributor
0 Kudos

Hello Satish!

Please, could you tell me if you solved this issue?

I´m now facing the exact same problem and the only option seems to be the user exit enhancement.

Thanks in advance,

Best Regards,

Douglas

Former Member
0 Kudos

Hi,

For this you have to change the warning message into the error messge in OVAH ( message no-v4 229 i think ). This will throw an error message if the quantity entered in the return order is more than the invoice qnty

Also to check the quantity in the subsequent returns against the same invoice you have to use user Exit MV45AFZZ

hope this will help u

Regards

satish

Former Member
0 Kudos

hi,

Check the message number. Follow the path SPRO-Sales & Distribution-Sales-Sales documents-Define variable messages.

Here for your message number, change message category from W to E (Warning to Error).

JK

Former Member
0 Kudos

Warning message is V1- 499( V1 application area). but this message is not appering in the variable message in OVAH ( variable messages)

Please suggest

Regards

satish

Former Member
0 Kudos

Maintain appropriate field in copy quantity of copycontrol item cat.

Former Member
0 Kudos

Hi,

in include MV45AFZZ use below form routine and add your logic.

FORM userexit_move_field_to_vbep.

ENDFORM.

Ravi.Beri

Former Member
0 Kudos

hi,

in vov7, for the completion rule, try by putting b.

saurabh

Former Member
0 Kudos

.

Message was edited by:

prashant m

Former Member
0 Kudos

Dear All,

Document flow updation is already maintained .Also i cannot check the "complete reference " because it is not necessary that the qnty in the return order is always equal to the billing document ,

Former Member
0 Kudos

hi satish,

Please check is it updated at item level.

Former Member
0 Kudos

Hi

Please check the field 'Pos/Neg qty' in copy control item... if its blank mainatain '+' and try....

Hope this will solve your problem

Let me know

Muthupandiyan

Former Member
0 Kudos

Still not happenig ...

Former Member
0 Kudos

in the scenario mentioned there is a warning message is displayed.

we can make this message to the Error message then system will not be allowed.

if this is not resolved please write the code in MV45AFZZ for the logic you want to block for the return.

Regards

Virandra Sharda

9427630630

Former Member
0 Kudos

Virandra ,

yes i am getting only the warning messge but i want it to convert it to Error message .

Is this possible thru the customization .if yes pls guide me .

The Last option is the enhanacement ...

regards

satish

Former Member
0 Kudos

Hi Satish,

Watever koustubh has said is almost right. But instead of the indiacator 'update document flow', u activate the indicator of 'complete reference'. Then system will copy all the quantity from the source document (here from invoice) to your returns document. And if u try to change ir delete quantity, ul receive error msg.

The 'update document flow' indicator only controls how you wish to maintain the document flow. It wont control the quantity. Koustubh, I am sorry if i m wrong.

Satish, Please try both things separately and let me know what works for you.

- Prashant

Former Member
0 Kudos

Hi Satish,

Goto SPRO -> Sales and Distribution -> Billing -> goto Copy Control -> use Copy control Between billing doc to sales doc.

select the line which refers to ur billing doc and Return Sales doc.

Goto Item level and please check the Check box saying Update Doc Flow .

This check box will keep track of Refernce qty between Billing Doc and Return Sales Doc.

Please reward .