2006 Dec 26 6:10 AM
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.
2006 Dec 27 6:45 AM
Hi Shikha,
Try the func mod.:
CUD3_TABLE_CLUSTER_GENERATE
Regards,
Reema
2006 Dec 29 6:21 AM
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.
2008 May 07 10:22 PM
Hi,
I'm stuck in the same scenario as you were.
I need to load "Variant Tables" and maintain the structure and assign characteristics and key field to it(as we do in CU61).
Can you please help me?
2008 Aug 04 2:14 PM
hello friends..
i am also stuck with the same problem. please anyone can tell us how to find BAPI for creating variant table.
-Shweta
2010 Sep 08 4:32 PM
You may like to try CAMA_TABLE_MAINTAIN_ENTRIES or CAMA_TABLE_MAINTAIN_STRUCTURE
2010 Nov 23 6:25 AM
CU60E is standard SAP TCODE that can upload variant table from text file. It should be what you looking for.