Accessing a variant configurated transaction thro BAPI?

Hi,
The transaction Create Quotation (VA21)has been subjected to variant configuration.
In case i try to execute the same process with the help of BAPI_QUOTATION_CREATEFROMDATA, to what extent is it possible to replicate this variant configuration. This BAPI does contain Tables like ORDER_CFGS_REF, ORDER_CFGS_INST, ORDER_CFGS_PART_OF, ORDER_CFGS_VALUE. But documentation abt these tables isnt available.
Any experience with similar situations?
Best Regards
Meesum

Hi Meesum,
This problem comes up quite a bit.  Have a look at the following two threads:
Re: Configure Materials using BAPI
BAPI_CONTRACT_CREATEFROMDATA - Item Configuration
Hope that helps.
Cheers,
Brad

Similar Messages

  • Save variant configuration data with BAPI or FM

    Hi experts,
    I created a PP production order by using a configured material.
    I can see internal object number in table AFPO-CUOBJ.
    I'd like to change and save a value of characteristics by using ABAP.
    Could you tell me it if there is a BAPI or FM to save values of characteristics in variant configuraion?
    BR,

    you can chnage the variant configuration data using below bapi with strcture    order_cfgs_value      =
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
        EXPORTING
          salesdocument        
          order_header_in       =
          order_header_inx      =
           TABLES
          return                = return_lt
          order_item_in         =
          order_item_inx        =
          partners              =
          partnerchanges        =
          partneraddresses      =
          order_cfgs_ref        =
          order_cfgs_inst       =
          order_cfgs_part_of    =
          order_cfgs_value      =

  • Variant configuration using Bapi

    hi folks,
    i have an issure regarding variant configuration using bapi 'BAPI BAPI_SALESORDER_CREATEFROMDAT2 '.
    Can this BAPI be extended/modified to accept characteristic
    values - based on characteristic values, it should perform variant matching
    - in case variant matching is successful, the BAPI should replace the
    KMAT material with the exact matched variant material.
    - in case the variant matching is unsuccessful, then retain the KMAT
    material in the sales order line item.
    i have done one sample program where i am executing this bapi by passing all the mandatory values ,....its taking everything except the charactersitics of the material. can any one say me what are the mandatary fieds we need to pass for variant configuration using this bapi..or is there any other bapi which satisfies my problem.
    thnx in advance,
    santosh.

    Hi,
    Just debug your SAP BC service in which you are calling the RFC and check if proper values are getting mappend to your input variables of RFC.
    If that is correct than there wont be much chances of problem in BC.
    \[removed by moderator\]
    Regards,
    Siddhesh S.Tawate
    Edited by: Jan Stallkamp on Jul 1, 2008 4:32 PM

  • Need help on variant configuration

    Hi Guru,
    Here we need to use variant configuration.But i am new in variant configuration.Can somebody tell me the different steps of variant configuration from PP side.I have gone through standard document. But still i need this information. The Industry in which I am going to implement this,is  producing Colored, profiled sheet to provide roofing solution.The metal roofing sheet can have different profile, different colour, different thickness, different width and so on.They have nearly three thousand  of different combination.
    Please respond.
    Regards
    Rajib

    Hi,
    Pls. find herewith Variant Configuration Procedure steps as below
    VARIANT CONFIGURATION:
    1.Create a Material - KMAT type with Item category (002)
    2.Create Charateristics in CT04 - Zbike, where in values mention the Color of the bile like Red, Blue etc
    Create another characteristics in CT04 - ZPrice, where directly go the additional data tab and maintain the table SDCOM and field VKOND (ABAP Dictionary it will ask for).
    3.Assign these two characteristics to a Class in CL01 - ZBikeclass ( Type 300) in characteristics tab page.
    4Then go to CU41 Configuration profile select the material and enter the description click on the class assignment ie assign Zbikclass.
    5Now go back to CT04 - enter Zbike -go to values- select Red- go to extras - Other Dependencies - Select Procedure enter in front 10 write - $self.ZPrice='Red' and save.
    6.Now go back go to extras - Other Dependencies - assignments and assign relationship ( by default it will come just save).
    7.Now select Blue- go to extras - Other Dependencies - Editor - Select Procedure enter in front of 10 write - $self.ZPrice='Blue' and save.
    8.Now go back go to extras - Other Dependencies - assignments and assign relationship ( by default it will come just save).
    9.Now go to VK11 - Enter VA00 (Condition)(For Std RVA001 Pricing Procedure) - enter variant Red and Blue give the rates accordingly and create the sales order.
    Variant Configuration: Complete Maintenance:
    Technical name: SAP_LO_VC_MAINTAIN
    Tasks
    The variant configuration processor sets up the rules for multi-variant products and maintains them in the database. He or she simulates and executes the configuration. This role is required wherever variant configuration is used.
    The complete model also contains sales order processing (VA01/VA02), and the connection to SCE/Internet Sales and Mobile Sales.
    Activities in Variant Configuration;
    Transaction
    Activity
    CC04
    Display product structure
    CWBPP
    Engineering Workbench
    Variant Configuration
    VA01
    Create sales order
    VA02
    Change sales order
    VA03
    Display sales order
    CU51
    Maintain configurable order BOM (multilevel)
    CU52
    Maintain configurable order BOM (single level)
    CU50
    Configuration simulation
    CU80
    Reporting functions for characteristics and values
    Configured Objects
    CU44
    Material
    CU45
    Standard network
    Assignment of Configured Materials
    CS40
    Create assignment for configured material
    CS41
    Change assignment for configured material
    CS42
    Display assignment for configured material
    Configuration Profile
    CU41
    Create configuration profile
    CU42
    Change configuration profile
    CU43
    Display configuration profile
    Dependencies: Single Dependency
    CU01
    Create single dependency
    CU02
    Change single dependency
    CU03
    Display single dependency
    Dependencies: Dependency Net
    CU21
    Create dependency net
    CU22
    Change dependency net
    CU23
    Display dependency net
    Dependencies: General
    CU05
    Dependency where-used list
    CU04
    Dependency list
    Tools: Variant Function
    CU65
    Create function
    CU66
    Change function
    CU67
    Display function
    CU68
    List functions
    Variant Table Structure
    CU61
    Create variant table
    CU62
    Change variant table
    CU63
    Display variant table
    CU64
    List variant tables
    Variant Table Contents
    CU60
    Maintain variant table contents
    CU59
    Transfer variant table contents to database table
    Knowledge Base for SCE: Knowledge-Base Object
    CU31
    Create knowledge-base object
    CU32
    Change knowledge-base object
    CU33
    Display knowledge-base object
    Runtime Version
    CU34
    Create runtime version
    CU35
    Change runtime version
    CU36
    Display/export runtime version
    CU37
    Create SCE database schema on PC
    For complete details of Variant Configuration go to the following link :
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/96/468f38721f9977e10000009b38f842/frameset.htm
    Hope this helps.
    Regards,
    Prakash

  • Variant Configuration teg

    Hi Sapgurus,
    Could you please explain Variant Configuration steps in detail.It's little urgent.And also if you have any detailed document please send to the following mail.Points will be awarded.
    with Regards,
    mhreddy

    Hi,
    Pls. find the Varian Configuration step by step procedure as below :
    VARIANT  CONFIGURATION
    1.Create a Material - KMAT type with Item category (002)
    2.Create Charateristics in CT04 - Zbike, where in values mention the Color of the bile like Red, Blue etc.
    3.Create another characteristics in CT04 - ZPrice, where directly go the additional data tab and maintain the table SDCOM and field VKOND (ABAP Dictionary it will ask for).
    4.Assign these two characteristics to a Class in CL01 - ZBikeclass ( Type 300) in characteristics tab page.
    5.Then go to CU41 Configuration profile select the material and enter the description click on the class assignment ie assign Zbikeclass.
    6.Now go back to CT04 - enter Zbike -go to values- select Red- go to extras - Other Dependencies - Select Procedure enter in front 10 write - $self.ZPrice='Red' and save.
    7.Now go back go to extras - Other Dependencies - assignments and assign relationship ( by default it will come just save).
    8.Now select Blue- go to extras - Other Dependencies - Editor - Select Procedure enter in front of 10 write - $self.ZPrice='Blue' and save.
    9.Now go back go to extras - Other Dependencies - assignments and assign relationship ( by default it will come just save).
    10.Now go to VK11 - Enter VA00 (Condition)(For Std RVA001 Pricing Procedure) - enter variant Red and Blue give the rates accordingly and create the sales order.
    Variant Configuration: Complete Maintenance 
    Tasks
    The variant configuration processor sets up the rules for multi-variant products and maintains them in the database. He or she simulates and executes the configuration. This role is required wherever variant configuration is used.
    The complete model also contains sales order processing (VA01/VA02), and the connection to SCE/Internet Sales and Mobile Sales.
    Activities in Variant Configuration
    Transaction     Activity
    CC04     Display product structure
    CWBPP     Engineering Workbench
    Variant Configuration
    VA01     Create sales order
    VA02      Change sales order
    VA03     Display sales order
    CU51     Maintain configurable order BOM (multilevel)
    CU52     Maintain configurable order BOM (single level)
    CU50     Configuration simulation
    CU80     Reporting functions for characteristics and values
    Configured Objects
    CU44     Material
    CU45     Standard network
    Assignment of Configured Materials
    CS40     Create assignment for configured material
    CS41      Change assignment for configured material
    CS42     Display assignment for configured material
    Configuration Profile
    CU41     Create configuration profile
    CU42     Change configuration profile
    CU43     Display configuration profile
    Dependencies: Single Dependency
    CU01     Create single dependency
    CU02     Change single dependency
    CU03     Display single dependency
    Dependencies: Dependency Net
    CU21     Create dependency net
    CU22     Change dependency net
    CU23     Display dependency net
    Dependencies: General
    CU05     Dependency where-used list
    CU04     Dependency list
    Tools: Variant Function
    CU65     Create function
    CU66     Change function
    CU67     Display function
    CU68     List functions
    Variant Table Structure
    CU61     Create variant table
    CU62     Change variant table
    CU63     Display variant table
    CU64     List variant tables
    Variant Table Contents
    CU60     Maintain variant table contents
    CU59     Transfer variant table contents to database table
    Knowledge Base for SCE: Knowledge-Base Object
    CU31     Create knowledge-base object
    CU32     Change knowledge-base object
    CU33     Display knowledge-base object
    Runtime Version
    CU34     Create runtime version
    CU35     Change runtime version
    CU36     Display/export runtime version
    CU37     Create SCE database schema on PC
    Integration
    There are further single roles for other aspects of the configuration environment.
    Also required are the individual roles for all BOM processing (SAP_LO_MD_BOM_MAINTAIN), and classification (SAP_CA_CL_MAINTAIN).
    Useful Tables for VC:
    Characteristics :
    CABN Characteristics ( o.a. batch/vendor)
    CABNT Characteristics description
    CAWN Characteristics ( o.a. material)
    CAWNT Characteristics description
    AUSP Characteristic Values
    Class types and objects :
    TCLAO Several class types for object
    TCLA Class types ( vb. lfa1 => v10 en 010)
    TCLAT Class type text
    TCLT Classifiable objects
    TCLC Classification status
    Links :
    INOB Link between Internal Number and Object
    KLAH Class header data
    KSSK Allocation Table: Object (vb.matnr) to Class
    KSML Characteristics for a class (internal number)
    Hope this helps.
    Pls. provide mail id full so I can send other doc.
    Regards,
    Tejas

  • 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

  • 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 or Function maodule for Variant configuration

    Hi,
    Is there any BAPI or Function module which can give Variant configuration for a sales order?
    Thanks,
    Madhu

    hi
    plz refer to the following code
    Check the following Code & also Check the following Standard Programs
    L2032U12
    LCRMAU01
    LCRMAU11
    LZOC1U01
    MWWMJF32
    RBUS2032
    Structures for order header
    DATA: l_order_header_in LIKE bapisdhd1,
    l_order_header_inx LIKE bapisdhd1x,
    Tables for order items
    li_order_items_in TYPE STANDARD TABLE OF bapisditm,
    li_order_items_inx TYPE STANDARD TABLE OF bapisditmx,
    Order partners
    li_order_partners TYPE STANDARD TABLE OF bapiparnr,
    *Schedule lines
    li_ORDER_SCHEDULES_IN TYPE STANDARD TABLE OF BAPISCHDL,
    li_ORDER_SCHEDULES_INX TYPE STANDARD TABLE OF BAPISCHDLX,
    *-condition type
    li_ORDER_CONDITIONS_IN TYPE STANDARD TABLE OF BAPICOND,
    li_ORDER_CONDITIONS_INX TYPE STANDARD TABLE OF BAPICONDX,
    Return table from bapi call
    li_return TYPE STANDARD TABLE OF bapiret2,
    Sales document number
    l_vbeln LIKE bapivbeln-vbeln,
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
    EXPORTING
    order_header_in = l_order_header_in
    order_header_inx = l_order_header_inx
    testrun = 'X'
    IMPORTING
    salesdocument = l_vbeln
    TABLES
    return = li_return
    order_items_in = li_order_items_in
    order_items_inx = li_order_items_inx
    order_partners = li_order_partners
    ORDER_SCHEDULES_IN = li_ORDER_SCHEDULES_IN
    ORDER_SCHEDULES_INX = li_ORDER_SCHEDULES_INX
    ORDER_CONDITIONS_IN = li_ORDER_CONDITIONS_IN
    ORDER_CONDITIONS_INX = li_ORDER_CONDITIONS_INX.
    Thanks & Regards
    ravish
    <b>* plz rewrd points if helpful</b>

  • 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

  • Bapi for creation of quotation for variant configuration

    Hi all,
    I have done a BAPI to create a quotation with variant configuration.
    I am not getting the right field in the structure of the bapi item to upload the required quantity of the variant material.
    The value for the quantity is getting as 0.
    Can you please help to upload the quantity in the variant item.
    any ideas?
    Thanks and Regards,
    Kiran.

    i am not clear what youn are looking for.
    Say material X is KMAT,
    Material Y you have created as a variant of X by entering the conf material X in MRP3 view and setting the char values
    Material Z you have created as a variant of X by entering the conf material X in MRP3 view and setting the char values different than Y
    Now Y and Z are material variants of X, now tell me exactly what you are looking for?

  • 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

  • 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 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

  • Migration of Variant Configuration Master Data

    Hi,
    Could you please guide what is the best method for  Migration of Variant Configuration Master Data from SAP to SAP and from Legacy to SAP.
    1.     Send Object Dependencies
    2.     Send Characteristics
    3.     Send Variant Functions
    4.     Send Variant Table Structure
    5.     Send Object Dependencies again
    6.     Send Classes.
    Best Regards,
    Komal

    Hi,
    So i have configured the system accordingly with the OSS Notes 954816 and  956054. This should allow that knew created master data customers could be replicated in the FDSCM-COL to the business partners.
    I'm know trying to use the MDS_LOAD_COCKPIT to migrate the old customers master data but the system seems to not create any data.
    Does this transaction needs to have any other configuration more our to activate any BAPI ?
    PS: I tried to activate the FDM_PARTNER_MAP_COLL bapi but the system did not allowed stating the message ENHANCEMENT194.
    Best Regards,
    Bruno Sousa

