Variant creation

Hi,
We have a variant for a SE38 program, which is being used by a batch job to execute the program in the background.
We would like to change the variant directly in production, but find in the attributes that the variant is protected.
My questions are:
1) How can I change the variant
2) If I cannot change the variant then I would like to delete it and create a new variant with the same name. In that case how can I enter values in the attributes? Because on the selection screen of the program, there is a field called Idoc Run Date. This field should be populated dynamically. In the current variant (which we would like to change) find that there is a parameter for idoc run date RS_VARI_V_TODAY_X.
3) If I delete the existing variant will it also delete the parameter RS_VARI_V_TODAY_X.
4) How do I create the parameter RS_VARI_V_TODAY_X (or any other parameter). and attach it to the new variant.
Any help would be appreciated.
Thanks in advance.
MIck

Run your program in online mode in production.
On the selection screen, put all the values you want to store as variant.
Now press the Save button.
You will be directed to Variant creation screen.
Give your variant name.
Save it.. it will ask for "overwritten".. say yes.
Regards,
Naimesh Patel

Similar Messages

  • Variant Creation in SAP BI To be used information broadcasting

    Dear Friends,
                            I want to create a VARIANT in SAP BI 7.0 Which is to be used in information broadcasting. I found One Document Named as "Variant Creation In SAP BI to be used in Information Broadcasting.pdf",in SDN Forums. I Couldn't able to Understand the Given Steps in it.
      Could any one of You Please send me the Procedure how to create a Variant.I should also see the "Determine from Variants" button in Work book precalculation Tab,which i am not able to see it currently under "Workbook Precalculation".
    Waiting for ur reply.
    Thanks in advance
    Regards
    Singam Bhaskar Reddy

    Hi,
    Even I have gone through the SDN document. It is clearly explained step by step. If you follow the same document thoroughly you will be able to see Determine From Variants radio button properly.
    Try to understand the document.....you will get the solution.
    Regards,
    Suman

  • Variant Creation for the Back Ground Jobs

    Hi experts
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    2)I believe  Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    3) Is it require to check the adjust time series for generating CVC's for every time?
    4) How to generate the proportional factors for all the products in the single job?I assume that  need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    Please give your valuable opinions on the above queries
    Thanks in advance
    Edited by: Mani4690 on Mar 4, 2009 9:37 PM

    Hi,
    Below are the answers to your queries.
    1) What are the settings we need to consider in the Variant Creation for generating CVC's, Planning Area Initialization, Calculate Proportional Factors and Loading planning area.
    While creating CVC's (t-code /n/sapapo/mc62)select your MPOS, goto create characteristic combinations, then enter Target mpos, say generate in background, tick against all fields in action selection, and then save as variant. During planning area initialisation(/n/sapapo/msdp_admin), select your planning area, right click and say create time series objects and then enter planning version, start and end dates and execute job in background.  While calculating proportional factors (/n/sapapo/mc8v), enter ur planning area & infocube and then save as a variant.  For loading data from infocube to planning area (tcode /n/sapapo/tscube), select the infocube, planning version, planning area, planning versin, periods, tick mark in results log, key figure assignments, if you have any selection criteria enter, and then save as variant.
    2) 2)I believe Process flow to create process chain:
    Generate CVC's-->Planning Area Intialization>Load Planning Area Vesrion--
    >Calculate Proportional Factors
    Please correct if the process flow is not right.
    Correct
    3) ) Is it require to check the adjust time series for generating CVC's for every time?
    Yes, it is required.
    4) How to generate the proportional factors for all the products in the single job?I assume that need to create a single selection ID which has all Characteristic values and assign this while creating the Proportional factors.Please correct me if i am wrong.
    if you use mc8v t-code and provide planning area & infocube, it will ask for version name and dates, once u enter this info, proportional factors will get created.
    Regards
    R. Senthil Mareeswaran.

  • To provide "variant creation facility" in a Molule pool program

    Hi
    I have develope a molude pool screen with some  input fields.
    now I want to provide " variant creation facility" as in standard reports.
    I will enable "SAVE" button on the status bar. but  I have no idea how to  provide
    variant creation facility same as in standard reports.
    please help me .
    Regards
    Kakoli

    Hi,
    I doubt if it can be achieved by standard solution or FMs. But i have an idea. Check the feasibility of implementing it.
    Provide 2 buttons. One for saving the variant, other for selecting the variant.
    Create a Ztable with variant name as the key field and rest of the screen fields as non key fields. Now, on clicking the save button, update this Ztable with all screen field values. On clicking the get variant button, query this Ztable and provide a popup with available variants. If a variant is selected, populate the values from Z-table to screen.
    But can we handle table control with this approach!!!!??? I hope no.
    Thanks,
    Vinod.

  • AFAB dynamic variant creation for Posting period.

    HI,
    Business Requirement :
    Business want to run AFAB transaction code every month automatically with schedule job.
    system should pick present month period in posting period field.
    i checked in variant creation  against posting period there is no dynamic " D " in selection variable column.
    how can i fix this.

    Hi Jani,
    Check with abaper if TVARV table can Help you in this case, or create a z program from AFAB. And add date field to it, and schedule job based on that,
    I think TVARV table will be a better approach.
    Another point to consider here would be that dep should be run once business is ready to do so, and has its own hick ups in business if corrections are required to be made after executing AFAB by job
    Regards
    Pankaj B.

  • T.code for Variant creation

    Hello Gurus,
    What is the T.code for variant creation
    regards
    sapmm

    Dear sapmm99,
    In my understanding the default values that should be automatically reflected for the input parameters for executing any report is
    referred as a variant.
    Say for Eg,executing report MB52,in case if I execute the report several times with the same input,i can save the input parameters
    and create that as a variant and in future i can call this variant to reduce the work load and execute the report.
    For eg: enter the plant 1000,material type as FERT,some material group and click on the save icon and the system asks to enter
    the variant name and the meaning and then select the check boxes for protect variant and click on copy screen assignment.
    If i want to protect the entered input parameters i can select the check boxes for the same and save and come out.
    Next time when i execute the same report MB52 and if I need some default values to get copied,i can get the variant by clicking on
    get variant or else Shift+F5 and select the saved variant.
    Check the same for the reports like ME5A.
    Check and revert.
    Regards
    Mangalraj.S

  • Problem during material variant creation

    Hi Guys,
    I am trying to create material variant in MM01. I entered configurable material let's say DESKTOP. nOw i have partial variant scenario so instead of entering all 30 characteristics i need to enter only 3 characteristics.These 3 charcteristics based on which partial matching will happen in sale document.
    My requirement is as out of 30 , TEN chars. are maintained as required entry. So system is asking me to enter all 10 required chars. in material master which my scnario don't want.But the same is required in Sales document.
    How to remove this required entry in case of  material master creation and keep required entry in sales order or quotation?
    Regds

    Hi,
    You can decide whether it is mandatory to assign a value to a characteristic on the basis of transaction code.
    You must use [selection condition|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm] which calls the [user-defined function|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm]. In function you need to analyze sy-tcode and raise the predefined exception FAIL for those when you don't want to assign a value to a characteristic (e.g. mm01, mm02). Contact your ABAP team to create such a function.
    Don't tick the characteristic as required entry in class definition but assign this selection condition to this characteristic in class.
    Regards,
    Alexander

  • Variant Creation in Transaction MB51

    Dear All,
    I faced one Issue during creation of Variant in MB51 Transaction is like Below.
    In Posting date field From to To in that i required from date is fixed and To date is Dynamic (Current date - 3)
    So how can i set this?
    In Variants we can give dynamic date calculator to calculate date as we required.
    Does there is a option to add more selection option (ie if I have to add a Fixed date , Current date -3).
    Where I can do this?
    Regards,
    Murari Shah

    Hi,
    > In Posting date field From to To in that i required from date is fixed and To date is Dynamic (Current date - 3)
    Follow as following,enter your From date & Select Save as Variant, New window appears, there enter your Variant Name & Short Text,
    Now Select Posting date from the Selection Screen-Field Name, there go to 3rd last column for "Selection variable" in posting date line & press F4 over there & select "D: Dynamic date calculation",
    Now go to last column " Name of Variable" press F4, new screen appears, in that scroll down & double click on "Date - xxx, Date + yyy (work days)" or also you can use "Current date - xxx,current date + yyy", New window opens, here enter the values in numbers w.r.t. date,
    If you want to Consider today's date always then put 0 in the first field or you can put addition of no. off days as per your choice, then in second field put 3(system will add 3 days from today date),
    Then in field " Work days are determined according to factory calndr." enter "IN", press enter & save your variant, then execute again MB51 after coming out of all screens & check whether you requirement is achieved.

  • Costing Variant Creation in spro

    Hi,
    Please let me know the creation of costing variant in spro.Need configuration steps for it.
    Regards,
    A.S.kUmAR

    Hi there
    Please see
    Transaction: OKKN
    Or
    IMG-> Controlling-> Product cost controlling -> product cost planning ->material cost estimate with quantity structure ->define cost variants
    You can create your own or copy from an existing costing variant.
    Regards
    Louise

  • Error during Variant Creation for a report

    hi,
    i'm trying to schedule a background job for the report MEREP_DISTRIBUTOR. it requires me to create a variant. i go to SA38 Transaction and try creating a variant.
    <b>"Maintain Variant: Report MEREP_DISTRIBUTOR, Variant Distributor" </b>Screen.
    When i give simulate, i get this error.
    <b>Simulate --> No Mobile ID found.</b>
    Can you help me solve this issue?
    Thanks and Regards
    Arun
    PS: Answers will be Rewarded.
    Message was edited by: Arun Kumar Ravi

    > Login in to your webconsole, under the
    > 'Administration' tab, press 'Add entry' button; which
    > will allow you to assign the componen to a user.
    at this point, i get a message  "Selected component type cannot be assigned\n"
    but when i see what components have been assigned,
      On All Devices    MI_ADMIN   ZMI0_EX1   01   Deployment with Next Synchronization    With Role Assignment    2005-12-29   19:14:23  
    ZMI0_EX1 - MCD Name.
    01 Version
    MI_ADMIN - User name.
    the above statement was a result of role sync from the ABAP server side.
    So, what's next?
    Regards,
    arun.
    Message was edited by: Arun Kumar Ravi

  • Issue in Transaction Variant creation

    Hi,
    We are trying to create a Transaction Variant for VA01 t-code so that we want to greyout the 'Payment terms' field in the sales order.
    when I test the screen variant it is working fine where as the same is not working when assigned it to the transaction variant ?
    any inputs ? idea ?
    Thanks in advance,
    Vasanth

    The solution is here :
    Screen variant for Create Sales order

  • Standard report Variant creation

    Hi ,
    i am trying to create the dynamic variant for standard report   RKWTP_CPTD, which contains the period and fiscal year fields on
    selection screen, now i need to create variant as period has to  be current month -1 month i.e it has to show previous month
    and for year , the current  year has to result in dynamic variant.
    if any idea creating the variant please help me.
    Thanks
    SrInI

    First did you look for already available option in online help ?
    (e.g. ABAP Workbench Tools , Variant Maintenance , Variable Values in Variants, etc.)
    If none fulfills your requirement, you could create your own variant in TVARVC and update those in a report executed in a daily scheduled periodic job (You can copy some code from RVSETDAT)
    Regards,
    Raymond

  • Dynamic variant creation, Current date "-NNNN" *(4 digit number)*

    Hi,
    Is there any way of creating "-NNNN (4 digit number)" for dynamic date calculation in variant variables?
    I need to set 4 digit number in the "DLFL to Change Date (Old ver: To Change date)" field but system only allow total 4 digit including +/-.   I'll be using the "Current date +/- ??? days" option to set date dynamically.
    In order to set deletion flag for PM orders older than 6 years, I need "Current date -2190".
    Or is there other way to set it as MONTH when calculating the change date?
    I'm using PM order initial archiving job whose report name is RIARCORV.
    Thanks in advance,
    Alex
    Edited by: Alex Kwon on Jul 16, 2009 2:44 AM
    Edited by: Alex Kwon on Jul 16, 2009 2:45 AM

    Alex,
    I dont think its possible to do the same using the variant functionality. You will have to do some workaround to accomplish the same by either using other fields like Order number.You could also look at enhancing the code implicitly in the RIARCORV program, if you are in ECC6.0 or above versions.
    Regards
    Narasimhan

  • Dynamic Variant creation

    Hi Folks,
    I have a requirement where-in i need to schedule report 1 in background from report 2.
    Report 1 has a selection screen which contains one select-option and variant for the same is created.
    Now i need to schedule report 1 in such a way so that the select-option that is created is automatically changed every time i have scheduled the report.
    Please let me know how is it possible to create a variant for report 1 so that the select-option is changed every time i schedule the report.
    Please note that report 2 will know the list of values to be used for select-option in report 1 (to be used for job scheduling).
    Also if there is any other approach of tackling this problem then let me know.
    Thanks,
    Imran

    Hi,
    With selection variant you can start a report with fixed selection values again.
    You need not use them for documentation. You are able to see the used selection screen in a job step.
    For time/date selections often selection variables are very useful.
    Perhaps in your case it would be a good idea to store the last selection value with each job start in a Z-table.
    Regards
    Walter

  • Automated Material Variant Creation

    Is there an automated way to create material variants once a configuration is entered on a sales order, if one does not already exist?
    Take an example, I have configurable material ComputerA which is a laptop computer. Say there are two possible configurations, 2GB of memory or 4GB of memory. Let's say that I have a material variant already for the 2GB configuration, and say that I called it ComputerA_2GB. If I were to create a sales order for ComputerA and configure it with 2GB of memory, then I could have my item category set to swap in the the material variant ComputerA_2GB automatically.
    Now assume that I create an order for ComputerA but configure it with 4GB of memory. I have not previously created a material variant for this. Is there a way to have ECC dynamically create that material variant and swap it into my line? So the process would be: create line item for configured material, if material variant exists, swap in, if material variant does not exist, create the material master for the variant and then swap that material in. Is there any way to do this without custom code?

    Hi,
    You can decide whether it is mandatory to assign a value to a characteristic on the basis of transaction code.
    You must use [selection condition|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm] which calls the [user-defined function|http://help.sap.com/saphelp_erp60/helpdata/en/92/58d455417011d189ec0000e81ddfac/frameset.htm]. In function you need to analyze sy-tcode and raise the predefined exception FAIL for those when you don't want to assign a value to a characteristic (e.g. mm01, mm02). Contact your ABAP team to create such a function.
    Don't tick the characteristic as required entry in class definition but assign this selection condition to this characteristic in class.
    Regards,
    Alexander

Maybe you are looking for

  • Creation of tables in SAP R/3

    Hi all, I am new to SAP. i would like to know how to create tables in SAP R/3. what is T-code fot that. regards, santosh

  • Macbook Pro is detecting a second display that is not attached

    I have a first generation Core Duo Macbook Pro and have had a problem with it since it was new detecting 2 displays when only one is connected. At first it would detect 2 displays and change the notebook screen resolution to 800x600. A quick click on

  • Email app has failed. Copies of large email are being continually generated.

    Since trying to send out a large email ~40Mb, too large in fact, my email application no longer works. I keep getting socket 993 errors. Copies of the email appear in various email folders, and keep duplicating themselves, seems this is a failsafe to

  • Using vibrate uri

    Hi everybody, I've just realized that vibration feature is added as an xml URIs. Based on 7920 Release Notes for Firmware 3.01: With firmware release 3.01, the Cisco Unified Wireless IP Phone 7920 can now receive a URI message from a third party XML

  • Solution Manager DR Landscape

    Hi, For DR purposes, we want to implement a backup server for Solution Manager. Could someone show me how to go about with it.  A diagram of the landscape would be helpful also.  We do not want the bakcup server to be idle while the main server is ru