CRM_ORDER_MAINTAIN for Complaints

Hello Experts,
I have the below requiremets.
1. Creation of complaint from xl file: I have a file which contais complaints created in some legacy system.I have to write a program which will read the file and create the compalints in CRM.Iam using CRM_ORDER_MAINTAIN in my code.The fields that i need to populate are Heade,Product,Partner and Subject Profile.
I am able to create all these except the subject profile.there is a input parameter IT_SUBJECT.even though I pass all the fields I am not able to create the subject profile in complaints.I am ale to create the complaints with Header,Parner and Product.
Is there any standard example which will help me populate the subject?
2.While uploading the complaints I have to set he complaint Priority and the Category to a specified value.However the header input parameter of the CRM_ORDER_MAINTAIN does not take these fields and inputs.Is there any way in which i can set the priority and category fields?
It wil be great if you kindly share any idea or experience with me.
Your help will be much appreciated.
Thanks a lot in advance.
Regads
Anupam

Hi,
You can pass value of priority and category to internal table IT_ACTIVITY_H in CRM_ORDER_MAINTAIN function model.
Also you can check CRM_TEST_SER_ORDER_MAINTAIN report as a reference.
If helpful kindly reward me.
Thanks & Regards,
Anirban

Similar Messages

  • Adding new fields in web ui for complaint transaction

    hi all,
    i am able to add new fields thru eewb but my question is how these fields will reflect in web ui
    and where these values will be stored i.e in which table?
    do we need to create any z tables if yes how ?
    plz help me out
    thanks
    madhuri

    HI,
    When u add a new field through EEWB wizard, that field add in related table. Suppose u r adding a field for Complaint , for that u have to choose Business object for complaint.
    After this step when u run wizard, not only this field will add in Complaint table but wizard also generate BADI, FM,some structures and data element and also some classes.
    U can find all these related generated methods , structure etc from General Data of Task.
    U dont need to create any Ztable, wizard take care itseld all data storage and handling.
    Regards
    Gaurav

  • IP_FOLLOWUP for filling line item for complaint followup

    Hi All,
    I am using method IP_FOLLOW in the main window implementation class to fill the line items which i am getting from ECC into itab IT_LINESITEM now i need to fill the same at the line item level in the complaint created i have a parameter iv_collection in this method.
    Plz let me know how should i fill it..i am using object BT120h_cpl for complaint created.
    Thanks..

    Hi Anjum,
    Try below steps to create item in complaint document.
    1. Now you have the list of items from ECC, Get the BTAdminH instance from the component controller inside the method IP_FOLLOWUP.
    Try.
    lr_coco ?= me->comp_controller.
    lr_current ?= me->typed_context->btadminh->collection_wrapper->get_current( ).
    lr_btitems ?= lr_current->get_related_entity( iv_relation_name = 'BTHeaderItemsExt' ).
    if lr_btitems is not bound.
    lr_btitems ?= lr_current->create_related_entity( iv_relation_name = 'BTHeaderItemsExt' ).
    endif.
    * here start your ecc line item table loop and then populate values to items as similar to below code
          lr_btadmini  ?= lr_btitems->create_related_entity( 'BTOrderItemAll' ).
            lr_btadmini->set_property( iv_attr_name  = 'GUID'
                                      iv_value      = lv_itm_guid ).
            lr_btadmini->set_property( iv_attr_name  = 'ORDERED_PROD'
                                      iv_value      = ls_followupitems-ordered_prod ).
            lr_btadmini->set_property( iv_attr_name  = 'PRODUCT'
                                      iv_value      = ls_followupitems-product ).
            lr_btadmini->set_property( iv_attr_name  = 'DESCRIPTION'
                                      iv_value      = ls_followupitems-description ).
            lr_producti ?= lr_btadmini->create_related_entity( 'BTItemProductExt' ).
            lr_producti->set_property( iv_attr_name = 'GUID'
                                      iv_value = lv_itm_guid ).
            lr_producti->set_property( iv_attr_name = 'PROCESS_QTY_UNIT'
                                      iv_value = ls_followupitems-target_qty_unit ).
    *create new schedlin
            lr_schedlini ?= lr_btadmini->create_related_entity( 'BTItemSchedlinExt' ).
            lr_schedlin = lr_schedlini->create_related_entity( 'BTSchedlinAll' ).
            lr_schedlin->set_property( iv_attr_name  = 'QUANTITY'
                                      iv_value      = ls_followupitems-target_qty ).
    *Modify the core at the end of the method       
    lr_core  = cl_crm_bol_core=>get_instance( ).
      lr_core->modify( ).
      lr_comp->typed_context->btadminh->collection_wrapper->publish_current( ).
    Best Regards,
    Dharmakasi.

  • Pricing procedure determination for complaint document with reference to billing

    Hello Guys,
    I am configuring complaint process for project purpose and I got stuck. I need to change the pricing procedure which is determined for complaint
    document . Right now the pricing procedure is copied from Billing Document for which complaint refers to.
    I am searching a place in configuration where I could change the pricing procedure determination for complaint document with reference to billing doc.
    Could you please advise where I can find it ?
    Thank you in advance!
    Br,
    Frederic

    Hello Frederic,
    I would check the following in SPRO:
    - CRM
    - Basic Functions
    - Pricing
    - Pricing in the Business Transaction
    - Determine Pricing Procedures
    Here the pricing procedure depends on sales organization, division, distribution channel, document pricing procedure and and customer pricing procdure.
    Best regards,
    Thomas Wagner

  • ERMS Attributes for Complaints!

    Hello experts,
                            We have a requirement to create E-mail Forms using Complaint tracking texts / Complaint ID Tracking text attributes.
    Are these available out of the box? There are entries available for
    Service ticket, request, case and problem. We tried using the same in
    our mail forms to see if it can pull Complaint related data but we were
    getting some errors.
    So are there any mail form / ERMS attributes for Complaint given by
    default? Or will we have to develop custom attributes?
    Cheers
    Jack

    Grzegorz, I think the best way to deal with this extra charge is creating a surcharge for the "duplicate of student card", set that surcharge at the fee calculation master data for the student, and place that surcharge in the fee calculation process.
    To do this, you have to:
    1) Create a Discount/Surcharge  at the Student Master data for the Students. There are six possible different discount/surcharges types you can create, at IMG>Campus Management>Campus Management master data>Student> Fee calculation -->Discount/Surcharge (from 1 to 6)
    2) At IMG>Campus Management>Student Accounting>Fees> Pricing-->Pricing procedures:
         a) create a condition table related to the Discount/surcharge you have created
         b) Define an access sequence for that condition table
         c) Define condition type and account key for that access sequence
         d) Maintain pricing procedures and add this new surcharge to the Pricing procedures where it has to be calculated
         e) Create a condition record for the condition table, with the value of the surcharge
    3) At IMG>Campus Management>Student Accounting>Posting> FI-CA Documents you have to define G/L account and Contract Object type for the account key related to the new surcharge
    4) Set the "duplicate of student card" at fee calculation student master data for the students to be charged
    Then you can run fee calculation .
    Hope this may help you.
    Diego

  • Web request for complaint transaction

    i have created a web request for complaint transaction .
    on submit of the request on BSP page it gives me the activity no( complaint ).
    now on viewing this activity in crmd_order transaction it give me an error
    "Internal number of current transaction could not be determined "
    and comes out of crmd_order
    Please let me know if you have any idea about it
    Thanks & Regards
    Manish

    HI,
    When u add a new field through EEWB wizard, that field add in related table. Suppose u r adding a field for Complaint , for that u have to choose Business object for complaint.
    After this step when u run wizard, not only this field will add in Complaint table but wizard also generate BADI, FM,some structures and data element and also some classes.
    U can find all these related generated methods , structure etc from General Data of Task.
    U dont need to create any Ztable, wizard take care itseld all data storage and handling.
    Regards
    Gaurav

  • What are the standard Solutions available for Complaints Management in CRM?

    Dear all,
    What are the standard solutions available in SAP CRM to receive and process complaints through Customer Interaction Center.
    Our requirement is to receive and register complaints from contact center and process them by integrating back end ECC and BIW systems.
    As per my understanding we can not integrate ECC transactions in CASE Management while CASES are being created through Interaction Center.
    Please help me to map the following requirement successfully into SAP.
    How to register the complaint through Interaction Center?
    How this complaint information is communicated in back end ECC system?
    How to track the status and solution of the complaint available in back end ECC system?
    How the complaints are stored in ECC system?
    After creation of a complaint, can we trigger an automatic email on back end ECC system user with all complaint relevant data?
    Kindly help me to understand the process.
    Best regards,
    Raghu ram.

    You can analyse this [link |http://help.sap.com/saphelp_crm60/helpdata/en/68/691976cd2ef845a4e62437a82b67df/frameset.htm]for more information. Additionaly the tree hierarchy links contain some process flows where it explains you briefly the big picture of the process, in standard SAP CRM Complaint Manaagement Scenario.
    BR,
    Cenk Sezgin

  • Problem in CRM_ORDER_MAINTAIN for updating amount in line items

    Hi abapers,
    I have  a scenario as follows: i want to update amount  for line items  in a transaction. i use the bapi crm_order_maintain followed by CRM_ORDER_SAVE and bapi transaction _commit . The problem is i loop the itab by passing the trnstn id , prdct code  and new amount.
    i applied the logic as given by rita tan (thread no 4)
    link:[Re: Update Pricing Document with CRM_ORDER_MAINTAIN]
    as per the logic i delete the existing value and insert the new amount . this works fine in the first  loop and in second loop it deletes the existing record but does not insert the new value . It doesn't even give error too. what may be the problem.
    here's a snapshot of the code i have written:
    loop at itab.
    SELECT SINGLE * FROM CRMD_ORDERADM_H
              WHERE OBJECT_ID = WA_ZCMR_UPDATE-Z_OBJECTID
              AND PROCESS_TYPE = P_TYPE.
                    SELECT SINGLE * FROM CRMD_ORDERADM_I
                  WHERE HEADER = CRMD_ORDERADM_H-GUID
                  AND ORDERED_PROD = WA_ZCMR_UPDATE-PRODUCT_CODE.
                  SELECT SINGLE * FROM CRMD_LINK
                    WHERE GUID_HI = CRMD_ORDERADM_H-GUID
                    AND OBJTYPE_SET = '18'.
                    SELECT  * FROM  PRCD_COND
                      INTO CORRESPONDING FIELDS OF TABLE IT_PRCD_COND
                      WHERE KNUMV = CRMD_LINK-GUID_SET
                      AND KPOSN = CRMD_ORDERADM_I-GUID
                      AND KSCHL = 'ZR12'.
                      READ TABLE IT_PRCD_COND
                      INTO WA_PRCD_COND INDEX 1.
                        DELETE  FROM PRCD_COND
                        WHERE KNUMV = WA_PRCD_COND-KNUMV
                          AND KPOSN = WA_PRCD_COND-KPOSN
                         AND KSCHL = 'ZR12'.
                          COMMIT WORK.
                          WA_PRIDOC-REF_HANDLE = '0000000001'.
                          WA_PRIDOC-REF_GUID = CRMD_ORDERADM_I-GUID.
                          WA_PRIDOC-REF_KIND = 'B' .
                          WA_COND_ADD-KSCHL = 'ZR12'.
                          WA_COND_ADD-KBETR = WA_ZCMR_UPDATE-NET_VALUE.
                          WA_COND_ADD-KPEIN = '1'.
                          WA_COND_ADD-WAERS = 'INR'.
                          INSERT WA_COND_ADD INTO TABLE IT_COND_ADD.
                          CLEAR WA_COND_ADD.
                          WA_PRIDOC-COND_ADD = IT_COND_ADD.
                          CLEAR IT_COND_ADD[].
                          INSERT WA_PRIDOC INTO TABLE IT_PRIDOC .
                          CLEAR WA_PRIDOC .
                          WA_CT_INPUT_FIELDS1-REF_HANDLE = '0000000001'.
                         WA_CT_INPUT_FIELDS1-REF_GUID = CRMD_ORDERADM_I-GUID.
                          WA_CT_INPUT_FIELDS1-REF_KIND = 'B' .
                          WA_CT_INPUT_FIELDS1-OBJECTNAME = 'PRIDOC'.
                         INSERT WA_CT_INPUT_FIELDS1  INTO TABLE IT_CT_INPUT_FIELDS1.
                          CLEAR WA_CT_INPUT_FIELDS1.
                          AT END OF Z_OBJECTID.
                            CALL FUNCTION 'CRM_ORDER_MAINTAIN'
                              EXPORTING
                                IT_PRIDOC         = IT_PRIDOC
                              CHANGING
                                CT_INPUT_FIELDS   = IT_CT_INPUT_FIELDS1
                              EXCEPTIONS
                                ERROR_OCCURRED    = 1
                                DOCUMENT_LOCKED   = 2
                                NO_CHANGE_ALLOWED = 3
                                NO_AUTHORITY      = 4
                                OTHERS            = 5.
    CALL FUNCTION 'CRM_ORDER_SAVE'
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    endat.
    endloop.
    Please help out.
    Regards,
    Navin
    Edited by: navin.c on Jan 7, 2010 10:09 AM

    Check the link below. This should help
    Re: Change Order Quantity in CRM Sales Order

  • Problem in CRM_ORDER_MAINTAIN for updating qty in more than 1 line item .

    Hi abapers,
    I am using BAPI CRM_ORDER_MAINTAIN to update quantity. Its updating the quantity properly if there is single line item for a transaction .If more than 1 line item is there then its throwing an exception* "Document is being distributed - changes are not possible"*.
    Scenario:
    I have a itab  which is having 2 line items for a transaction. i run a loop pass the pass the required parameters in CRM_ORDER_MAINTAIN ,do CRM_ORDER_SAVE , BAPI_TRANSACTION_COMMIT for the 1st line item. When i run the 2nd loop, in  CRM_ORDER_MAINTAIN it gives an exception saying NO_CHANGE_ALLOWED for the same transactions 2nd line item. leaving the quantity unchanged for both the line items. What may be the problem?
    Note: We cannot say how many line items are there for an transaction. so no chance of grouping all items at a time and saving at a time.
    Regards,
    Navin

    Hi Navin,
    Why its not possible to use CRM_ORDER_SAVE only once. I think its possible. Call CRM_ORDER_MAINTAIN in loop for all the line item in transaction and after that call CRM_ORDER_SAVE once. Pls follow the below sample code.
    loop at it_item.
    call CRM_ORDER_MAINTAIN. (Here append data for all the line items and miantin the transaction).
    emdloop.
    After endloop call CRM_ORDER_SAVE. Also you can add some wait after CRM_ORDER_SAVE, In order to avoid locking issue.
    PLs let me know where you are trying to use CRM_ORDER_MAINATIAN ? In any BADI or Z program ?
    Regards,
    Amol.

  • Get delivery number for PO items for complaint display report

    Hi All,
    I am working on Complaint Display report, While delivering the line items for a PO sometimes vendor may do mistake and then customer generates the complaint display report to let the vendor know the delivery mistakes. Delivery mistake can be done because of the following:
    1. Charging amount more than was it was mentioned on PO
    2. Not delivering complete quantities and etc.
    Now I want to get the delivery items for each goods receipt item.
    Information that I have is the invoice number and vendor number and the line item material number.
    Thanks,
    Mark

    You can refer to Purchase Order History Table ( EKBE) for this.You can pass the Purchase Order or Invoice number to the EKBE-EBELN and EKBE-BELNR fields respectively. set EKBE-VGABE = '2' ( i.e invoice receipts). EKBE-BEWTP = 'IR' or 'IR-L' ( Po history category).
    Hope it solves ur problem.

  • Crm_order_maintain for opportunity

    Hi
    Using fm crm_order_maintain in badi order_save to populate organisational data.
    I am using bapi_transaction_commit and crm_order_save after crm_order_maintain but
    it is called recursively resulting in short dump.
    Can somebody share code for a similar situation so that i can check where m going wrong.
    Thanks in advance
    points will be rewarded:)
    Vidushi

    Hello Vidushi,
    Order_Save BADI is triggered for all types of ORDER.
    Please make sure that you have validation for order type before calling order_maintain.
    If you are changing the document in order_save, then you should check if the task = 2 (Change) and not 1 (Create).
    Regards,
    Kapil Patil

  • Does Apple have an email for complaints?

    I rented a movie and never finished downloading it. Then iTunes got rid of that movie. I want my money back. So I was wondering if there was an email address where I could tell them that because I don't have the time to send them a letter and i don't want to call them and end up talking to a machine. So where do I voice my complaint online?

    iTunes Support
    For future reference this forum is for discussing Developer issues. If you have more problems with iTunes you should direct you questions to the forum for iTunes

  • Tables used for Complaints & Activities

    Hello Experts ,
    What are the database tables used for
      Activities & Complaints.
    Points will be assigned.
    Thank You

    CRM online works with the one-order concept, which collects all order-like transactions in the same structures (Database tables and bdocs)
    ==> CRMD_ORDERADM_H
    crmd_orderadm_i
    crmd_partner You can find the transaction partners in table crmd_partner using the guid of the order
    CRMD_ORDER_INDEX( this table has the bp number and process_type )
    Let me know if still needs other tables
    Vijay

  • Product Configurator tab missing in Sales Order in ICWC for complaints

    Hello
    Our environment - ECC 6.0 & CRM 6.0
    We have variant config items created in ECC & downloaded to CRM via Knowledgebase & runtime versions.
    The customer service reps place the order via ICWC.
    Till now only standard sales orders were being created in CRM ICWC and the Credit Memos were created using Transaction launcher.
    Now we are trying to move the creation of Credit Memo's in CRM via the complaints function.
    I am running into an issue while testing Variant Config items in a Credit Memo in the ICWC. I get an error saying Configuration for the Item missing. I am not able to find the Configuration tab in the Order.
    When I place the same item in a Standard Sales order, the Configuration tab shows up and I can select my option and all works fine.
    Is there any setting specific to the transaction types or Item type for a Credit Memo ?
    Can anyone let me know what I am missing ?
    Thanks in advance
    Vinit

    Hello Vinit
    I will add the most simple case to create a new configuration:
    A role configuration key must be created in path
    IMG-CRM-UI Framework -- Technical role definition -- Define role configuration key
    The role configuration key must be assigned to your business role in
    IMG-CRM-UI Framework -- Business roles --Define business role
    Then to create the configuration:
    Transaction bsp_wd_cmpwb
    `component   BT162I_CPL
    Btn display
    Go to views and double click BT162I_CPL/CreditItemOVViewSet
    Tab configuration
    New configuration
    Role Config. Key     <Your role configuration key>
    Component Usage      <DEFAULT>
    Object Type          <DEFAULT>
    Object Subtype       <DEFAULT>
    Type:   Overview page
    Then use the arrows to move available assignment blocks to displayed assignment blocks
    You can also use load option to decide if the assignment block will be initially displayed or the end user must press one click to display it.
    Btn Save
    The configuration is saved and will be displayed if you enter the web UI with the business role that was assigned to your role configuration key.
    Another option instead of creating a new configuration for the view is to copy the configuration from the standard one and then make changes to it,  but I am not sure if it would work in this case because the standard configuration was created before the note had been implemented. For this you should use button "Copy configuration"
    Best Regards
    Luis Rivera

  • Reports for Complaint Processing IS-Retail

    Hi gurus
    Is there any report or T code which shows history of complaints in SAP IS-Retail
    Your help in this regard will be greatly appreciated
    Regards
    Sri

    Hi Sakthi,
    Actually, i done as per the Empties processing Building Block, as per the BPPs:
    Process Flow is:
    Step 1: Assigin empties articles to Full products as component in Basic Data View in Article Master Record (T.code:MM42)
    Step 2: Create Purchase order for full product to External Vendor, automatically the componenets has be to exploded with Return item active. (only components will be marked as Return Active)
    Step 3: Goods Receipt from Vendor to DC.
    Step 4: Stock Transport Order from DC to Store. ( Here also, components will be activated as Return Item)
    Step 5: Goods Receipt in Store
    Step 6: Return the empties articles (component) to DC. (T.Code: MB01 )
    In my case, since the Return Item is not activated for components in Purchaser order or STO, i not able to return the empties in T.Code:MB01
    If, required please give ur mail id, i will send the BPP document for Empties Processing to you id.
    Thanks
    Bala

Maybe you are looking for