Variant Configurator : Value set by user or dependency ?
Hi,
How can i determine whether a value in a characteristic in the variant configurator is set by a user or by a dependency ?
with regards
Erik
Hi,
When a variant is created , inthat particular screen, theres an option
Whether it is cretd by user or system.
And table name is RSVAR
field is TRANSPORT
Thanks,
Shreya
Similar Messages
-
Make diffrence between values set by user and others by binding
Hello, I'm working with comboboxes. Selected Value is sometime set by user and somtimes set by bindings. I have to launch actions only when the selected value is set by user. Is there any possible way to do it? Thank a lot.
If the value selected is dependent from the value chosen by user and depending on other data at once
This sounds like you have one variable representing two distinct things; but maybe your requirements somehow necessitate this.
Here's what I meant. I have a background thread (using a Timeline) which changes the combo box randomly every two seconds. (This is a mockup of your requirement of it depending on another value.) The output to the console happens only if the user changes the combo box manually.
import java.util.Random;
import javafx.animation.Animation;
import javafx.animation.KeyFrame;
import javafx.animation.Timeline;
import javafx.application.Application;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.beans.value.ChangeListener;
import javafx.beans.value.ObservableValue;
import javafx.event.ActionEvent;
import javafx.event.EventHandler;
import javafx.scene.Scene;
import javafx.scene.control.ComboBox;
import javafx.scene.layout.StackPane;
import javafx.stage.Stage;
import javafx.util.Duration;
public class ComboBoxUpdateTest extends Application {
@Override
public void start(Stage primaryStage) {
final String[] values = { "One", "Two", "Three", "Four" };
final StringProperty value = new SimpleStringProperty();
final ComboBox<String> combo = new ComboBox<>();
combo.getItems().addAll(values);
value.addListener(new ChangeListener<String>() {
@Override
public void changed(ObservableValue<? extends String> observable,
String oldValue, String newValue) {
combo.setValue(newValue);
combo.valueProperty().addListener(new ChangeListener<String>() {
@Override
public void changed(ObservableValue<? extends String> observable,
String oldValue, String newValue) {
if (!newValue.equals(value.get())) {
System.out.printf("User changed combo box value from %s to %s%n", oldValue, newValue);
// Randomly change value every 2 seconds:
final Random rng = new Random();
Timeline timeline = new Timeline(new KeyFrame(Duration.seconds(2),
new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent event) {
value.set(values[rng.nextInt(values.length)]);
timeline.setCycleCount(Animation.INDEFINITE);
timeline.play();
StackPane root = new StackPane();
root.getChildren().add(combo);
primaryStage.setScene(new Scene(root, 300, 200));
primaryStage.show();
public static void main(String[] args) {
launch(args); -
PO EDI - How do I exclude a specific variant configuration value
Hello,
When sending POs via EDI we include our variant configuration values (segment E1CUCFG/E1CUVAL). There is one specific variant configuration we don't want to include as it's irrelevant to the vendor and keeps confusing them. We do need to send all the other variant configuration values. What would be the best way to do this?
Thank you,
MichaelNever mind, I found it.
MM06E001 / EXIT_SAPLEINM_013 allows me to modify E1CUVAL. -
Populating Variant COnfiguration value in ORDERS05
Hi,
I'm going to create Sales Order using ORDERS05 IDoc Type.Data coming from Non-SAP system consists of Variant Configuration data.I mean those data we have to place at the Item Level variant configuration area.Can anybody please tell me which segment I've to populate for the same? or if there is no segment for that then how we can achieve this........Is there any exit for the same?
Thanks in advance,
SarbajitHi Sarbajit,
There is a segment need to fill the structures XE1CUREF or XE1CUCFG (IDOC).For this pass characteristic name and it is values.In va01 if you seen it will pass description and it is value.I did this before and created order and quotation.
ORDER_CFGS_REG
POSEX 000010
CONFIG_ID 000001
ROOT_ID 000001
ORDER_CFGS_INST
CONFIG 000001
INST_ID 000001
OBJ_TYPE MARA
CLASS 300
OBJ_KEY CONFIG-MATERIAL
CONFIG_ID 000001
INST_ID 000001
CHARC 'TURRET'
VALUE 1.
pass in this way to three structures.These are mandatory to fill if you have any issues please post.
Regards,
Madhu. -
Set a User Status depending on System Status
Hi,
I would like to activate a user status of the sales document depending on the Rejection Status.
Do you know how this could be done?
Thanks
Edited by: mforman on Feb 25, 2011 11:54 AMI've created a Status Profile with the Object Types: Sales Order header and Sales Order item.
But I don't know which Business Transaction I should allow/set in order to get this status set once a rejection reason is assigned to an item.
Any suggestion? Or workaround?
Thanks -
SD Variant Configuration - characteristic value computation
Hi Everyone
Greetings from Vinod
i am creating a variant material which has 3 characteristics. out of the 3 characteristics, 2 are inputed by the user and the third characteristic needs to be populated with the difference of the 2 chatacteristic values that we have entered before. is there a standard setting that we have to maintain, or should we do a custom development on the same. the third characteristic value which is computed based on the difference of the precious two characteristic will then derive pricing of the variant material. please throw some suggestions and inputs in this discussion.Hi,
calculating values of characteristics is done with so-called dependencies.
In a dependency you can define the rule how a value should be calculated.
You have to create a class of class type 300 and assign your characteristics to this class.
Assign the class to a material of material type "Configurable Materials".
Open the material with transaction PMEVC (Modeling Environment for Variant Configuration).
There you maintain a dependency of type procedure.
The source code may look like this for your example:
$SELF.CHARACTERISTIC_3 = CHARACTERISTICS_1 - CHARACTERISTIC_2
You can find details for variant configuration on help.sap.com:
http://help.sap.com
-> SAP ERP
-> SAP ERP Central Component
-> Logistics
-> Logistics - General
-> Variant Configuration (LO-VC)
Details on transaction PMEVC (Modeling Environment for Variant Configuration):
http://help.sap.com
-> SAP ERP
-> SAP ERP Central Component
-> Logistics
-> Logistics - General
-> Variant Configuration (LO-VC)
-> Modeling Environment for Variant Configuration
Information on dependencies:
http://help.sap.com
-> SAP ERP
-> SAP ERP Central Component
-> Logistics
-> Logistics - General
-> Variant Configuration (LO-VC)
-> Dependencies
and
-> Dependency Syntax: General Rules
Best regards,
Sebastian -
Variant Configuration including Bitmap
Hi there,
we using often small bitmaps to show the customers a hint to the selected articles. The output of SD Order are sapscript forms and we solve this with include of an Bitmap in sapscript article description.
Now i try to include such a bitmap in a variant configuration. If the user select a value 1 of a Characteristic ist should print bitmap xx, if the user select value 2 of a Characteristic ist should print bitmap yy and so on.
Is anyone who had solve such a problem or know how could i realize this in sapscript.
Is there a possibility to define a variable in the characteristics value or in the maintaining dependencies of a value?
While processing the variant configuration table in sapscript (loop at tkomcon conf_out = tkomcon) this could be done by an if then else statement. But i don't like to process this on all variant articles. So i search for a solution to sove this in the article description/variant characteristics depending on a selected value.
Thanks for help
Karl MuellerHi
1) A configurable material , let us say can have 1000 of variants based on the characteristics combination. Out of these 1000 variants we will be interested to stock only a few variants . This could be say 10 or 20, and for these only, we need to create material variants. Actually this process is similar to the creation of 10 or 20 new materials..but here by selecting the characteristics, we are creating the materials which are known as material variants.
Hence we will not be creating material variants for all possible combinations
2) For the material variants that we created, we plan, produce & stock the required quantities.During SO creation we enter the specification ie characteristics combination given by the customer. In Sale order itself we can make the system to check whether a material/stock exist for the given characteristics combination and assign the promise date suitably.
Regards,
Ramasamy -
Copying Variant Configuration across sales order items
Hi,
We are working with SAP 4.7.
I have a requirement to default the variant configuration values entered within line 1 of the sales order entry process on to subsequent lines. i.e. defaulting initial values for the configuration.
Our users have to enter many variant line items on a sales order and within an individual order the variant characteristics will be very similar, therefore by defaulting these values to be the same as the previously entered line would be a considerable overhead saving.
However I am having difficulty accessing the variant values which have been entered in the first line item. I have looked at userexit_move_workarea_to_sdwa and userexit_get_field_from_sdcom, however I don't know if I am heading in the right direction. Any advice appreciated.
Thanks for your time.We are doing this with main-positions and subpositions. The sales clerk enters the main Position with all the characteristics, switches to the tab "Fast data entry" types in the main position, he wants to copy from and the material. There is a dependency which calls a function module which does the real work.
This works with 4.6B in 4.7 there is a psotion type global position which acts similiar.
Ok, now the code:
Dependency
pfunction Z_SD_WERTE_CHARACTERICS
(SD_VBAP_UEPOS = SD_VBAP_UEPOS,
STAERKE = $self.STAERKE,
BREITE = $self.BREITE)
/code
CALL FUNCTION 'Z_SD_INHERITANCE'
EXPORTING
GLOBALS = globals
TABLES
QUERY = query
MATCH = match
EXCEPTIONS
FAIL = 1
INTERNAL_ERROR = 2
OTHERS = 3
/code
Z_SD_INHERITANCE
DATA: h_uepos LIKE vbap-uepos.
DATA: x_values TYPE ibco2_value_rec OCCURS 0 WITH HEADER LINE.
FIELD-SYMBOLS:
-values.
ENDLOOP.
ENDIF.
*-- Ausgabeverarbeitung
LOOP AT match WHERE atcio = 'O'.
*-- Konvertierung ATINN auf ATNAM
SELECT SINGLE * FROM cabn WHERE atnam = match-varnam.
CHECK sy-subrc EQ '0'.
READ TABLE x_values WITH KEY atinn = cabn-atinn.
IF sy-subrc IS INITIAL AND
NOT x_values-atwrt IS INITIAL.
match-atwrt = x_values-atwrt.
ELSEIF sy-subrc IS INITIAL AND
NOT x_values-atflv IS INITIAL.
match-atflv = x_values-atflv.
ENDIF.
match-atfor = cabn-atfor.
MODIFY match.
ENDLOOP.
ENDFUNCTION.
/code
Kind regards
Matthias Kabel -
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
RajibHi,
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 -
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,
mhreddyHi,
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 -
Varying the values in drop-down
Hi All,
We have created a report to display certain data using object oriented ALV. In the display, drop-down help is provided for one column.
Now, I want to vary the values in the dropdown help depending on certain criteria.
Is it possible?
Thanks,
Supriya.hi,
go through the given below link..
link:[https://www.sdn.sap.com/irj/scn/wiki?path=/display/snippets/dropdowns%252bin%252balv]
hope this help you..
Regards
Ritesh J -
Hi,
I have an issue where I want to add a descriptive flexfield. The flexfield should be added in an existing hierarchy that consists of 3 fields:
1. Category
2. Type
3. Priority
All the flexfields have value sets connected to them. Type is dependent of the values you have choosen in Category.
The setup looks like this today:
Category - Value set XXCategory - Independent
Type - Value set XXType - Dependent (.. of Category)
Priority - Value Set XXPriority- Independent
After the new field is added the hierarchy should be like this
1. Category
2. Type
3. Cause (new)
4. Priority
Cause should be dependent of Type (that is dependent of Category). The problem is that I can not set up a value set that is both dependent of something and master of something else.
Does somebody have any suggestions on how to address this issue?
BR DanielHi,
One possibility could be to make a value set using type "Table" attached to cause segment. This will be restrict values according to what you want. But the inconvenient is that the table has be created and maintained.
Jérôme. -
Variant Configuration and pricing in a Sales Order
Hi,
I have been successful in updating variant configuration for a sales order using the function modules 'BAPI_SALESORDER_CREATEFROMDAT2' to create the sales order and 'BAPI_SALESORDER_CHANGE' to add the variant configuration characteristics on a configurable material.
The issue I am having is that if I don't add the configuration values for pricing the pricing will not automatically update.
I have tried using function module 'CE_C_PROCESSING' to update the pricing after calling BAPI_SALESORDER_CHANGE without success.
Is there anyway to get the pricing to automatically update without adding the variant configuration values related to pricing?
Any help would be appreciated.
DerickHi Derick,
We are trying to create a sales order with a configurable item using 'BAPI_SALESORDER_CREATEFROMDAT2' and the issue that we are facing is we are getting the sales order but the configuration values are not getting populated.
Could you please guide us on how to pass the configuration data to the BAPI to create a sales order with configuration values?
Any help would be highly appreciated.
Thanks...
Abeehs -
ATP Check for Components for Variant Configuration
Hi Gurus,
Does it exist a way to perform the ATP Check for components (in variant configuration) like in a test?
I mean, I know that when I create a SO (with the correct settings) the system will perform the ATP Check for components (Missing parts list). But is it possible to do this without trying to create the SO? Maybe a tcode as CU50 or PMEVC where I could enter the variant configuration values, then it explodes the BOM and do the ATP Check (as a simulation).
Thanks in advance.
Best regards.Hi Christopher,
If you enable the "Component Availability" within your configuration profile (under Confign initial screen, Confign Parameters), then you will see an additional option within CU50 while configuring. By pressing this button, you can see an availability check as of the date specified on the CU50 initial screen. You can also modify the quantity on the CU50 initial screen for a more realistic simulation of a sales order (where a customer may order more than one of a product). See screenshots below:
In CU42:
In Value Assignment of CU50:
Hope this helps! -
VC Variant Configurator SD; changing values by FM 'CUOV* '
Hi everybody,
It appears me some troubles with VC when I try to set value for particular feature again.
I have inconsistency fault when I try to change the value by calling FM 'CUOV_SET_FUNCTION_ARGUMENT' from configuration profile but it was set manually by user first (in standard VC window).
Both values of feature are correct (old and new).
Error looks like :
E: Inconsistent values inferred for characteristic (here is number of characteristic)
and next in details:
The following values are incompatible with each other:
(here is old value)
(here is new value)
Let me also know you, that this inconsistency problem exits in case when I try to overwrite feature value by FM I mentioned, and this value was set manually first only ( VC window)
If I try to owerwrite the feature manually (using the same value) - there is OK.
I suppose, I should in "any way " clear values which was set manually first, or change "something" in SAP Variant Configurator what let me change priority and allows overwrite value by FM which was set first manually ( in VC window) . But I have no idea how to do it...
I will be gratefull for any hints.
Thanks & Regards
TomasStandard SAP does not let you overwrite a value that is flagged as "Set by User". We had a similar requirement where we had to force a user-entered value to be deleted and replace it with a calculated value. To get around the issue, we copied the code from FM CUPR_DEL_VAL, which deletes values set by procedure, into our own FM called Z_VC_CUPR_DEL_VAL. In our version of the code we inserted a couple of statemtents that delete both user-entered values and values that were set as a default.
The great part about this mod was that we didn't even have to create our copy of the module inside of the CUPR function group. It worked fine if we just created in one of our custom function groups.
These were the lines we added to the end of the module after we copied:
KNTYPE = 'DI'.
PERFORM DDB_DEL_VALS_BY_KNTYPE(SAPLCUDB) USING INSTANCE ICABN-ATINN
RFLAG KNTYPE RESULT.
KNTYPE = 'SF'.
PERFORM DDB_DEL_VALS_BY_KNTYPE(SAPLCUDB) USING INSTANCE ICABN-ATINN
RFLAG KNTYPE RESULT.
Maybe you are looking for
-
Aperture 2.0 - Big deal?
I just finished looking at the new features video and reading the hype about Aperture 2.0. Is it truly faster? By how much and on what machines? The iPhoto features are 'nice' but hardly anything to write home about. I was really hoping for some more
-
Hi, I created a PO for a service. If a don't set a ModeOfTrnsprt-Border and DomestModeOfTransp. at header level, Import view, system when I execute trx MEIS always shows the PO in the Incompletion log. At header level of the PO if ModeOfTrnsprt-Borde
-
I am trying to set the account so that there is no credit card associated with it. Anyone know how to do this
-
Field catalog issue using REUSE_ALV_FIELDCATALOG_MERGE
Hello experts, I am using FM REUSE_ALV_FIELDCATALOG_MERGE and the field catalog is created fron the program. The field catalog finds the date field from the program but my internal table has been changed to make the date output YYYY/MM/DD. When I inp
-
ANNOUNCE: JSF Summit 2009: New Workshops and Sessions
We're less than two months away from the 2nd annual JSF Summit conference, co-sponsored by JSFCentral and the No Fluff Just Stuff Symposiums. The conference will take place December 1st-4th in warm, sunny Orlando, FL. We already have an all-star line