Is it possible to show R3/CRM order errors in e-Commerce JSP's?

Hi all,
can e-Commerce Java application show backend order errors in JPS's when simulating or creating a new order from the shop? If it is possible, how can it be done?
Thanks.

Thanks for your comments Jolly but...
SAP gives you a class to import the results from the RETURN table of your BAPI
which class are you talking about?
and...
you can then handle the error any way you want in the action class to show the JSP. This is relatively simple.
what about if the application crashes after calling the bapi?
Any help would be really appreciated.
Thanks.

Similar Messages

  • CRM Order: Error occurred during determination of profitability segment

    Hello All,
    I have created a Trade promotion in CRM, and maintained the determination condition and Discount condition for the combination of
    Customer /Sales org /Product.
    I have maintained settings for CO-PA in connected SAP ECC
    When i create a sales order in CRM , trade promotion is determined in the order and also discount is considered in the order pricing.
    When i save the order in CRM, an entry in the outbound queue of CRM is created with destination pointing to ECC, which is having the status: SYSFAIL.
    The description of the error is :" Error occurred during determination of profitability segment "
    Suppose when if i remove the trade promotion which was determined in the order and then save the order i dont get this error.
    Hence could you please help me providing additional settings which should be done if we want to have TPM also.
    Regards,
    Naveen

    Long Text message
    An error has occured in the system ECPCLNT100 while copying the document
    Message no. CRM_ORDER_MISC 020
    Diagnosis
    Errors have occured while transferring the document into another system. Remove the error messages from the enclosed log.
    Transmission log
    Error occurred during determination of profitability segment (Notification E IAOM 025)
    Error occurred in derivation rule. See long text (Notification E K/ 111)
    I pressed F8 to see the derivation strategy , but how do i figure out which characteristic/char value is missing / has the error.
    Best Regards
    Meghna

  • The billing doc is not showing in the order  documnet flow in SAP CRM 7.0

    Hi CRM Experts,
    Our CRM system has been upgraded from 4.0 to 7.0 recently.
    We have come across with one strange issue; for some orders  which are billed in ECC6.0 are not showing as next document in the CRM order under document flow in SAP GUI. Only preceding document and replicated document are showing in the CRM document flow.
    Appreciate for yor valuable solution at the earliest.
    Best Regards
    Succhi

    I have the same problem!!!   Did anyone solve this???

  • While we create Sales order in CRM for Madhya Pradesh State JIVP (VAT Payable) showing twice in order

    Dear SAP,
    While we create Sales order in CRM for Madhya Pradesh State JIVP (VAT Payable) showing twice in order, but calculation has taken one time i.e. 14%, only JIVP displaying twice (Attached Screen shot S3.JPG) in CRM order, when comes to ECC side it is showing correct entry (Attached Screen shot S4.JPG) .
    Due to duplicate condition records exist in CRM table CNCCRMPRCUS956 (Attached Screen shot S1 & S2.JPG).
    This happens for MP state, as duplicate entry exist with MP state only,
    Please guide us to resolve the same.
    Regards,
    JK

    Hi JK,
    There is two thing. first is that when you create a sales order very same time pricing conditions added in the transaction as per the pricing procedure add for transaction type. these pricing procedures are transaction type specific not state or country specific so it will work. check here you are getting duplicate condition ?
    When ever you add material in the transaction that very time one the basis of the pricing condition added in the transaction IPC method do pricing. check after adding material in transaction duplicate condition is coming ?
    Secondly whenever the document replicates in ERP re-pricing again happening on conditions so theses conditions get corrected in ERP. Here if document is re-priced then system will consider it as change so again there suppose to be Bdocs get created from ERP to CRM again overwrite document so condition will be synchronized in CRM . I would request check the same too and revert.
    Thanks,
    Prem,

  • Error showing in CRM SMQ1

    Hi
    I have faced a problem in the CRM Order when it is saved and transfered to SAP R/3 it showing one error in SMQ1 as StatusSYFAIL messageScreen does not exist.
    I just to know the <b>detailed procedure for  debugging</b> so that i will check both in CRM as well in SAP R/3 .
    I found that for this the generated document in CRM showing one message in the status bar as ''Document being distributed change not possible".
    Thanks in Advance
    Deb

    Hi Deb,
    CRM order display this error until the response comes from R/3 that the uploaded sales document is processed in R/3 successfully.
    Go to the CRM transaction SMW01 and see what is the error displayed by the Bdoc. I think you should be able to understand the error. If not please let me know the error, so that we can debug further
    Regards,
    Paul Kondaveeti

  • Error in Action when CRM Order is updated as Error from R/3 update

    Hi,
    Currently we are in CRM 6.0 SP04 and R/3 4.7 SP14
    Process:
    1) B2B user places order through ISA
    2) Order gets replicated R/3 from CRM through middleware (Scenario A setting)
    3) If there are any changes in order on either side, changes gets replicated.
    Requirement:
    We have a requirement from business to trigger workflow in CRM if order is in error. Following are the possible scenarios
    1) Error while saving order in CRM
    2) No errors in CRM. However, Order will get error in R/3 because of inconsistent configuration or master data between CRM and R/3. The BDOC will be green while replicating to R/3 and acknowledgement to CRM.
    3) BDOC status is in error
    Solution approach:
    We created an action to trigger event when order status set to "Contains error". The condition for Action trigger are Order have error free flag NE X(BUS 2000115 )  OR Status = I1030 OR status = I1056.
    Issues:
    1)     Scenario : Order is successfully create in CRM without any error. Order gets replicated to R/3 u2013 BDOC is green. However, the order gets error status in R/3 because of inconsistent configuration or master data. The acknowledgement BDOC updates the error status in CRM. However, Action does not get trigger when the order is updated as Error from R/3.
    Pls advise possible solution and also suggest any other way to achieve the required functionality to generate workflow for CRM order updated as Error from R/3.
    Regards,
    Anil Rithe

    Hi Anil,
    Try this, implement ORDER_SAVE BAdI.  This BAdI is triggered every time an order is saved, you could put in your logic to see if the order has errors, if yes trigger your workflow.
    I haven't tested but this should work for your case when the crm order is set to error status after the replication to R/3(the BDOC scenario).
    This may not be the most efficient method of doing, but this would definitely work.
    Make sure you use proper checks at the beginning  of your order_save BAdI implementation as this badi would get executed on save of every 1-order object.
    ~Kiran

  • Possible to show the WBS element in the down payment request?

    Hi,
    We have a

    Hi,
    We have a Plant maintenance order with a WBS element.
    We have created a PO for a vendor. The WBS element is not shown on the PO.
    Is it possible to show the WBS element on the down payment request of that vendor?
    Thank you for your feedback.
    Kind regards,
    Linda

  • Show Todays Purchase order list

    Hello Experts,
    I want to show todays purchase order list in foll manner in Grid or Matrix of customized form.
    Customer Name PoNo PODate DocTotal
    Is it possible?
    Plz give me some solution.

    Hello freind
      try this code for youe custmised form for grid
    pass form date and end date from your form in date1 and date 2 parameter in sql query
    oItem = oForm.Items.Item("code")
                                            a = oItem.Specific
                                            PID = a.Value
                                            Dim oRS As SAPbobsCOM.Recordset
                                            Dim ocol As GridColumn
                                            oRS = objMain.objCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                                            str = "select *,T0.CardCode,T0.CardName,T0.DocNum,T0.DocTotal,T0.DocDate from [OPOR] T0 where T0.DocDate between 'Date1' and 'date2'"
                                            oDataTable = oForm.DataSources.DataTables.Item("MOV1")
                                            oDataTable.Clear()
                                            oDataTable.ExecuteQuery(str)
                                            objGrid = oForm.Items.Item("actv").Specific
                                            objGrid.DataTable = oDataTable
                                            ocol = objGrid.Columns.Item("ACT_ID")
                                            ocol.LinkedObjectType = "33"
                                            objGrid.CollapseLevel = 0
                                            objGrid.AutoResizeColumns()

  • In WebI report, is that possible to show ZERO in NULL fields?

    in WebI report, is that possible to show ZERO in NULL fields? crystal report has no issue, but i could not find a way to set ZERO to NULL field
    can you tell?

    Bram,
    This formula you used above is corrcet but is returning you a character '0' and when a descending sort is applied character values will be at the top.
    So , apply the formula 'ToNumber' on the value returned form the above formula :-
    ToNumber(above formula)
    And then it will change 0 to number and give you the exact sort order.
    Thanks,
    Rohini Haksar

  • 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

  • Significance of Handle -- CRM Order

    All
           What is the significance of Handle in CRM Order ?
           When this can be used ?
    Cheers
    RJ

    Hi RJ,
    I am not able to get what is "Handle in CRM Order"!!!
    I am aware of "Handling Indicator" in CRM sales scenario. The handling indicator provides logistics information on the product, and shows whether a product has to be handled in a particular way in the warehouse or when it is transported.
    Handling indicator is displayed for a product in the sales order at item level, if a value was entered for this field in the product master record.
    Please find more details in the following links:
    http://help.sap.com/saphelp_crm70/helpdata/EN/47/53ce50c6c805ebe10000000a42189b/frameset.htm
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/5754cf01a208e7e10000000a114a6b/frameset.htm
    Hope this helps!
    Regards,
    Chethan
    Edited by: Chethan Kumar C M on Oct 7, 2009 6:23 AM

  • I ordered at around 12:30AM pacific and it does not show in my order history.  When I look it up on the order status page, it just says "received and processing".  Do I have any chance of getting it on friday?

    I ordered at around 12:30AM pacific and it does not show in my order history.  When I look it up on the order status page, it just says "received and processing".  Do I have any chance of getting it on friday?

    It seems to depend on a variety of different things.
    Verizon appears to be going by the process time of orders, and not the order time of orders.  Your process time will be the timestamp on your confirmation email.
    It also depends on which model, GB, and color you ordered.  The 6+ were in high demand and low supply.
    It also depends on which warehouse (order location) your order was being processed through.  Verizon reps have told me that some warehouses have more of certain phones than others, and if your order went to a warehouse that doesn't have enough of that particular phone then you are SOL and will have to back for a backdated order.
    There is a possibility you will get it, but if you ordered any of the 6+ models, then it is unlikely.

  • How to show Open Sales Orders only in a report?

    Hi,
    I am working on a Business Objects report to show open sales orders. Here i pull data from a RapidMart universe for which data comes from SAP.
    I just wanted to know which object or field in SAP can/will differentiate whether a particular sales order is delivered or not.
    Is MRP anyway related to this?
    Plz. help!
    Many Thanks,
    Arun KK

    Gattu,
    Thanks for your reply.
    However, the problem goes like this.
    I am working on an existing BO report. This report works perfectly(shows only the open sales orders) except for some leakage(some delivered items too get it).
    The existing report's query have filters only one MRP Element and Order Category.
    Could there be anything that can be done with these objects?
    Thanks,
    Arun KK

  • How to show open sales orders

    hello All
    I want to show a report of all sales orders that has been converted to invoices. (the sales order and invoice document numbers)
    Also, if they have been partially converted to invoices(so still open), it must show these sales orders as well.
    All Sales Orders that has been converted to Invoices(so closed status) as well as Sales Orders that are still open but has been partially converted to invoices.
    This is my query thus far :
    with openorders as
    SELECT DISTINCT T0.DocNum as 'Sales Order #', T0.DocDate as 'Order Date',
    T0.CardName as 'Customer Name',
    T0.DocTotal -T0.VatSum as 'Excl. VAT', T0.VatSum as 'VAT',
    T0.DocTotal as 'Total', 
    t0.docdate as 'Inv Date', T0.DocNum as 'Inv #','NULL' as 'Numatcard',  T0.DocTotal -T0.VatSum 'Total Ex VAT',
    T0.VatSum as 'Inv VAT', T0.DocTotal as 'INV TOT', 'NO INVOICE' as 'Slpname',t0.Comments as 'Comments'
    FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    WHERE T1.[TrgetEntry]  is null
    OrdersInv as
    SELECT DISTINCT T0.DocNum as 'Sales Order #', T0.DocDate as 'Order Date',
    T0.CardName as 'Customer Name',
    T0.DocTotal -T0.VatSum as 'Excl. VAT',
    T0.VatSum as 'VAT', T0.DocTotal as 'Total', 
    T2.DocDate as 'Inv Date',
    T2.DocNum as 'Inv #',
    T2.NumAtCard,
    T2.DocTotal -T2.VatSum as 'Inv Excl. VAT',
    T2.VatSum as 'Inv VAT',
    T2.DocTotal as 'Inv Total',
    T4.SlpName,
    T2.Comments
    FROM ORDR T0 INNER JOIN RDR1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OINV T2 ON T2.DocEntry = T1.TrgetEntry
    INNER JOIN OSLP T4 ON T2.SlpCode = T4.SlpCode
    select *
    from OrdersInv union all
    select * from openorders

    TrgetEntry will not always work, sometimes it is null even if an order has been copied to an invoice.
    This is a simple version of the query, you will need to expand it for your needs:
    SELECT DocEntry FROM ORDR WHERE DocEntry in (SELECT Distinct BaseEntry FROM INV1 WHERE BaseType = 17)

  • How to update user status in CRM Order depending the delivery status in R/3

    Hi All,
    In my scenario the partial delivery allowed to the customer while creating the CRM Order. But as per my requirement the status should be updated when the complete order and delivery takes place.
       Let me describe you clearly:
    Suppose I want to deliver 5 quantities products to the customer but initially I want to deliver only 3 quantities and rest 2 quantities later. When I do the post goods issue of 3 quantities in R/3 system the status should not change in CRM system. When I will do the rest 2 quantities in post goods issue in R/3 then the user status should change in CRM Order. But in current when I do the delivery of 3 quantities the user status is changing in CRM Order.
    I need the user status should change in CRM only when the entire deliverytakes place in R/3.
    Thanx
    Chinmaya

    Whenever an item is fully delivered, by standard, a "Completely Delivered" status will be updated into the item. If the I suppose by referring to that you will know an item is partial or completely delivered. When all items in the order is fully delivered, the standard header status will set to "Completed". So, you will also know if the whole order is partial or completely delivered.
    If you want to add a user status, the simplest, you can make use of the ORDER_SAVE Badi. Just call the function CRM_STATUS_MAINTAIN_OW. You can update both header and item status.

