Creation of compliants with reference to r/3 sales order.

dear friends
Is it possible to create compliants in CRM with reference to r/3 sales order? if answer is yes please provide  the solution how to configure the same.
regards
naveen

Hi Naveen
I dont know why you want to create complaints with respect to the sales order.
The usual process the companies follow is to create complaints wrt to the invoice number.
But incase you wish to create complaints wrt to sales order, then you can use implementation of a BAdI CRM_COPY_BADI_EXT for the same in the CRM system which will allow you to create a complaint in CRM System wrt sales order in ECC.The path for the same in CRM system is IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Business Add-In: Create Complaints with Reference to External Document
Secondly maintian the assignment between the Business Object type of referenced doc and Transaction type using path IMG>CRM>Transactions> Settings for Complaints> Integration>Business Add-Ins for Document Referencing> Assign Business Object Types to Transaction Types
Now go to CRMD_ORDER and open the transaction type CRLP, you will get pop-up for creation of complaint where you can choose the transaction type and business object type and reference sales order number/ invoice number and create the complaint.
Hope this will help
Regards,
Rekha Dadwal
You gain a point for every point that you reward. So reward helpful answers generously

Similar Messages

  • BAPI to create a billing document with reference to delivery or sales order

    Hi,
    Does anyone know any BAPI or function module that allows the creation of a billing document with reference to a sales order or to a delivery.
    Maybe the BAPI_BILLINGDOC_CREATEFROMDATA may be used to create a billing document with reference to a sales document, but i'm looking for a solution where I only need to indicate the number of the reference sales order or the reference delivery and maybe some few data more without the need of transfer all the items and conditions information.
    Thanks.
    Kind regards,
    Paulo Sousa

    Hello Paulo,
    To create a billing document based on a delivery use BAPI_BILLINGDOC_CREATEMULTIPLE. In table BILLINGDATAIN insert one line with the following data:
    REF_DOC = Delivery number
    REF_DOC_CA = 'J'
    If it runs fine, table SUCCESS will bring back useful data, like BILL_DOC (Billing document number).
    Regards,
    Joã

  • Adding item positions with reference to contract in sales order

    Hi all,
    I would be very grateful if some of you could help on this:
    I have a requirement to add lines with reference to a contract while the user is creating or modificating it via VA01 or VA02. The logic flow will be as follows:
    if the user enters a new item position with reference to a contract, and the qty entered exceeds the qty in the position selected of the contract, we have to skip the standard error message and try to spli the quantities in several positions with the same material in the contract.
    As an example:
    the contract 000000000001 has 5 lines:
    line     material       qty
    01       mat1           100
    02       mat1           50
    03       mat1           50
    04       mat2           n/a
    05       mat2           n/a
    if the user picks up the line 02 of the contract to create a new line in the sales order, and enters 180 as qty, the sap standard will raise an error, saying the qty has exceeded the contract qty. Ok, we have to skip that error (maybe could we set it as a warning??) and 'split' the qty as follows:
    in the sales orders, 3 lines will be created automatically
    line    material     qty
         mat1         100
         mat1         50
         mat1         30
    and of course, the released quantities in the contract must be updated: i.e the contract should be as follows:
    line     material       available qty
    01       mat1           0
    02       mat1           0
    03       mat1           20
    Any ideas? : )
    What i've done by the moment is to check is that 'split' is possible, in userexit_save_document. If not (e.g. if the user enters 220 for mat1 in the previous example), a custom error will appear. If it is possible, then the sales order will be created (only with the line the uswer entered) and I will trigger somehow a FM processed in background to modify the sales order.
    my question now is: how can i add lines to the created sales order, making reference to some contract lines?
    I've seen BAPI BAPI_SALESORDER_CREATEFROMDAT2 is used to create a document with reference, but can i use it to MODIFY an existing sales order?
    any help would be greatly appreciated.
    thanks a lot for your help.
    regards.

    Hello,
    there's a function module called 'BAPI_SALESORDER_CHANGE', which could change a sales order. The problem could be,that these BAPI's enque the salesorder. So if you start them in background via an userexit, you have to be sure that the salesorder is updated and dequeued by posting.
    An other way could be to use the exit 'userexit_check_vbap' in MV45AFZB. It's called after creating a new position or changing a position. All existing positions at that time in a internal table 'XVBAP', which you could change. (But be carefull, that you don't create an endless loop !).  
    The check about the contract quantity is in a form routine called 'vbep-wmeng_pruefen_folgebeleg(sapfv45e)'.
    Have a look into the form 'vbap_pruefen_ende' in FV45PFAP_VBAP_PRUEFEN_ENDE. There's the whole thing done including the call of the userexit.
    Regards Wolfgang

  • Error while copy with reference of quotation to Sales Order

    Dear All
    I am creating the sales order with reference to quotation . while , doing so , I get an error of
    Customer not maintained in Distribution channel - 'D1' .
    The Quotaion is having following structure
    Sales Organisation -- AAAA
    Distribution Channel - S7
    Division                     - D3
    But while copy the error erupts notifying to create the customer master for division 'D1' . If created of division D1 then the sales order is created with reference of quotation.
    Kindly guide.
    AVS

    Perhaps the configuration settings have been changed (to make D1 the reference division for D3 for master data ) since the quotation was originally created.

  • Want to procure material  with reference to WBS and sales order

    Dear all
    If i have assigned account assignment in PO means then while GR my material value is going to consumption. I dont want to book consumption at GR level i want to do consumption at delivery level. Also i want to procure material for particular WBS and Sales order.
    How to process the same. Kindly give some idea.

    Hi
    If you wanna toprocure the material wrt to WBS element or sales order the you have to make use of the Account assignment category P- projects ( That can be WBS elements /network ) And sales order C or any specific account assignment category created by you.
    Example :
    Sceneraio- When you are creating a slea order in SAP by T.code VA01 then at time of saving the SO the system is creation the WBS automatically ( that has to be mapped in SAP) .The Sales order number and the WBS element are  same .When you are cretating PO for  the Material wrt to  this WBS element then the system at time of the GR will be posting the consumption account which is booked to WBS element that in turn against the particular sales order.
    In SPRO - customizing i for the account assingment category P  in the Consumption Value is V
    Which is posted to consumption at time GR. Please  try create new account assignment category
    Consumption Value is E i.e accounting by sales order .
    Regards

  • Creation  of PO with reference only

    Dear Fiends,
    Can anyone explain,how can we make creation of PO with Reference to PR mandatory for Certain documents types of PO.
    Regards
    SAPMM

    Hi,
    Copy the field selection key NBF(Define screen lay out at document level in spro>Matmgmt>Purchasing>Purch.order>)
    In new field selection key go to reference data item and make mandatory to PR
    Define some PO document type and link this New field selection key at "define document types"
    Regards,
    Sattuj

  • WBS with billing element but no Sales Order

    Trying to write a SQ01 query to find WBS with billing element but no sales order assigned.  Can anyone help?

    VBRP is the billing item table, OP is asking about the sales documents.
    Queries for something that does not exist might be tricky. Use the tables/fields mentioned above (not VBRP), but make sure to use LEFT JOIN to VBAP. In this case you'll get blank/initial values in the query when no sales record exist. If you do a regular INNER JOIN then you just won't see the WBS that don't have VBAK/VBAP records.

  • WBS with billing element but no sales order assigned

    Trying to write a SQ01 query to find WBS with billing element but no sales order assigned. Can anyone help?

    Such WBS elements can be identified using CN43N report also using proper filtering criteria.
    Fileting criterias:
    Billing element.
    Order accepted status.

  • Creation of Billing with reference to the Sales Order

    Dear Friends,
    I need your suggestion for the following scenario.
    Client wants to create the Billing Document with reference to the Sales order.I mean when he is entering sales Order while creating the billing document ,the system should generate the billing document only for the delivered quantity.
    e.g  sales order is created for 100 Tons.And there are 5 delivery documents for 50 Tons.(Still the Sales order is open).
    Now when billing document is created with reference to the sales order ( Not with reference to the Delivery Document) it should create the billing document only for these five deliveries.
    Is it possible? If yes,how?
    Thanks in advance.
    Regards,
    Shrikant

    Hi Murali,
    Currently client has software where he enters only  Sales Order no and their software creates the billing for the delivery document for this Sales Order.
    Here client does not want to enter multiple delivery document nos if any.He wants to enter only Sales Order no.
    Regards,
    Shrikant

  • Error occurs during creation of Quotaion with reference to sales Order

    hi all,
    I have creating a new sales organization ID88 while i have the old sales org of ID10.When i try to create the sales order reference to the sales quotation,i have received an error mentioned "
    Material xxx does not exist in storage location 5201 F100" then flw by another error
    "Flow control: Entry SAPMV45B, RANG, R0, *   , *   , * is missing in T185"
    FYI, the F100 is the storage location for ID10. The material xxx is created under the sales org ID88 with plant 5201 sloc F120.
    Please kindly advise me on this.
    Thank you.
    Kah fei

    Hi Mahajan,
    I'm using the refence to the sales order, so it shud be the same before i manage to create the sales order i already receive that both error.
    And i have check my material master, i have not extend my storage location to F100, the system kept on prompt me to enter that sloc.
    Furthermore,MMBe will not show up to sloc F100,while for sloc F120 it will be up to the level of batch.
    Thank you.

  • Error occurs during creation of Quotaion with reference to Inquiry

    Dear All,
      When i am create Quotaion with reference to Inquiry for Export Customer it shows the Error:
    Exchange rate of EUR in INR for date 00.00.0000 could not be determined
    Message no. V1449
    Diagnosis
    You have entered a currency for which no valid exchange rate could be determined for the pricing date.
    Procedure
    Check whether a valid exchange rate for this currency exists for 00.00.0000.
    If this is not the case, define an exchange rate in Customizing, providing you have the authorization to do this.
    Also when click on error it shows another message like:
    Flow control: Entry SAPMV45B, RANF, R1, *   , *   , * is missing in T185
    Message no. V0102
    I also maintained Exchange rate for EUR to INR & also for INR to EUR.
    When i am create direct quotaion without reference it will create.
    Plz give me Solution on the above problem.
    Award pts for useful answer.
    Thx & Regards,
    Pankaj
    Message was edited by:
            Pankaj Mahajan

    Pankaj,
    Have you done below?
    In the customer master >sales area data> sales tab page, check what is the exchange rate type maintained. Default is "M".
    Now, go to SPRO>General Settings>Currencies>Enter exchange rates and under this node, check the value for USD to INR for the Echange rate type maintained in the customer master.
    ALSO Create new Inquiry & Quotation after saving exchange rate..and see if error is occuring..
    Reward if this helps...
    Regds
    MM

  • Creation of saleorder with reference to order using BAPI_SALESORDER_CREATE

    hello
    iam trying to create a sale order with respect to order BAPI_SALESORDER_CREATEFROMDAT2.
    the parameters i am passing is
    *Fill the header information for the order.
    wa_order_header_in-doc_type = Sales Doc type of order to be created.
    wa_order_header_in-sales_org = sales org.
    wa_order_header_in-distr_chan = distribution channel.
    wa_order_header_in-division = division.
    wa_order_header_in-ref_doc = order  number(This is the order i  refer to).
    wa_order_header_in-refdoc_cat = 'C' (c stands for order).
    *Fill the item level information for the order.
    wa_order_items_in-itm_number = item number.
    wa_order_items_in-material = material number.
    wa_order_items_in-ref_doc = order number(This is the order i refer to).
    wa_order_items_in-ref_doc_it = Item number of order i create.
    wa_order_items_in-ref_doc_ca = 'C'.
    APPEND wa_order_items_in TO i_order_items_in.
    *Fill the partner information for the order.
    wa_order_partners-partn_role = partner function.
    wa_order_partners-partn_numb = partner number.
    APPEND wa_order_partners TO i_order_partners.
    & likewise conditions structure
    i have done bapi_transaction_commit after bapi call.
    probelm which i am facing is , BAPI is creating a new sale order.. but it is not creating a order with reference order.
    thanks

    see this example as how to add text and multiple lines...
      loop at it_tab into wa_tab.
            record_no = sy-tabix.
            serial_no = wa_tab-ser_no.
    *       ORDER_TYPE =  WA_TAB-ORD_TYP.
            sales_office = wa_tab-sal_off.
            sales_group =  wa_tab-sal_grp.
            old_ref_no  = wa_tab-ref_shp_to_par.
            shipping_condition = wa_tab-ship_cond.
            perform sales_info using sales_office sales_group
    shipping_condition.
            condense shipping_condition.
            ship_cond = shipping_condition.
            on change of old_ref_no.
              refresh it_bapisdhead.
              refresh it_bapisdhead1x.
              refresh it_bapiparnr.
                 wa_bapisdhead-doc_type     = wa_tab-ord_typ.
                 wa_bapisdhead1x-doc_type   = 'X'.
                 wa_bapisdhead-sales_org    = '5088'.
                 wa_bapisdhead1x-sales_org  = 'X'.
                 wa_bapisdhead-distr_chan   = '01'.
                 wa_bapisdhead1x-distr_chan = 'X'.
                 wa_bapisdhead-division     = '00'.
                 wa_bapisdhead1x-division   = 'X'.
                 wa_bapisdhead-sales_grp    = sales_group.
                 wa_bapisdhead1x-sales_grp  = 'X'.
                 wa_bapisdhead-sales_off    = sales_office.
                 wa_bapisdhead1x-sales_off  = 'X'.
                 wa_bapisdhead-purch_no_c   = wa_tab-po_no.
                 wa_bapisdhead1x-purch_no_c = 'X'.
                 wa_bapisdhead-purch_date   = wa_tab-po_date.
                 wa_bapisdhead1x-purch_date = 'X'.
                 wa_bapisdhead-req_date_h   = wa_tab-req_del_date.
                 wa_bapisdhead1x-req_date_h = 'X'.
                 wa_bapisdhead-incoterms1   = 'EXW'.
                 wa_bapisdhead1x-incoterms1 = 'X'.
                 wa_bapisdhead-incoterms2   = wa_tab-inco_terms2.
                 wa_bapisdhead1x-incoterms2 = 'X'.
                 wa_bapisdhead-ship_cond    = ship_cond.
                 wa_bapisdhead1x-ship_cond  = 'X'.
                 wa_bapisdhead-ref_1        = wa_tab-ref_sld_to_par.
                 wa_bapisdhead1x-ref_1      = 'X'.
                 wa_bapisdhead-ref_1_s      = wa_tab-ref_shp_to_par.
                 wa_bapisdhead1x-ref_1_s    = 'X'.
                 append wa_bapisdhead to it_bapisdhead.
                 append wa_bapisdhead1x to it_bapisdhead1x.
                 wa_bapiparnr-unload_pt    = wa_tab-unload_pt.
                 wa_bapiparnr-partn_role   = 'AG'.
                 wa_bapiparnr-partn_numb   = wa_tab-sld_to_par.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
                 wa_bapiparnr-partn_role   = 'VE'.
                 wa_bapiparnr-partn_numb   = '777'.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
                 wa_bapiparnr-partn_role   = 'ZM'.
                 wa_bapiparnr-partn_numb   = '999'.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               if wa_tab-bill_to_par <> ' '.
                 wa_bapiparnr-partn_role   = 'RE'.
                 wa_bapiparnr-partn_numb   = wa_tab-bill_to_par.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               endif.
               if wa_tab-payer <> ''.
                 wa_bapiparnr-partn_role   = 'RG'.
                 wa_bapiparnr-partn_numb   = wa_tab-payer.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               endif.
               if wa_tab-ship_to_par <> ''.
                 wa_bapiparnr-partn_role   = 'WE'.
                 wa_bapiparnr-partn_numb   = wa_tab-ship_to_par.
                 append wa_bapiparnr to it_bapiparnr.
                 clear wa_bapiparnr.
               endif.
               wa_bapisdtext-text_id   = 'Z113'.
               wa_bapisdtext-langu     = 'EN'.
               wa_bapisdtext-text_line = wa_tab-add_txt.
               append wa_bapisdtext to it_bapisdtext.
               clear wa_bapisdtext.
               if wa_tab-banker <> ''.
                 wa_bapisdtext-text_id   = 'ZKT1'.
                 wa_bapisdtext-langu     = 'EN'.
                 wa_bapisdtext-text_line = wa_tab-banker.
                 append wa_bapisdtext to it_bapisdtext.
                 clear wa_bapisdtext.
               endif.
               if wa_tab-fwd_age <> ''.
                 wa_bapisdtext-text_id   = 'ZKT1'.
                 wa_bapisdtext-langu     = 'EN'.
                 wa_bapisdtext-text_line = wa_tab-fwd_age.
                 append wa_bapisdtext to it_bapisdtext.
                 clear wa_bapisdtext.
               endif.
            endon.
    *                  ***** ITEM LEVEL DATA *****
                 wa_bapiitemin-material     = wa_tab-matno.
                 wa_bapiiteminx-material    = 'X'.
                 wa_bapiitemin-target_qty   = wa_tab-qty.
                 wa_bapiiteminx-target_qty  = 'X'.
                 wa_bapiitemin-plant        = wa_tab-plant.
                 wa_bapiiteminx-plant       = 'X'.
                 wa_bapiitemin-item_categ   = 'YAPS'.
                 wa_bapiiteminx-item_categ  = 'X'.
                 append wa_bapiitemin to it_bapiitemin.
                 append wa_bapiiteminx to it_bapiiteminx.
                 clear wa_bapiitemin.
                 clear wa_bapiiteminx.
    *             WA_BAPICOND-COND_TYPE      = 'PR00'.
    *             WA_BAPICONDX-COND_TYPE     = 'X'.
                 wa_bapicond-cond_value     = wa_tab-amt * wa_tab-qty.
                 wa_bapicondx-cond_value    = 'X'.
                 append wa_bapicond to it_bapicond.
                 append wa_bapicondx to it_bapicondx.
                 clear wa_bapicond.
                 clear wa_bapicondx.
            at end of ref_shp_to_par.
              call function 'BAPI_SALESORDER_CREATEFROMDAT2'
                exporting
    *             SALESDOCUMENTIN               =
                  order_header_in               = wa_bapisdhead
                  order_header_inx              = wa_bapisdhead1x
    *             SENDER                        =
    *             BINARY_RELATIONSHIPTYPE       =
    *             INT_NUMBER_ASSIGNMENT         =
    *             BEHAVE_WHEN_ERROR             =
    *             LOGIC_SWITCH                  =
    *             TESTRUN                       =
    *             CONVERT                       = ' '
    *           IMPORTING
    *             SALESDOCUMENT                 =
                tables
                  return                        = it_errmsg
                  order_items_in                = it_bapiitemin
                  order_items_inx               = it_bapiiteminx
                  order_partners                = it_bapiparnr
    *             ORDER_SCHEDULES_IN            =
    *             ORDER_SCHEDULES_INX           =
                  order_conditions_in           = it_bapicond
                  order_conditions_inx          = it_bapicondx
    *             ORDER_CFGS_REF                =
    *             ORDER_CFGS_INST               =
    *             ORDER_CFGS_PART_OF            =
    *             ORDER_CFGS_VALUE              =
    *             ORDER_CFGS_BLOB               =
    *             ORDER_CFGS_VK                 =
    *             ORDER_CFGS_REFINST            =
    *             ORDER_CCARD                   =
                  order_text                    = it_bapisdtext
    *             ORDER_KEYS                    =
    *             EXTENSIONIN                   =
    *             PARTNERADDRESSES              =
        read table it_errmsg into wa_errmsg with key type = 'E'
        binary search.
        if sy-subrc ne 0.
                 call function 'BAPI_TRANSACTION_COMMIT'
        endif.
    endloop.

  • Creation of IBase with reference to sales order for Configurable product.

    Hi Experts,
            Can any one tell me How to create Ibase with reference to sales order for Configurable Products. I know we can create this using IB63, but what i need to do in this Transaction code and what settings i need to do in SPRO.
    pls send ur replies to [email protected]
    Thank you..

    Hi
      You can create IBase using T-Code-IB53 and in there you can give Parent and child products.
    A)Define Installed Base Category and Installation Rules-CRM
    B)Define Object Families
    C)Define default settings for equipment replication
    D)Define Serial Number Profiles-ECC
    E)Txn BF31-ECC
    F)Set up attributes for individual objects
    G)Set up set types
    H)Set up category
    I)Set up views
    J)Allow reference product for IO
    I hope it helps
    If you require further help let me know.
    Cheers
    Raj

  • VA01 - KE with reference to KB - automatic sales/delivery/ billing process

    Dear Gurus,
    From a sales order VA01, my client wants to create a KE - (Consignment issue) with reference to a KB (Consignment fill-up).
    When the client then saves the VA01, he wants the following process to be created automatically:
    - Automatic creation of an outbound delivery
    - Automatic creation of goods issue for the customer
    - Automatic creation of an invoice and posting to accounts
    How can I do that?
    Your help is greatly needed.
    Regards
    Chris

    my client wants to create a KE - (Consignment issue)
        with reference to a KB (Consignment fill-up)
    This process is not a correct one.  It should have been KB --> LF --> F8 --> KE --> LF --> F2.   This means, you should refer F8 proforma to create a KE issue order.
    With regard to automatic creation and goods issue, there are relative user exits available and you can make use of it.
    thanks
    G. Lakshmipathi

  • Issue of invoice with reference to service frame work order

    Hi Gurus,
    i am creating service framework purchase order for a service material. in item detail of service framework po  in condition tab i maintain vat %  condition. then i create service entry sheet with reference to that po and post the entry. when i go to maintain invoice for that material  with ref to po the system shows two line items first line item shows amount and quantity to be invoice and second line item shows no amount or quantity but shows po number and po text  which mentions vat% .
    please tell me what customizing mistake has taken place
    regards

    Hi Suresh
    go to OLMSRV > taxes at individual service level
    then check box against country code.
    Best Regards
    Nishant Shende

Maybe you are looking for