VA01 - Returns Referencing Billing Document - Consider all previous Returns

I have a requirements that if there is and invoice for quantity 20 and the customer has returned 10 and then another 5 (therefore, leaving only 5 of the original 20 left to return), I need to populate the quantity on the next return with the 5 remaining, not the original 20 when referencing the original invoice.
I know ABAP code is going to need to be written, but I need some direction on where to do this.  I have tried the user exists and modifying the SAP code. 
Also, reactions from the system:
1)  When the user goes to create the 3rd return, the quantity on the return should be 5.
2)  The user should be able to change this to anything equal to or lower than the 5.   If they change it to 6 or more, I need an error telling them that 15 of the 20 have already been returned.
I hope this makes sense.
Thanks,
Cindy

Thanks for responding so quickly, but I must not have been clear about my requirement.
Here is the flow:
Original order for 20
Delivery for 20
PGI for 20
Invoice for 20
Customer returns 10
Return for 10 with reference to the original invoice
RMA - Returns Putaway for 10
GD Returns for 10
Credit for 10
Customer returns 5
Return for 5 with reference to the original invoice
RMA - Returns Putaway for 5
GD Returns for 5
Credit for 5
Then the customer wants to return the remaining 5.  When you go to VA01 and reference the original invoice, it populates the item with a quantity of 20 which is the original quantity even though the customer has already returned 15.  We want to restrict the returns on this item to no more than the original 20 even when doing several returns.
Hope that is more clear.

