To create a return order with sales order as reference in CRM.

Hi guys,
How do i create a return order with sales order as reference in CRM. Is CRMD_BUS2000115 the transaction for this?? and if yes how do i pass sales order as reference??

Hi,
While archiving the documents, the backup of the documents (Archive FIles) would have been taken. Using the archive file, you can reload the required documents and do your transaction.
It is better to check with your technical team to do the same.
Regards
Vijay

Similar Messages

  • Can u tell me any bapi to create the purchase req with sales order as refer

    can u tell me any bapi to create the purchase req with sales order as reference?

    Hi Mukesh,
    You can use 'BAPI_REQUISITION_CREATE' for the purchase requisition creation if through transaction, you use transaction ME51N for creating the purchase requisition.
    Cheers,
    Sujay

  • Fields required for linking production order with sales order

    I need to link production order and sales order to get the part no#. need to see in md04.

    The link between production order and sales order can be made by using the KDAUF KDPOS fields of AUFK or AFPO and linking them to VBELN and POSNR of VBAP.
    Regards,
    Rich Heilman

  • Production order with sales order in MTO

    Using SAP ver 4.7 for make to order scenario.
    Presently production order creation is automated. At the time of creation of sale order the production order is created in the background.
    Now wants to create the Production order manually with reference to a sale order.
    Where this needs to be configure. Kindly advise.
    Thanks
    anya

    Hi Anya,
    Nice to meet you,
    I am Ram, working as CRM and SD consultant in a client palce. I want to know how to generate a production order automatically in back ground while creating a sales order.
    and How can we inform this production order to the production department.
    I request you to please educate me on this issue, your help is most awaited, and will be highly appreciated.
    thank you

  • Purchase Order with Sales Order Reference

    Hi Gurus,
    I have created a Purchase Order with reference to Sales Order.Now when I post Goods Receipt Mvt 101 system throws a message Update Control of Movement Type is incorrect.
    I have checked in customizing Transaction (OMJJ) cannot find settings related to this particular scenario.Can anyone suggest where I can update control for posting Goods Receipt for this purchase order.

    Hi, Check in OMJJ ,select Movement type>101
    Here click Update control / WM movement types on the left side , maintain the entries with the 101,
    Movement type indicator -B - Goods movement for purchase order

  • Can you add a Purchase Order with Sales Order as its Base Type using DI-API

    Is it possible to set the basetype on a PurchaseOrder document line to 17 to create a document as you would using the Procurement Confirmation Wizard in the UI?
    I am using 8.81 SP00 PL09.

    Anyone?
    We already have code to automatically generate Sales Orders using the DI-API, and if we could automate the create of the Purchase Orders as well, it would save a lot of end-user time.
    We would like to do it with the Base/Target references set so that end users can navigate between them in the UI.
    You can do it with the Procurement Confirmation Wizard, and I would like to know if it is possible to replicate this functionality through the DI-API or if I should move forward by just creating the Purchase Orders without reference to the Sales Order and using a UDF to tie them together.

  • Subcontracting Purchase order with Sales order Reference

    Hi friends,
    I am facing a problem during GR of Purchase order with Acc. Assignment E and Item Cat L i.e. purchase order is MTO and of Subcontracting.
    During GR, system is purposing movement type 543 E instead of 543 O for BOM components. Please suggest how can I get the correct movement type during GR. I would like to appreciate for your kind response.
    Kraheja.

    Hi
    Go to SPRO->Logistic general->Tax on goods movement->India->Movement types.
    Here you will find the group of movement types check which movement types is mantained for the out side movement groups or inward movement.
    also check the Material Master in MRP view if the collective requirements (02) is mantained.
    Regards
    Sujoy

  • Sales Order - Returns change the sales order item delivery status

    Hi All,
    we have the following requirement from our users:
    after creating a return, the original sales order should have the
    delivery item status changed.The system should permit that a new
    delivery can be created for sales order item already delivered / billed (a new delivery with the quantity that has being returned) but has a return document,
    without increasing the sales order quantity.
    Does any body got the same requirement ?
    Thanks in advance,
    Marcus

    Hi Marcus,
      After creating return order you have to do the goods receipts.But this doesn't mean that you will be able to create a delivery with the old order itself.
      You have to create the order again and ahve to create a new delivery,goods issue and billing.
      Another option is as Roberto said that you have to reverse the goods issue thru VL09 and then cancel(delete) your delivery and then you can create a new delivery wr.t to your original sales order.
      Reward points if it helps.
    Regards
    Karan

  • When creating a return by copying an order tax and charges are not defaulting?

    Hi,
    I have created a Return by copying sales order. But tax and charges are not defaulted from original sales order. Please note unit selling price is 0 for this item. I am using 11.5.10.2 version.
    Sales Order: 143674
    Item: UT1
    Quantity: 2
    unit selling price: $0
    Tax: $0
    Charges: $0
    Calculated price flag: Freeze Price
    But Return created as follows by using copy.
    Return Order: 6678
    Item: UT1
    Quantity: -2
    unit selling price: $0
    Tax: -$5
    Charges: -$20
    Calculated price flag: Partial Price
    Your help will be highly appreciated.

    Hi
    At sales order form, you select Action > Copy
    Change the order type to your "Return transaction type"
    Go to Line Tab
    Change the line type to Return type, enter return reason.
    Save
    This creates new RMA order.....this way this should copy the original tax amount.
    For the Charges part, check in the modifier definition whether "Include on Returns" is checked in the Discount/Charges TAB.
    Thanks
    -Arif.

  • Goods valuation with sale order stock

    use S price valuation material, goods have production order ,with sale order stock, when the produciton order have GR, the goods stock value do not use standard price for material accounting view,why ? what problem? use standard price valuation sale order stock is standard program for the SAP system ? this is very touchy problem.

    make sure that for the final product manufactured in accounting view u have maintinaed the price contrlo indicator as S
    and if still error comes then let me know system would be showing the  actual cost and planeed cost
    if there is variance then system is goingto post that to the cost difference account

  • Create delivery with sales order reference.

    Dear all,
           I created a sales order with sales area (1000,10,00) and order type(or).
           when i am creating a delivery with sales order reference , error is occurring.
    error:(Order cannot be delivered (see long text)).
           plz solve the problem urgent.
                                          Regards,
                                v.mallikharjuna rao.

    Hi,
    You must do the PGI before creating the delivery. Please follow the below mentioned procedure carefully and you will be able to do that.
    Once you create a Sales order, go to the transaction VL01 and do the PGI. To do PGI (from transaction VL01), in the menu, go to Outbound Delivery->Save and Subseq.Func->Transfer order. This will take you to Transfer order transaction. click on Generate TO and save. Now return to transaction VL02 and click on Post Goods Issue. This will do the PGI and save the Delivery document. Now go to VF01 and you will have the delivery number just created as a line item. Select it and click on execute button. Save once the execution is done and a Billing doument (invoice) is created. Now if you go to the sales order and click on document flow all these documents will be displayed.

  • How to create Delivery with sales order FM/BAPI

    Hi Gurus,I'm new to  SAP  platform
    I have created sales order ,
    with this i need to create Delivery(vl01n)
    so i need to give 'Shipping Point','Selection Date','SD Number'
    so could any one tel me which FM/BAPI is suitable to create
    Outbound delivery with 'sales order number', 'Selection date' and
    "Plant or Shipping Point'.
    With these Import parameters i need  FM/BAPI .
    Thanks  in Advance
    Siva Kumar kasa.

    I   have created delivery  with  that  BAPI 
    giving   'batch number'  but  it was  not  updated,so  can u tel me
    any related field  which need give to change batch field  also.

  • Should an abaper have  knowledge of creating purachse order and sales order

    should an abaper have  knowledge of creating purachse order and sales order
    if so how to create pls help me
    thanks in advance

    REPORT ZTEST_BAPI .
    *- BAPI related declarations
    DATA : g_pohdr TYPE bapimepoheader,
    g_pohdrx TYPE bapimepoheaderx,
    gt_poitem TYPE TABLE OF bapimepoitem,
    gt_poitemx TYPE TABLE OF bapimepoitemx,
    gt_posched TYPE TABLE OF bapimeposchedule,
    gt_poschedx TYPE TABLE OF bapimeposchedulx,
    gt_poacct TYPE TABLE OF bapimepoaccount,
    gt_poacctx TYPE TABLE OF bapimepoaccountx,
    gt_poservice TYPE TABLE OF bapiesllc,
    gt_posrvacc TYPE TABLE OF bapiesklc,
    gt_return TYPE TABLE OF bapiret2.
    perform prepare_header.
    PERFORM prepare_items.
    PERFORM prepare_schedule.
    perform create_po.
    *& Form prepare_header
    Set up header structure
    FORM prepare_header.
    g_pohdr-comp_code = '2000'.
    g_pohdrx-comp_code = 'X'.
    set up doc type
    g_pohdr-doc_type = 'NB'.
    g_pohdrx-doc_type = 'X'.
    g_pohdr-vendor = '0008000330'.
    g_pohdrx-vendor = 'X'.
    g_pohdr-langu = sy-langu.
    g_pohdrx-langu = 'X'.
    g_pohdr-purch_org = 'BA01'.
    g_pohdrx-purch_org = 'X'.
    g_pohdr-pur_group = '800'.
    g_pohdrx-pur_group = 'X'.
    g_pohdr-currency = 'USD'.
    g_pohdrx-currency = 'X'.
    ENDFORM. " prepare_header
    *& Form prepare_items
    Set up item values
    FORM prepare_items.
    DATA : ls_poitem TYPE bapimepoitem,
    ls_poitemx TYPE bapimepoitemx.
    ls_poitem-po_item = '00010'.
    ls_poitemx-po_item = '00010'.
    ls_poitemx-po_itemx = 'X'.
    ls_poitem-short_text = 'ABSORBER,SHOCK:PALLETIZER'.
    ls_poitemx-short_text = 'X'.
    ls_poitem-material = '000000000001070062'.
    ls_poitemx-material = 'X'.
    ls_poitem-vend_mat = 'xyz'.
    ls_poitemx-vend_mat = 'X'.
    ls_poitem-quantity = '100'.
    ls_poitemx-quantity = 'X'.
    ls_poitem-po_unit = 'EA'.
    ls_poitemx-po_unit = 'X'.
    ls_poitem-po_unit_iso = 'EA'.
    ls_poitemx-po_unit_iso = 'X'.
    ls_poitem-net_price = '6.32'.
    ls_poitemx-net_price = 'X'.
    ls_poitem-price_unit = '1'.
    ls_poitemx-price_unit = 'X'.
    ls_poitem-item_cat = 'D'.
    ls_poitemx-item_cat = 'X'.
    ls_poitem-plant = '1575'.
    ls_poitemx-plant = 'X'.
    ls_poitem-ACCTASSCAT = 'K'.
    ls_poitemx-ACCTASSCAT = 'X'.
    ls_poitem-acctasscat = <fs_req>-knttp.
    ls_poitemx-acctasscat = 'X'.
    ls_poitem-distrib = <fs_req>-vrtkz.
    ls_poitemx-distrib = 'X'.
    ls_poitem-part_inv = <fs_req>-twrkz.
    ls_poitemx-part_inv = 'X'.
    ls_poitem-gr_ind = <fs_req>-wepos.
    ls_poitemx-gr_ind = 'X'.
    ls_poitem-gr_non_val = <fs_req>-weunb.
    ls_poitemx-gr_non_val = 'X'.
    ls_poitem-ir_ind = <fs_req>-repos.
    ls_poitemx-ir_ind = 'X'.
    ls_poitem-agreement = <fs_req>-konnr.
    ls_poitemx-agreement = 'X'.
    ls_poitem-agmt_item = <fs_req>-ktpnr.
    ls_poitemx-agmt_item = 'X'.
    ls_poitem-preq_no = <fs_req>-banfn.
    ls_poitemx-preq_no = 'X'.
    ls_poitem-preq_item = <fs_req>-bnfpo.
    ls_poitemx-preq_item = 'X'.
    ls_poitem-preq_name = <fs_req>-afnam.
    ls_poitemx-preq_name = 'X'.
    ls_poitem-pckg_no = <fs_req>-packno.
    ls_poitemx-pckg_no = 'X'.
    APPEND : ls_poitem TO gt_poitem,
    ls_poitemx TO gt_poitemx.
    ENDFORM. " prepare_items
    *& Form prepare_schedule
    Schedule data
    FORM prepare_schedule.
    DATA : ls_posched TYPE bapimeposchedule,
    ls_poschedx TYPE bapimeposchedulx.
    ls_poschedx-po_item = '00010'.
    ls_posched-po_item = '00010'.
    ls_poschedx-po_itemx = 'X'.
    ls_posched-delivery_date = '10/31/2005'.
    ls_poschedx-delivery_date = 'X'.
    ls_posched-quantity = '100'.
    ls_poschedx-quantity = 'X'.
    ls_posched-preq_no = <fs_req>-banfn.
    ls_poschedx-preq_no = 'X'.
    ls_posched-preq_item = <fs_req>-bnfpo.
    ls_poschedx-preq_item = 'X'.
    APPEND : ls_posched TO gt_posched,
    ls_poschedx TO gt_poschedx.
    ENDFORM. " prepare_schedule
    *& Form create_po
    Create PO with ref to the req
    FORM create_po.
    DATA : lt_return TYPE TABLE OF bapiret2,
    l_ponum TYPE banfn.
    CALL FUNCTION 'BAPI_PO_CREATE1'
    EXPORTING
    poheader = g_pohdr
    poheaderx = g_pohdrx
    testrun = 'X'
    IMPORTING
    exppurchaseorder = l_ponum
    TABLES
    return = lt_return
    poitem = gt_poitem
    poitemx = gt_poitemx
    poschedule = gt_posched
    poschedulex = gt_poschedx
    poaccount = gt_poacct
    poaccountx = gt_poacctx
    poservices = gt_poservice
    posrvaccessvalues = gt_posrvacc.
    APPEND LINES OF lt_return TO gt_return.
    IF NOT l_ponum IS INITIAL.
    MESSAGE s398(00) WITH 'Purchase document ' l_ponum
    ' successfully created'.
    ENDIF.
    ENDFORM. " create_po
    <b>Reward points</b>
    Regards

  • Create and Change functionality for Sales order

    Hii All,
                Can any one please suggest me any Standard program or BAPI or IDOC for Sales order, it should cover create as well as change fuctionality of Sales order.
    this is very urgent to me.
    Suitable Answer will be Rewarded.
    Thankyou,
    Shobha.

    For change you can use:
    BAPI_SALESORDER_CHANGE         Sales order: Change Sales Order
    For create you have the following choices:
    BAPI_SALESORDER_CREATEFROMDAT1 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDAT2 Sales order: Create Sales Order
    BAPI_SALESORDER_CREATEFROMDATA Create Sales Order, No More Maintenance
    BAPI_SALESDOCU_CREATEFROMDATA with business object 'BUS2032'
    The difference between the create ones is the functionality you get e.g. create_from_data2 is the 'most powerful' but you also have to provide the most data. It just depends on what you want it to do.
    In terms of IDOCS:
    message type:
    SALESORDER_CREATEFROMDAT201 or
    SALESORDER_CREATEFROMDAT202 or
    ORDERS05
    Hope that helps,
    Michael
    Here is an example we use, you might want to populate additional fields or leave fields out in case you want different data to be transferred to the IDOC - however some fields are mandatory.
    create the order header structure
      ls_header-doc_type   = ls_screen-order_type.
      ls_header-sales_org  = gc_vkorg_aa01.
      ls_header-distr_chan = gc_distr_aa.
      ls_header-division   = gc_divis_aa.
      ls_header-purch_no   = ls_screen-po_num.
      ls_header-po_method  = ls_screen-po_source.
      ls_header-ship_cond  = ls_screen-ship_cond.
    create partner input table (sold to)
      ls_partner-partn_role = gc_role_sold.
      ls_partner-partn_numb = ls_screen-sold_to.
      APPEND ls_partner TO lt_partner.
    create partner input table (ship to)
      ls_partner-partn_role = gc_role_ship.
      ls_partner-partn_numb = ls_screen-ship_to.
      APPEND ls_partner TO lt_partner.
    items are added by looping at a table
        ls_item-material = <fs_upload>-matnr.
        ls_item-req_qty  = <fs_upload>-quantity.
      process the quantity, it needs to be three decimals, because it
      will be moved into a string in the BAPI and divided by 1000 before
      it is moved back into a number field (1.500 => 001500 => 1.5)
        ls_item-req_qty = ls_item-req_qty * 1000.
      truncate remaining decimal places if exist (1.2525 => 1252.5 => 1252 => 1.252)
        ls_item-req_qty = trunc( ls_item-req_qty ).
        price is taken from the file
          ls_item-cond_type = gc_cond_so_upld_price.
          ls_item-cond_val1 = <fs_upload>-price.
        condition one (price) is multiplied by 10 in the BAPI
          ls_item-cond_val1 = ls_item-cond_val1 / 10.
        no discount
          ls_item-cd_type2   = gc_cond_so_upld_disc.
          ls_item-cd_value2  = 0.
        ls_item-item_categ = ls_screen-item_cat.
          APPEND ls_item TO lt_item.
    then BAPI is called
      CALL FUNCTION 'BAPI_SALESDOCU_CREATEFROMDATA'
        EXPORTING
          order_header_in           = ls_header
          business_object           = gc_bus_obj
        IMPORTING
          SALESDOCUMENT             = lv_vbeln
          RETURN                    = ls_return
        tables
          order_items_in            = lt_item
          order_partners            = lt_partner.
      IF ls_return-type NE gc_msgty_error AND
         ls_return-type NE gc_msgty_abend.
      No errors where found
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
      ELSE.
      There was an error or abend
        CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
      ENDIF.

  • How to create a daily report for sales order

    hi
    how to create a daily report for sales order. what fields it must consists of. what are the tables it need?

    Hi
    You have to use the sales order tables VBAK,VBAP and VBEP
    So keep date field on selection screen
    and treat this date as Order creation data audat field in VBAK.
    based on this fetch the data from VBAK and VBAP  with the following fields like
    VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS  etc and display in the report
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • USB Ports Stopped working on MacBook Pro 13-inch, Late 2011, OS X 10.8.5

    Please help with any advice I have OS X 10.8.5 One USB port stopped a while ago The other stopped yesterday. I have reset the PRAM I have also reset the SMC Nothing seems to fix it. I do have a time machine backup Any suggestions?

  • Oracle Express JDBC connection issues

    Hi, I installed the OE10g, however I cannot connect through JDBC, the admin tool runs at: http://127.0.0.1:9080/apex note that I changed the http port and works properly, however, when trying to reach this DB through JDeveloper's 'Create Database Con

  • Transport req for standard text.

    Hi All How to find out the Under which request number standard text elements are stored in the smartforms. Thanks

  • Upgrading the Target System-Will it affect the XI Messages?

    Hello Friends, I need to know the better solution for the following issue. We have a scenario SAP->XI->SRM 4.0. Now we are upgrading SRM 4.0 to SRM 5.0. If we upgrade the SRM System, whether the Messages flow in XI will get affected? Regards, UP

  • Lenovo Yoga Complaint

    We had purchased one Lenovo laptop (Model :Yoga 13)(serial Number: EBxxxxxxxx ) from M/s.Nirvana Computers, Calicut on 3rd March 2014. On July 23th 2014, we found that the LCD panel was having complaint and we called up the toll free customer care, t