Reg: Return order  w.r.f to billing

Hi All,
When ia m creating the Return order with ref to billing using BAPI_CUSTOMERRETURN_CREATE. Order is created but the Table VBKD is not updating correctly.
ref Billing Doc had 3 Line items. but only one Item with posnr Blank coming in vbkd table. but when i am craeting return order through VA01  w.r.f to billing, the table VBKD is updating with 4 line items.
<removed by moderator>
Many thanks,
Regards,
Kiran
Edited by: Thomas Zloch on Sep 13, 2011 8:43 PM

Hi Kiran
Try to fill the reference order and position n the item table.
Then you should get the records for update.

Similar Messages

  • Return order with reference to the billing document created via IDOC.

    Dear Colleagues,
    I’m struggling to understand and confirm whether standard functionality of ORDERS05 idoc allows creating a return order with reference to existing billing document?
    I have tried using standard segment E1EDK02 and E1EDP02 with qualifiers 009,010,011,087 but unfortunately idol is not creating a return order with reference and ignoring this segment.
    Have any one came across similar problem? If yes then will be grateful for sharing his experience.
    Best regards,
    AL

    Dear Friend
    Welcome to SDN
    Return order is itself a challenge to SAP standard settings
    There are some scenarios
    1. Return order qty should not be increasesd say Billed qty of material X is 20 units
    While returning Material X should be a maximum of 20 units
    If made 21 it should throw error T code OVAH message class V4 message no 299 convert from warning to error thro customization
    2.Return order should be created only once referencing billing doc
    To control that T code SE91 message class V1 message no 499 convert from warning to error thro ABAP help
    3 Your issue is same like case 1 but the material X is entered as second line item in the return order with some qty
    This case system is not throwing even a warning
    Yes correct
    This is to be handled with userexit
    Discuss the same with ABAPer
    Check these threads on return issues which is of different scenario than of yours
    Forum post in ERP - Sales and Distribution (SD) General: Order Qty.
    Order Qty.
    Forum post in ERP - Sales and Distribution (SD) General: Return order
    Return order
    Regards
    Raja

  • Return order with reference to the Billing Document

    Hi All,
    This is with reference to issue that when I create a Return order with reference to the Billing document
    I had one line item in the billing document say xxx of quantity  4  I had done the setting in the
    system messages V4 229 to convert the warning to error messages for billing quanity to order quanity
    If I enter in the first line item 8 insted of 4 system will throw a error but the issue is the same item xxx of qty 4 is entered in the second line item  and system allows to save the return order how to stop  this
    Please give the valuable feedback.

    Dear Friend
    Welcome to SDN
    Return order is itself a challenge to SAP standard settings
    There are some scenarios
    1. Return order qty should not be increasesd say Billed qty of material X is 20 units
    While returning Material X should be a maximum of 20 units
    If made 21 it should throw error T code OVAH message class V4 message no 299 convert from warning to error thro customization
    2.Return order should be created only once referencing billing doc
    To control that T code SE91 message class V1 message no 499 convert from warning to error thro ABAP help
    3 Your issue is same like case 1 but the material X is entered as second line item in the return order with some qty
    This case system is not throwing even a warning
    Yes correct
    This is to be handled with userexit
    Discuss the same with ABAPer
    Check these threads on return issues which is of different scenario than of yours
    Forum post in ERP - Sales and Distribution (SD) General: Order Qty.
    Order Qty.
    Forum post in ERP - Sales and Distribution (SD) General: Return order
    Return order
    Regards
    Raja

  • Cost Price for Returns order adopting cost from preceding billing doc

    Hi Forum Experts,
    Our Returns Order (SO) currently obtains cost price (VPRS) based on material moving average price.
    However, what we really need is to copy the cost price from the preceding Billing Document.
    I've explored using VOFM and created a routine under (Formulas --> Condition Value) as per below.
    I found that while the debugger steps through this code, the value of the cost gets copied from the preceding document.
    However, immediately after the code finishes execution, the value gets resetted back to the material moving average price again.
    What can I do do let the system keep the copied cost price from the preceding document instead?
    FORM FRM_KONDI_WERT_998.
    DATA: lv_kbetr TYPE kbetr,
          ls_vbfa  TYPE vbfa,
          lv_knumv TYPE knumv.
    IF SY-TCODE = 'VA01' OR SY-TCODE = 'VA02' OR
           SY-TCODE = 'VA21' OR SY-TCODE = 'VA22'.
    IF xkomv-kschl EQ 'VPRS'.
    Get billing doc and position
    SELECT SINGLE vbelv posnv
    INTO corresponding fields of ls_vbfa
    FROM vbfa
    WHERE vbeln EQ komp-aubel "returns order number
    AND posnn EQ komp-aupos "returns order item
    AND vbtyp_n EQ 'H' "returns order
    AND vbtyp_v EQ 'M'. "invoice
    IF sy-subrc EQ 0.
    Get billing doc conditions key
    SELECT SINGLE knumv
    INTO lv_knumv
    FROM vbrk
    WHERE vbeln EQ ls_vbfa-vbelv.
    IF sy-subrc EQ 0.
    Get moving average price from billing doc conditions
    SELECT SINGLE kbetr
    INTO lv_kbetr
    FROM konv
    WHERE knumv EQ lv_knumv
    AND kposn EQ ls_vbfa-posnv
    AND kschl EQ 'VPRS'.
    IF sy-subrc EQ 0.
    Recalculate condition values
    xkomv-kbetr = lv_kbetr.
    xkomv-kwert = lv_kbetr.
    xkwert = xkomv-kwert.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDFORM.
    Regards,
    Edric

    Hi,
    If you bring the Freight condition after PBXX and include in the net value, your problem will be solved.  so it will be 120 in MIGO, MIRO, Dellivery and VPRS in billing.
    We have the same situation and its working fine for us. 
    Thanks
    Krishna.

  • Return order (RE) changed to non-billing relevance

    Hi experts,
       I would like to change order type RE to non-billing relevance. When I make such changes, and go to VA01 to create RE order, I get "Missing Profitability Segment" in my incompletion log. I find that it is from incompletion procedure 20 assigned to item category REN.
       Since incompletion procedure 20 is shared by other order types and in item categories, I can't change it and at the same time I can't assign a incompletion procedure to REN (the field is display only).
       So what should I do in order to remove such incompletion checking? Thanks.

    Hello,
    If you dont want to check incompletion for this RE order then u just remove the assignment of incompletion log procedure to sales documetn type RE in VUA2 t.code.
    So that system will not do any incompletion check while saving RE order..
    Regards
    Sankar

  • REG- REturns order

    Hi ,
        Do we need to do excise duty cancellation (J1icancinv)  for return order.
    RGds
    Sivarajesh. J

    HI,
    Production order consist of list of material used for producing a final component.
    Transaction code :CO01.
    For example if u need to Produce a component A . the B, C, D is required.
    B,C,D --> A.
    First u need to create a BOM usage 1 stating that A is produced by means of B,C,D.
    Then u need to create a Routing, tasklist, work center category.
    Thenby means of production order the Store guy will issue the material to the store by movement type 261.
    reward f useful.
    regards
    SP

  • How to close the Return Order from Billing due list

    Dear Gurus,
    This is the scenario of Free subsequent delivery with the reference of Return Delivery.
    In brief-->
    I created one sales order and done its normal delivery and billing. So this order to cash cycle is completed.
    Then due to the damage in transit of some material customer wants to return some good and ask for the subsequent delivery of same goods.
    therefore I create a return sales order with the reference of previous sales order and and do the return delivery. Here I am not making the credit note as I have to make the subsequent delivery for the return order.
    So I create the sales order for subsequent delivery with the reference of Return order and do the delivery.
    Now I have the query that when I run the billing due list (VF04) I get the same return order in billing due list as I have not created the credit memo with its reference. And the return order will remain there always. But I dont want that return order to appear in the billing due list as I have done the subsequent delivery for that return order.
    Please tell me how the return order's status can be made completed to avoid it in billing due list.
    Please suggest me all the possible solutions to complete the scenario.
    regards,
    Sanjay

    Hi,
    The SDF has to be created with refernce to the Sales Order only.
    In Brief:-
    When ever the goods are damaged in transit,generally we ask them to scrap the damaged goods and then decide what to do like
    1) Either to give a credit note to the customer for the damaged goods.
                          or
    2)Replace the Goods by SDF.
    Check me if iam wrong
    Regards
    SK

  • Billing date for return orders

    Hi,
    when creating return order (RE), without reference to any SD document, the billing date is default as current date.
    But, when I create the return order, with reference to a billing document, the billing date is scheduled, based on the lead times etc..
    I want to have it default as current date, with reference or not.. where/how is this configured?
    Thanks,

    Check in VOV8 for your return order type where there is a field to propose billing date.
    thanks
    G. Lakshmipathi

  • Getting error in return order as free goods are not copying

    Hi
    We are facing error as free goods are not copying in return orders,We have done upto the billing and creating return order with the reference of billing
    Many Thanks
    Rakesh Naveen

    Hi,
    Kindly check the copying control at IMG->Sales and Distribution->Basic Functions->Free Goods->Maintain Copying Control.
    Thank You,
    RB

  • Error in return order

    In the Handling Of Returns scenarios, when I try  to create returns order w.r.t to billing doc,
    I am getting this error u2018u2019The Copy Routine number for the table VBPA is missing in the table TVCPAu2019u2019

    Hi,
    Kindly check the copying control at IMG->Sales and Distribution->Basic Functions->Free Goods->Maintain Copying Control.
    Thank You,
    RB

  • Return Order Qty should not exceed Reference Qty

    Hi
    The Qty of Ref Billing document is say 10, Return order is done for eg 8 for first time and for same ref document user enters 5 qty, now the total return order qty is 13, but billing doc qty is 10, where in 3qty is exceeded and system just gives a warning message and allows further. In this case how can we Restrict Return order if Qty it exceeded the reference document qty.
    I have checked the copy control settings, no use. Please through some Light.
    Regards
    Praveen Kumar......

    Hi
    But the problem is, now we have done return sales referring and billing doc qty eg. 10.
    Now again if we do return order referring the same billing document,
    system will allow to do another Return sales for same 10qty
    Is there any where we can control this feature.
    Maintain the copy control settings as suggested by the other friends
    Mainly Pos/Neg field
    While creating the second return order (sales order) referring the already referred billing document system should give some warning message
    Check that message in OVAH
    I feel some warning msg should come which you have to change to error
    Unfortunately i am not in a position to test this
    Still if the problem is not solved you need to go for suitable userexit
    Normally when you create Returns sales order with reference billing doc in that sales order if you add a new line item which was originally not there in billing doc system will very cooly accept it (not even warning message)
    This also has to controlled thro userexit ( this part is not related to your issue but i said this as an information)
    Regards
    Raja

  • Return order cration,

    Hi, experts,
                    I was send some goods with billing document, But now customer want to return this goos, So, i had created return order for same quantity of billing document, But After creating credit memo, System allow me to create further return order, So my user mistackly create  more return order, So i want to restict user for creation more quantity return order with referances to billing documment, Can anybody give me it's solution,
    It's require any configuration or require any user exit for this,
    It's very ergent , Give me solution ASAP.
    Regards:
    Happy

    Hi Harsh,
    I know of no standard solution, you could create a User exit to check the open Quantity of the sales order, the problem with this is if your user creates a return order without reference to the sales order you have no way of checking. The best solution is to train the endusers to check the document flow for return orders already created
    Regards
    Paul

  • Return Order creation referanace to billing document.

    Hi , Experts,
                   I have one issue regarding return process , Pls do the needful ASAP.
    My question : I have created one direct sales order , After thet i have created PGI & billing , But after created billing document , I want to take return taht goods, So i had created return for same sales order quantity, & also created credit memo. But my problem is, that system allow me futher create return sales order with referance to billing document no. At a return order creation time system only give warning message - (There are already returns for item 000010: 2 EA)
    & allow to save return document no. But i want to erroe message after take return all billing quantity. Can any body suggest me, what is the customizing require for this,
    Thanks a lot in advance.
    Regards;
    Happy

    Hi, abdul sir,
                     Here no any error message, My problem is that , why all line item comes in delivery, B'cause i had already deliver 5 line item out of 10 item, Here system take delivered line item with 0 quantity, I don't want that delivered  line item at a time in delivery,
    Regards:
    Happy

  • 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

  • Net value issue while creating return order with reference to billing

    Dear All,
    I created SO / DEL/ BILLING for qty 100 say net value-20000.When i created Return order with  refrence to billing document,
    net value appearing same ( 20000) for 50 quantity.Pl do advise asap as its required urgently.
    Thanks in advance.
    Regards
    raj
    Edited by: raj_sapsd on Aug 20, 2010 9:18 AM

    surelly problem in VTAF
    F2 to RE
    DATAT: 103
    DATAT: 103
    DATAT: 003
    Coping requirement 021
    item level TAN  and ietm cat proposal G2N
    DataT: 153
    Datat: 104
    datat: 004
    Coping requirement 303
    Update doc Flow X
    only possibilites Removed my Moderator
    Edited by: Lakshmipathi on Aug 21, 2010 9:31 AM
    Please avoid asking for points

Maybe you are looking for