Maybe you are looking for

  • LOV columns in read only adf:table problem

    Hello Adf 11, ADF BC I've create a table Test with a column called BranchNr, the value of the column comes from the BranchList table. I've created an EO and a VO for both tables. On the Test table attriute Branch I've create a list of values to the B

  • Hard Drive Failed - iPod synced with previous iTunes Library - HELP!

    The hard drive on our Dell laptop recently failed. We had to replace it and completely reinstall the operating system, which wiped out everything, including iTunes. All of our music currently resides on our iPod (thousands of songs!). After reinstall

  • Tips on making my iMac 7.1 run faster?

    I've tried cleaning (with Clean My Mac), moving files to external hard drive, not opening applictions on launch, etc. Still painfully slow... If I re-start it works faster for a while, then seriously slows down if I have more than 3 or 4 applications

  • Address book on iCloud

    After having bought a new iMac and register to iCloud, I noticed after a while that certain names on my Address book on iCloud were reproduced a great number of times, contaminating also my new iMac. Yesterday, I erased all the adress book on iCloud,

  • I purchased Lightroom 5 Student teacher edition in June 2013,

    I purchased Lightroom 5 Student teacher edition in June 2013, and installed it on my laptop and desktop computers. Recently my laptop crashed and I had to replace it. When I visit my account and try to re download it, it says it is not available to d