RE: Return order Pricing
Hi
Suppose i received a return order and on the basis of this order i create a Credi memo.The actual billied amount to the customer is Rs 1260. (Order Qty 10, Material price is Rs 100 , CST is 4% , Service Tax is 12% and Transporttation charge is Rs 100 ) Now the customer is returned 5 materials. So in Credit memo do we have to also credit the Tax amount and Transportation charge to the customer for this returned item( Rs 630) or we only credit the price of the material.
Please guide me what should be the pricing procedure for the returned item.
Regards
Jyoti
Hi there,
I depends on the business to decide of they want to charge for service & transportation for returns.
If yes, then it is better to carry new pricing procedure for the returns scenario.
Define a new doc pricing procedure for the returns & maintain new pricing procedure along with required condition types.
If business doesnot want to charge service charge & transportation & wants to return the cost of service & transportation paid by the customer, then just copy the pricing into the returns order.
So customer will get $ 630 paid for the 5 items in total.
In this case at the copy control from F2 to RE in VTAF --> at the item level pricing type --> cjhoose the option which will copy pricing elements unchanged (I am not sure what option as I am not connected to SAP rightnow).
So if customer returns 5 out of 10 items, he will ger a credit memo of $ 630 (half of total value of $1260 he paid in F2 invoice).
Regards,
Sivanand
Similar Messages
-
Bill to Return order - Pricing procedure determination
Hi
Need expert advice on following customization.
We have a return order getting created with reference to F2 invoice. We need to have a new pricing procedure determined in the return order instead of the pricing procedure copying from F2.
I have changed the pricing type in F2 - RE copy control to B. I have set up a new document pricing procedure for RE. I have setup the pricing procedure for RE.
Still i am finding the F2 procedure getting copied to RE.
Need your help on this.
Thanks & Regards,
CLNHi Chakravarthy,
Would like to know if the return order was created before the configuration changes??? If yes, then in the return order condition tab you would have an update option. Choose pricing elements to be redetermined.
Regards
Nadarajah Pratheb -
Hi,
Can anyone help me on an user exit for return orders pricing.i have to do the pricing based on some logic .but im unable to find the table in which material/customer exists (except KNMT table) such that i can find entry for shipment and go head and find the avg price.
can suggestion also is welcomeHi,
following is the code that can be helpful.
use the following code in the MV45AFZZ include program and trigger the following code in a include program USEREXIT_PRICING_PREPARE_TKOMP.
hope it helps.
CHECK vbak-auart EQ 'ZRE'.
*CHECK vbak-vkorg EQ '1300'.
T Y P E D E C L A R A T I O N S *
TYPES : BEGIN OF ty_s_retorders,
kunag TYPE vbrk-kunag, " Customer Number
vbeln TYPE vbrp-vbeln, " Billing Doucuement
matnr TYPE vbrp-matnr, " Material Number
vgpos TYPE vbrp-vgpos, " Item Number
fkimg TYPE vbrp-fkimg, " Item Quantity
netwr TYPE vbrp-netwr, " Net price of the Item
erdat TYPE vbrk-erdat, " Date of cretaion of the record
value TYPE vbrp-netwr, " Net value of the Item
END OF ty_s_retorders,
ty_t_retorders TYPE STANDARD TABLE OF ty_s_retorders.
V A R I A B L E S *
DATA : lv_quant TYPE vbrp-fkimg, " Total quantity
lv_value TYPE vbrp-netwr, " Total value of the materials
lv_avgpr TYPE vbrp-netwr, " Averge Price of the material
lv_dat TYPE i, " variable to hold the year value
lv_date TYPE vbrk-erdat. " Creation date of the docuement
I N T E R N A L T A B L E S *
DATA : gt_retorders TYPE ty_t_retorders.
G L O B A L D A T A D E C L A R A T I O N S *
DATA : gs_output TYPE ty_s_retorders.
CONSTANTS : lc_zpr0(4) TYPE c VALUE 'ZPR0' .
Get date value which is 12 months ago.
lv_dat = sy-datum+0(4) - 1.
lv_date = sy-datum.
lv_date(4) = lv_dat.
Select data
SELECT vbrk~kunag " Customer Number
vbrp~vbeln " Billing Doucuement
vbrp~matnr " Material Number
vbrp~vgpos " Item Number
vbrp~fkimg " Item Quantity
vbrp~netwr " Net price of the Item
vbrk~erdat " Date of cretaion of the record
INTO TABLE gt_retorders
FROM vbrp JOIN vbrk
ON vbrkvbeln = vbrpvbeln
WHERE vbrk~erdat BETWEEN lv_date AND sy-datum
AND kunag EQ vbak-kunnr
AND matnr EQ vbap-matnr.
CLEAR: lv_quant,
lv_value.
loop the internal table and get the total of quantity and value
LOOP AT gt_retorders INTO gs_output.
gs_output-value = gs_output-fkimg * gs_output-netwr.
lv_quant = lv_quant + gs_output-fkimg.
lv_value = lv_value + gs_output-value.
ENDLOOP.
calculate the average pricing value
CLEAR lv_avgpr .
lv_avgpr = lv_value / lv_quant.
CLEAR xkomv.
READ TABLE xkomv INTO xkomv WITH KEY kposn = vbap-posnr
kschl = lc_zpr0 .
IF sy-subrc EQ 0.
xkomv-kbetr = lv_avgpr .
MODIFY TABLE xkomv[] FROM xkomv TRANSPORTING kbetr .
ENDIF. -
How to avoid user from entering new price condition in return order
Dear Expert
We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
The price must come according to the Qty being referenced.
While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
Thanks
Edited by: Lakshmipathi on Jan 31, 2012 6:55 PM
Thread Locked - Reason Cross Postokie .... i will tell briefly what is the problem ....
Take a scenario wherein a user has logged into my application and he is performing a task which will put his user id and his employee id into the session. Then he opens another window by using either ctrl+n or through files->new window.
So now a new browser will open but the session will be same ..... in this newly opened browser, user performs some operation which will remove the user id and employee id from the session .... Now if he again comes back to the first window and tries to do some operation, then a null pointer exception will be thrown saying that the employee id is null .... because he has deleted that in the newly created browser ..... to avoid this situation what can we do ???? can you please help me in this regard ??? you got my problem right !!! -
Restrict new price conditions in the return order and credit note
Dear Expert
We are facing a scenario where we make return order; the Price is copied from the invoice. And it is working perfectly. The system does not allow us to change the price.
The issue we are facing here is that user can input new condition like discount /premium and change the net value for the return order pricing, and this will reflect in the credit note for returns.
Is there a way to restrict the user from entering any pricing condition in the header or item conditions tab.
although we cannot change the original price coming from invoice referenced for return order, but the user can input new price conditions as below. This must not be allowed.
The price must come according to the Qty being referenced.
While making the credit for returns, the user has a chance of further making changes to the net value by adding new conditions. Hence this must also be restricted for any changes.
ThanksHi
Firstly,In copy control maintain anyone of the pricing types
D: Copy pricing elements unchanged
E: Copy pricing elements and values unchanged
To avoid all these things go with USEREXIT_FIELD_MODIFICATION but before going with the user exit,also check with transaction variant SHD0.
Regards
Srinath -
Create return with reference to original sales order - pricing
Hi
I am using the function SD_SALESDOCUMENT_CREATE to create a return order with reference to the original sales order.
All the information from the original sales order (including pricing conditions) I've read with the function BAPISDORDER_GETDETAILEDLIST.
The problem : the pricing conditions. I need to copy the conditions from the original order and it is not working correctly.
Any ideas?
Thanks.
AncaCorrect...
You need something like:
*Get the pricing cond number.
select single knumv from vbak into cond
where vbeln = '0000080347'.
if sy-subrc = 0.
Get the pricing record which are by line item.
select * from konv into table konv_tbl where knumv = cond.
Loop thru them one line at a time.
loop at konv_tbl.
bapi_cond-itm_number = '000010'.
bapi_cond-cond_st_no = konv_tbl-stunr.
bapi_cond-cond_count = konv_tbl-zaehk.
CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
EXPORTING
RETURN_HEADER_IN = bapi_hdr
BUSINESS_OBJECT = 'BUS2102'
CONVERT = 'X'
IMPORTING
SALESDOCUMENT = bapi_salesdoc
RETURN = BAPI_RET
TABLES
RETURN = bapi_ret_tbl
RETURN_ITEMS_IN = bapi_itm
RETURN_ITEMS_INX = bapi_itm_out
RETURN_PARTNERS = bapi_prtnr
RETURN_SCHEDULES_IN = bapi_schd_lin
RETURN_CONDITIONS_IN = bapi_cond. "pricing
ORDER_TEXT = bapi_text. -
Programmatically assigning pricing condition to Return Order
Hi Experts,
I have the following requirement:
Assigning a Z pricing condition to Return Order based on certain logic. I am doing this through the user exit USEREXIT_PRICING_PREPARE_TKOMP in program MV45AFZZ. I am filling up all the details in the structure XKOMV. This works but not the way it should.
In VA01/VA02, when the user puts the quantity in the line item and presses enter, the amount and net value doesnt get updated. When he goes to the conditions tab (item level), and presses enter again, the amount and the net value get correctly updated.
Please let me know why is this happening, do I need to pass values to another structure as well?
Look forward to your replies ASAP.
Thanks in advance!
Regards
VickyHI ,
Yes it is because of user exit .Try to use another user exit or create one enhancement spot then it work perfect. -
Create Sales Return Order by BAPI,in pricing manual conditions don't appear
Dear All,
While creating Sales Return Order by using BAPI function module, in pricing manual header conditions are not appearing.
I tried following FMs for creating Sales Return Order. Sales Return Order created but manual header conditions are not appearing.
1. BAPI_CUSTOMERRETURN_CREATE
2. BAPI_SALESORDER_CREATEFROMDAT2
3. SD_SALESDOCUMENT_CREATE
If we create through transaction code u2018VA01u2019 with reference document, manual header conditions are appearing in pricing perfectly.
SAP version is SAP ECC 6.0.
MakarandHi there,
Is your return referenced from the F2 invoice or from the riginal order?
If it is from F2 then in VTAF & if it is from OR then in VTAA --> at the item level --> pricing type select the option G copy pricing element unchanged & redetermine taxes or C copy pricing elements & redetermine others. Choose the required option. This is when the same pricing procedure is used in OR & RE order types.
Regards,
Sivanand -
How to keep the same cost in Sales order and return order?
Hi experts,
When I create a sales order with item cost 100 USD.
Then the cost of item changed and down to 90 USD.
When I do goods return refer to the sales order. How can I keep the same cost (VPRS) 100 USD but not 90 USD?
I made a test the cost in sales order is 100 USD but 90 USD in return sales order.
I want the cost in return sales order is 100 USD.
How can I do?
Thanks,
LanceHi,
Let me tell u my understanding of your requirement, after the sales the cost of the item is changed to some thing low than it was in sales order or invoice, in this scenario you need to transfer the cost of the material as it is in the sale order or invoice (which you are taking as reference to create a Return Order), am i right?
If so, you can proceed like this.
In the copy controls of Billing to Sales orders ( F2 to RE) we have the pricing type N assigned to it ( Transfer pricing components unchanged, New Cost) here the system is reading the change of the cost again from the material master. if you don' t want it to read the material master data again we can have a change try with pricing type 'D' (Copy Pricing elements unchanged), and try now.
let me know the result.
hope this will solve your problem. -
A problem with return order with free goods
Hello
I am working on ECC 6.0
I am facing a problem with the return order the case is I created an order of 1000 pc with inclusive free goods (w/o item generation) condition record that for every 10 pc over the 100 the customer will take 1 free pc
1 pc = 10 $
100 pcs = 900 $
120 = 1080 $
the problem when I am creating a return order with 30 pcs the system calculate the price as if there are free goods the system returns the 30 pcs with 270 $ instead of 180 $ and it should not calculate the free goods because the remaining items are 90 pcs that should not take a free goods discount
Regards
Jacopo Francioshi ,
Such scenerios can be tackled by different pricing procedure in return scenerio.
See Pricing procedure Depends on sales area + customer pricing procedure + Document pricing procedure .
So for Return document type please maintain different pricing than the normal scenerio this will solve ur problem.
This is generally done also for tackling such scenerios.
Thanks & Regards -
Amount on Goods receipt for return orders is wrong with movement type 653
Hi All, I am sorry if it is a simple question because i am an abap'er.
My requirement is to create return sales order (with ref.to Billing document) and deliver and PGI for the return orders. This should go to sales order stock. Accounting document should be generated for material document and the amount should be picked up from condition type (if man.cond. type exist) else from material master.
1) Created a sales order (Bought in item cat) - Create PO (Non stock) - Receive goods (MIGO) - Create Delivery (VL01N) - PGI (Movement type 601 and special stock indic. 'E') - Create billing document (F2 type from VF01)
So far it is good. The account document is created (PGI - cost of goods) with correct amount as desired
The next scenario is if the material is returned? This is where we are having issues
Created sales order with ref.to billing doc. (S.O: RE. Item.Cat. Return Bought in (YRBI)... this is pretty much same as bought in except few things which are YRBI - Delivered - PGI (Goods returns. unrestricted) Movement type 653 - Problem comes here.
a) If i put special stock indic 'E' in 'Return bought in item.cat - There is no accounting document generated for 653 movement type.
b) if i maintain space instead of 'E' in return bought in item.cat - there is an accounting document but the manual cost is not copied to accounting document and it is picking up from material master which we dont want and The stock is not showing up in sales order.
I did my research (forum, OSS, google, and in help.sap.com) before posting here but no help.
I have checked account assignment categories for 'A' - (some post explained this) I tried changing values but no help.
I even tried changing the schedule line category to DN but no help.
I dont know what i forgot to change or check but i have tried everything what i know and from help from different sources ... still couldnt get it.
Original requirement is to make the return stock as sales order stock and this can also be returned to vendor. If there is a manual cost in return sales order, the PGI accounting document should be created with this condition value else from material master.
My pricing settings are good.
It would be really helpful if any one guide me to configure the process or atleast if anyone tells me what am i missing... .Have a look at any of the following notes:-
1) Note 171989 - Sales-order-related productn: Custmr exit COPCP002
2) Note 520000 - FAQ: Valuated special stocks
3) Note 557582 - User exit and valuated sales order stock
4) Note 580228 - Incorrect prices for materials procured externally
5) Note 983193 - Docu:Externally procurd material in valtd sales order stock
thanks
G. Lakshmipathi -
Dear All,
We are creating return order with reference to billing document.Billing document has free goods as second line item .When I create return order only main item is getting referenced not the free goods .
Is it a standard behavior ? can we achieve to copy free goods in return order also??
Needed quick reply please... gone thru few sdn links .but all with confusing solution .....with all setting suggested I could not achieve
Kindly guide.........
Umesh KaranthDear Sir,
I have maintained for the combination of TANN TO REN as follows:
copying requirement for VBAP --153
copying requirement for business data--104
copying requirement for VBPA---004
copying requirement --303
Pricing type --D
But with this free goods are not getting referenced to return order. Is there anything I missed ?? pls guide
Thanks,
Umesh Karanth -
Return order value is not coming properly
Hi All,
In Export Pricing Procedure we manually enter value for Freight and Insurance.For both condition types in V/06 we have maintained Fixed Amount in Calculation Type.So in the sales order condition screen Pricing is like
Ordered Qty 10 pc
Price USD 100 (Entered manually)
Freight USD 10 ( entered manually)
Insurance USD 20 (entered manually)
Total order Value is USD 120.Here price per item is 12 USD
Now when we create a return order for 5 pc wrt above invoice, Freight and Insurance is not calculated properly.
The system is calculating like
Price USD 50
Freight USD 10
Insurance USD 10
Total Credit Memo/returm order amount is 70 USD.And return price/item is 14 USD.
Here the system calculate Freight and Insurance value by dividing the original value(10 USD 0r 20 USD / return qty.(5pc).
But in the above process the return order value should come 60 USD.So what settings do we need to get the value 60 USD.
Regards
DebasishDear Raj,
Thanks for the reply.I am giving you a brief idea abt the PP and condition types.(For Freight and Insurance ).
For Freight condition type
condition class A
calculation type B
Condition Category F
No Access sequence is assigned
For Insurance Condition Type
Condition class A
Calculation Type B
Condition Category C
No Access sequence is assigned
In PP for both my condition types manual, mandatory and statistics has not been checked.No From To step is maintained.
Coming to your query can you pls elaborate how did u calculate Freight 2 + insurance 4 and the final value should be 56 usd.
Now in my first invoice the invoiced qty was 10 . Freight value was 10 and Insurance value was 10(for the total invoiced qty).
Now when i create return order for 5 qty the system should calculate proportionately.I mean Insurance value should be 5 usd and freight value should be 5 usd.So price is (for 5 qty) 50 usd + Insurance 5 usd + freight 5 usd= 60 usd
If i am wrong then pls correct me.
Regards
Debasish -
Return order with ref to billing doc
Hello Everyone,
When creating a u201Creturn order with creditu201D by referencing a u201Cbilling document (debit memo)u201D not all line items are getting copied over to the return order. My config is
VTAF: Copy control: Billing document to sales document
TGT Sales doc type Source Billing type
TRE Ret with credit B110 Debit memo
DataT=052 021=Copying requirement
DataT=103
DataT=003
Copy item number & complete reference CHECKED
I have five item categories for this and all of them have this setting bellow
DataT=153 303=Copying requirement
DataT=104
DataT=004 X=Update document flow
Also, all pricing condition is not copying over as well. Warning that i get is "Item cat for item 0010 cant' be determined". Then, in the return order line 10 is not copied. Rest of the line are copied fine except pricing condition. Any help will be highly appriciated. thanks...Hi Lauraice,
Pls check the config in copy controls in VTAF.
Header level :
052 - Billing doc header
103 : Billing business header data
003 : Billing header partner
Copying requirements : 021 9 Billing header )
Activate only copy item number
Item Level :
153 _ Item from Billing document
104 - Billing business item data
004 - Billing item partner
Copying requirement : 303 ( always an item)
Update document flow : x ( Create document flow records )
Pricing type : B ( Carry out new pricing )
Kindly check your config and let us know the status.
I hope it should work.
Regards,
SK -
Recalculation of quantity in free goods for return order wrf to invoice
Hello everyone,
I want to recalculate quantity of free goods category in a return order created with reference to an invoice, if the quantity in the High Level Item Category has changed.
For example, a customer bought 100 boxes of product "A " and received 10 of these for free. Then he wants to return 60 boxes. When I create a return order with reference to the invoice and change these quantity from 100 to 60, free goods item category still shows 10 boxes instead of 6.
Recalculation must be take place acording to the pricing date determination in order to apply free goods in a valid date.
Customized features reviewing:
1. There's not Item Category Proposal for Target Sales Doc type of the Return order, but item category of source bill type has one an is set to Pricing Type "D".
2. High Level Item category of free goods category is relevant for billing and is set to M "Delivery - related invoices-no zero qtys (in main bath items)"
3. Free goods category assigment has NORM as item Category Group, FREE ussage, High Level Item category is determinated for return order document type and Item category by default is the free goods category.
I will appreciate your support to solve this issue.
Best Regards,
Andrea FigueroaHello,
Thank you for your response.
My Discount Type of Free Goods determination is set to:
Calculation Rule: "2 - Unit reference"
Free Goods Category: "1 - Inclusive rebate (with item generation)"
Free Goods delivery control: "C - Delivery of main item is part. delivered, only with main item"
However, whatever the calculation rule is, if I change the quantity in the main item, subitem does not work.
I read about SAP Note 573598 that describes perfectly my problem, but is valid in 4.6 to 4.7 version and I have ERP version.
Thank for your help,
Andrea Figueroa
Maybe you are looking for
-
I have a few sticks of PC2700 memoery, totalling about 1gb. I already have 512 of PC3200 in the motherboard, what will increase performance? Leaving the 512m and not installing the other stuff (to take to 1.5GB), or have more memory running slower -
-
Display the images in excel using jsp
Hi I am unable to display the images in excel using jsp. I can display the data. but cannot display the images. It is simply showing the icon without the image. Is there any way to display the images. Pls give some sample code to display the images i
-
Display of data on as columns in a table
Hi All, I have an application where the data from R/3 server is displayed on the table. The different columns are: 1. Date 2. Volume 3. Price the Volume is corresponding to the date mentioned. which is in past/or future. I have to read the difference
-
Subpartitioning on index organized table in Oracle 10g
We have an indexorganized table with primary key on 3 columns one of which is a DATE column. We need to partition the table on the DATE column month wise and subpartition it further week wise. Please let me know if it is possible and if yes, how?
-
Special validation in Descriptive flexfield
Hi I have created a DFF within Account Payables/Invoice Distribution lines form. This DFF basically accepts a string of the pattern "2, 4,4-9, 11". These values represent some business data within our schema (non APPS). I need to validate this data a