Skip to Content
author's profile photo Former Member
Former Member

Variant Configuration API

Hello Experts,

I am writing an external product configurator using function modules CAVC_I_CHARS... (e.g. CAVC_I_CHARS_GET_ALLOWED_VALS).

This is working well for configuration scenario "Order BOM". (configuration scenario = "Process" in TAC CU42).

However, it is also necessary to use configuration scenario "Sales Order (SET)".

Now, if I try to initialize my configuration environment using CAVC_O_ORDER_BOM_INIT I get error CX164:

"Item 000010 cannot be used for order BOMs".

Ok, obviously there is no order BOM used in this scenario. Nevertheless, I would need all the CAVC_I_CHARS... function modules for configuration (e.g. checking allowed values, completeness, consistency...).

Is there a way to use CAVC function modules without Order BOMs? Are there other function modules for sales configuration which do not require the "Order BOM" scenario?

Configuration of a customer order with "Sales Order (SET)" is possible in dialog. Why shouldn't there be a way to do the same with function modules?

Thanks for any help!

Best regards,


Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jul 25, 2012 at 12:38 PM

    Hi Wolfgang,

    CAVC FM's are only for order boms. For configuration is SD SET , you can use different bapi's in sales orders BAPI_SALESORDER_CREATEFROMDAT2 or BAPI_SALESORDER_CHANGE. Do they not fulfill your requirement. Please advise your requirement. There is an exit you can use in dialog transaction SD to call external configuration. Or do you want to call it in the background ?



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.