Return credit memo
Hi All,
I have Billing num in my report and I was displaying Invoice num VBTYP_N = 'M'in it. In the same column only I have to display Return credit memo VBTYP_N = 'O', if invoice munber is not there.
I am attaching some code. Please help me.
Thanks,
Veni.
SELECT VBELV POSNV VBELN POSNN FROM VBFA INTO TABLE ITAB_VBFA
FOR ALL ENTRIES IN ITAB_LIPS
WHERE VBELV = ITAB_LIPS-VBELN
AND POSNV = ITAB_LIPS-POSNR
AND VBTYP_N = 'M'.
DESCRIBE TABLE ITAB_VBFA LINES LIN.
IF LIN NE 0.
SELECT VBELN POSNR KZWI1 NETWR FROM VBRP INTO TABLE ITAB_VBRP
FOR ALL ENTRIES IN ITAB_VBFA
WHERE VBELN = ITAB_VBFA-VBELN
AND POSNR = ITAB_VBFA-POSNN.
SELECT VBELN FKDAT FROM VBRK INTO TABLE ITAB_VBRK
FOR ALL ENTRIES IN ITAB_VBRP
WHERE VBELN = ITAB_VBRP-VBELN.
SORT ITAB_VBRK BY VBELN FKDAT.
DELETE ADJACENT DUPLICATES FROM ITAB_VBRK.
SORT ITAB_VBFA BY VBELV POSNV.
ULINE /(289).
LOOP AT ITAB_LIPS.
READ TABLE ITAB_LIKP WITH KEY VBELN = ITAB_LIPS-VBELN BINARY SEARCH.
READ TABLE ITAB_VBAK WITH KEY VBELN = ITAB_LIPS-VBELN BINARY SEARCH.
READ TABLE ITAB_VBFA WITH KEY VBELV = ITAB_LIPS-VBELN
POSNV = ITAB_LIPS-POSNR.
READ TABLE ITAB_VBFA1 WITH KEY VBELV = ITAB_LIPS-VBELN
POSNV = ITAB_LIPS-POSNR.
READ TABLE ITAB_KNA1 WITH KEY KUNNR = ITAB_LIKP-KUNNR.
IF SY-SUBRC EQ 0.
READ TABLE ITAB_VBRP WITH KEY VBELN = ITAB_VBFA-VBELN
POSNR = ITAB_VBFA-POSNN.
READ TABLE ITAB_VBRK WITH KEY VBELN = ITAB_VBRP-VBELN BINARY SEARCH.
WRITE: /01 SY-VLINE,
Hi,
If there is a returns delivery for the credit memo request and then then credit memo will be created with respect to the returns delivery..Then try changing the SQL in the following way..
SELECT VBELV POSNV VBELN POSNN FROM VBFA INTO TABLE
ITAB_VBFA FOR ALL ENTRIES IN ITAB_LIPS
WHERE VBELV = ITAB_LIPS-VBELN
AND POSNV = ITAB_LIPS-POSNR
AND VBTYP_N = 'M' <b>OR VBTYP_N = 'O'</b>.
Thanks,
Naren
Similar Messages
-
Hi All,
I would like to add Return Credit Memos to processed RAs on this report. Currently when an order is shipped, it will give the Invoice number, so on the returns side, I would like the return credit memo to appear as well. In the delivery number field 2 types of delivery numbers are coming one with 5* and other with 6*.
5s has billing num starts with 7 (which is displaying now)
6s has billing num blank (which have to be filled with 8 - Return Credit Memos).
VBTYP_N = 'Q' is WMS transfer order
M Invoice
O Credit memo
I want to get data for VBRP-VBELN = O also.
I tried this, but nothing is coming.
SELECT VBELV POSNV VBELN POSNN FROM VBFA INTO TABLE
ITAB_VBFA FOR ALL ENTRIES IN ITAB_LIPS
WHERE VBELV = ITAB_LIPS-VBELN
AND POSNV = ITAB_LIPS-POSNR
AND VBTYP_N = 'M' OR VBTYP_N = 'O'.
Please help me resolve this.
Thanks
Veni.
SELECT VBELV POSNV VBELN ERDAT FROM VBFA INTO TABLE ITAB_VBFA1
FOR ALL ENTRIES IN ITAB_LIPS
WHERE VBELV = ITAB_LIPS-VBELN
AND POSNV = ITAB_LIPS-POSNR
AND VBTYP_N = 'Q'.
SELECT VBELV POSNV VBELN POSNN FROM VBFA INTO TABLE ITAB_VBFA
FOR ALL ENTRIES IN ITAB_LIPS
WHERE VBELV = ITAB_LIPS-VBELN
AND POSNV = ITAB_LIPS-POSNR
AND VBTYP_N = 'M'.
DESCRIBE TABLE ITAB_VBFA LINES LIN.
IF LIN NE 0.
SELECT VBELN POSNR KZWI1 NETWR FROM VBRP INTO TABLE ITAB_VBRP
FOR ALL ENTRIES IN ITAB_VBFA
WHERE VBELN = ITAB_VBFA-VBELN
AND POSNR = ITAB_VBFA-POSNN.
SELECT VBELN FKDAT FROM VBRK INTO TABLE ITAB_VBRK
FOR ALL ENTRIES IN ITAB_VBRP
WHERE VBELN = ITAB_VBRP-VBELN.
SORT ITAB_VBRK BY VBELN FKDAT.
DELETE ADJACENT DUPLICATES FROM ITAB_VBRK.
SORT ITAB_VBFA BY VBELV POSNV.
ULINE /(289).
LOOP AT ITAB_LIPS.
READ TABLE ITAB_LIKP WITH KEY VBELN = ITAB_LIPS-VBELN BINARY SEARCH.
READ TABLE ITAB_VBAK WITH KEY VBELN = ITAB_LIPS-VBELN BINARY SEARCH.
READ TABLE ITAB_VBFA WITH KEY VBELV = ITAB_LIPS-VBELN
POSNV = ITAB_LIPS-POSNR.
READ TABLE ITAB_VBFA1 WITH KEY VBELV = ITAB_LIPS-VBELN
POSNV = ITAB_LIPS-POSNR.
READ TABLE ITAB_KNA1 WITH KEY KUNNR = ITAB_LIKP-KUNNR.
IF SY-SUBRC EQ 0.
READ TABLE ITAB_VBRP WITH KEY VBELN = ITAB_VBFA-VBELN
POSNR = ITAB_VBFA-POSNN.
READ TABLE ITAB_VBRK WITH KEY VBELN = ITAB_VBRP-VBELN BINARY SEARCH.
WRITE: /01 SY-VLINE,
02 ITAB_LIPS-VBELN,
205 ITAB_VBRP-VBELN,Hi, you must be careful with the OR, make sure to wrap with parenthesis.
SELECT VBELV POSNV VBELN POSNN FROM VBFA INTO TABLE
ITAB_VBFA FOR ALL ENTRIES IN ITAB_LIPS
WHERE VBELV = ITAB_LIPS-VBELN
AND POSNV = ITAB_LIPS-POSNR
AND <b>( VBTYP_N = 'M' OR VBTYP_N = 'O' ).</b>
Regards,
Rich Heilman -
Return Credit Memo Transaction (ZSD_RETCRMEMO)
Hi gurus,
Could you help on
Return Credit Memo Transaction (ZSD_RETCRMEMO)
Client unable to tie back to ledgers so needs to know where information is being pulled from
Thanks in advance
Regards,
KumarIncase of Return Sales Order:
T.Code for copy control: VTAF
Source Document: F2
Target Document: RE
Item category REN
Considering the above settings are done:
Create return sales order RE (with Reference to Billing Document) & the data will be copied as it is in Return Sales Order - RE. For Eg: here you require to change to quantity from 10 to 2, as you want to take back into Inventory of only 2.
Incase of Return Delivery:
T.Code for copy control: VTLA
Source Document: RE
Target Document: LR
Item category REN
Considering the above settings are done:
Create Return Delivery through T.Code VL01N & do PGR (Post Goods Receipt). This will add the stock to blocked stock. This will take care of Inventory.
To address the issue of how to take Credit for Excise, use T.Code: J1IH --> other Adjustment & based on the credit to be taken, make the necessary entry.
Incase of Credit Memo:
T.Code for copy control: VTFA
Source Document: RE
Target Document: Credit Memo
Item category G2N (Check in System)
First in VA02, remove the Billing Block in Return Sales Order - RE & save the document. Now in T.Code: VF01, enter Return Sales Order Number & select the appropriate Billing Type (Credit Memo) & Enter& Save. This will create Credit Memo.
Hope this helps you.
Regards,
Rajesh Banka -
Sales Return: credit memo Should generate automatically with goods reversal
DEAR SD GURUS N EXPERTS,
Currently we are using following system of Sales return.
VA01: (Order Type: RE) --> VL01N (Return Delivery) --> VL09 (Goods Reversal) --> VA01 (Request 4 Credit Memo or remove billing bloc) --> VF01 (Credit Memo)
But, now my client want a such configuration that entry of Credit memo should happen along with Goods Reversal (VL09) - Automatically. They don't want to carry out VF01 separately.
Reason behind it: Customers has credit Limit, Suppose a customer has a Credit limit of 5,00,000 and we have delivered the Material of same amount. It means all the credit limit has been used. But now He has returned the material of 2,00,000. But it will not affect the credit limit until we pass Credit memo.
Please suggest the required configuration and what we can do in such scenario. Thanks in Advance.
DSCAgain I can tell you that the process what you were following (reversing the goods receipt) is totally wrong and it will have a serious negative impact on inventory. Either you should not create a return delivery or take the stocks into parent plant. If you dont want to show in inventory, then scrap it which is a standard process.
Coming to the requirement, there is no standard way to achieve this. Check these threads where the same topic was discussed
[Re: How to set up in SAP to have automatic billing after PGI |Re: How to set up in SAP to have automatic billing after PGI]
[automatic billing|automatic billing]
You have to apply the same logic for credit note also.
thanks
G. Lakshmipathi -
HI
I am working on vendor return scenario. I defined the return order in config ,created customer and assigned the customer in Vendor master control data. Now iam able create delivery for the return PO.When i PGI the delivery, accounting doc is created but iam not sure whether it is right.Whether i have to do credit memo separately?
When i do the credit memo i can see the vendor accnt debited and Inv accnt credited but the Accnt doc gt created when i did PGI shows the other way.
ThanksThanks Sai.
The steps is followed is
1. Return PO created
2. Created delivery for the PO using VL10b
3. TO created for the delivery
4. Goods movement carried out picking the item from TO and confirmed
5. PGIed
6. Using MIRO did credit memo.
Here is whr iam confused when i do PGI i see Accounting doc created and while doing MIRO Acct doc created.Please let me know am i on the right path if not plz direct me.
Thanks -
Returns, Credit Memo, Credit Memo Request
Hi All,
Can anybody clear my doubts for the below mentioned and i would require the process flow please with Transactions and Order Type, Billing Type etc.
Booking goods returned
Credit note with stock receipt
Credit note without stock receipt
Value credit note
Thanks & Rgds
NaveenHi Naveen,
Booking goods reciept - returns order with document type RE ,can be created with or without reference to the sales document no. OR Credit memo request.
Credit note with stock reciept - Creating credit note (billing document type) with reference to inbound delivery document. Items relevant to delivery in returns order.
Credit note without stock reciept - Credit note ( Credit memo - Billing document type) with reference to Returns documnent ( without reference to Inbound delivery, Item not relevent to delivery)
Value credit note - Credit memo
Regards,
Praveen. -
Depo sales returns --Credit memo issue
1.Sales Order (Return Order)
2. Delivery (Return Delive PGR)
3.Incoming Excise Invoice using Transaction J1IG with referenc to return Material Document then RG23D will update.
4. Credit memo -- here only excise values are not copying from return sales order.
can any one give the inputs where i am doing mistake i have check the VTFA copy control alsoHi
Customer receives the goods in his factory premises and returns back to us due to quality problem. Now in this case user has to create the return order to credit memo.
Maintain a vendor
Maintain vendor as u201CCustomer Returnu201D in XK01 for the company code, purchase organization and account group combination
Maintain finished material as input material
Transaction: J1ID
Select radio button namely CENVAT Determination
Maintain plant, input material and output material combination. The input as well as output material will be same ,
Now go to transaction J1IEX for capturing the excise invoice sent by customer with returned material
Select Capture excise invoice without Purchase order reference
Enter Customeru2019s excise invoice number, excise group, document date, Vendor (Customer Return) and posting date as shown below
Now at item details, maintain material code, material type u2013 Raw Material, plant, quantity, unit of measure, duty rates and duty values, excise base etc. -
Regarding rate, sales tax and discounts for credit memo request and returns
Dear ALL,
Rate column is not displaying for credit memo request. suppose credit memo should be given due price diifererence
with referance to billing documnet credit memo request to rised. but if i want to edit rate column is not available.
how vat and discount has to be captured in case of rate diifferance for credit memo.
In case of returns will taxes applicable for returns credit memo
Gl accounts for credit memo same as billing or different GL accounts to be maintained or not
client has the scenario that if credit memo request has been rised for with referance to billing due to rate differance.
If customer returns materilas belongs to same billing. so based on the returns order returns credit memo to be rised .
But how the sap captures exact price of the materila during returns. ie; price modified during credit memo request.
Thanks & Regards
rameshHI,
Remove all the other condition types from the procedure and keep only those which you need.
Regards
Abhilash -
Hi experts,
If I want to create credit memo only after return delivery has been PGR, is it proper to make credit memo create with reference to return delivery? You know, SAP standard is to create this kind of credit memo with reference to return order.
If not proper, is it the reason that credit memo is set in SAP to create with reference to order or billing?
Pls advise. Many thanks.
Edited by: Cathy on Oct 17, 2009 5:13 AM
Edited by: Cathy on Oct 17, 2009 5:14 AM
Edited by: Cathy on Oct 17, 2009 5:15 AMHi
In standard SAP credit memo billing RE is created with reference to credit memo order type RE not with reference to return delivery and PGR
The basic reason is return order item category REN is billing relence is Order releted billing hence it doesnot refer to return delivery
In VOV7 if you make the billing relevance as A that is delivery related billing for REN then system will allow you to create credit memo with reference to return delivery only
This is the first customization reqd
Secondly there should be copy controls in VTFL between delivery type LR to billing type RE at header level and at item level for item category REN defined properly
This may not be there in standard settings and this we should define
Normally VTFA is referred for order releted billing and we are making that as delivery related so we should define copy controls in VTFL
is it proper to make credit memo create with reference to return delivery?
This is purely a client call
In one my assignments the major requirement was to create returns credit memo with reference to delivery (returned delivery qty ) only
His business prctise was
his customers will telephonically give the return order for 5 units and send back only 4 units to him
In this case if he makes a return return order for 5 and make a returm credit memo for 5 then that is not proper
So we made this customization to him for creating return credit memo with with reference to return delivery
His customers will telephonically give the return order for 5 units and send back only 4 units to him That was his operational shortcomings but we had to set the system accordingly
We used to close the balance 1 unit with reason of rejection
So according to me it is more proper to create return credit memo with reference to return delivery
Regards
Raja -
Credit memo -Depot sale return
Hello Guru,
I am facing problem in credit return memo regarding excise amount.
Since this is depot scenario after doing J1IJ i am doing invoice where excise value is picking from J1IJ...which is ok.
when i am doing depot return with reference to invoice it is copying right excise value from invoice.....which is ok.
But when i am doing my credit memo for return it is not copying excise value from sales return order.
Copy control is ok i.e. D.
Values of excise in return credit memo is copied from the orginal sales order.
Also i tried with doing first J1IG to capture return excise and then i did vf01, even though i am not getting the excise value which is in sales return order.whie generating the credit memo system is doing the recalculation of pricing.
Regards
amit VarmaHI,
Please follow the below link and check the configuration as per standard SAP:-
http://www.sap-img.com/sap-sd/sap-sd-cin-configuration.htm
Thanks & Regards,
Rahul Verulkar -
Sales Return Process-Invoice(Credit Memo) with ref. to delivery
Dear All,
I am doing sales return process.
Sales Order-RE
Delivery-LR
Invoice-RE,
with ref. to sales order it is allowing me to create invoice.
But,with ref. to delivery it is not allowing.
It is giving "The document is not relevant for billing".
I have changed item category REN for delivery (A) related billing.
Also changed req. copy control setting.
Can anybody guide on this issue.
Best Regards
SainathHello,
Normally return credit memo will be generated with reference to the retrun order, and that is the standard SAP process. Do you have any specific requirements to have the credit memo with reference to a retrun delivery?
The Item category REN Billing Relevence will be B as per SAP standard, if you wish to have a delivery related credit RE, the make this to A .
Maintain the Delivery to Billing Copying control in VTFL for LR --> RE, add the item categroy REN.
Maintain the copying requirements for header as 3 Header Del Rel and for item as 4 Deliv-Related item .
Once these setting are done, then check whether the RE billing type is triggering from LR?
Prase -
Dear All
Little confused, kindly tell me correct method.
Sales return:
1. Sales order>Delivery> Billing> Return Order>Return Delivery-Credit Return
Credit memo
1. Sales order>Delivery>Billing>Credit memo request>credit memo
confusion is that when goods are recieved back due to customer rejection, we issue credit memo, which above step should be followed
Please kindly guide me.
Regards
Sandeep BhowmickDear Sandeep,
> If the step no 1 is correct then in which scenario we will be using credit memo request and credit memo
See i will explain you with all scenario :
1. Scenario 1--> When we are selling some material to the customer and that material is scraped or completely lost in transit or any situation where you can not take it back....... So in this case there is no need of creating Return delivery......... Your Process 2 will go here.
2. Scenario 2: --. You sent some material to customer but due to some quality or defect purpose customer wants to return to you, then you have to create return delivery which will insure that you are taking that material back into your stock for quality checking.
I guess it will help...
Thanks,
Raja -
Difference in Pricing of Credit memo Inovice AND Credit memo
We have difference in prices when we create a return credit memo.
We have scale price and for 500 product the scale price is 92 rs. the basic price is 112.
We have created an order for 500 items where 92 rs has piced and in the invoce for 500 92 rs has picked, even in the return sale sorder for 4 items 92 has picked but
but when we checked the return credit invoice the price has taken as 112. which is the basic price.
Please help me , you can see the document flow of the above.
Document flow..Sales orderDeliveryInvoiceAccountingReturn Sales order( ref of invoice)return deliveryReturn Credit memoHi
As Kiran mentioned, please carry out pricing analysis. In addition, pls do check if you have maintained time bound pricing in rate master.
Kalpesh -
Differences in Pricing of Credit memo invoice and Credit memo.
We have difference in prices when we create a return credit memo.
We have scale price and for 500 product the scale price is 92 rs. the basic price is 112.
We have created an order for 500 items where 92 rs has piced and in the invoce for 500 92 rs has picked, even in the return sale sorder for 4 items 92 has picked but
but when we checked the return credit invoice the price has taken as 112. which is the basic price.
Please help me , you can see the document flow of the above.
Document flow..Sales orderDeliveryInvoiceAccountingReturn Sales order( ref of invoice)return deliveryReturn Credit memo.Hi Deepak and Akasha apte,
thanks for your replys
I have checked the copy controls
Invoice to return sales order --- D is maintained.
Return Delivery to return invoice --- G is maintained
So may i know what should i change.
can you please explain me the difference between D AND G
The return sales order has been created with refrence to the invoice, the return sales order has taken the price from scale which is correct but only the return invoice has taken the basic price instead of scales
please answer me as soon as possible -
Hi,
In the return Credit Note the Freight (Header Condition) did not appear. In the original Order the Freight was present and therefore the Total price is not matching.
Please guide.
Thanks
JansCheck the Copy controls from your Returns Order to Returns credit memo (Invoice).
The Pricing Types need to be G - Copy pricing elements unchanged and redetermine taxes. Becuase the Header COndition arew Manual, if you retdetermine the Princing in the Invoice (Credit Memo) the Header Conditions will have to be manually re-entered.
Hope this helps,
Thanks,
Jignesh Mehta
Maybe you are looking for
-
VO - bind variable in where clause problem
Hi I have Jdeveloper 12. I successfully connected to mySQL database which works in Oracle mode (PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, NO_KEY_OPTIONS, NO_TABLE_OPTIONS, NO_FIELD_OPTIONS, NO_AUTO_CREATE_USER) Next I created EO, VO (screenshot) an
-
I have an iPad Air and 2 iPhones. One iPhone is my husbands with his own set of contacts. But now the cloud puts his contacts on my phone and iPad. How can I stop that?
-
Airport Express Join Wireless Network Disables Ethernet
I have one of the the older Airport Express (firmware 6.3) and I'm trying to use it to connect a non-wireless machine to an existing network. Act as a single Wi-Fi interface to any computer or almost any other devices such as game consoles that has a
-
N80 PC Suite wont backup phone (connection lost)
After i received my phone and played with it a bit i installed the Nokia PC Suite and made a backup successfully Now after a couple of weeks use i thought it would be a good idea to make an up-to-date backup of the phone, however now when i try and b
-
Anybody know how I can create an instagram smart album? The photo resolutions are all a little different but many are 2448 x 2448. However, all the photo resolutions are a square (e.g. 648 x 648, or 1028 x 1028). However, for whatever I can't seem