Similar Messages

  • VA01 - Returns Referencing Billing Document -

    I have a requirements that if there is and invoice for quantity 20 and the customer has returned 10 and then another 5 (therefore, leaving only 5 of the original 20 left to return), I need to populate the quantity on the next return with the 5 remaining, not the original 20 when referencing the original invoice.
    I know ABAP code is going to need to be written, but I need some direction on where to do this. I have tried the user exists and modifying the SAP code.
    Also, reactions from the system:
    1) When the user goes to create the 3rd return, the quantity on the return should be 5.
    2) The user should be able to change this to anything equal to or lower than the 5. If they change it to 6 or more, I need an error telling them that 15 of the 20 have already been returned.
    I hope this makes sense.
    Thanks,
    Cindy

    Thanks for responding so quickly, but I must not have been clear about my requirement.
    Here is the flow:
    Original order for 20
    Delivery for 20
    PGI for 20
    Invoice for 20
    Customer returns 10
    Return for 10 with reference to the original invoice
    RMA - Returns Putaway for 10
    GD Returns for 10
    Credit for 10
    Customer returns 5
    Return for 5 with reference to the original invoice
    RMA - Returns Putaway for 5
    GD Returns for 5
    Credit for 5
    Then the customer wants to return the remaining 5.  When you go to VA01 and reference the original invoice, it populates the item with a quantity of 20 which is the original quantity even though the customer has already returned 15.  We want to restrict the returns on this item to no more than the original 20 even when doing several returns.
    Hope that is more clear.

  • Returns Process - Billing Document with reference to delivery

    Dear All,
    In standard returns process we are creating billing document with reference to sales order.
    How can we make the billing dcoument to be created with refernce to delivery as the business wants the invoice document to be created only when the delivery is posted.
    Kinldy advise what are the configuration settings required.
    With Regards
    Mohammed Raees
    Edited by: Raeesuddin Mohammed on Aug 30, 2011 7:25 PM

    Hi Raees,
    Isnt your process flow like this: Sales Order>Delivery>Billing>Return Order>Return Delivery-->Billing?
    In general, to ensure that you're creating the invoice always w/ref to a delivery document pls do the following:
    1) In VOV8, where you cnofigure your sales doc type remove the order related billing i.e. keep it blank.
    2) In VOV8, put the billing doc in delivery relevant doc.
    3) In VOV8, in shipping section put the delivery doc type.
    4) Create copy controls between the delivery doc type and billing in VTFL at header and item levels.
    5) In the item category for this order type+ item cat grp ensure the billing relevance is either B, C or F.
    6) Maintain no copy controls between sales order and the billing in VTFA.
    I hope this helps.
    Regards,
    Raghu.

  • Billing Document Proforma invoice for Returns to vendor

    I havescenerio where company is returning material back to vendor due to poor quality. They need material back for next replacement.
    Return to vendor process is mad eby me as follows:
    Make POME21NMIGOcheck MMBEReturnPO/MB01/MBRL Mvmt Type122+ReasonDelivery RLLType (ItemCatRLLN)PGIStock Reduced MMBE/MB52
    Config Settings Item Category RLLN
    Billing Relevance D Relevant for Proforma Invoice
    Pricing X = Standard pricing
    Copy Control Delivery to billing document VTFL
    Source RLL Target F2
    Header Copying Requirement=009 Deliv related Proforma invoice
    Item=Tan Copying Req 010 DLV Proforma  Billing qty= D Delivery Qty, Ps/Ng=-, Pricing Type= G Pricing unchanged & redetermine Taxes
    PROBLEM: When I am trying to create proforma invocie with reference to delivery Error "Item is not relevant for billing"
    Even I maintained everything in item category relevant fro billing. Proforma invoice is required.
    Please suggest best way how to resolve this problem.

    Hi Aman,
    All data are well set & no problem. Now I just deleted Item category RLLN and just reassigned with the same parameter. When i created Proforma Invoice it allowed me to create. Here quantity appeared as 22 pcs but no pricing means No Value for this Proforma invocie. Can you suggest where to check the setting? In setting Item category RLLN i maintained
    Copying Req 009= Deliv related Proforma
    Data VBRK/VBRP= Blank
    illing qty=D (Delivery Qty)
    Ps/neg. quantity=Blank
    Pricing Type=D (Copying pricing element unchanged)
    Thanks for nice tip.
    Aman, but I am unable to create F2 billing from this. Here I deleted Item category & reassigned with the same parameter but error log in billing says "The billing item does not conatin quantity".
    Copying item maitained as Target F2 Source RLL
    Header Copying Req=003 (Header Delivery Related) I also have 904=Deliv-related item
    Assignment number=C
    Reference number=E
    Check box ticked Copying item number
    Item category RLLN
    Copying Req=004
    VBRK/VBRP=003 Single invoice
    Billing qty=D Delivery Qty
    Pos/Neg=Negative (as goods are returned to vendor)
    Pricing type=D (Unchanged)
    Rest filed not maintained e.g. Pricing Echnage type, Cumul Cost
    When creating F2 from delivery error"Billing item does not conatin quantity"
    Means in Proforma and also billing There is no quantity. But in delivery Qty is maintained with PGI. PO also shows Minus for returned Qty 22.
    Aman, any further clue will be much appreciated.Thanks for your time.
    When I checked delivery with the

  • Excluding Freight&Taxes for Credits/Returns from Billing Document

    Hi
    We have a requirement to exclude certain conditions (freight and taxes) for credits/returns created with reference to a billing document. Basically we want to refund the value of the goods, but not the associated freight and tax costs associated with processing the order.
    We tried creating a pricing requirement against the condition types in the pricing procedure, to exclude these conditions for certain return/credit order types, but this didn't work.
    Can anyone advise the correct way to go about it?
    Many Thanks
    Chris

    Hi,
    If you are using the same pricing procedure . Than tick the deletion tab for the respective condition type in v/06.
    So when you create the return order or CMR you can delete the condition type in.
    Or.
    Create a discount condition type and assign it to the pricing procedure. ( For Ex -ZFRE).
    10     Baisc price          
    20     Freight     10     
    30     taxes     10     20
    40     Discount     20     30
                         ( ZFRE)
    Now maintain the access sequence -order type /mat or cust.
    after that create condition record for return order and CMR. as 100 %(-).
    So in the total value the freight and taxes amount is deducted.
    Hope this will help you.
    Regads,
    Krishna O

  • Billing Document cancelled in previous period

    Hi Experts,
    There is an issue that an invoice was created in the month of Jan. 2010, it got cancelled due to some reason and while cancelling it user has manually put date of Dec.2009. It has impacted the customer ledger. Here the previous period is opened as client's requirement.
    Kindly suggest the solution.
    Thanks & Regards
    Girish

    Pass a manual accounting entry for reversing the effect of cancellation in Dec09 month.  Pass another entry in Jan10 month too.
    I am sorry but since the document is totally closed and cancellation sets itself off against the invoice document, you can't do much.  You cannot cancel a cancellation document to reset its effect.
    Thanks
    Kapil Sharma

  • Report for All the Billing Documents

    Hi,
    The SD report VF05 can only list for me billing documents belonging to a payer or a material but i want to extract all the billing documents of all the payers and all the materials. Which report can i use for that?

    Hi,
    If you are using ECC 6.0, then try using the t-code VF05N. In this transaction, you can take the billing documents of all the payers and materials.
    Regards
    Vijay

  • Problem with Billing due list, relating to Returns Credits

    Hi
    I have a query/ problem with the billing due list
    I cannot seem to be able to create billing documents via VF04 for Returns credits, only via VF01
    I have changed Billing relevance of Item category REN to be A - Delivery related,
    As we previously had problems with incorrect qty being billed IF returned delivery quantity was different to Returns order quantity   - this resolved the problem but I now cannot create billing via billing due list
    Messsage appears ' delivery type LR cannot be invoiced with billing type F2'
    If i enter billing type RE then the document is not gettting picked up at all
    when Billing relevance of item category was B, order related - all seemed to be working ok
    I have copy controls set up from LR to RE with item category REN, with pricing type G
    Please advise how i can get the Returns to appear in the billing due list
    many thanks for your help
    Tony

    Hi,
    In copy controll VTFL
    LR to F2 at item level
    REN >>> Deatila >>> Put billing quantity as - D delivery related
    Kapil

  • Need Single Billing Document for Materials and Services in Sales Order

    Hello Friends,
    I am selling FERT items and DIEN items in the Sales Order.
    Document flow as follows:
    Finished goods - Order-Delivery-Billing
    Services - Order-Billing
    In this process 2 seperate billing documents are created
    i.  Delivery Related Billing document for Finished goods.
    ii. Order related Billing document for services.
    I want to create a single billing document for both the items (FG & Services) in the sales order.
    Please suggest.
    Thnx.

    Sorry for the delay friends.
    Somebody suggested me to make services 'relevant for delivery' to ensure single billing document.
    What I did were the following steps:
    1. Copy Item Category TAD to ZTAD and make is 'relevant foir delivery'
    2. Assign Item Category ZTAD to Sales Order type and Item Cat Group 'LEIS'
    3. Go to Deliveries Item Categories and through new Entries add ZTAD. Make ZTAD relevant for Picking.
    4. Go to copy control 'Order to Delivery' and insert ZTAD in Item Categories relevant for this combination.
    Now when I create sales order with materials and services, they pass over to the delivery document and in the Services item, storage location/plant is greyed out. Only the picking quantity is required to be filled.
    PROBLEM :
    I am not getting the price of Services item in the billing document.
    Billing document copies all line items (tangible and intangible) from Delivery Document
    It takes the services item details/quantities etc. to VF01 but the price comes '00.00'
    Any suggestions.
    Is this legally viable? Someone told me its not legally correct.
    Thanks.
    Mohammed

  • VF02 error in Release Billing document to Accounting document

    Hello SAP Folks,
    A sales order (VA01) and corresponding billing document has been posted (in VF01). When I try to release the billing document to Accounting, an error "Incorrect document no. XXXXXXXX.  Select the document number between yyyyyyyyy and zzzzzzzzzzzzzz " shows up. When I tried to find error through VFX3, it says, Release incomplete due to "FI/CO interface" Can anyone suggest the missing configuration.
    PS:  I checked the doc. type RV (Billing doc. transfer) and Billing type F2. They are in different number ranges. and RV is marked external. The number range settings are similar as that of another Company code (where we are able to release billing document to accounting document).
    Thanks in advance,
    Narayanan

    Hi,
    Thanks for your suggestions. The issue is resolved by changing the number range for RV document type (though it is still external). I guess this is made external since the Billing document number is passed to FI document number when it is released to Accounting documet.
    After the release, both Invoice and Accounting document have the same no.

  • Exchange rates at line items in billing document - VF04

    Hello,
    We are trying to create a collective billing document, via transaction VF04, for deliveries created from two sales orders with different exchange rates (VKBD-KURRF).
    When we try to execute this operation, two billing documents are created and in split analysis. This behavior is due to different exchange rates (from sales orders).
    Since the sold-to-party is the same, he wants a unique billing document for all deliveries.
    So we pretend to post one billing document with different exchange rates at item level, instead of at header level.
    Is this possible?
    Regards,
    José Melo

    Dear José Melo
    You can combine multiple deliveries in one billing document provided the following are same in all preceding documents
    -  Payer
    -  Actual GI Date from Delivery
    -  Payment Terms
    -  Inco Terms
    -  Account Assignment Group of customer
    -  Exchange Rate
    In your case, since invoice is splitting due to exchange rate, you can achieve to have one invoice.  In VF04, you can see a tab Default Data  where there is a field Service Rendered Date.   Maintain a date and generate so that you will get one invoice.
    thanks
    G. Lakshmipathi

  • Billing Documents created by user in VBRK , even though he didn't create

    Hi All,
         User has an issue saying that he didn't create billing documents but all documets created and has his name on it. How can it happen? I checked in table VBRK and there I can see billing documents created by user name with date and time.
       User didn't create those billing documents and user doesn't want this to happen.
    Thank you.

    Hi,
    Check whether any ABAP code has been written in userexits/enhancements which create billing documents during the processing of preceeding documents (like, Delivery creation /Packing/PGI).
    Regards
    Vinod

  • Automatic creation of billing document

    Hi all,
    i want to automate creation of billing document for all the deliveries for which PGI done.
    i think we have to define a job which will call VF04.
    my question is when we do VF04 manually, we have to give selection criteria like sales org etc and then it displays the list of all the deliveries and then we have to select the deliveries manually and press collective billing/individual billing.
    so when the batch job calls the VF04, how will the batch job tells VF04 to select all deliveries and generate the invoices.
    regards
    sachin

    Hi Sonu,
    Go to VF04 and provide the inputs in the selection screen. Now save this as a variant.say ZZ_INV_DUELIST
    After saving the variant, find the program name of the tcode VF04. This can be found by going to System----Status in the menu. The resultant screen will have the program of the tcode VF04. Lets say it is BILLDUELIST
    Now go to SM36. Give some name for hte job name and click Step button
    Here you have to give the program name(BILLDUELIST) and the variant name(ZZ_INV_DUELIST). Here you can also configure whether the job should run immediately or in some schedules.
    Once this is done, you can create a delivery and then run this program in SM37. Now you can see the log of this program. It will tell you that the invoice is created
    Hope this helps

  • Missing bill documents from PSA to Cube

    Hi Gurus!
    I'm looking for some help, I'm uploading billing documents with 2LIS_13_VDITM extractor with full update for testing purposes, I tried first uploading the data to the PSA and after that to the cube, all the data in PSA is ok, but in my cube some billing documents, with all their positions, are missing and I don't know why, I also tried uploading only those missing billing documents. It's finished ok (green light) but no records were written to cube. ...Can any body help me please.

    Hi Alejandro,
    Do you have a start routine? If yes, can you check if some/all records are being dropped in this step.
    You can try simulating from PSA to the DATA TARGET and debug the Update rules.
    Regards,
    Praveen.

  • Prevent to create billing document in a closed period

    hello
    i want to know what is the best way to use transaction VF01 in SD for a billing date which is in an open period in Finance
    today i have many users which are creating billing documents for closed periods and this is stuck in VFX3
    is there any way to prevent users to do it and create billing documents in a previous period?
    thanks
    Stephane

    Hi
    Welcome to SDN! I Hope your 1st experience here is good
    The intention of not posting the document and throwing it into VFX3 is exactly what you are looking for.. You need to cancel your document from VF02 and re-create it again...
    If you want to put an ABAP check, to that saving in VF01 should not be allowed, use exit RV60AFZZ or RV60AFZB... But, I would say discipline is the apt solution to such issues
    you can write logic in this exit with the help of ABAP consultant...
    Regards
    Ajay M

Maybe you are looking for

  • Error in Bapi_GoodsMvt_Create using Purchase order

    Hi Friends, I am using Bapi_goodsmvt_create for Goods Receipts against Purchase order. The below code i have given for Goods receipts It shows the error like ID : 8J Err No.:182 Message : Entry 4500000344 00040 0000 not valid; correct entry Please he

  • How to insert new row in MIGO using badi.

    hi, Transaction code: MIGO. i'm using badi "MB_MIGO_BADI" and method "LINE_MODIFY", i want to insert N number of item lines when user entered any production order no. and press enter. Notes: production order has only one item line with qty N. regards

  • Publish Customer Report in the page Overview of MSS

    Hi, Good Night. I want publish a customer report in the page of Overview of MSS. Can someone help me, what I should do? Regards

  • SSRS Freeze Panel

    Hi,  I am creating a simple report and have some columns without grouping. Instead of directing to the next page to see the data, i have to apply freeze panel in the Report. Also applied the freeze panel. But it will not work out when i see the previ

  • I need to replace the cmos battery for Compaq nc 6320

    The computer I'm working on will not recognize the HD. I've pulled the drive and it works showing the entire drive. I think that I think that the MBR is corrupted. I've tryed to us the XP professional CD but can't get past the need for a password. I