Condition Type to be excluded whil creating Return sales Order from invoice

Hi Frnds,
I have the following requirement.
Sales order order is created and its delivered and invoiced too. This sales order has some freight pricing condition types (RCD1, RCD2...)included since its shipped to customer.
When the customer wants to return the goods, there is a return sales order is created with reference to the invoice created above. Now, the RCD1 and RCD2... should not get copied to return sales order.
How do i achieve this? Please let me know any user exit, BAdi or Enhancement spot where i can add code to avoide these condition types from being picked up.
SAP system is ECC 6.0
Regards.,
Karthick C

It can be achieved by implementing a custom requirement routine. If you go to the the transaction VOFM, you will find "requirement" in MENU. You select 'Pricing' on drilling-down it. Following document may help you in creating requirement routine..
http://saptechsolutions.com/pdf/VOFMCopyRequirementRoutines.pdf
All requirement routines has similar pattern of writing... Your code may look like as follows:
FORM KOBED_901.
sy-subrc = 4.            "By deault condition is false.
If NOT XKOMK-AUART = 'RE'.                   "RE is returing order type.
   sy-subrc = 0.        "This means For other than returning orders all others condition is true.
endif.
ENDFORM
Once you activate routine, ask functional consultant to attach this to the Condition RCD1 and RCD2. Then, You'll not get RCD1 and RCD2 for Return sales Order.
Please check and confirm and revert back if you want further details..
Edited by: Pikle Audumbar on Oct 17, 2009 1:09 AM

