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.

Similar Messages

  • BAPI for create material master (SAP version 40b)

    Hi,
    Anyone know BAPI for create material master for SAP version 40b?
    There's no BAPI_MATERIAL_SAVEDATA.
    I try to use BAPI_MATERIAL_MAINTAINDATA_RT,
    but seems that BAPI only for retail.
    Kindly advice!
    Thanks,
    Victor.

    Hi,
        this one works pretty good.
    call function 'MATERIAL_MAINTAIN_DARK'
             exporting
                  sperrmodus                = ' '
                  kz_prf                    = 'W'
                  max_errors                = ' '
                  p_kz_no_warn              = 'X'
                  kz_verw                   = 'X'
                  kz_aend                   = 'X'
                  kz_dispo                  = 'X'
                  kz_test                   = ' '
                  flag_muss_pruefen         = ' '
                  call_mode                 = 'ACT'
             importing
                  number_errors_transaction = numerror
                  matnr_last     = last_matnr
             tables
                 amara_ueb      = i_mara    "Basic Data
                amakt_ueb      = i_makt    "Descriptions
                 amarc_ueb      = i_marc    "Plant
                amard_ueb      = i_mard    "Storage Location
               AMFHM_UEB      = I_MFHM    "Production Tools
                amarm_ueb      = i_marm    "Units of Measure
               AMEA1_UEB      = I_MEA1    "Internal Mangagement -  EANs
                ambew_ueb      = i_mbew    "Accounting/Costing
                asteu_ueb      = i_steu    "Tax Data
                astmm_ueb      = i_steumm  "Tax Data
               AMLGN_UEB      = I_MLGN    "Warehouse Data
               AMLGT_UEB      = I_MLGT    "Storage Type Data
               AMPGD_UEB      = I_MPGD    "Change Documents
               AMPOP_UEB      = I_MPOP    "Forcast Parameters
               AMVEG_UEB      = I_MVEG    "Total Consumption Data
               AMVEU_UEB      = I_MVEU    "Unplanned Consumption Data
                amvke_ueb      = i_mvke    "Sales Data
                altx1_ueb      = i_ltx1    "Sales Text
               AMPRW_UEB      = I_MPRW    "Forcast Values
                 amfieldres     = i_delfields
                 amerrdat       = i_errors
             exceptions
                  kstatus_empty             = 01
                  tkstatus_empty            = 02
                  t130m_error               = 03
                  internal_error            = 04
                  update_error              = 05
                  too_many_errors           = 06.
    Otherwise try BAPI_RETAILMATERIAL_CREATE
    BAPI_STANDARDMATERIAL_CREATE
    <b>Reward points</b>
    Regards

  • Is there any BAPI for creating Debit memo request

    Hi all,
    I used BAPI_ACC_BILLING_POST ,but it does not seems to help me.Is there any other BAPI for creating Debit memo request which takes.
    Thanks and regards,
    Meena.

    hi,
    I could find the following
    Exit Name           Description
    J_3RSINV
    SDVFX001            User exit header line in delivery to accounting
    SDVFX002            User exit for A/R line in transfer to accounting
    SDVFX003            User exit cash clearing in transfer to accounting
    SDVFX004            User exit G/L line in transfer to accounting
    SDVFX005            User exit reserves in transfer to accounting
    SDVFX006            User exit tax line in transfer to accounting
    SDVFX007            User exit: Billing plan during transfer to Accounting
    SDVFX008            User exit: Processing of transfer structures SD-FI
    SDVFX009            Billing doc. processing KIDONO (payment reference number)
    SDVFX010            User exit item table for the customer lines
    SDVFX011            Userexit for the komkcv- and kompcv-structures
    V05I0001            User exits for billing index
    V05N0001            User Exits for Printing Billing Docs. using POR Procedure
    V60A0001            Customer functions in the billing document
    V60P0001            Data provision for additional fields for display in lists
    V61A0001            Customer enhancement: Pricing
    Regards,
    Manish

  • 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 for creating scheduling agreement with reference to Contract agreement

    Hi All ,
    Can anyone please suggest if there is any BAPI for creating scheduling agreement with reference to the contract agreement number.
    Thanks for your help.
    Vadivukkarasi

    Hi,
       Check this BAPI <b>BAPI_AGREEMENT_MAINTAIN.</b>
    check these
    BAPI_CUSTSCHEDULAGREE_CONFDELV Customer Sched. Agreement: Confirmation of Delivery; Document Flow Upd
    BAPI_SALES_DEL_SCHEDULE_CREATE BAPI for creation of releases in scheduling agreements
    Regards

  • BAPI for Creating a PM order(iw34) with reference to a Notification

    Hi All,
    Could anyone help to find the BAPI for creating a PM order with reference to a notification Number.
    I will explain my requirement :
    I want to create a notification from an external Application where i got the BAPI BAPI_ALM_NOTIF_CREATE and keeping this created notification number as Referece or for this notification number  i need a create a PM order.Usually this process in done transaction IW34 in R/3.
    But with the BAPI BAPI_ALM_ORDER_MAINTAIN i can create a PM order but this BAPI doesn't have a input parameter "Notification number ".So i can't use this BAPI.
    Could any suggest for a BAPI where i can create a PM order with reference to a Notification Number.
    Regards,
    Sid

    Hi,
    I have tried with the FM CO_IH_ORDER_GENER_2 but when i executes it gives a error message
    "<i>Service/maintenance order type PM02 not completely maintained in plant
    Message no. IW216
    Diagnosis
    For the selected order type and plant, no check control is maintained in Plant Maintenance/Service in 'Availability Check for Materials, PRTs and Capacities'.
    Procedure
    A check control must be maintained for this combination of order type and plant</i>"".
    And even have a doubt what to enter in this input parameter "GEWRK_OBJTYP"  .
    Kindly help me to solve this issue.
    Regards,
    Sid

  • FM/BAPI for creating the credit memo request for Vendor

    Hi Experts,
        I need an RFC/BAPI,  for creating the credit memo request for Vendor.
    Thanks in Advance,
    Kiruba.R

    Hi,
    Use this BAPI 'BAPI_DRMCREDITMEMOREQ_CREATE' - Credit Memo Request Creation
    Regards,
    Jyothi CH.

  • Function Module / BAPI for Creating Material freight Group

    Hi All,
    Can anyone tell me the Function Module / Bapi for creating material freight group.
    Regards,
    Raj.

    Bapi for creating material freight group. :: You actually use mm01 or mm02 to change data for material flight.
    So you can use BAPI for mm02 and mm01
    For Ex:
    BAPI_MATERIAL_SAVEDATA
    Hope this helps

  • BAPI for creating recipe

    We are trying to develop an interface with a third party software and we need to upload recipe from there.
    So i am need a BAPI to create recipe and maintain aswell.
    also I am trying to use BAPI BAPI_MATERIAL_SAVEDATA to create material and BAPI
    BAPI_BOM_UPLOAD_SAVE to create BOM .
    I manually entered data into fields but not able to create material and BOm.
    Please give me the procedure on how to use them and BAPI for creating Recipe.
    Help is appriciated.

    Hi Mirza
    You can use BAPI_MATERIAL_BOM_GROUP_CREATE to create a BOM,
    Regards
    UK

  • Are there any bapi for create Business Partner

    Dear Sir,
    Do you know  are there any bapi for create Business Partner in CRM
    Please advise.
    Thank you and best ergards,
    Vimol

    Dear Vimol,
    BAPI_BUPA_CREATE_FROM_DATA     ......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA  .......SAP BP, BAPI: Create Business Partner
    BAPI_BUPA_FS_CREATE_FROM_DATA2 .......SAP BP, BAPI: Create Business Partner
    Hope this will help.
    Regards,
    Naveen.

  • Very urgent::: Standard BAPI for creating quotation in vendor side

    hi all
    i need a standard bapi for creating Quotation in the vendor side
    i found 2 bapi's :
    bapi_quotation_createfromdata,
    bapi_salesorder_createfromdat1.
    but these are related to customer side itseems...
    i want standard bapi's for vendor side Quotation creation....
    points will be awarded for useful answer...

    hi all
    i need a standard bapi for creating Quotation in the vendor side
    i found 2 bapi's :
    bapi_quotation_createfromdata,
    bapi_salesorder_createfromdat1.
    but these are related to customer side itseems...
    i want standard bapi's for vendor side Quotation creation....
    points will be awarded for useful answer...

  • FM or BAPI for creating/deleting condition records for an output type

    Hi all,
               what is the FM or BAPI for creating and deleting the condition records for a Z(custom) output type.

    You can use trasaction SXDA_TOOLS.....
    object type BUS3003
    program type BINP
    program/method RM06IBI0
    but the fields must be sequentially written in the txt, with every space inclusive....

  • FM or BAPI for Create/cancel  stock transfer order invoice

    FM or BAPI for Create/cancel  stock transfer order invoice
    Thanks and Regards,
    Srinivas P

    Hi,
    use BAPI_PO_CREATE, po_header-doc_type = 'UB'
    Thanks,
    Reward If Helpful.

  • BAPI for creating outbound delivery

    Hi,
    Can anyone please let me know the bapi for creating outbound delivery.I have checked for few bapi's like
    BAPI_OUTB_DELIVERY_SAVEREPLICA
    BAPI_DELIVERPROCESSING_EXEC
    If i use the first one i would like to know whether i need to do the PGI seperately by using any bdc or is it taken care in the same bapi.
    Its basically for the workflow task werein we have all the required parameters like delivery numb, sales order num ...etc
    Iam new to BAPI's.Please consider my request and let me know the details for the same.
    thanks
    keith

    The below is for creating delivery for STO's.
        Delivery creation
          call function 'SHP_VL10_DELIVERY_CREATE'
            exporting
              IF_LEDAT           = I_LFDAT
              IF_NUR_VORGABE_POS = YES
              IT_KEY_ENQUE_READ  = IT_KEY_ENQUE_READ
              IT_KOMDLGN         = IT_KOMDLGN
            changing
              CX_SD_ORDER        = XS_SD_ORDER
              CT_VBSK_ALL        = XT_VBSK_ALL
              CT_VBLS            = XT_VBLS
              CT_KEY_LATE        = XT_KEY_LATE.
    Message was edited by: Anurag Bankley

  • Bapi for creating Sales Area data on Relationship

    Hi,
    I am looking for BAPI for creating relationship between business partners with sales area data in CRM 5.0.
    Example - I would like to create relationship type CRMH03.
    Bapi BUPR_RELATIONSHIP_CREATE does not allow for maintaining sales area data (Sales org, distribution channel, division).
    Does anybody know such a bapi?
    Regards
    Radek

    hi
    try using these
    BAPI_BUPA_CREATE_FROM_DATA
    BAPI_BUPA_RELATIONSHIP_CREATE
    best regards
    ashish

