cancel
Showing results for 
Search instead for 
Did you mean: 

Add same View into different ViewSets of same Component

former_member110533
Participant
0 Kudos

Hi,

in component ICCMP_BP_DETAIL I´m trying to add the longtexts view ICCMP_BP_DETAIL/BuPaLongTexts also in the ViewSets ICCMP_BP_DETAIL/BuPaCreateVS and ICCMP_BP_DETAIL/BuPaDetailVS.

Currently it is only available in ICCMP_BP_DETAIL/BuPaMoreCustomerVS.

But while adding the text view into the other ViewSets an error is popping up saying it is not possible adding the same view into different ViewSets of the same component.

What is the best practice making long texts available in different ViewSets of same component?

Copying long text view into Z-views and add them to the ViewSets?

What is about binding the data?

Many thanks in advance,

André

Accepted Solutions (1)

Accepted Solutions (1)

VishnAndr
Active Contributor
0 Kudos

You can create component usages (lots of them) for the same view inside the component. And use them instead original view.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

As Andrei said component usage is the best option.

You can define a component usage for ICCMP_BP_DETAIL with in itself.

for example refer to Component Usage 'usageCommunication' in the component.

Likewise u have to create another component usage 'xyz' and add interface view as 'MoreWindow' .

The window 'MoreWindow' has the view set 'BuPaMoreCustomerVS (default)' which contains the required view BuPaMoreCustomerVS.

Once you create the component usage you have to add the interface view in your view sets. But even here one interface view can be used only once so you might have to create two usages.

Thanks,

Rajini Aleti.

former_member110533
Participant
0 Kudos

Hello Rajini,

I´ve created Component Usages with a new Window that contains the BuPaLongText view.

I have added the Component Usage as new view into the BuPaCreate and BuPaDetail ViewSet.

The Longtexts will be dislayed in both screens, now.

But the Longtexts field is disabled and the DDLB for text types is empty.

Where this DDLB is filled? CTXT Class?

Many thanks,

André

Former Member
0 Kudos

hi andree,

Your issue is solved? i am also facing same issue.Please help

Regards,

karthik