Variant Configuration on Sales order
Hi guys,
Our users should be able to create sales orders from a webdypro screen using standard "variable configuration".
I am looking for ideas on how to integrate/transfer the beck-end "variable configuration" to the dynpro screen?
Please advice,
Thanks!
You are talking about Variant Configurator - as in configuration of the product at Sales Order entry time - and not some Web Dynpro specific personalization/configuration - right? If so, for questions about what application specific APIs you should call, you really need to ask those in other forums. Perhaps the ERP or ABAP general forum you would reach a wider audience because that question really isn't WDA specific. Have you checked the Enterprise Service for Sales Orders?
I know that the WDA version of Sales Order Entry (L_ORD_MAINTAIN) doesn't yet support Variant Configuration of products. Therefore there may not be good APIs yet. I know that Variant Configuration is rather complex because you are basically building meta data that controls the screen generation for the configuration options.
>How do we controll the "flow" logic
What do you mean by this?
Similar Messages
-
Material Variant configuration in sales order line item from Ztable
Hello Experts,
we have configurable material and and creating sales order. from sales order line item if we goto configuration we can maintain variant configurations. My requirement is that when i click on configuration after selecting a line item i need to check ztable where i have material no and and relable text. if an entry exists i have to populate this relable text in one of the configuration filed. Can any one help how can i read and update configuration in sales order level and where to do this coding so that when i click on configuration the value from ztable populated in a field.
Many thanks in advance.Hi Senthil,
It is simple.
When you create a characteristic which should have the value maintained in the Z table, go to the tab values. Here you have a push button called "Other Value check". Here you click this button and select the function module option. Now, in the window, you will have a place where you can mention the name of teh function module.
You create a function module with the help of your developer to find out the text maintained in the Z table using teh rules you have in your mind and update that logic in the characteristic. In the earlier screen, you just have to mention the name of the function module, thats all, your work is done.
Now when you configure, for this characteristic, the value will be automatically determined using teh function module. You have to create such characteristics as "Not ready for input" ones in additional data for which you cannot enter values manually.
Hope this helps. -
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 -
Variant configuration with Sales order?
Dear SAPIENTS,
I require variant configuration scenario in case of sales order, batch mangement, MRP, production order.
Regards,
Kaushal Rai
Edited by: Kaushal Rai on Feb 27, 2009 2:06 PMDear,
Follow these steps.
1. Create the Characteristics in CT04.
2. Create the Class in CL02. (Class type 300)
3. Assign the characteristics to the above created class.
4. Create the material (Product) in MM01 with material type KMAT.
5. Assign the Class created in Step 2 to Classification view of Material.
6. Create the configuration Profile in CU41. to the necessary setting to in it.
7. Write the dependencies (Precondition, sele, procedure) in CU01.and Create Dependency net in CU21.
8. Assign sele, procedure, Dependency net in Configuration Profile.
9. Assign Preconditons to Chracteristics or Char values in Class.
10. Check the model in CU50. whether your depencies or working file or not.
11. Create the Supr BOM and Super Routing and attach the dependences in the respective and check whether your bom components and required operations are picking or not in CU50.
12. VK11 - Enter VA00 (Condition) For Std RVA001 Pricing Procedure.
Please refer this thread,
variant configuration
http://www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm
Regards,
R.Brahmankar -
Which progrom is used to calculate price of variant config in sales order
Hi Guys,
Normally VA01 calls function module "PRICING" to calculate the pricing, i can set breakpoint to track it step by step.
But when i test variant configuration in sales order, even though i set breakpoint in function module "PRICING", it doesn't stop at the point. it seems that VA01 calls another function module. Does anyone know it?Maybe there is unknow problem in our system to make the break-point unavailable. Today i re-check it. It's OK.
In FM PRICING, There is a form named 'xkomv_aufbauen_aus_komt1' to add the variant condition by looping the variant attribute table XVCKEY into table XKOMV. -
How to set "Configuration Variant" for a sales order item using function
Hello All,
I use function module 'SD_SALES_DOCU_MAINTAIN' to create Customer Indep. Requirements but how to set "Configuration Variant" for a sales order item.
Is their any idea or sample code?Hi Zhijun zhang,
<u>http://help.sap.com/saphelp_nw2004s/helpdata/en/c0/98038ce58611d194cc00a0c94260a5/content.htm</u>
<u>http://help.sap.com/saphelp_nw04/helpdata/en/c0/980374e58611d194cc00a0c94260a5/content.htm</u>
A variant is simply an SAP report where the parameters for running the report have been set by the user and then saved with unique name. This allows future retrieval and execution of the report faster without reentering the parameters. As a convention the variant name should start with with the digits 50 so searchs for LHU variants is easier and quicker.
The first link will guide you by screen shot wise.
Award points if it adds information.
Thanks
Mohan -
Configuration for Sales Order Tabs
Hi Gurus,
I want to configure the sales order screens in such a way that the end user must be restricted to view the tabs such as say for example Partner Functions tabs?
How to do the above configuration?
regards,
Saroshhi,
To make optional / mandatory you can use in IMG - S&D-> Basic > Functions-> Log of incomplete Procedures => select the fields > from the tables and the system will check for them (OVA2/VUA2)
To make a filed entry enabled or grey (non-entry allowed):
User exits in the program MV45AFZZ-USEREXIT_FIELD_MODIFICATION
This user exit can be used to modify the attributes of the screen fields.
To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP.
If a field has no field name, it cannot be allocated to a group. The usage of the field groups (modification group 1-4) is as follows:
Modification group 1: Automatic modification with transaction MFAW
Modification group 2: It contains 'LOO' for step loop fields
Modification group 3: For modifications which depend on check tables or on other fixed information
Modification group 4: is not used
The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit. This FORM routine is called up by the module FELDAUSWAHL.
Actually suppressing fielding sales orders userwise is quite easy. We are doing it in our company. For this we use userexit FORM USEREXIT_FIELD_MODIFICATION in MV45AFZZ.
Below is the sample code
IF SCREEN-NAME = 'VBKD-ABSSC'.
AUTHORITY-CHECK OBJECT 'ZMV45AFZZ' ID 'SCRFNAME' FIELD SCREEN-NAME.
IF sy-subrc = 0.
SCREEN-INPUT = 1.
else.
SCREEN-INPUT = 0.
ENDIF.
endif.
You place the authority check object in authorization profile in the role of the users, who should have access to the field (in this case it is VBKD-ABSSC), and there assign the corresponding fields that are to be accessed via this userexit.
pls reward points if the answer is helpful
REgards,
Murali
Message was edited by:
murali reddy -
Two Transaction Variants to one sales order type
I want to assign two different transaction variants to one sales order type.
Scenerio is this that i want to show billing block filed for order type "cr" for user SD1 in display mode and same filed for order type "cr" in changeable mode for usr SD_manager
thanks in advanceHi
Instead of going with Transaction variants go with Authorization check , so that your requirement can be fulfilled , say if document type CR is in display mode then give authorization to release the billing block. But if the document type CR is in change mode then give the authorization change mode . Then your requirement can be fulfilled.
Regards
Srinath -
Material variant replacement in sales order for Configurable Material
HI
I am using variant configuration. In this i have created material A as configurable material and have Preconfigured Material B as its variant by assigning configurable material in MRP 3 view.
Now when i am creating Order for material A i.e. Configurable material and the characteristics values are same as that of Preconfigured material system is not replacing Configurable material with Preconfigured material.
Please help me out.
Regards,
Anand.Even after maintaining the item category MTAC(Mills Make to order config at mat level), the configurable material is not getting replaced in the sales order (va02). It is just showing material variant exists for the configurable material.
The setting in item category for configuration is.
Config. Strategy 01(Sales Order Strategy (TAC, TAM))
Mat. Variant Action 4 (Replace configurable material (Append and change))
ATP material variant 2 (Do not substitute if not completely available)
Structure scope D (Configuration, poss. with BOM explosion)
I have maintained the stock for material variant as well to take care of ATP material varinat setting shown above.
Please suggest if missing something. -
Material Variant Matching in Sales Order Creation with ref.to Sales Order
Hi All,
We are working in Variant configuration.Our product is defined at PQD(Product, Quality & Dimension).
But, Sales Contracts are created at PQ (Product, Quality/Grade ) level only.
We have defined Variant Characteristics GRADE(ALLOY CODE),DIMENSION AND TWO MATERIALS.
MAT 1 , configurable material.
MAT 2, A Material Variant of MAT 1, Having values of GRADE = A & DIMENSION = 150 in MRP 3 view of the same.
When a Sales Order is created for MAT 1 and its characteristics values are GRADE = A, DIMENSION = 150, Material Variant type matching happens & it replaces the configurable material.
Similarly,Sales Contract is created for Configurable material MAT 1, with only GRADE = A ( As mentioned above, only quality is known at contract creation level).But, when we are trying to creart a Sales Order with reference to this Contract, we are trying to punch characteristic Value for DIMENSION = 150 also. At this stage, Materuial Variant MAT 2 is shown, but it is not replacing MAT 1.
Is this the standard behaviour or there is some solution/enhancement available.
regards,
StutiDear Vijay,
in incompletion procedure we can arrange to check whether any field is empty, here data comparison is not possible.
As far as I know you can not achieve this through standard config.
To achieve your requirement, you will need to take help of an ABAPer, it can be achieved using Userexit.
ABAPer can use include MV45AFZZ
and Userexit ""USEREXIT_SAVE_DOCUMENT".
the code written in this userexit will check and compare the quantities before saving the dcument.
Logic if quantity enter is greater than the quantity mentioned in Contract show warning Message.
I hope this solves your Problem.
Regards,
Paresh -
ITEM DETAILS: CONFIGURATION in sales order
Dear guru,
In the sale order if we want to see the variant configuration details for a particular line item then after selecting the line item we press
the ITEM DETAILS: CONFIGURATION icon. Once we press this icon then the system will take us to a display characteristic value screen where we
can see the configuration details of that particular line item. But now in PRODUCTION SYSTEM we are not finding any value for a variant
configuration material in the sale order display characteristic value screen, eventhough it is maintained in the material master MRP3 view.
But in deveploment client it is showing correctly.
Pl. suggestGet with the VC person and have them move all the model details to PRD
-
Copy variant characteristics from Sales Order/Item to Production Order
Dear All,
I have a requirement wherein I have to copy variant characteristics fromSales Order/Item to Production Order. In this regard I was looking at Enhancement "CLFM0002". Is it possible to copy the variant characteristics automatically from the Sales Order/Item to Production Order?
Thanks,
Pravat.Pravant,
If you are implementing Variant Configuration, or using configurable material in that case you will have to maintain
Characteristics in CT04
Classes in CL02
Configuration Profile CU41
The material that you are mentioning must have class and charcteristics activated or mentioned in material master. undre classification view. In production you maintain Configurable material BOM we will be using the same material
Regards
Sathya -
Variant pricing in Sales order and Purchase Order for same Config material.
Hi,
I am stuck to a point wherein the varaint pricing is working either in Saler Order or in Purchase Order.
The issue is that the Variant Condition Characteristics 'VARCONDMM' has MMCOM and VKOND in additional tab and in the multiple selection active (arrow) I have maintained SDCOM and VKOND.
SO the variant pricing is active at the time of PO creation when 'VARCONDMM' is used and not at the time of SO creation.
So I created Variant Condition Characteristics 'VARCONDSD' has SDCOM and VKOND in additional tab and in the multiple selection active (arrow) I have maintained MMCOM and VKOND. and changed the dependencies accordingly for other characteristics.
Then the variant pricing is active at the time of SO creation when 'VARCONDSD' is used and not at the time of PO creation.
Any positive/quick inputs are highly appreciated.
Regards,
AbhilashHi,
did you check the code in dependency editor of the dependencies..? do they match between your previous system and new one?
Regards,
Raghu. -
BOM and Material Configuration and Sales order..
hi,
in my requirement, i am supposed to create a project automatically based on sales order..
additional requirement is that material components on the project are based on the the selections during the sales order creation
(for example if customer chooses tiles instead of vinyl flooring then materials for tiles will be selected automaticall)
i maintained reference points in my BOM and in the standard network activities.
i also maintained the class and characteristics of the material..
the missing part i believe lies in the dependency being set for the BOM. example:
=if floortype='vinyl' then get BOM_floortype..
how to configure/set up that scenario? i cant seem to find the link between characteristic selection and output of selected BOM.
Thanks in advance.Dear ramesh,
If it possible...can u explain...regarding
(i also maintained the class and characteristics of the material..
the missing part i believe lies in the dependency being set for the BOM. example:
=if floortype='vinyl' then get BOM_floortype..
how to configure/set up that scenario? i cant seem to find the link between characteristic selection and output of selected BOM.)
Regards
chandra -
Screen variant for Create Sales order
Friends,
I intended to make one of the fileds mandatory for a sales doc type. For which I made a new screen variant wherein I changed a setting for the reqd field and then assigned to a new transaction variant. This transaction variant would be then assigned to the doc type.
While testing for the screen variant it behaves perfect. While testing for the transaction variant (which has the screen variant as included) I am not getting the desired response.
Request advise on where I am missing out. Thanks in advance.
Regards,
TariqHello Tariq,
try to maintain "NO_VARIANT" for field "Variant" in transaction VOV8 for the used sales order type. Then it should work.
Best regards,
Joerg
Maybe you are looking for
-
Unable to load iLife 11 on MacMini after upgrading to OS 10.6
I bought the combo pack to upgrade two computers. Upgrading the MacBook from 10.5 went smoothly as did adding ILife and iWork. Now I'm working on the MacMini. Upgraded the OS from 10.4. Installed iWork easily but can't do iLife. I get a message
-
A few questions about my zen micro
Hi! Just a few things - firstly, my zen battery runs out INCREDIBLY quickly. I leave it to charge until full, use it for 5 mins or so and then turn it off and leave it. A few days later, when i turn it on, it has one bar of battery left! Does anyone
-
How to disable the sound on all computers - Unix Command?
Does anyone know the Unix Shell command for "output muted"?
-
I last purchased product at the release of cs3 and was not allowed to register the software 'because I had had it too long' ... yes, I had several episodes with the Big C and Adobe didn't honour their sale obligations ... should take the case to the
-
Automatically Tagged the PDF files Created from Templates
I have some PDF templates which have texts, fields, table, or lines in it. They are made accessible by tagging manually and creating special reading order when press tab through the pages. After run a program which uses Adobe FdfApp and FdfDoc object