cancel
Showing results for 
Search instead for 
Did you mean: 

Variant Configuration

Former Member
0 Kudos

Dear Experts,

I have a problem on Variant Configuration. There seems to be that I've missed out something, an exit maybe as the price isn't coming out in the sales order.

Here's what I have done, I've created the following:

1. Characteristic à CT04

2. Classification, assign characteristic in it à CL02

3. Created Dependency à CU01

4. Created Configurable Profileà CU41

5. Create Table + assign Characteristics à CU61

6. Table Maintenance à CU60

7. Create Conditions  VK11

I noticed that when I create the SO, the price isnt coming out, so I modified the characteristics to further test. Under CT04, I removed temporarily the "Not Ready for Input" check box.

So this allows me to add values in SO, when the screen pop up for the characteristics. Now the price and conditions are all populating.

But the problem is, these characteristics are suppose to be auto populating in SO, once a certain combination is set. Could it be I have not run transaction CU59 > I'm getting an error "No database table is assigned to variant table". Even when I add in a database table for instance SDCOM, it makes no difference, same error.

Can anyone please assist as to what have I not done. Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

1.For your variant condition characteristics maitain the below entry:

Table: SDCOM

Field:VKOND

Not ready for input = check

Assign the characteristics to you class.

2.Define variant key through t-cde VK30

3.Create condition record (VK11) using variant key.

3. Create a dependency of the type u2018Proceduresu2019 with below syntax.

4.Syntax :- $Self.<Pricing characteristic> = u2018<Variant Key>u2019 IF <characteristic> = u2018<characteristic value>u2019

5.Assign this dependency to the configuration profile.

Hope it will work!!!

Regards,

Sumit

Former Member
0 Kudos

sorry this doesn't work. my dependency code is quite extensive, about 1000 lines long. We're migrating a system did a table copy for these tables due to the codes involved.

Every other master data mentioned above has been created. Only problem now, the price is not coming out. Anyone knows a list of any standard function modules for variant pricing or user exits which may be helpful?

We have also compared the codes with the help of our abaper.

Former Member
0 Kudos

Hi,

Can You check

USEREXIT_PRICING_PREPARE_TKOMK ;USEREXIT_PRICING_PREPARE_TKOMP

Regards

Ashu

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi

1 As Sumit had mentioed variant price called from the structred table mentioned in Char additioanl tab. (SDCOM VKOND)

2. And also mentioned by u that u r using variant Table in dependencies.

Please check the both variant keys used by consultant for VK11 condition record

both should be same as define in VK30.

3. In Cu60 check the same variant keys are maintain if same has to be called from VK11.

I Suggest that dont required CU59 run as u r using the Fm for data transfer for server migration

Hope this will solve the problem.

Thanx & Regards

Prashant S

Former Member
0 Kudos

I have actually done all these. My dependency is about 1000 lines long. Anyway figured the problem, it has got smtg to do with the codes not compiling in CUEX table. Its done.

Thanks for the help anyway.

Former Member
0 Kudos

Solved

former_member183879
Active Contributor
0 Kudos

Hi Phillipx,

If you can update how the issue was solved, it will be helpful for others too

Former Member
0 Kudos

In my previous post, CUEX table had to be compiled.

0 Kudos

Can you help me how I can find the corresponding database table for a variant table. I want to get the data that I see in CU60.

I checked the CUBTAB table but it does not show the corresponding database table name. Is anything missing in this case?

Please help me in this matter.

Thank You.

Regards,

Aparna Alashe.