cancel
Showing results for 
Search instead for 
Did you mean: 

Use of objects in two different SWC

Former Member
0 Kudos

Hi experts,

I wanna link the objects from two different software components. Like suppose if have Interface mapping in one SWC and i have to use it in other SWC, how to do it? I dont have to copy it i have to use it. Please let me know the possible ways n related links.

Thanks,

Sadhna

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi You can use it from other component

the solution is:

let's take A and B SWC (A wants to reference it from B)

1. Go to SLD, locate your A SWC

2. define the dependency, add B to the dependency

refresh the SWC in IR

you could use the mapping from B

you can find out B is like sub-SWC in A

Edited by: Lawrence on Apr 10, 2008 10:52 AM

Former Member
0 Kudos

Hi Lawrence,

Can u send me the link which can explore the same in more detail? And if I dont want B to be the sub-SWC in A, is that possible? And if yes, what is the way to do it?

Thanks,

Sadhna.

Former Member
Former Member
0 Kudos

Hi

I think chirag gave you the link

try it

i got it from the link to you

Procedure

...

1. On the initial screen of the SLD, choose Software ® Software Catalog.

2. In the drop-down menu Software Type, select Software Components.

3. Select the version of the software component for which you want to define a dependency.

4. Choose Usage Dependencies.

The browser displays the dependencies that currently exist for this version in all contexts.

5. Choose Define Dependencies.

The browser displays a list of all SAP software component versions.

6. In the drop-down menu, select the context for which you want to define dependencies.

7. Select the software component versions that are prerequisites in the selected context for the software component version that you selected in point 3.

8. Choose Create.

Edited by: Lawrence on Apr 10, 2008 11:16 AM

Edited by: Lawrence on Apr 10, 2008 11:19 AM

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Please follow this link. I hope this is really helpful for u.

/people/community.user/blog/2006/11/04/modularize-your-xi-objects-using-3-swcvs-for-higher-flexibility-and-reusability

Former Member
0 Kudos

Hi,

The Message types you have created can be used in other Softwware components.

ie.e as you have said the one SWC-1 have interface mapping then you can use the Message Interface of another SWC-2 in this SWC-1.

The Message Interface and Message types are re-usable across the SWC.

Refer

/people/thorsten.nordholmsbirk/blog/2006/07/25/structuring-integration-repository-content--part-1-software-component-versions

Thanks

Swarup

Edited by: Swarup Sawant on Apr 10, 2008 9:22 AM

Former Member
0 Kudos

Hi,

You have to create new mappings/interface mappings in other SWCV you can not reuse them in other SWCV.

Regards,

Sarvesh