Maybe you are looking for

  • Can't add songs to iPod Touch after updating to v2.0

    I just updated my iPod Touch to v2.0 and now I cannot load any songs onto it. When I drag songs or playlists over the Touch in the iTunes Devices list they just bounce off. Everything else seems to be acting properly. Contacts, Photos, etc. sync/upda

  • Need to replace my hard drive, no response from hp in 5 days

    Hi, I bought a HP Pavilion Touchsmart 15b146ef in France some months ago (still under warranty) and my hard disk drive in now dead. I ran a hard drive short DST check test which failed with the following failure ID : 60D5XV-6MQ6TA-MFPWW1-60QX03. It's

  • Cannot print pdf files with Adobe reader 9.3

    I upgraded from Adobe 7 to 9.3 and now I can not print pdf files.  I am able to print word and any other type of file but not pdf.  The printer will pull paper into it like it is going to print but stops and nothing else happens.  I have an HP C3100

  • DVD-R not recognized

    I burned a DVD-R disc on a commercial DVD burner. It works fine on my other, regular DVD player. but when I put it into my laptop, it is immediately ejected. is there any way to get it to play?

  • Samba Active Directory, Kerberos on Solaris 10

    I have fresh installs of Solaris 10 on Sparc and Intel boxes, with the Software Companion. I have downloaded krb5-1.4 from MIT. My LD_LIBRARY_PATH=/opt/sfw/bin:/usr/sfw/bin:/usr/local/ssl/lib ./configure works OK.. Make generates this error: making a