Save Oppor with multiple Sub-Opp using crmxif_order_save

Question: Hi,

We have a requirement to load some legacy designwins ( Oracle d/b) into our SAP CRM system . Taking care of Rostettanet B2B structure it has been advised to us that one designwin from legacy will be saved as three separate objects in CRM i.e a project -? which can have multiple opportunites under it -> And each opportunity can have multiple sub-opportunites ( 2 types i.e ours and competitors) under it.

I plan to use the crmxif_order_save transaction to do this i,e I will make a function which will take data in the input parameters and save into CRM database. Till now I plan that
1. I'll call xif_save for a Project ( BUS2000220)
2. I'll call xif_save for opportunity A (BUS2000111)
3. I'll call xif_save for subopportunity a (BUS2000130) for opportunity A
4. I'll call xif_save for subopportunity b (BUS2000130) for opportunity A

steps 2 - 4 will get repeated for n no: of opportunites.

But I do not know how to link the project _> opportunity -> sub-opportunity.

Can anyone guide please?? It's very urgent and important.

Regards,
Sonia Agarwal
sonia.agarwal@st.com
_________________
Sonia Agarwal
India (Noida)
sonia.agarwal@st.com

Answer:
You use the object relationship profile in Customizing(CRM -> transactions -> settings for opportunities -> define object relationship profile) to specify sub-opportunities that can be linked to an opportunity.

In this activity, you can also specify which relationships should be displayed on the Details tab page, and which should also be displayed in the product table on the Products tab page. You then assign the object relationship profile to the required transaction type(in this case OPPT).

hope this helps.
if you have further doubts then get back to me.
Copyright ?2007 - 2008 www.jt77.com