Академический Документы
Профессиональный Документы
Культура Документы
(Overview)
Incase of Return Sales Order:
T.Code for copy control: VTAF
Source Document: F2
Target Document: RE
Item category REN
In the case of India for capturing credit for Excise, use T.Code: J1IH --> other Adjustment and based on the credit to be
taken, make the necessary entry.
First in VA02, remove the Billing Block in Return Sales Order - RE and save the document. Now in T.Code: VF01, enter
Return Sales Order Number and select the appropriate Billing Type (Credit Memo) and Enter and Save. This will create
Credit Memo.
For Interview:
Returns...scenario
Dear gurus,
Created sales order no 1.(Qty=100)-->Delivery(Qty=100)->PGI---->Invoice(Qty=100)
Returns Ret sales order1.1 * with reference to sales order no 1*.(Qty=100)---
>Delivery(Qty=100) >PGR->invoice(Qty=100).
Returns Ret sales order1.2 * with reference to sales order no 1*.(Qty=100)---
>Delivery(Qty=100) >PGR->invoice(Qty=100).
1. This is expected behaviour and is the SAP functionality. Even though the sales order
is for 100 units, returns beyond 100 units is possible. When you create return order
with reference to the invoice, the quantity field is not greyed out, which should ideally
be the case. However it is also possible that during returns, the order is only used as
a reference, but a material belonging to multiple sales orders is returned all at once.
This is a process as designed by SAP. We also faced this scenario, but left it as
such, as such transactions are rarely executed in the system.
2. If you see this transaction as critical, you can either control it through copy control, or
write a logic in one of the user exits that the return order quantity shoudl not be more
than the order quantity in total. Only that should solve ur problem.
In program MV45AFZZ, userexit USEREXIT_SAVE_DOCUMENT_PREPARE can
be used. You would have to request your ABAP colleague to check RV45A-
KWMENG in the sales order, if it is UNCHANGED ONLY then create sales order. If
this value is changed Do NOT save the sales order.
--------------------------------------------------------------------
USEREXIT_SAVE_DOCUMENT_PREPARE
Use this user exit to make certain changes or checks immediately before saving a
document. It is the last possibility for changing or checking a document before
posting.
The user exit is carried out at the beginning of the FORM routine BELEG_SICHERN.
----------------------------------------------------------------------
In VOV8, for your sales document type, field ""Reference mandatory"" = B with ref to
quotation.
Here EITHER you can have ref. to quantity contract or ref. to quotation. This is a
bottleneck.
By this above setting user cannot create sales order without reference.
Go to OVAH select the message class V4-229 and change it to "E" in the last column. Now try to
create a return order over and above the invoiced quantity.
First of all, I do not think any company follows this kind of business scenario!!!!. From Technical
Perspective, yes, you can ensure that while creating the return order with reference to the original
sales order, System should cummulate the reference quantity based on the return sales order.
This you can control via copy control setting from Sales Document to Sales Document (VTAA). Mark
copy control at item level for field Pos./neg. quantity as +. This will ensure that system does not
allow to copy over and above the original sales document quantity.