Similar Messages

  • Problem while creating a Sales Order from RFC

    Dear All,
    I get an error ( Errror ID "TD" Number "600" ) "Text XXXXXXXXXX000001 ID X106 language EN not found" whenever I try to create a Sales Order for a particular Customer and Material.
    But when I create Manually using VA01 for the same details, a Sales Order is created Successfully.
    The error is coming from the Standard Function Module "SD_SALES_ITEM_MAINTAIN".
    Please let me know if any of you have come accross similar problem and if yes, please provide me a solution.
    Thanks and Regards,
    Dinakaran.R

    Hi Dinakaran,
    How ru passing the values in the RFC????
    pass the item details through the tables option of FM...else it will give the error...
    Regards,
    Vamshi

  • Material Listing Error while creating the sales order

    Hi Guru's
    I have mantained a material in the lisitng for A002 combiantion for SO/DC/Pric. ref. material
    While creating the sales order is throwing an error as material is not listed so the transaction is not possible.
    I have done the basic invetingation on the folowing aspects
    1)checking the material in the listing
    2)Validity periods
    3)Material not blcoked
    4)Mateial is extened for the respective sales org
    Kindly help ASAP.
    Thanks & Regards
    Tarakaram

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

  • Error while creating the sales order with billing reference

    hi alll
    i am getting error while creating the sales order with billing reference.The line items are coming in grey.I am not able to change the items as well as the quantity field.Can u guide me
    cheers
    shalsa007........

    Dear SAP SD 007
    I can confidently tell that an enhancement or an user exit has been applied in your scenario
    You have to check that
    Normally when creating a sales order with respect or referring billing documents the qty will be in editable mode and it is standard problem
    Your people has solved the standard problem by enhancement
    Usually OR--LF-PGI----F2 (SAY THE QTY IS 25 UNITS)
    Now you are creating returns order with reference to F2 in the return order type Re there is a standard issue that user can edit the qty to 30 from the original 25
    To solve this only your people have used userexit
    Line items and qty greyed out means definately there is some enhancement or user exit applied
    You have to check that
    Regards
    Raja

  • While copy into return sales order from sales invoice.

    I am creating one sales document assign one pricing procedure for that(eg. zpos)
    same way I am creating another return sales order which have I assign return sales order pricing procedure(zposr).
    Every time client want to create return sales order with reference to sales invoice (which having procedure zpos).
    but when copy from sales invoice into the return sales order pricing procedure is not change(in return sales order it's show pricing procedure zpos instead of zposr. )
    please provide me help
    so that after copy from invoice into the return sales order s/m should pick correct pricing procedure (zposr)
    thank you.

    hi,
    check in t code ovkk what is the pricing procedure for the return sales cocument type
    the pricing procedure for sales area+custpric proc +doc pric proc =zposr(it should be there)
    and the document pricing procedure should be different as that of determing the pricing procedure for(zpos)
    check in t code vov8 what is the doc pric proc assigned to the the return sales document type,
    this same shall be allocated in ovkk infront of your pricing procedure(zposr),
    if not then maintain it and then test and revert
    revert  if helpful
    Mohit Singh

  • Billing document should not be cancelled after creating return sales order

    Hi All,
    Billing document should not be cancelled after creating return sales order with reference to billing document. Please suggest configuration settings on the same.
    Sudheer.

    Hi,
    In SAP, when the sub-sequent document is existing , we can not cancel the preceeding document. Therefore if you want to cancel the billing document you need to calcel the documents which are created with reference to that.
    Check and confirm.
    Regards,
    Ravi Duggirala

  • Free of goods should come automatically back when creates return sales order

    Dear sd experts
    I Know one thing that free goods wont come back ,, for ex when we create return sales order free goods wont come bz in VTAF copy requirement 302
    it means dont copy free goods
    Now i went VOV7--- for item category TANN-- i have maintained billing relevance A it means free goods items will come in to billing
    now when i am creating return sales order with reference to billing Free goods are not coming
                  My doubt is suppose if  my clinte asks free goods   will come automatically when creates returns how to do it ?

    Hi Ali,
    I just checked and understand in the below way:
    When I Do the PGI system is posting say 50 USD to COGS. But, when I do the Invoice ( 100 USD is credited to sales account and 100 is debited to discount account) So at the end 100 is getting Nullified. But, when we see P&L account you will COGS of 50 USD.
    I checked along with my FI consultant and she confirmed that its posting as per expected way only.
    Let me know if you need more details here.
    Regards, Sai Krishna.

  • When I create Return Sales Order through BDC sales order doesnu2019t create.

    Deal Guru,
    When I create Return Sales Order through BDC sales order doesnu2019t create.
    It shows created sales document number but when I display this document I am getting message Document is not in database.
    After executing my BDC, message received in SAP in box : SAPSQL_ARRAY_INSERT_DUPREC
    I am receiving following message in SAP inbox for following issue.
    But when I create Return Sales Order through VA01, it is working. Please give me some idea.
    Detail Message
    Update was terminated
    System ID....   PRO
    Client.......   900
    User.....   DEVELOPER2
    Transaction..   VA01
    Update key...   4961DBF46A6B09D2E10080020A02281C
    Generated....   05.01.2009, 16:03:40
    Completed....   05.01.2009, 16:03:40
    Error Info...   00 671: ABAP/4 processor: SAPSQL_ARRAY_INSERT_DUPREC
    Regards
    Makarand

    Hi Rory
      Try this link:
       BAPI can't to create SO,But used bapi data with manual can?
    Regards
    Neha

  • Create return sales order

    Hi, I met some issue needs your help!
    I use BAPI to create return sales order, Return an error message "Unpermitted combination of
    business object bus2032 and sales doc.category H".
    Can anyone suggest me any solution for this problem?
    Thanks is advance,
    Rory

    Hi Rory
      Try this link:
       BAPI can't to create SO,But used bapi data with manual can?
    Regards
    Neha

  • Mapping datas from idoc while creating a sales order.

    Hi Friends,
    From the idoc i want to fill the field 'YOUR REFERNCE' in the tag ORDER DATA at header level while creating a sales order. From which segment i can find the datas for that field.
    Your answers will be valuable.
    Thanks,
    Bestin
    Edited by: Be$t!N on Aug 26, 2009 4:41 PM

    Hi,
    You can find the Your Reference field in the segment E1EDKA1 and the field name is IHREZ.  This Your reference field is at the Partner level. This is a standard field.
    If you can let me know at which place you want this field to be populated then we can find another suitable field in the IDOC.
    Thanks,
    Mahesh.

  • How to create a Sales order from multiple quotations?

    Hi All,
    Please tell me how to create one sales order from multiple quotations?
    Regards,
    Maddy

    Hello Maddy,
    To create the sales order from multiple quotation, you should put the value "F - Only at item level: Always with selection option" under Quotation determination in your sales transaction type.
    It will give you a pop-up to choose your quotations item while creating the sales order.
    Some per-requisites are there:
    1. Copy control should be maintained between your quotation and sales order.
    2. Quotation should be error free and should have the status "Released"
    3. Sold to party and Organization should be same in both transaction.
    For more information you can check the below link:
    Processing Quotations - Sales Transactions - SAP Library
    Best Regards,
    Dinesh

  • Creating ERP Sales Order from CRM 7.0

    Hi Experts,
    We are implementing the scenario-Creating ERP Sales Order from CRM. My doubt is:-
    Do we need to download the entire product data from ECC via middleware to implement this functionality?
    Is it possible that we manually create few products in CRM with same heirarchy and category and avoid middleware data download?
    My basic doubt is-what product information is passed to ECC from CRM when we create the ECC Sales Order? If only product id is passed, then we can avoid middleware data download for product from ECC to CRM.
    Can anyone please provide me some pointers on this? What should be the approach-download product data from ECC to CRM or manually create product data in CRM?
    Thanks and Regards,
    Rohit

    I´m trying to figure out the ERP Sales Order Scenario in CRM, i found the following link (sap.help) to customize the ERP sales Order in CRM, it´s a quickly guide supported by SALESPRO but in my case does not work, if somebody knows how to retrive the Order in IC i´ll appreciate.
    Here a quick Guide -->
    Prerequisites
    You can directly create and change an ERP sales transaction in SAP CRM once you have carried out the following:
    You are using SAP ERP for your Quotation and Order Management.
    You are using SAP CRM.
    You have assigned the relevant ERP sales transactions to a profile.
    You do this in Customizing for CRM, by choosing  Customer Relationship Management  Transactions  Settings for Sales Transactions  Define Profile for ERP Sales Transactions .
    You have defined an RFC destination.
    You do this in Customizing for CRM, by choosing  Customer Relationship Management  CRM Middleware and Related Components  Communication Setup  Define RFC Destinations .
    You have defined a business role by copying the standard business role SALESPRO to your own. You make this setting in Customizing for CRM, by choosing  Customer Relationship Management  Business Roles  Define Business Role .
    You have defined cross-system copy control of transaction types.
    You do this in Customizing for CRM, by choosing Transactions  Settings for ERP Transactions Maintained via CRM  Cross-System Copy Control for Opportunities and ERP Transactions
    I want to see the screens or video regarding with this scenario.
    Regards,
    Memo

  • Create multiple sales orders from single service notification?

    Is it possible to create multiple sales orders from a single notification (IW51)? 
    We currently create sales orders directly within transaction IW51 (Create Service Notification).  We kick off the sales order creation by pressing the "SALES ORD." button in the notification screen.  We're now interested in creating a 2nd Sales Order which would tie directly to the same Service Notification.  This is so that we can have the second order assigned to a different account assignment WBS (there are two different parties doing work on the service notification).
    I assume you would have to go to VA01 to create the Sales Order, but am not sure how to tie it directly to the service notification from here.  I treied to do a create with reference, but there is no ability to create with reference to a service notification.
    Do I have to create a second service notification for the 2nd Sales Order for this to work?  I want to avoid doing this if at all possible.
    I'm running SAP R/3 Enterprise
    Thanks for your help!

    Hi,
    go to vtaa- copy controls for sales document to sales document.
    select your combination of order and quotation go to item level. There select value 0(zero) in field positive/negative negative.
    No need to change update document flow.
    After setting zero in copy control that be told on above. create order with respective to the quotation.
    After saving the order.
    go to document flow to see the status in between quotation and order.
    If you placed setting right, then u certainly observe for quotation status will be open. so you can create no. of sales order with respect to that quotation..
    Have a good day..

  • Error V2 005 when creating a sales order from a quotation

    I hope someone can come up with some ideas to help me with this error. My client is creating a sales order from a quotation and immediately on the first screen the error V2 005 pops up. The quotation was not created with reference to any previous document, and at this point not sold-to party has even been copied through to the sales order.
    To make this error more interesting, this is only happening with 1 particular customer.
    I have checked: credit management, customer hierarchies, material determination, customer info records and none of these are in use.
    Can someone please come up with some ideas?
    Thanks and regards
    Kikas

    Dear Sai,
    Thanks for this note I am going to try it, however I have some concerns because the issue is only happening in production, with 1 custoemr only, and QA is an updated copy of production and I could not replicate the error in QA using the same customer....
    If anyone has any other ideas please I would appreciate it
    thanks
    Kikas

  • Creating one Sales Order from Multiple Quotes

    Hello
    We are using SAP CRM 2007.
    I believe in CRM we can create one sales order from multiple quotes. We have a requirement where we need to create one Third party sales order from multiple Quotations.
    I have Item cat for Quotations and Sales Document maintained correctly.
    I also have copy control where ZQUO and ZSAL are maintained correctly. Where I have maintained settings for copying Transactions as well as Item Category.
    But when I go to CRMD_ORDER and retrieve quotes and try to do a follow on doc for sales doc , only the first Quote gets added into follow on document.
    Can someone tell me if I am missing any config?
    Thanks

    hello,
    in sap ui we use control button and select multiple quotes and then
    create the sales order as follow up as we have follow up button.
    Regards,
    Deepa

Maybe you are looking for

  • Free Goods Regarding u0096 Sales and Distribution

    <b><u>Scenario</u> :</b> I. To represent free goods explicitly in Billing & Delivery & to represent the same in the Invoices & Transport & Shipping. II. To make account for the free goods in the accounting and Material documents. a. Here the free goo

  • Reporting Services - Horizontal Scrollbar not scrolling sometimes fields exceed page width

    We have a landscape report with lots of fields, causing report to span in width, more than page width. We don't print the report, just view it. Problem is that sometimes when previewing the report, the horizontal scroll bar opens to a size of the who

  • Linksys vs Mac and PC

    I have a Linksys wireless router and PC that have been running for quite some time with no problems. My daughter came to visit and has a MacBook. We have tried to get her to where she can go online and once she gets connected, I lose connection with

  • Onchange of a selectList

    Hi, I have a requirement. When a user selects a value from a selectlist, I have to go to the database, select 4 values based on the selected item and populate other elements in the form. I want to do this without submitting the form. Is it possible ?

  • Get "Licensing for this product has stopped working" error on my New Mac with old Adobe software

    hi people, i've recently purchased a new machine and can't work out how to get Illustrator cs3 or photoshop cs5 working on it... photoshop says "Licensing for this product has stopped working. you cannot use this product at this time. you must repair