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

storage locations: favorites and result list still shows deleted sloc's

Hello all

We had previously customized some storage locations (sloc) in our backend system that we won't need and deleted them again (this was ok because not a single document was created in backend referencing to one of those deleted sloc's).

But unfortunately those deleted sloc's still show up in SRM (e.g. in the extended attributes) within the favorites and in the search result list. I already tried out to use Report BBP_ATTR_TEXT_REFRESH. It says that it deleted the sloc but when going to see whether or not it worked the sloc is still there showing up with its ID instead of its name. So it's still there and can be choosen but definitely it will cause shopping cart errors because the sloc doesn't exist anymore in the backend system and the material isn't created in this sloc as well of course.

So my question is: how to properly get rid of deleted sloc's in the favorites list and in the search result list?

TIA for any helpful ideas

Renaud

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2007 at 09:09 AM

    Hi,

    See if the foll note helps:

    Note 301610 - Deletion of old texts for attribute values

    BR,

    Disha.

    Pls reward points for useful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 18, 2007 at 11:10 AM

    Hi

    <b>You need to Implement BBP_F4_READ_ON_EXIT BADI using SE18 Transaction. Take help of ABAP person here.</b>

    <u>Here are the detailed links with steps, source code -></u>

    implementation-of-badi-bbpf4readonexit

    how-to-enable-shop-on-behalf-functionality-in-bbps

    goods-recipient-dropdown-box-needs-to-show-the-ent

    <b>Here is the required code to be used in your case. -> </b>

    Method IF_EX_BBP_F4_READ_ON_EXIT~GET_BOBUSER.
    
    *--- Delete Favorites for: Requester (Buying on Behalf of)
    delete ET_BOBUSER_FAVOURITES.
    
    *--- Delete Favorites for: Requester (Buying on Behalf of), Texts,
    delete ET_BOBUSER_LIST.
    
    Endmethod.

    Do let me know.

    Regards

    - Atul

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Atul

      Thanks! I previously already have read the documentation of this BAdI... there is no method mentioned for storages. Re-checked it now by browsing the list of real available interfaces in BBP_F4_READ_ON_EXIT. And now found method GET_STORAGES. I think with this we can go on...

      BR

      Renaud

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.