Regarding Variants
Hi,
I want to schedule an ABAP report program, the selection screen inputs are in a Z table, is it possible to change the value of variant so that report gets executed for each record selected from a Z table.
Thanks,
Sai.
Hi,
I want to schedule an ABAP report program, the selection screen inputs are in a Z table, is it possible to change the value of variant so that report gets executed for each record selected from a Z table.
Thanks,
Sai.
Similar Messages
-
Regarding Variant Configration
Dear All
Hi My self Mandar Sathe a recent new comer in SAP field in PP module. I am having a query regarding Variant Configration. I am having a product FERT with a code. Say a Lock that can be sold in different finish with Different mechanisms and with different key options to be specific
consider a Navtal lock this Lock can be sold with 2 keys 3 keys and more having produced with different mechanism in different colour shades so i want to configre the same FERT using Variant Configration so at the time of producing the same it will ask me combination of Number of Keys Finish and Mechanism. How to configure the same using Variant Configration Method.
Now i have defined the material as configrable matrial I have defined a class and characterstics but not able to simulate them to get end result so pls guide me also if anybody has the documents regarding the same pls
Thanks & Regards
Mandar Sathe
SAP PP consultant ( L ) L is learningMandar,
basically selection condition is used to select a item from BOM , like on item 0010 MATR10 is present and you want to select this material when the characterstic value is RED for characterstic COLOUR ,then you need top assign selection condition
$self.COLOUR = 'RED'
Precondtionas are used to hide available values of characterstics or characterstics it self depends upon the previous selection of values.
like in some products some restrictions are there like, Car with red colur is not availabe with automatic transmission, so in suct case for the characterstic TRANSMISSION preconduitons can be written as
$SELF.COLOUR NA RED
procedure are used for selection things depends upon previous selection of values, it can also be used for adding or deleting quantitys etc.
Procedures can overwrite default values that are set by other procedures.
$SET_DEFAULT ($SELF, <characteristic>, <term>)
A configurable material has characteristics COLOR and PRESSURE. The following procedures are allocated to the configuration profile of the material.
0010 $SELF.COLOR = u2018GREENu2019 IF PRESSURE >= 10
0020 $SELF.COLOR = u2018YELLOWu2019 IF PRESSURE >= 50
0030 $SELF.COLOR = u2018REDu2019 IF PRESSURE >= 100
The sort sequence ensures that pressure greater than or equal to 100 always sets the color u2018redu2019
Check it out and revert back.
regards
Ritesh -
Regarding variant function module in alv
hi,
could any body tell about the function modules
reuse_alv_variant_default_get
reuse_alv_variant_f4
reuse_alv_variant_existence
and how to use it.(by giving an example program)
Regards,
Pavan.reuse_alv_variant_default_get - Provides the default variant for the list specified in the structure parameter CS_VARIANT of a program.
reuse_alv_variant_f4 - Display variant selection dialog box. Possible entries help, if the variant is defined explicitly as an input field on a screen. The selection must be specified by at least partially filling the parameter structure IS_VARIANT.
reuse_alv_variant_existence - This function module checks the existence in the database of a display variant passed in the interface.
Check the Link for Example REUSE_ALV_VARIANT_F4' how to use it when we iuse it
Kanagaraja L
Edited by: Kanagaraja Lokanathan on Jan 17, 2008 5:39 AM -
Regarding Variants for Background jobs
Hi Folks
Can you please let me know the procedure how we can create the variants for Background jobs.
Points are assured for correct answers.
Regards,
kumarHi Sree Ram,
Check this info.
If you have any selection screen parameters for your program you need to enter the values for those fields in runtime. So, if you schedule your program in background to execute then there is no one to do this job. Here comes the concept of Variant.
With variant you define what are the selection field values in the runtime. During runtime the program picks this values and runs the program.
When you execute your program which has selection fields, you enter the values and then you click on 'GO TO ' tab and 'SAVE AS VARIANT'.
When you schedule your program in background, give this variant also. Then it will run automatically.
Hope this resolves your query.
Reward all the helpful answers.
Regards -
Hi ,
Is variant client dependent or independent ?
Best Regards
Chandrika.Hi Sarath!
Variants are client-depended.
You can browse this link:
http://help.sap.com/saphelp_47x200/helpdata/en/c0/980374e58611d194cc00a0c94260a5/frameset.htm
Regards,
Pavel Aleshko -
Hi everybody,
we have a scenario where we are manufacturing a KMAT; X and using it as a bom item in KMAT Y.
Eventhough X is a KMAT we are maintaining stock. So my question is can we define X as a stockable KMAT under the the bill for Y ?
When i configure the material Y in sales order i dont configure X as i was maintaining stock for it.
any body dealt with this scenario?
Thanks in advance,
srikanthHi Kanth,
Check the link below.
This will provide full knowledge on variant configuration.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
Reward points if it helps.
Regards
Karan -
Hi all,
I have a requirement to create variant for a program through another program..
If any body has sample code to create variant kindly pass .
With Regards
AnandHi Anand,
just go through the below link..
http://help.sap.com/saphelp_nw04/helpdata/en/c0/980389e58611d194cc00a0c94260a5/content.htm
Thanks
Ashu -
Hi Guru(s),
For example i am having 3 variants for my Z-report ,
i.e, a,b,c.
i want know that after selecting any one from these 3 i want see them in z-report in start-of-selection.
Does any function module or any system varible is these for variant ..,What you can do is put a parameter (p_variant) in the selection screen which will hold the value such as 1,2, 3 and it is not displayed in the screen(hide it).
Moment you save the variant....this particular parameter having a value is also saved.
You can populate the value of this parameter in the AT SELECTION-SCREEN event which will be triggered when you click the save button.
In the START-OF-SELECTION, you need to put a CASE statement
CASE p_varinat
WHEN '1'.
WHEN '2'. etc....
and do the procesing.
I hope that this logic helps you.........
If you get to know about any sytem variable or function module which will give you variant details....please let me know.
Edited by: Vin on Oct 31, 2008 11:31 AM--- A few spelling mistakes -
Multiple Variant pricing conditions in a Pricing Procedure
Hi,
I have a scenario regarding variant configuration pricing in a sale order. I need to attach multiple pricing condition like VA00 in my pricing procedure .
A material M1 has many characteristics under the category Basic and Special for example.
Under Basic I have the following characteritics and its respective values maintained in VK11
B001- Basic Spec 1 USD 100
B002- Basic Spec 2 USD 200
B003- Basic Spec 3 USD 300
Likewise under special category ,
S001- Special Spec 1- USD 500
S002- Special Spec 2- USD 1000
In the pricing procedure the varaint condition VA00 will carry the price of the characteristics. My requirement is as follows
1. The prices of the Basic spec should be added first and later the special spec
VA00- Basic Spec 1 100
VA00- Basic Spec 2 200
VA00- Basic Spec 3 300
Sub total Basic spec Value 600
VA00 Special Spec 1 500
total basic and special spec - 1100
The problem I faced in the above format was that the pricing procedure will allow only one entry of VA00. To over come that I copied the condition VA00 and named a new one, for e.g, ZVSP.
Now when I use the condition ZVSP, it does not fetch the values like VA00.
Could any one suggest a method in which I can introduce varaint conditions in multiple levels in a pricing procedure.
Thanks and regards
RasheedHi,
When you copied the VA00 condition type, did you also copy the associated access sequences? Your new condition type should have an access sequence with an access that transfers the value of the doc. field KOMP-VARCOND into the condition VARCOND; use transaction V/07 to check this.
Regards, Jesper -
Variants on Price Definitions - Please Help
Variants is a new topic that I am not familiar with.
Can anyone send me some documentation regarding variants on Price Definitions ?
My email is [email protected]
MarcoHi
Variant Configuration is a tool which helps to simplify th complex manufacturingof final products with more variants and variationof the input material.
The Manufacturer always has to offer new variants of its Products
Example :
Take any Bike lets say in our example i am taking Honda CBZ
we know that Honda has come up with 150 CC bike and 180 CC bike and 300 CC bike. With Different Colors. Here we are Engine CC and Color as variants
As CC of engine grows so as Price of the Bike.
Engine Price
150 CC 8000
180 CC 10000
300 CC 15000
Color Price
Black 10000
Green 20000
Red 25000
Often by modifying the existing Product Variants. We create the New variants as we process the order. So that we can react quickly to the customer Requirements.
Step 1
Characterstics :
In our example we are taking Engine and Colour as Characterstics and 150cc,180cc,300cc, are variants of Engine
Red,Green,Black are variants of Color
when we create sales order for Configurable Material,That Sales Order must describe Precisely how the product being ordered has to look. This Desciption always comes from the characterstics and corresponding Values
We Use Characterstics to define the features of the configurable MAterial so that the customer can choose from the different options of the characterstics (i.e Characterstic Values nothing but Variants )
To creat Characterstics CT04 - Create two charaters as Engine & Color
Action 1 : Specify the characterstic name and select the icon Create
Select the tab Page Basic Data
Action 2 : Specify the Description
The status must be released
Data type : specify the data type as chracter - Format
Number of Character give it as 10 :
In the "Value assignment" Section of Basic data specify as single if it is Single level or Multiple if it Multiple Values. But for our example it is Simple.
Action 3 :
Select the Tab Page Values and Enter the required Value.
In our example it is 150 CC,180 CCand 300CC for engine character.
Red,Green,Black for color Character
Step 2 : Creating Class CL02 Creat one class as BIKE two bind two characters.
iN VARIANT CONFIGURATION a class is used to hold to Charactestics together that describes Material.
BY linking class to the material we allow the material to be configured in the sales Order by using thecharactestics of the Class
In variant configuration we can only use a class if that class has to a class type that supports variant Configuration. In the standard SAP system The class type for Variant configuration is 300
CL01 create
Action : 1
Specify the required class "Bike"
Enter the class type 300
and select the icon create
Action 2
On the basic data view
specify the Description
and status must be released
Action 3
Select the view Chracterstics and Enter the Created characterstics I.e Engine and color
Step 3 :
Creating the material master : MM01
the material type is KMAT (configurable Material)
when you are creating material for Variant configuration select the view Basic Data, classification,slaes oranisation 1 and 2 and Sales Geral/plant and MRP .
Note : While creating material in Basic Data tab at the lower section in CM relevance field Give the Value 1 Relavent for configuration Management
We have to assign the "Class" to the material in the View classification
The Item category Group is Either 0002 or 0004
Enter the reqwuired data and save the material
Step : 4
Configuration Profile :
we maintain the configuration profile for theConfigurable Objects to define the central settings for configurating the objects.
Creating Configuration Profile
CU41- Create
Select the Object Material
Enter the required material(Honda)
Create the profile by specifing the Class Type 300
Select the created profile and the icon "Profile Detail"
We can maintain all the central settings on the view Configuration intial screen and save it
Step : 5 Dependencies
The dependencies descibe the inter dependencies between the chracterstics and the characterstic Values. It also controls which componens are selected from the bills of Material.
Dependency Types:
1. Pre condtion : which we should when our material BOM Material
for our eample we should use Procedures
Cu01 _ Create
Note Here we need to create the dependency and assign it to the required chracterstics value or we can create directly go to the chracterstic value and write the dependency there it self
Step : 6
Creating chractestic Price :
Create one Dummy chacraterstic at CT04
as Zprice
enter characterstic and create on Basic Data TAB
specify deascription and the status must be released
in the Tab of Addition Data specify the Table name SDCOM andthe VKOND
Format data given by ABAP dictionary -
Variant Configuration / Need for a separate forum
Dear Moderators,
I have been contributing, accessing and extracting information from this forum for my projects and trainings. Recently we have added lot of new forums especially in SD, a separate forum for billing, sales etc.
On the same path, I feel that it will add immense value if a new forum for Variant Configuration is created. As this is an area which touches various modules, and various applications like configurable materials in SD, Release procedures in MM, etc, people can share all the information regarding variant configuration in a common forum like this.
May I please request you to consider this and take it forward if this makes some sense.
Any feedback on this is welcome, especially from people like Rajesh Banka, Laxmipathy etc who have been here for quite sometime in SDI'm going to respectfully disagree.
I saw something similar at elementsvillage.com when they created a "Mac-Specific" forum. People who had questions that really had nothing to do with their Mac, for example "Can't open RAW from D7000", still put the question in the Mac-Specific forum, because they were using a Mac. As a result, the community was fragmented in ways that had nothing to do with the question. People who might have benefited from this question but didn't have a Mac and so didn't look in the Mac-Specific forum, and didn't get the answer as quickly. People who asked questions in this forum that had nothing to do with Macs wound up relying on a smaller community of experts to help solve the problem. I know I certainly never read that forum, so I didn't provide answers, nor did I learn from the information in that forum. I consider that decision to create a "Mac-Specific" forum to be a failure. -
How to check the change log of a variant
Dear Gurus,
I want to check the changes done (Change log) in a variant of a program. But i could not find any options around. Please suggest me how can I find the changes done on a variant.
Thanks in advance.
RathiMHi Koteswar!!
Vishal was perfect in his reply to your query. But still as you insisted here comes a step by step elabu2026
1. Execute the transaction SE38
2. Give the program name in the field against the Program
3. In the sub objects section select the radio button variants
4. Click on Display
5. You will now lead to the ABAP: Variants initial Screen where you enter the variant name in the field against the Variant
6. Now traverse through the path utilities-Find from the main menu
7. You will be prompted with a Find variant Popup where you can give the respective variant name and click on execute.
8. Yow will be returned with a screen having information regarding Variant name, short description, Environment, Protected, Changed by and Last Changed.
Trust that suffice to your query!!
Regards,
Damanaidu J
Edited by: Damanaidu jawaharlal on May 22, 2011 1:01 PM -
Variant configuration using Bapi
hi folks,
i have an issure regarding variant configuration using bapi 'BAPI BAPI_SALESORDER_CREATEFROMDAT2 '.
Can this BAPI be extended/modified to accept characteristic
values - based on characteristic values, it should perform variant matching
- in case variant matching is successful, the BAPI should replace the
KMAT material with the exact matched variant material.
- in case the variant matching is unsuccessful, then retain the KMAT
material in the sales order line item.
i have done one sample program where i am executing this bapi by passing all the mandatory values ,....its taking everything except the charactersitics of the material. can any one say me what are the mandatary fieds we need to pass for variant configuration using this bapi..or is there any other bapi which satisfies my problem.
thnx in advance,
santosh.Hi,
Just debug your SAP BC service in which you are calling the RFC and check if proper values are getting mappend to your input variables of RFC.
If that is correct than there wont be much chances of problem in BC.
\[removed by moderator\]
Regards,
Siddhesh S.Tawate
Edited by: Jan Stallkamp on Jul 1, 2008 4:32 PM -
Relating to save variant in alv objects
Hi,
i had a requirement to select or deselect few fields and these fields ahould be able to save, in our case they are using abapobject to display alv using container, can any one please let me know what is the solution.
regards.
venkat.HI Venkat
just go to this PDF which described about ALV Objects
<b>https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e8a1d690-0201-0010-b7ad-d9719a415907</b>
and here search for Variant then you can find the necessary Information regarding Variants
Regards Rk -
Populating selection screen of one prog by calling from another prog
This is regarding variant population.
I need to populate values in selection screen fields of one program (program 2)by calling from another executable ABAP program(.Program 1)
I can identify the variant that i need ot populate.But there is a pushbutton in the selection screen of Program 2 which on clicking leads to some more fields in a pop up screen.How can I populate values in those fields there ?Please help.
Thanks & Regards,
SavithaI got a problem like that, then I tried to do a BDC, but it doesn't accept BDC's so I made a vbs program. This could help:
FORM exec_vbs .
DATA:BEGIN OF it_file OCCURS 0,
line TYPE string,
END OF it_file.
DATA:filename TYPE string.
CLEAR it_file[].
it_file-line = 'msgbox "Variant will be updated, please don''t move or minimize the screen"'.
append it_file.
it_file-line = 'Dim objShell:Set objShell = CreateObject("WScript.Shell")'.
append it_file.
it_file-line = 'do while(ObjShell.AppActivate("R/A Settlements")=FALSE)'.
append it_file.
it_file-line = ' wscript.sleep 2000'.
append it_file.
it_file-line = 'loop'.
append it_file.
it_file-line = 'wscript.sleep 500:ObjShell.SendKeys "%ye":wscript.sleep 1999'.
append it_file.
it_file-line = 'do while(ObjShell.AppActivate("SAP Easy Access")=FALSE)'.
append it_file.
it_file-line = ' wscript.sleep 1000'.
append it_file.
it_file-line = 'loop'.
append it_file.
it_file-line = 'ObjShell.SendKeys "cj8g":wscript.sleep 940:ObjShell.SendKeys ""'.
append it_file.
it_file-line = 'wscript.sleep 1500'.
append it_file.
it_file-line = 'do while(ObjShell.AppActivate("Actual Settlement")=FALSE)'.
append it_file.
it_file-line = ' wscript.sleep 1000'.
append it_file.
it_file-line = 'loop'.
append it_file.
it_file-line = 'wscript.sleep 1950'.
append it_file.
it_file-line = '''controlshiftF7'.
append it_file.
it_file-line = 'ObjShell.SendKeys "^+":wscript.sleep 3100'.
append it_file.
it_file-line = '''shift+F2'.
append it_file.
it_file-line = 'ObjShell.SendKeys "+":wscript.sleep 2199'.
append it_file.
it_file-line = '''shift+F10'.
append it_file.
it_file-line = 'ObjShell.SendKeys "+":wscript.sleep 500:''SCROL DOWN'.
append it_file.
it_file-line = 'for x = 1 to 2: ObjShell.SendKeys "":wscript.sleep 500:next'.
append it_file.
it_file-line = ' wscript.sleep 500:ObjShell.SendKeys "":Wscript.Sleep 950'.
append it_file.
it_file-line = '''shift+F4'.
append it_file.
it_file-line = 'ObjShell.SendKeys "+":Wscript.Sleep 1999:ObjShell.SendKeys "+ it_file-line = 'Wscript.Sleep 1000:ObjShell.SendKeys "C:\TEMP\Worksheet.txt"'.
append it_file.
clear it_file-line.
concatenate 'Wscript.Sleep 500:ObjShell.SendKeys "' TEMP_FOLDER '\Worksheet.txt' '"' into it_file-line.
append it_file.
it_file-line = 'Wscript.Sleep 400:ObjShell.SendKeys "":Wscript.Sleep 2500:ObjShell.SendKeys "":Wscript.Sleep 1900'.
append it_file.
it_file-line = 'ObjShell.SendKeys "^s":Wscript.Sleep 2900'.
append it_file.
it_file-line = 'ObjShell.SendKeys "+":Wscript.Sleep 1200'.
append it_file.
it_file-line = 'ObjShell.SendKeys "+":Wscript.Sleep 1200'.
append it_file.
it_file-line = 'ObjShell.SendKeys "%"'.
append it_file.
it_file-line = 'Wscript.Sleep 1700'.
append it_file.
concatenate TEMP_FOLDER '\settle.vbs' into filename.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
filename = filename
TABLES
data_tab = it_file.
CALL FUNCTION 'WS_EXECUTE'
EXPORTING
PROGRAM = filename.
IF SY-SUBRC <> 0.
ENDIF.
Maybe you are looking for
-
Publishing multiple calendars in iCal
Is there a way to publish multiple calendars in one view. It seems that I can only view one calendar at a time. I want to be able to overlay all of my calendars so we all know who's doing what when. I''m a Mom with two girls with lots of sports activ
-
Aperture 3.2 - MobileMe
Hallo, can anybody please confirm, that under Aperture 3.2 (optimized for iCloud) I can still use the MobileMe-galleries!? I dno't want to "upgrade" to iCloud, but continue to use MobileMe until it ends in June next year.
-
Aperture closing on export-Help!
I have been trying to export 360 images from a project, and each time the export begins, it quits after a few images. Then when I reopen Aperture and try to select the rest of the images to export, it highlights and previews that first image. From th
-
NI-XNET Bus Monitor doesn't detect port
Hi All, I need somehelp. I have 2 PXI 8512 and set them to CAN1, CAN2, CAN3, and CAN 4. I want to monitor data traffic from my XNET. Yes, they are available in MAX. But once i open NI-XNET Bus Monitor, all the channel i have are not detected. Interf
-
Software for Thinkpad USB 3.0 Dock
Hello All, I have a Thinkpad T430U Laptop with a Thinkpad USB 3.0 Dock. It had been working great but starting yesterday when the dock is connected I lose Video on the secondary screen after a few minutes. All other peripherals connected to th