BAPI to create variant configuration T-Code CU41

Hi,
I am looking for standard BAPI to create variant configuration T-Code CU41.
Please let me know if anybody come across the same.
Thanks,
Bala Raja

Hey,
There are no full proof BAPIs delivered by SAP to create work orders.
You might want to explore BAPI_ALM_ORDER_MAINTAIN but this BAPI has several limitations. Read the documentation of the BAPI for more information.
The best option is to record IW36 and create the suborder using CALL TRANSACTION.
-Kiran

Similar Messages

  • How to create Variant Configuration Material Master in SAP PP

    Dear Friend's,
    Pl 's guide me for How to Create Variant Configuration Material Master.
    Give me step by step procedure for Creation of Variant Configuration.If some of you having screen shots for the same with one Example, that will be a very helpful to me for creating  VC.
    Thanks & Regards,
    Sandeep N.Theurkar

    Hi,
    Eg: Ford car.If a sale order is raised for fiesta lxi model the system should choose red colour & for vxi blue colour respectively.
    ie you need to define the characteristic and assign the values .
    This characteristic need to assigned to class.
    class need to be assigned to material master
    1. T.code : CT04(characteristic) FORD_MODEL, Choose single value & entry required tab & give the input as 01 - fiesta_lxi & 02 - fiesta_vxi.( characteristic values)
    2.Tcode: CT04, FORD_BODY( another characteristic)
    Choose single value , don't click entry required.
    01 - Red( characteristic values)
    02- Blue
    3. Create class T.code : CL02
    fiesta_class
    type : 300
    4. OBJECT DEPENDENCY:
    T.CODE : CT04
    FORD_MODEL
    CLICK VALUES TAB,
    IN FIESTA_LXI CLICK THE 'O' meant for Obj dependency, action & extra.
    Edit the dependecy,
    010 $Self.ford_body = '01'. & save
    Repeat the same for FIEST_VXI & instead of '01' give '02' for blue colour.
    , then create a ROH as ford_body. & a KMAT material for the car. .
    Then create a Super BOM with usage 3 & give component as ford_body
    Then use T.code cu41 (Create config profile)
    enter a profile name & class 300 & choose class assignment, choose fiest_class ,
    Use T.code cu50 to check the values.
    Then create a sale order.
    Pl. reward if helpful.
    Regards,
    nandha

  • Steps to  create variant configuation dependencies code

    Hello Guru's,
    steps to create variant configuration dependency using code?.  will anyone guide me.

    Check the below links.
    Variant Configuration (LO-VC)
    [http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf|http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf]
    Variant Configuration for an Order BOM
    [http://help.sap.com/saphelp_ides/helpdata/en/0a/857463c87611d1a7760000e8a5f6c8/content.htm|http://help.sap.com/saphelp_ides/helpdata/en/0a/857463c87611d1a7760000e8a5f6c8/content.htm]
    [www.sapmmforum.blogspot.com/2007/10/variant-configuration-for-order-bom.html |www.sapmmforum.blogspot.com/2007/10/variant-configuration-for-order-bom.html ]
    Steps for SD Variant Configuration
    [www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm|www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm]
    Steps for Variant Configuration & Pricing
    [www.sap-basis-abap.com/sd/steps-for-variant-configuration-and-pricing.htm|www.sap-basis-abap.com/sd/steps-for-variant-configuration-and-pricing.htm]
    [www.sapsdforum.blogspot.com/2007/10/steps-for-variant-configuration-and.html |www.sapsdforum.blogspot.com/2007/10/steps-for-variant-configuration-and.html ]
    Hope this helps. Reward points if helpful.
    Thanks,
    Balaji

  • BAPI for creating variant table

    Hi,
    Cu61 and Cu60 are two transactions in SAP (comes under Variant Configuration) to create a variant table and fill its contents respectively.
         Now, I am trying to create a transaction in SAP such that on the screen it takes the name of the variant table to be created and an excel file as input from the user and thus create a variant table and fill its contents in the background. Now, ofcourse I have to do this through ABAP coding. I know how to upload the excel file into the internal table but I am not able to figure out that how should i create the variant table and transfer the contents of that internal table to the variant table? That is, how should i transfer the contents to the variant table?
    I have been able to find out the tables involved in the process viz, CUVTAB, CUVTAB_FLD, CUVTAB_VALC.
    Does there exist any BAPI for doing the same?
    Please Help.

    Hi Reema,
       Thanks for replying but this is not what I am looking for. I do not want to create a cluster table rather I want to create a variant table (it is a table used in variant configuration to store the combinations of a material whose characteristics can take varying values at the time of configuration). A table that we create through the transaction Cu61 and populate its contents through the transaction Cu60.
    However, I still tried your suggestion but it did not result in what I want.
    My problem still exists.

  • BAPI function create Customer master(T-code XD01)??

    Hi All,
    i want to create BDC program using BAPI function create Customer master(upload  customer master),but i do not know which BAPI function for create Customer master.
    Does anyone know,please tell me which BAPI function i can use?
    Thanks.
    Van Dung

    Hi Amit Gujargoud,
    I can use LSMW  upload the data from legacy system to sap system., but my manager he did not want to use LSMW.He wants to use BAPI function for upload customer master.
    I saw this BAPI function create customer master : BAPI_CUSTOMER_CREATEFROMDATA1,
    BAPI_CUSTOMER_CREATEFROMDATA,
    it is not enough field for input data.
    example : if i want input : customer code,company code, Sales organiration,Distribution channel,Division.
    So This BAPI function have not paramaters input this field.
    Thanks for your answer
    Van Dung.

  • Variant configuration or Code.

    Hi Gurus
    I have a field scrren type date in report,  this program has one variant.
    I need the field to be displayed with the day one of month.
    Ex: today is 28.08.2014  then the field needs show 01.08.2014 .
    Its possible configure it in variant ?
    in code i know is possible but how do it in variant?
    Thanks.

    Thanks Mr Felipe but  i was analazing with functional  and the problem is :
    the report select data from tables of price (A530, ...etc) and he needs that the program select only the most current data selecting by the datbi and datab that tables .
    I think it is possible only by code and dont by filter screen .correct ?

  • BAPI for variant configuration

    Hi all,
    I need a BAPI which loads Variant configuration information in sales order. I beleive BAPI_SALESORDER_CREATEFROMDAT2 can be used for this purpose, but I need help in finding the required structures and the fields that need to be used for this purpose. Can any one provide me the information ASAP?
    Regards,
    Asha.

    Please use FM BAPISDORDER_GETDETAILEDLIST to understand what structures need to be filled for VC.
    Example code:
      ls_view-header     = 'X'.
      ls_view-item       = 'X'.
      ls_view-sdschedule = 'X'.
      ls_view-configure  = 'X'.
      ls_view-text       = 'X'.
      call function 'BAPISDORDER_GETDETAILEDLIST'
           exporting
                i_bapi_view           = ls_view
           tables
                sales_documents       = lt_docin
                order_headers_out     = lt_hdrout
                order_items_out       = lt_itmout
                order_schedules_out   = lt_schout
              order_partners_out    = lt_prtout
                order_textheaders_out = lt_hdtxt
                order_textlines_out   = lt_txtli
                order_cfgs_cucfgs_out = lt_cucfgout
                order_cfgs_cuvals_out = lt_cuvalout
                extensionout          = lt_parex.

  • Variant configurator BAPI

    I need to find a BAPI for the variant configurator for a sales order.  To further explain, if you go to VA03 and view a sales order.  Then highlight a line item and click on the "Item Details: Configuration" icon (last one on the right under the line items).  I need to, somehow, relate a the line item to these characteristics (variant configurator).
    Regards,
    Davis

    VC_I_GET_CONFIGURATION

  • Variant configuration with Sales order?

    Dear SAPIENTS,
    I require variant configuration scenario in case of sales order, batch mangement, MRP, production order.
    Regards,
    Kaushal Rai
    Edited by: Kaushal Rai on Feb 27, 2009 2:06 PM

    Dear,
    Follow these steps.
    1. Create the Characteristics in CT04.
    2. Create the Class in CL02. (Class type 300)
    3. Assign the characteristics to the above created class.
    4. Create the material (Product) in MM01 with material type KMAT.
    5. Assign the Class created in Step 2 to Classification view of Material.
    6. Create the configuration Profile in CU41. to the necessary setting to in it.
    7. Write the dependencies (Precondition, sele, procedure) in CU01.and Create Dependency net in CU21.
    8. Assign sele, procedure, Dependency net in Configuration Profile.
    9. Assign Preconditons to Chracteristics or Char values in Class.
    10. Check the model in CU50. whether your depencies or working file or not.
    11. Create the Supr BOM and Super Routing and attach the dependences in the respective and check whether your bom components and required operations are picking or not in CU50.
    12. VK11 - Enter VA00 (Condition) For Std RVA001 Pricing Procedure.
    Please refer this thread,
    variant configuration
    http://www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm
    Regards,
    R.Brahmankar

  • Loading data to created variant

    HI,
    I have created a variant to transaction cji5 using RS_CREATE_VARIANT. How do we load data to this variant. I need to fill the data programatically after some processing

    HI,
    I'm trying to load data to variant while creating the variant. But in cji5 transaction one of my required screen field is more than 8 chars. I thnk bcoz of this I'm not able to submit the report with this created variant. My code is
          i_rsparams-kind    = 'P'.
          i_rsparams-selname = 'D0700_USEDB'. 
          i_rsparams-low     = 'X'.       
          APPEND i_rsparams.
    Here 'D0700_USEDB' is more than 8 chrs
    Thnx in advance

  • BAPI/FM in ECC to create a sales order with variant configurable material

    Hi all,
    I need to create a function module that creates a sales order in ECC with a variant configurable material.
    can some one tell me if there is a in built function module or BAPI that i can make use of to create a sales order with variant configurable material in ECC.
    Regards,
    Jessica Sam

    Thanks MxG,
    I dont know how to use this BAPI. .Can you suggest me a sample code.
    My reqmnt is, i have
    Sold to party, ship to party, bill to party , VC config material and all char values that should be populated while creating a sales order.
    please help me with what values should i populate in i/p paramters and and how to use this BAPI with some sample code if posible.
    Regards,
    Jessica.

  • How to Create Sales Order using BAPI with Variant configurations

    Hi All,
    I need to create a sales order using BAPI BAPI_SALESORDER_CREATEFROMDAT2 with Varaint confiugartions. I will get Header ITEM and variant configuration items in the flat file. Kindly help me in this regard.
    One more thing, is there any way to findout all the Varaint classifications for a particular Material?
    I have done the below coding. Sales order is getting created but variant configurations are not populating.
    *...Configuration: Reference Data
    DATA: gt_order_cfgs_ref TYPE TABLE OF bapicucfg,
          wa_order_cfgs_ref TYPE bapicucfg.
    *...Configuration: Instances
    DATA: gt_order_cfgs_inst TYPE TABLE OF bapicuins,
          wa_order_cfgs_inst TYPE bapicuins.
    *...Configuration: Part-of Specifications
    DATA: gt_order_cfgs_part_of TYPE TABLE OF bapicuprt,
          wa_order_cfgs_part_of TYPE bapicuprt     .
    *...Configuration: Characteristic Values
    DATA: gt_order_cfgs_value TYPE TABLE OF bapicuval,
          wa_order_cfgs_value TYPE bapicuval.
    *...Configuration: BLOB Internal Data (SCE)
    DATA: gt_order_cfgs_blob TYPE TABLE OF bapicublb  ,
          wa_order_cfgs_blob TYPE bapicublb.
    *...Configuration: Variant Condition Key
    DATA: gt_order_cfgs_vk TYPE TABLE OF bapicuvk,
          wa_order_cfgs_vk TYPE bapicuvk.
    *...Configuration: Reference Item / Instance
    DATA: gt_order_cfgs_refinst TYPE TABLE OF bapicuref,
          wa_order_cfgs_refinst TYPE bapicuref.
    *...Configuration: Reference Data
      wa_order_cfgs_ref-posex = '10'.
      wa_order_cfgs_ref-config_id = '1'.
      wa_order_cfgs_ref-root_id = '1'.
      wa_order_cfgs_ref-SCE = '1'.
      wa_order_cfgs_ref-CBASE_ID_TYPE = 'G'.
      wa_order_cfgs_ref-CONSISTENT = 'T'.
      wa_order_cfgs_ref-COMPLETE = 'T'.
      APPEND wa_order_cfgs_ref TO gt_order_cfgs_ref.
    *..2nd item
      wa_order_cfgs_ref-posex = '20'.
      wa_order_cfgs_ref-config_id = '2'.
      wa_order_cfgs_ref-root_id = '1'.
      wa_order_cfgs_ref-SCE = '1'.
      wa_order_cfgs_ref-CBASE_ID_TYPE = 'G'.
      wa_order_cfgs_ref-CONSISTENT = 'T'.
      wa_order_cfgs_ref-COMPLETE = 'T'.
      APPEND wa_order_cfgs_ref TO gt_order_cfgs_ref.
    *...Configuration: Instances
      wa_order_cfgs_inst-config_id = '1'.
      wa_order_cfgs_inst-inst_id = '1'.
      wa_order_cfgs_inst-obj_type = 'MARA'.
      wa_order_cfgs_inst-class_type = '300'.
      wa_order_cfgs_inst-obj_key = '2021B'.
      wa_order_cfgs_inst-quantity = 1.
      wa_order_cfgs_inst-PERSIST_ID_TYPE = 'G'.
      wa_order_cfgs_inst-CONSISTENT = 'T'.
      wa_order_cfgs_inst-COMPLETE = 'T'.
      APPEND wa_order_cfgs_inst TO gt_order_cfgs_inst.
    *..2nd item
      wa_order_cfgs_inst-config_id = '2'.
      wa_order_cfgs_inst-inst_id = '1'.
      wa_order_cfgs_inst-obj_type = 'MARA'.
      wa_order_cfgs_inst-class_type = '300'.
      wa_order_cfgs_inst-obj_key = '2021B'.
      wa_order_cfgs_inst-quantity = 1.
      wa_order_cfgs_inst-PERSIST_ID_TYPE = 'G'.
      wa_order_cfgs_inst-CONSISTENT = 'T'.
      wa_order_cfgs_inst-COMPLETE = 'T'.
      APPEND wa_order_cfgs_inst TO gt_order_cfgs_inst.
    *...Configuration: Characteristic Values
      wa_order_cfgs_value-config_id = '1'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BASIC_MACHINE'.
      wa_order_cfgs_value-value = 'L28'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
      wa_order_cfgs_value-config_id = '1'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BUCKET'.
      wa_order_cfgs_value-value = 'PL1001'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
    *..2nd item
      wa_order_cfgs_value-config_id = '2'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BUCKET_FOC'.
      wa_order_cfgs_value-value = '023OP0049'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
      wa_order_cfgs_value-config_id = '2'.
      wa_order_cfgs_value-inst_id = '1'.
      wa_order_cfgs_value-charc = 'BUCKET_HOE'.
      wa_order_cfgs_value-value = '028MS0004'.
      wa_order_cfgs_value-VALCODE = '1'.
      APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
    wa_order_cfgs_value-config_id = '2'.
    wa_order_cfgs_value-inst_id = '1'.
    wa_order_cfgs_value-charc = 'TYRE_PRESSURE_GAUGE'.
    wa_order_cfgs_value-value = '81004402'.
    APPEND wa_order_cfgs_value TO gt_order_cfgs_value.
    *...Configuration: Reference Item / Instance
      wa_order_cfgs_refinst-posex = '10'.
      wa_order_cfgs_refinst-config_id = '1'.
      wa_order_cfgs_refinst-inst_id = '1'.
      APPEND wa_order_cfgs_refinst TO gt_order_cfgs_refinst.
    *..2nd item
      wa_order_cfgs_refinst-posex = '20'.
      wa_order_cfgs_refinst-config_id = '2'.
      wa_order_cfgs_refinst-inst_id = '1'.
      APPEND wa_order_cfgs_refinst TO gt_order_cfgs_refinst.
    Regards,
    Rajesh

    Hi all,
    Please help me in solving the issue.
    Rajesh

  • BAPI for Creating Sales Order For Variant Configuration Materials

    Dear Gurus,
    Before posting this thread, we have referred many SDN threads, OSS notes and other sites for any sort of help..but no success..All threads and other referrals are not much of help as they are kind of incomplete( Perhaps, we are unable to understand them..no offense).
    Few checked threads on this subjects are:
    http://scn.sap.com/thread/34590
    http://scn.sap.com/thread/851070
    http://scn.sap.com/community/abap/blog/2014/04/23/update-vc-variant-configuration-data-using-standard-bapi-in-sales-order
    http://scn.sap.com/community/abap/blog/2014/07/15/creating-orders-with-variant-configured-items-using-bapisalesordercreatefromdat2
    http://scn.sap.com/community/abap/blog/2014/04/23/update-vc-variant-configuration-data-using-standard-bapi-in-sales-order
    http://scn.sap.com/thread/120144
    OSS: 549563
    Well, we're using the BAPI (BAPI_SALESORDER_CREATEFROMDAT2) which creates the sales order successfully but without the characteristic values in line items.
    We're passing data to the following parameters - ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_VALUE to create the variant config but not able to see it getting created.
    Pls find attached BAPI coding document for your reference.
    If you could throw any light on this issue will be of great help for us.
    Thank You in Advance!!!
    Reg,
    Jagan-SD.

    Jagan nath
    Try below.
    you would need miimum of 3 segments to pass variant config data using this bapi
    ORDER_CFGS_REF for each configurable item
    POSEX = ITEM #
    CONFIG_id , root_id - Start with 1 and increment it for each configurable line item
    ORDER_CFGS_INST
    CONFIG_ID - from above
    INST_ID - Start with 1 and increment it for each configurable line item
    OBJ_TYPE = "MARA'
    CLASS_TYPE = '300'
    OBJ_KEY = material #
    ORDER_CFGS_VALUE
    CONFIG_ID for the item, INST_ID for the item
    charc for characteristic value
    VALUE for characteristic value
    Reference thread
    How to Fill Configuration Data in BAPI BAPI_SALESORDER_CREATEFROMDAT2
    Hope it will solve your issue.
    Thanks
    Ritesh

  • Variant Configurator / BAPI Create

    We’re building a web interface to our R/3 Variant Configurator.  Our product is complex and requires us to create Inquiries with nested configurable materials.  We’re having a couple of issues and I’m hoping someone might be able to point us in the right direction.  A couple of questions …
    1)  As mentioned we have nested configurable materials.  We satisfy the first level characteristics by passing cfg_ref_in with the POSEX of the first level item (00010).  Based on these characteristic/values further configurable materials maybe exploded on the order and we won’t know their position.  We also have characteristics for those nested materials however we don’t know their POSEX in the document – so it doesn’t appear we’re able to pass their characteristics during the create process.  In the case of nested configurable materials where you’re uncertain of  their POSEX is it a two pass operation?  Meaning configure the first material (00010) , let it explode, then save, then update the document and pass the nested material characteristics? 
    Please tell me I’m missing something and there is an easier way.
    2)  We’re using SD_SALESDOCUMENT_CREATE we also see BAPI_INQUIRY_CREATEFROMDATA2.  What is the difference?  BAPI_INQUIRY_CREATEFROMDATA2 appears to call SD_SALESDOCUMENT_CREATE.
    Thanks in advance.
    /Greg

    VC_I_GET_CONFIGURATION

  • Create a production order with variant configurator data

    Hello,
    Can anyone tell me the way to create a production order with variant configurator data. Is there a BAPI ? an IDOC ?
    Is there several steps ?
    I have to create an interface which creates automatically PP orders. The data input is a file.
    Thanks for your help

    Hi,
    There are fews BAPI's available for creation of Production Order. They are:
    BAPI_PRODORD_CREATE
    This bapi will suit to your requirement, as input will be provided from file.
    Others are
    BAPI_PRODORD_CREATE_FROM_PLORD " this converts planned order to production order
    BAPI_PRODORD_CREATE_FROM_REF      " this creats production order considering other production order as reference.
    Hope your query is answered.
    Regards,
    Brajvir

Maybe you are looking for

  • Work Clearance Management  (WCM) not available with ECC 6.0

    Hi All, Work Clearance Management (WCM) is a part of SAP Plant Maintenance (PM). It is a standard functionality. This is not available with our installed version of ECC 6.0 system. The navigation should be SAP Easy Access > Logistics > Plant Maintena

  • How do I install CS6 Photoshop free trial on my mac?

    I downloaded it from the adobe site but cannot figure out how to install it.

  • Pooled table supported by ABAP Query .................

    Hi, I have an requirment to create a abap query report .For that one i have to use a pooled table as join with another table? Is that possible or not? Reagrd Ricky

  • Battery indicator shows strange remaining time

    Hi, I got a new Macbook pro lately, after I used it for 3 week  I notice that this week that something is wrong with the battery indicator. I got really high remaining time (sometimes more than 15 hours while battery is on 85%). This is the power dia

  • FRM-41016:  I do not understand??

    I trying to set an item so it does not display using the following code Set_Item_Property('LIST_PROGRAM',VISIBLE,PROPERTY_FALSE); The problem is that i get the following error FRM-41016 Cannot set DISPLAYED attribute of the current item SEARCH_BLK.LI