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

Extending WebCatItem object in CRM ISA B2B


I need to extend the WebCatItem business object to include some extra custom data (basically, just three boolean values at this stage.) I've previously created a completely custom business object, backend manager and business object manager which calls a custom BAPI I've written on the CRM system to retrieve data but I can't figure out how to do the same to extend an existing business object.

I specifically want to add an extra column to the ProductsISA.jsp page. I believe I need to create a BAPI to determine my custom data, use the addExtensionData method of the WebCatItem object - is this correct? The two topics in the development guide that seem applicable are "Storing Additional Data - Extension Mechanism" and "Extending Existing Busines Objects". I believe I need to extend the object but how?!

The section relating to this in the development and extension guide is not very clear to me!

Could someone please give me some pointers or even better some sample code with guidance?

Thanks in advance.

Gareth Ryan.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2005 at 06:23 PM

    Where is the data coming from that you need to add? TREX or CRM? This will determine the best way to retrieve the data.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Gareth

      I believe that extending the isa-core business objects is not a very good idea as I tried to do so and it created a mess.

      So, now once you have the object of WebCatItem you are again sending a request to fetch extra information using a BAPI call. Instead of this, I suppose you can extend an Event Listener which is called before and after a call to a functional module is made. Once you have the excuted the function module and received the webcatitem object, you can execute within the same request another call to BAPI and get extra information, and add this data to the object using addextensiondata() method.

      Please do let me know if you try this method and if it works.



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.