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

Similar Messages

  • 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

  • Can we create Return Sales Order with Ref to Delivery

    Dear Friends,
    Can we create a Return sales order (RE) with reference to Delivery (LF)?
    If yes,how?
    If not,why?
    Regards,
    Shrikant

    Hi there,
    As per the standard process we donot refer RE with LF. 1 reason may be coz for returns order, we need to copy pricing either from OR or F2. Coz in LF pricing is not copied from OR. If you check the copy control from OR to LF in VTLA, at item level, you will not have any control for pricing type.
    In most of the cases we refer returns to F2 sothat it will be easy to raise a credit memo to refund the customer. This is also because not all items in the order are delivered & invoiced (in partial delivery scenarios when all items are not confirmed)
    Regards,
    Sivanand

  • 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

  • Not able to Create Credit Memo During Return Sales Order

    Hi Guru's,
    Need your help in the below problem:-
    While Creating Return Sales Order it give us Order No with delivery no. and then finally I am able to do VL02N where I did Post Good Return sucessfully and also check using MB51 that goods got return.
    But when we try to create Credit Memo using VF01 I got the below message in log.
    Error Log
                 0060000799 000000 "Create billing document" not allowed (User Status LKD, object VB0060000799000000)
                LongText
                Technical data   ))))))))
    I have checked all copy control including Iteam Category etc etc all are in place.
    Looking for your help.
    Thanks
    Best Regards
    Bidhan Konar

    Thanks Krishna,
    Thanks for the solution. Find below the steps which i follow:-
    Go to Tcode VA02, Use the sale order reference and execute. From top menu bar, click on "Goto -- Header -- Status. Then again click on "Object Status" and when check I find that lock is there:- A radio button checked at -- 10 LKD Locked and change it to
    --20 REL Released and SAVE. Finally working.
    Thanks
    BR
    Bidhan
    Edited by: Bidhan Konar on Jun 3, 2010 8:35 PM

  • Returns sale order stock from returns to quality error

    Dear All,
    For FG Material we have activated Inspection Type '06' - Returns from Customer Inspection and Inspection Plan with Usage 'Goods Issue 06' also created.
    We create return sale order material comes in returns and we need Inspection lot with '06'. so in MB1B using mvt type 457 trying to move stocks from returns to quality but system is not allowing to transfer stock it gives error Change Inspection stock in QM only.
    kindly give your suggestion for this error.
    Regards,
    sakthivel

    For FG Material we have activated Inspection Type '06' - Returns from Customer Inspection and Inspection Plan with Usage 'Goods Issue 06' also created.
    SAP has returns set up to create 06 inspection lots. These are not stock relevant. In this case the inventory goes into the return stock category and another move must be done to move the material to unrestricted or blocked as needed it will not allow to move to QI
    If the material should go into QI stock and be under QI control, then config must be changed to use the 05 inspection type instead of 06.
    We create return sale order material comes in returns and we need Inspection lot with '06'. so in MB1B using mvt type 457 trying to move stocks from returns to quality but system is not allowing to transfer stock it gives error Change Inspection stock in QM only.
    In SPRO SD schedule line category for returns(DN) change movement type to 655 and make relevant settings for QM movement types.
    Check below relevant thread for more information
    sales return
    Cheers
    KK

  • How to Restrict Return Sales Order with reference to a cancelled invoice

    SAP Standard is allowing to create Return Sales Order with reference to a cancelled invoice which practically should not be allowed.
    Has any body worked on this problem and what could be the possible solutions so that return sales orders can not be created against a cancelled invoice.
    Kindly share your possible solutions.

    Hi Standard Process will not allow to create a Sales Order With Cancelled invoice,
    Kindly go through at Copy Controls
    T.CODE:VTAF
    in that some body might have maintained between S1 invoice to RE Sales Document.
    Remove the settings then u will be not able to create Sales Order w.r.t to Cancelled Document.
    Rewards if Usefull
    B.Shyam Sunder
    SAP SD Consultant

  • FREE GOODS DETERMINATION IN RETURN SALES ORDER

    Hello SD experts,
    When i am creating return sales order with reference to original invoice document, system copies only the main item,however it is not copying the Free Goods item even though it is displaying both the line items while adopting through option 'line items' in VA01.
    I would like to request you, what system setting i need to do, so that it considers the free goods item too while adopting / copying from invoice document along with main item.
    Any help for the above said regard is highly appreciable.
    Thanks and Regards,
    Vishwanath

    Hi,
    This scenario is not supported by standard SAP.Please go through the OSS notes--549505 or go through the link given below
    [Constraints in Free Goods|http://help.sap.com/saphelp_47x200/helpdata/en/dd/55fa4e545a11d1a7020000e829fd11/frameset.htm]
    You may need to go for a Z development to meet your criteria.
    Regards,
    Phani Prasad

  • Error while inbound creation for return sales order

    Hi all,
             We are in the process of creating return sales order for invoice cancelation.
             We have created return sales order.
             we have made settings for automatic inbound creation.
             While creating inbound delivery system giving following error,
    <b>Material cannot be used for inbound delivery because QM is active.</b>
    Please help in solving error.
    regards,
    Mona

    dear  kiran,
                        Tcode is for job planning,where can i make the required setting.
                        Can you explain in detail?
    regards,
    Mona

  • Return Sales Order - And its Status

    Hello Experts,
    I have a question in the sales returns scenario.
    Step 1: I Create a sales order ( With two items and delivery full ) and perform steps till billing ( invoice ).
    Step 2: I Create Return sales order with reference to the first sales order but i take Only one item to return.
    Now the status of the return sales order is Being Processed.
    Step 3: I create a complete ( deliver full quantity of the item ) return delivery with reference to the return sales order and save the document. Now still the return sales order is in status Being Processed. Ideally i should have been Completed.
    Step 4: I do the Goods receipt for the return delivery. Now also the status of the returns sales order is Being Processed instead of Completed
    Kindly suggest any way to control the status of sales document or is this the ideal way( if so what's the functional purpose behind this ? ).
    Is this because the billing block is still set in the Return sales order ?

    Do you mean that only after credit memo creation or clearing of the credit memo from FI the status of return order is set to completed?
    If this is an ideal scenario, in one of our systems the status of return sales order is set to completed immediately after returns delivery creation.
    This behavior is same as that of normal sales order scenario, where the sales order status is set to completed once the delivery happens.
    Kindly suggest, if there is any customizing to control the oeverall status update for specific sales order types or based on the type of sales scenario.

  • 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

  • BAPI for Creation of return sales order

    Folks:
    I have to create return sales order through BAPI from Billing document. I am using BAPI "'BAPI_SALESORDER_CREATEFROMDAT2" and giving billing document as reference document and sales order is created and billing document data is but the document flow is not updated. I mean to say that billing document and in original sales order  the return order is not reflected in document flow. Can somebody tell me which BAPI i can use to create  return sales order and it updates document flow as well.
    Thanks!!!!

    Hi,
    CALL FUNCTION 'BAPI_CUSTOMERRETURN_CREATE'
              EXPORTING
                return_header_in     = wa_return_header_in
                return_header_inx    = wa_return_header_inx
                testrun              = p_testrun
              IMPORTING
                salesdocument        = wf_salesdocument
              TABLES
                return               = it_return
                return_items_in      = it_return_items_in
                return_items_inx     = it_return_items_inx
                return_partners      = it_return_partners
                return_schedules_in  = it_return_schedules_in
                return_schedules_inx = it_return_schedules_inx
                return_text          = it_return_text.
            wf_exp_vbeln = wf_salesdocument.
    Hope this helps you,
    Regards,
    Abhijit G. Borkar

  • Propose order quantity in return sales order

    Hello Experts,
    I have a requirement where while creating return sales order with reference system should propose total delivered quantity instead of quantity in original sales order.
    I tried to copy routine 151 in VOFM but after the changes proposed quantity in return sales order is appearing as addition of original sales order quantity and total delivered quantity.
    example:
    Original sales order is having quantity = 100
    total delivered quantity = 45.
    default proposed return sales order(with reference) quantity = 100 (here system should propose 45 not 100)
    In copy routine if I change VBAP-KWMENG to 45 then in return sales order system is proposing 45 + 100 = 145 but I need system should only propose 45.
    I had searched the community but no where I found the solution.
    Please help. 

    Hi,
    The problem is we can not go with the process i.e. to create return sales order with reference to billing document as there are many other customizations already developed on existing process of creating return sales order with reference to sales order.
    So we need the solution in which return order(RE) should be created which should propose quantity as the total delivered quantity with reference to sales order.
    For the reference order only delivery document is posted in the system.

Maybe you are looking for

  • Connecting LION to an OLDER SMB

    After upgrading to Lion I can no longer connect to any of the OLDER versions of SMB on older versions of Windows or NAS devices.  Connecting to NEWER versions of Windows or various NAS devices works fine.  This is an issue with both many of my client

  • Does anyone know what time the last episode of Breaking Bad starts streaming

    Deos anyone know what time the last episode of Breaking Bad starts streaming on itunes?

  • Downloaded and installed ios 7 for iphone 5 and wont let me turn on location services

    download ios 7 for iphone 5 and when i go to turn on location services it does'nt let me turn it on.

  • SAP Job Market

    I think the recession is finally over and the job market has picked up. Recruitment seems to be in full flow. How do I know? The number of do-my-work because im-new-in-abap kind of posts is on an all-time high after a long time. And you thought I was

  • Upgrade Question re Raw

    I have been using PSE5 for quite a while, but I have just bought myself a new camera, a Canon Powershot G11, which of course has the ability to take raw photos. I've not has a camera that does raw before, so it's never been an issue. I'm not complete