Skip to Content
0
Former Member
Jul 01, 2009 at 08:07 AM

Two Business Objects to fill a Data Grid/table using Anchors?

219 Views

Hi,

I have a SAP standard tile were a table (grid) is filled by an Business Object. I want to add an additional column and retrieve the value from another Business Object.

My questions

1) Can I use Anchors to automatically set the relationship between two Business Objects A & B, so that I can just Drag & Drop an additional field from Business Object B to the DataGrid of Business Object A in the design screen without writing additional code?

2) Some BO's do come with a predefined relationship to other BO's, but in the case of I have to write a supply function do I have to use a specific "Data Source Type" such as "Business Object", "BusinessQuery" or "Business CollectioN"?

3) I already tried to write a supply function, but I realized that the system does return for some BO's or BS's a object instance, if I call "gFactory.newBusinessQuery". Is there any logic/restriction behind?

I know I can use RowLoaded2 and a unbound column, but I want to know if this approach is also possible?

Thank you for any help,

Regards,

Andreas