CRM orders in R/3 with rejected (cancelled) lines fail on billing.

Hi,
I have issue in the replicatuion of the orders and Invoice generation in R/3 system.
u2022CRM orders in R/3 with rejected (cancelled) lines fail on billing.
u2022CRM orders in R/3 have the value of the rejected lines included in the order header.
u2022CRM orders in R/3 have the rejected/cancelled lines included in internal BW Traffic and Revenue Reports.
u2022CRM orders that have been saved but only contain rejected/cancelled items can be confirmed and passed to R/3.
your inputs will be appreciated!!
Regards,
Sathya.

Already answered

Similar Messages

  • How to Import an Order via Order Import with multiple shipment lines?

    Good Morning,
    I have a question concerning Oracle's order import functionality. We are importing orders from an outside system and need to consolidate orders by customer id. So if the same customer places 2 orders for different items on the outside system, they should interface to Oracle as a single order to that customer with a shipment line for each ordered item (ex 1.1, 2.1..).
    I know this can be done, but do not know how to implement the solution.
    Can someone please help?
    Thank you!!
    Edited by: user11984882 on Jun 22, 2011 7:03 AM

    Hi,
    I guess that this zip-file contains a transport. This transportfiles have to be copied in the /usr/trans/data und /usr/trans/cofiles and imported by the transaction STMS.
    Thomas Jung wrote how to do this in this: How to import examples from book "Advanced BSP Programming"
    Perhaps your basis administrator can help you to do this?
    Regards,
    Stefan

  • Line Order No doesnt match with Invoice line number

    At the line level , the line order no doesnt match with the invocie line number
    ie. say for example in a sales order we have 3 lines
    1. A
    2. B
    3. C
    where as in transaction at AR level the line no is different
    1. B
    2. A
    3. C
    the customer wants in AR also the line no should be same as sales order line nos
    Please help us what is the setup where we define the line level numbering in AR.
    I have checked the line ordering rules but i am not clearly understanding, if anyone can explain with an example how this no generates witht he setup details it would be great

    This can be done in XSL OR in procedure on the DB side. Performance wise better to do in procedure as mentioned by other use. You can choose to go with DB or XSL approach depending on number of orders you are expecting in a single message. If it is going to be 100s or few thousand messages then keeping it in XSL is not a problem. But if you are planning tens or hundreds of thousands of orders in the same request then better do it in stored procedure.
    How do you do in XSL?
    1. Put a for each on every unique order no. You can use xsl:Key or xslt:distinct-values() for this.
    2. Within for each unique value of order no, use position() function to pass line/order no as 1,2,3... etc. As soon as the loop moves to second iteration for the next unique order no, count will automatically start again from 1,2,3... and so on.
    Apart from slightly slower processing time, another drawback from this approach is that the data in the XML you send to DB procedure will be sorted by order numbers. All orders with same number will appear together.
    Another problem with this approach is that this will work only within one request, i.e. if the next request contains an order with same no which was already sent in a previous request, for this order the count will again start from 1. So if you want to keep the sequencing maintained across multiple requests, the easiest way to do is in the DB procedure where you can lookup in the table before inserting a new row and insert with next sequence of that order no.

  • I want to return my iPad 3, but I did not have an apple account at the time of purchase, and when I type in my order number and proceed to click "cancel order", it prompts me to log in with my apple I'd and then tells me that the account is not authorised

    I want to return my iPad 3, but I did not have an apple account at the time of purchase, and when I type in my order number and proceed to click "cancel order", it prompts me to log in with my apple I'd and then tells me that I am not authorised to do anything on the account in relation to the transaction. What should I do?

    You can view and edit your orders without an Apple ID by logging in with your order number, along with the shipping zip code or email address.
    I copied the text posted above from this website.
    http://store.apple.com/us/help/viewing_changing_orders
    Click or tap on the Order Status link here and you should be able to type in the order number and your zip code.
    To view or edit your Apple Online Store order, visit online Order Status and log in with your Apple ID and password.

  • Status determination in CRM order connected with delivery in R/3

    Hi Experts,
    I need to determine status "completed" in CRM order always when a delivery took place in R/3.
    Of course this is no problem, when all positions were delivered. But in R/3 we do have only one delivery per order and a Badi determines the order "completed". This global status is not transfered to CRM.
    So I am thinging of doing the same in CRM, implementing a BADI that determines status "completed" in the moment the order has a delivery.
    Can anybody help me to find the correct BADI and Methode to do so?
    Thanks,
    Cristina

    Hi Cristina,
    basically it's the same case as mine with the difference you have to read another status type in STATUS TAB.
    In my case requirement was to read invoice status and cover quantity if the invoice status was completed.
    In your case you have to read delivery status and change the overall status of CRM order according to your delivery status.
    I suggest using two BADIs:
    <b>CRM_ORDER_FIELDCHECK</b>
    <b>METHOD if_ex_crm_order_fieldcheck~fieldcheck</b>
    or <b>ORDER_SAVE
    method IF_EX_ORDER_SAVE~PREPARE</b>.
    Basically in both cases you have to call FM <b>CRM_ORDER_CHANGE_STATUS_GET</b>
    to read your delivery status. (I suggest testing in SE37 to check the reading of your status).
    Once there write your code concerning the overall status.
    In my case the final code in badi CRM_ORDER_FIELDCHECK was:
       CALL FUNCTION 'CRM_ORDER_CHANGE_STATUS_GET'
          EXPORTING
           iv_ref_guid                  = wa_fieldcheck-ref_guid
           iv_ref_kind                  = 'B'
         IMPORTING
           et_change_status_ord_i       = t_status_i_tab
           es_change_status_ord_i       = i_status_i
           et_return                    = i_return
         EXCEPTIONS
           parameter_error              = 1
           inconsistent_data            = 2
           no_return_values             = 3
           OTHERS                       = 4.
        IF sy-subrc <> 0.
        ELSE.
    CHECK i_status_i-invoice_status = 'C'.
    LOOP AT ct_input_field_names INTO i_fields_names_tab.
            check i_fieldS_names_tab-fieldname = 'QUANTITY'.
            i_fields_names_tab-changeable = 'A'.
            MODIFY ct_input_field_names FROM i_fields_names_tab.
          ENDLOOP.
        ENDIF.
    <b>Please let me know if it helps and do not forget to reward with points</b>,
    AndreA

  • Cancel line item in crm order

    Hi All,
    How can I cancel an item of a CRM order?
    Is this possible through BAPI ? If yes , please mention how.
    Thanks a lot
    Ajith

    Hi
    These sales orders have been locked by the user (not a dialogue user) which is used for the BDoc transfer from CRM to R/3. Generally orders created in R/3 from CRM can be also be changed in R/3. But because of data difference between R/3 and CRM now the orders are locked. It is not allowing to update any data from CRM also.
    So these order getting unlocked from the user is not working because now no updation from CRM to R/3 on these locked orders are happening.
    Regards

  • Cancel items from CRM order using CRMXIF_ORDER_SAVE

    Hi All,
    My requirement is to modify an existing crm order through 'CRMXIF_ORDER_SAVE'.  I need to copy this FM and modify so that whenever it is called from XI all the existing items are cancelled and new items from the xml are added.
    Can anyone give me some idea how to achieve this?
    Any input will be highly appreciable.
    Thanks
    Ajith

    Solved.. Used CRM_STATUS_CHANGE_INTERN_VB , CRM_ORDER_MAINTAIN and CRMXIF_ORDER_SAVE

  • CRM orders with error "Do not enter a business agreement for sold-to party"

    Dear SDN'ler,
    after creating orders in SAP CRM via ISA (CRM 4.0) and uploading them to R/3 all orders are created successfully in R/3 but an error message is sent back to SAP CRM in case of ALL orders.
    Error message is the following:
    "Do not enter a business agreement for sold-to party xyz"
    Message no. CRM_BILLING011
    Diagnosis
    The field "FI-CA active" is not selected for the sold-to party 6000201 in the business master record. Since the business agreement is used in the component FI-CA, excluding the control of processes, it makes sense to enter a business agreement.
    Procedure
    Delete the entered business agreement.
    ==> Could someone please give me some more information about the mentioned "business agreement"? Where do I find field "FI-CA active" (in R/3 or CRM customer master data?)?
    ==> And how can I eliminate this error message for CRM orders in SAP CRM?
    Thanks a lot.
    Best Regards,
    Rainer Gryschka

    Please check the customising setting under following path:
    SPRO --> Customer Relationship Management --> Master Data --> Business Partner -- > Business Agreement --> Define Basic Settings
    Alternatively you may also check following customisation table using SM30 --> CRMC_BUAG_ACTV

  • WBS Element in CRM order

    Hi forum!!
    In the ERP order we assign a item of a order to a WBS element and we need to see that WBS element in CRM but that field does not appear in the CRM order!!
    Because of that I think about creating an ERP Order in CRM Order because the WBS element does exist!!but the problem comes here, when I insert the value in the WBS element that value disappears when I press enter or I save the Order.
    Does anyone of yours know something about that??
    Any ideas??

    HI Cecilia,
    I am also need to assign WBS element in service order item,but I can't find that filed.
    Can you share with me?
    Thanks
    Tiffany

  • Re: Printing Cancelled line items in the sales order on the packing slip

    Hi gurus,
    Currently we have a unique requirement in our company. Our wholesale customers send the Purchase order to us via EDI. Now saw they have requested an order containing 10 materials out of which we can fulfill only 8. the other 2 due to some reasons cannot be fulfilled.
    So the business wants to keep the other 2 line items to be entered in the sales order with a cancelled status.
    Now correct me if I am wrong, only the confirmed line items will be copied from a sales order to a delivery document. So thats the reason why these cancelled line items cannot be printed on the packing slip.
    However somehow the business wants the packing slip tp have the 2 line items printed on it with the reason of not being delivered. this is to facilitate the customer to know why those items couln't be fulfilled by our company. Now we cannot use a manual work-around of letting the customer know about the impossibility of not fulfilling the other 2 items as there are a lot of orders that come thru EDI per day.
    Can anyone suggest a solution to this requirement asap.
    Thanks in advance
    Vinit

    Hi Vinit,
    This requirement makes a lot of sense, that is to be able to inform your customer that some item(s) of the sales order could not be delivered, not even partially.
    A possible solution would be to allow for zero quantity in the delivery item (check customizing and mark "zero quantity allowed" in the item category).
    Then in the packing split, it would be easy to print the delivered quantity (0) and the sales order quantity (whatever it was), because you have the "null" item available in the delivery.
    Personally I am not found of having have delivery items with zero quantity, but they are useful in that case, and they can also be useful to automatically "close" the sales order item (instead of having to do it manually if the goods can't be served).
    Note: Usually in Consumer Goods, if you can't serve part of a sales order to a customer, you have to close it, because the Retailer's next Sales Order will include the remaining quantity.
    Hope it helps.
    Best Regards,
    Franck Lumpe
    Freelance SAP ERP Consultant

  • Send all line items of a sales order to IPC along with condition lines data

    We wrote some pricing routines in R/3, where while doing he calculations for condition line item, we needed to pull in the material information for previous line items. So we exported vbap and imported it inside the routine to be able to have access to all the line items in the sales order. Now, we need to put in the same kind of logic in CRM/IPC. My question is what would be the equivalent of SAP's(import/export) commands for internal tables in case of IPC. I looked at the BADI CRM_COND_COM_BADI but still do not see how I can send all the line items  data to IPC. So I guess, the question comes down to, how do I send all the line items of the sales order (whole VBAP in R/3 terms) to IPC along with the condition line data? Can someone please help?
    Thanks

    Hi Vaibhav,
    If you can get the list of Sales orders which has deleted line items and force completion status. You can manage them in BI via lookup  or navigation attribute.
    Just my views I am sharing .
    Thanks,
    KDJ

  • Issues ordering with 2 phone lines on one account.

    After being on the phone for half an hour on Friday the woman seemed to understand everything but we got no confirmation message so I called again today and after spending an hour on the phone was told to call back tommorow.. Not getting my hopes up of it working.
    The lady didn't seem to really know how to place orders when we had 2 diffrent phone lines on the same account.
    Currently we have 2 phone lines, one without broadband and one on BT Broadband "Upto 8Mbps" and recently Infinity became available in the area. We want to get Infinity setup on the line that has no connection and once it is up and running cancel the current Broadband and the phone line it is on. I understand this will incur a £30 fee to remove the broadband (not sure if theres a further fee to cancel the phone line, the lady didn't mention one though).
    On Friday the lady we talked to also said we would have to pay extra to keep the current call plan with Infinity doing this method but the lady I talked to today didn't mention it.
    The forum mods are pretty good on here so I was hoping they could sort it out as I'm starting to lose hope..

    After spending about an hour on the phone today it seems we got it sorted out.
    Apparently you can't have 2 broadband packages on one account even with 2 phone lines so we had to get a seperate account setup just for the Infinity broadband. Once we cancel the old broadband though apparently we can merge it together and the price will go from £30 down to £26.
    We wasn't given the account number for the new account but I assume it wont be an issue when the time comes to merge the accounts (however we do that I'm not quite sure).
    But we got the confirmation email so I assume everything is okay... The Openreach engineer will be coming a week later than the original date we had planned but it will do I suppose.
    Thanks

  • Run time error while closing the CRM Order using BAPI

    Hi Experts,
    Need your invaluable suggestions here.Apologies for the lengthy mail, intention is to give clear idea of the issue.
    I am facing an issue while closing the CRM orders. According to our business process, when an issue is solved we will keep the order in resolved status only. We will not directly close the order from the CRM tool, instead we have created a custom program for the same purpose.
    For the custom program we will give input as the order number and execute it, this will close the order.
    Here close the order means assigning it to Close status as well assign the reason code.
    We have created some reason codes for closed status.
    So when the program is run the Order moves from resolved status to closed status along with reason code.
    But of late we are facing some problems with this program, it is giving run time error for some CRM orders.
    Run time error message : The ABAP/4 Open SQL array insert results in duplicate database records.
    The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught in procedure "CRM_SERVICE_OS_UPD_OST_DU" "(FUNCTION)", nor was it propagated by a RAISING clause.
    Please find my code which have used in the custom program
    Closing the resolved SOs in the system
        CALL FUNCTION 'CRM_STATUS_CHANGE_EXTERN_OW'
            EXPORTING
              objnr                     = iv_guid
              user_status          = lc_status_closed
           EXCEPTIONS
             object_not_found          = 1
             status_inconsistent       = 2
             status_not_allowed       = 3
             OTHERS                        = 4.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining status'.
        ENDIF.
    Set reason code
    build lt_subject
        ls_subject-ref_guid = iv_guid.
        ls_subject-katalogart = 'A2'.
        ls_subject-codegruppe = 'ZR000003'.
        ls_subject-code       = 'ZR33'.                      " Reason code
        ls_subject-mode       = 'A'.
        APPEND ls_subject TO lt_subject.
    build lt_ossset
        ls_osset-ref_guid        = iv_guid.
        ls_osset-subject_profile = 'ZREASON03'.
        ls_osset-profile_type    = 'G'.
        ls_osset-subject         = lt_subject.
        APPEND ls_osset TO lt_osset.
    build lt_service_os
        ls_service_os-ref_guid  = iv_guid.
        ls_service_os-ref_kind  = 'A'.
        ls_service_os-osset     = lt_osset.
        APPEND ls_service_os TO lt_service_os.
    build lt_input_fields
        REFRESH: lt_input_fields, lt_field_names.
        CLEAR  : ls_input_fields, ls_field_names.
        ls_field_names-fieldname    = 'CODE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'CODEGRUPPE'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'KATALOGART'.
        APPEND ls_field_names TO lt_field_names.
        ls_field_names-fieldname    = 'SERVICE_PROFILE'.
        APPEND ls_field_names TO lt_field_names.
        ls_input_fields-ref_guid    = iv_guid.
        ls_input_fields-ref_kind    = 'A'.
        ls_input_fields-objectname  = 'SERVICE_OS'.
        ls_input_fields-field_names = lt_field_names.
        APPEND ls_input_fields TO lt_input_fields.
         CALL FUNCTION 'CRM_ORDER_MAINTAIN'
          EXPORTING
            it_service_os     = lt_service_os
          CHANGING
            ct_input_fields   = lt_input_fields
          EXCEPTIONS
            error_occurred    = 1
            document_locked   = 2
            no_change_allowed = 3
            no_authority      = 4
            OTHERS            = 5.
        IF sy-subrc <> 0.
          WRITE :  'Error at maintaining reason'.
        ENDIF.
        CALL FUNCTION 'CRM_ORDER_SAVE'
          EXPORTING
            it_objects_to_save   = lt_header_guid
            iv_update_task_local = lv_update_task_local
          IMPORTING
            et_saved_objects     = lt_saved_objects
          EXCEPTIONS
            document_not_saved   = 1
            OTHERS               = 2.
        IF sy-subrc <> 0.
          WRITE : 'Error at saving'.
        ELSE.
          WRITE : 'Successfully Closed'.
          COMMIT WORK AND WAIT.
        ENDIF.
    Run time error is coming at COMMIT WORK AND WAIT statement.
    Please let me know any corrections are required in the above program.
    When I analyzed the run time error I have found that it trying to insert the record in CRMD_SRV_OSSET for that CRM order, but already one record is present in the table for the same CRM order number.
    For most of the CRM orders there is no entry in this table so they are closing successfully but for a few orders for which there is an entry we are getting the above run time error.
    There is nothing wrong with the orders which have an entry already in the table CRMD_SRV_OSSET, I need to close these kind of orders with out run time error.
    Kindly provide your feedback.

    Hi Dinakar,
    You posted this in APO PPDS forum. This question should go to PP forum where someone could answer it.
    Please close this thread and open a new thread in PP forum so that you could get help quickly from the relevant experts.
    Regards - Pawan

  • How can we process the CRM Order again for second time in debugging mode

    Hi,
    Can anybody please tell me how can we process the CRM ORDER for second time.  that I want to process in debugging mode.
    Thanks,
    bsv

    Hi bsv,
    Are you trying to reprocess a BDOC for debugging purpose?
    If the BDOC is not with a final status, you will be able to reprocess it using the reprocess button in the smw01 search result list.
    And you may put /h on the popup when you click on the 'reprocess' button.
    If it is allowed to make some changes in the CRM ORDER for testin purpose, it would be easier to perform debugging.
    A more 'careless' way is to deactivate the outbound or inbound queue in transaction smqs or smqr, then in smq1 or smq2 to locate the interested queue, and click on button 'debug LUW'.
    Hongyan

  • Read categories of CRM order

    Hi all!
    My task is to read categories of crm order (i.e. fields category_1 ... category_4 at the order header level).
    May be someone could tell me some functionality to get this data?
    I'll be appreciated.
    Best regards,
    Alexander Kirillov

    Hi, Oliver!
    Below you'll see how-to-guide which will provide a step-by-step solution.
    It's 100% works like 'CRM_ORDER_READ' (both for buffered values & DB ones).
    How-to guide - reading order categorization
    1.     Create package ZCATEGORY (Categorization)
    2.     Create new dictionary objects:
    2.1.     Structure ZMDS_CATEGORIZATION_CAT ( u201CCategory from categorizationu201D) with fields:
    CAT_GUID          type      CRM_ERMS_CAT_GUID
    CAT_HI          type      CRMT_ERMS_CAT_HI
    IT_CAT_CA          type      CRMT_ERMS_CAT_CA_BUF_TAB
    IT_CAT_CA_LANG     type      CRMT_ERMS_CAT_CA_LANG_TAB
    2.2.     Structure ZMDS ZMDS_CATEGORIZATION_CATS ( u201CCategories from categorizationu201D) with fields:
    CATEGORY1          type      ZMDS_CATEGORIZATION_CAT
    CATEGORY2          type      ZMDS_CATEGORIZATION_CAT
    CATEGORY3          type      ZMDS_CATEGORIZATION_CAT
    CATEGORY4          type      ZMDS_CATEGORIZATION_CAT
    3.     Copy CL_CRM_CATEGORY_RUN_BTIL class to new ZMD_CL_CRM_CATEGORY_RUN_BTIL class. In newly created class do following:
    3.1.     u201CPropertiesu201D tab: <Create instance> = 2 u201CGeneralu201D
    3.2.     Change method u201CMAP_SUBJECT_TO_CATEGORYu201D to u201CPublicu201D
    4.     Create new class ZMD_CL_CATEGORIZATION (Categorization processing).
    4.1.     u201CPropertiesu201D tab: <Create instance> = 2 u201CGeneralu201D
    4.2.     Define constants:
    4.2.1.      C_LNK_TYPE_IS_CODE     Constant     Public     Type     CRM_ERMS_CAT_LN_TYPE     Default link type     'IS_CODE'
    4.2.2.      C_OBJ_DDIC_CRM     Constant     Public     Type     CRM_ERMS_CAT_OB_DDIC     External object name     'SUBJECTCODECRM'
    4.2.3.      C_TREE_TYPE_CAT     Constant     Public     Type     CRM_ERMS_CAT_HI_TYPE Kind     of link     'CAT'
    4.3.     Create static public method u201CGET_ORDER_H_CATu201D with importing parameter IV_GUID (type CRMT_OBJECT_GUID = order GUID)  & exporting parameter ES_CATEGORIES (type ZMDS_CATEGORIZATION_CATS).
    5.     Create report ZMDR_ORDER_CAT for displaying order categorization.

Maybe you are looking for

  • Sharing more than 1 camera from PC

    Hello all, I have recently set up a BigBlueButton (www.bigbluebutton.org), further known as BBB, server running on a VM, the PC on which the VM is residing runs on Windows 7 Pro 64-bit. I have 4 webcams, all of them Logitech HD C270. I am working on

  • Drive won't read ANY cd's or dvd's; only ejects them!!

    Help! My Cd-Rom drive will not read any cd's or dvd's. However, it will allow blank cd's to stay in and be burned onto...sometimes. When I put in a disc, it tries to read it and then spits it back out. I have tried all forms of cd's and dvd's (even d

  • Installation of Oracle 8.1.5 on Intel Solaris8

    I have 2.5 GB HardDisk, I installed Solaris8 on intel using autolayout & then I tried to install Oracle8.1.5 on solaris but installation process is hangingup at this oracle.sysman.oii.oiic.oiicInstaller.run(oiicInstaller.Java:287) oracle.sysman.oii.o

  • Adobe Acrobat 9 Freezes when combining documents since update to 9.5.5

    Having previously used Adobe Acrobat 9 (version 9.2.0) faultlessly to combine documents into a single PDF I now find that since an update to 9.5.5 the program starts the combining process, then pops up a dialogue box requesting a file name and then f

  • Security update 2007-003

    i recently purchased a usb modem over here in germany for my powerbook. Well it worked fine for the first week, then once i downloaded the new security update, the program i needed to go online would open, and bounce on the dock, and not respond at a