Skip to Content
author's profile photo Former Member
Former Member

Error messages bufferd while adding Line Item in Shopping Cart

Hi All,

I'm trying to create a shopping cart in SRM, when im adding a line item I need to enter supplier text, otherwise it should throw an error message, for this I have implemented logic in DOC_CHECK_BADI.

issue here is

customer wants that in enitre shopping cart for the same vendor you are adding multiple line item and any one of its having supplier text entered in that case it should not throw error message, only if no line item entered with Supplier text then only it should throw error message.i have added logic for that.

in my case what happens is first im adding a line item when i click on add,program validates and throw error.

but if im adding another line item with supplier text entered for the same vendor and while click on add in BADI where i included logic as check for the remaining line item added and if find any item with supplier text exist then it will clear the error message included.

but still in the portal im getting the error message for the 1st line item seems somewhere its get buffered and throwing the error message. Can any one help me to find the buffered Text.

Thanks in Advance.

Naveena.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Jan 13, 2016 at 06:35 PM

    Hi Naveen,

    Couple of suggestions

    1.) Clear the browser cache - If it is not tried, please give a try once

    2.) When you are getting the error in portal, can you set a external break point for that user in SRM who has logged into the portal and check whether the SRM backend is being called at the time of error message?

    Best Regards,

    Bharathi

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi Bharathi,

      im new to this completly, and which seems not about issue in browser thing, this needs to be cleared which getting buffered in backend system, in my logic the internal table which im passing is cleared there is no message at all but still im getting the error messge in front end(portal).

      so please help me to finding FM or any other where the messages can be buffered.

      its an urgent issue, if any one gives me a quick reply would be more helpful:(

      Regards,

      Naveena.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.