Configured Sales Orders using IDOC/BAPI

Question: Hello All

I am new to SAP and this forum .

I have been searching out how to do the above and am having no joy and am also finding conflicting information .

I want to create a Sales Order for a Configured Item , the item is configured so that it has Class Attributes ( ie it's red , it's large etc ).

I have tried using the IDOC Message Type ORDERS with Process ORDE and also the BAPI BAPI_SALESORDER_CREATEFROMDAT2 and have no joy , I get the item put on the Sales Order but no Configuration behind it .

I have come across the Document Restrictions ( SAP Library - Variant Configuration(LO-VC)
which states that The instances transferred cannot be classes. Only object types ( for example, MARA ) can be transferred .

My two questions are :-
Can what I describe be done ?
I have seen on this forum that I should be using IDOC DELORD is this true ?

I don't want a step by step guide of how to do it , just want to know if I'm wasting my time trying to attempt this .
If it's possible which IDOC should I be using

Thanks in advance

Answer:
I know it is possible using the BAPI. If you look at SAP program SAPMV45W (ITS transaction VW01), you will see an example. Note that you will need to instantiate the configuration before calling the BAPI. SAP uses functions from CUXW for this.

DK
Copyright ?2007 - 2008 www.jt77.com