Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Multiple component instances for one component usage

Hi,all

How can I create multiple component instances for one component usage.

I'm using the following code for creating a single component instance for specific component usage:

if(c_Usage.hasActiveComponent())

{

c_Usage.deleteComponent();

}

if(wdContext.currentContextElement().getSelectedTab().equalsIgnoreCase("Registered"))

{

c_Usage.createComponent("health.gov.registered.Registered";);

}

I can't create one more component instance for

IWDComponentUsage c_Usage

cause I have to delete the component instance associated with this component usage.

Any idea how can I do it anyway?

Regards,

Michael

Not what you were looking for? View more on this topic or Ask a question