Maybe you are looking for

  • How to Use Image Processor for Multiple Sizes

    I'm trying to use Image Processor to work on a folder of images and to create several sizes of .jpg's . I find an option to Save as JPEG in one size only. Is there any way to set up Image Processor to save JPEG to multiple sizes? Thanks in advance fo

  • Rollover animation and click combination problem

    Hey everyone....thanks in advance for the help I'm trying to edit an old Flash 8 in CS4, so I'm using AS2.0 My problem is I have a menu bar that animates on screen from left to right on load and then it animates and plays a sound on rollover. I can't

  • Onboard/discrete graphics not switching properly

    I have a 2010 15" MBP i7, and I very rarely can get the discrete graphics to engage. Even when using graphics-intensive processes the MBP would continue to use the intel board. I just installed gfxCardStatus, which does allow me to trigger onboard/di

  • Macbook Pro 17" Hi-Resolution LED widescreen  question

    I'm thinking about purchasing a Macbook Pro but I was wondering, is it worth spending the extra bucks for graphics and video on the 17" with Hi-Resolution LED widescreen or is the Hi-Resolution LED widescreen meant for HD playback?

  • Chaining firewire drives

    Ok not sure where to ask this so I'll start here. My Mac mini has the "square" firewire port which I connected that to a small "MiniMax" external. All is well, I see the MiniMax on my desktop. But how do I "chain" from the MiniMax now? I've plugged w