Define variant conditions in TVARC

Hi,
We want to define variants for the SAP using the TVARC option. We want to define report varinat for the Date option for one of the reports using the 3 fields of the Table T009B.
How to define a variant condition in Table TVARC. Can someone give an example.
Thanks,
Tanuj

hi,
just check if the characteristics are all assinged properly.
anyways.. pl go thru these steps again to chek and confirm.
The procedure is as follows:
Create a Material - KMAT type with Item category (002)
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)
Assign these two characteristics to a Class in CL01 - ZBikeclass ( Type 300) in characteristics tab page.
Then go to CU41 Configuration profile select the material and enter the description click on the class assignment ie assign Zbikclass.
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
Now go back go to extras - Other Dependencies - assignments and assign
relationship ( by default it will come just save)
Now select Blue- go to extras - Other Dependencies - Editor - Select Procedure enter in front of 10 write - $self.ZPrice='Blue' and save
Now go back go to extras - Other Dependencies - assignments and assign relationship ( by default it will come just save)
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.
Hope it helps. Pl reward if useful.
Thanks,
Sadhu Kishore

Similar Messages

  • Teradata database error when using a Universe-defined Date condition

    I have encountered an odd problem when connecting Crystal to a Universe.  There is a pre-defined Date condition built into the Universe that is defined as follows:
    @Select(Date\Week End Date)  >  @Select(Conditions\User Response Select Date week -28)  AND @Select(Date\Week End Date)  <=  @Select(Conditions\User Response Select Date)
    The filter is designed to retrieve a rolling 4 weeks of data.
    When I try and create and refresh a Crystal Report that includes this Date prompt, I get the following error:
    Failed to retrieve data from the database.
    Details: 22003:(ODBC Teradata Driver)(Teradata Database) A character string failed conversion to a numeric value.
    If I create the same query in a WebI report it works fine, but in Crystal the error is produced.  I have also tried constructing the same prompt and filter within Crystal rather than use the pre-built prompt but that did not work either.
    Does anyone have any experience or advice on this error?  I can't seem to find many related postings on this specific error.
    BO Enterprise XI 3.1 SP2 running on Windows 2008 Server R2
    Crystal Reports 2008 SP2 running on Windows XP SP3
    Universe is built on a Teradata 12 source
    Thanks!

    One item I found I had to do with Teradata was cast my date/time values to dates, otherwise I got weird errors like this. You say it's working in Web Intelligence, so this might not be the issue, but it is an easy thing to test.
    In the universe, change your end date definition to
    cast(table.end_date as date)
    and see if that helps.

  • Defining Variant with Dynamic values

    I want to schedule a report say Me2N so that every day it will give me purchase orders created today. I am defining variant for it. How to define Document date in variant so that every day it takes currrent system date.

    Hi,
    In the ME2N transaction code when you are saving the variant, you can set up the status of field. Here if you will scroll right you can see last three columnu2026SELECTION VARIABLE, OPTION AND NAME OF VARIABLE(input only using F4)
    Now in the third last column (SELECTION VARIABLE) press F4 and select the D(Dynamic date calculation) and after this click on last column from right side NAME OF VARIABLE and select the CURRENT DATE and save the varient.
    Now this variant will take the document date every day as a todayu2019s date.
    I hope it will help.
    Regards,
    Manish

  • Lite Optimization - As User defined Variant

    Team,
    I have the following question.
    I have two BPC planning cubes,Say Cube 1 ,Cube 2 and for Cube 1 Lite optimization Automation,I have used /CPMB/LITE_OPTIMIZATION variant in Process chain as per requirement (like till 3 days ago) but in case of Cube 2 I need to change scenario like till 0 days ago and leave 3 requests
    For Cube 2 Scenario , I cant give  /CPMB/LITE_OPTIMIZATION variant in Process chain as it is already used in scenario 1 ,So I tried creating user defined variant for lite optimization for that specific cube 2,but I am having trouble in giving  required tasks in Advanced data manager package settings for the user defined task
    Could you help me out here

    Hello Ravi
    You need to look into running the program UJD_TEST_PACKAGE in your process chain and then use a variant for that.  The variant will allow you to select the model, run package and variants you require.
    Hope this helps.
    Ian

  • How to create the variant conditions in VK13

    Can anyone plz tell me how to create the variant conditions in VK13.
    Thanks in advance.

    Hi Suresh,
    not sure if this is what you meant.. in VK13 enter the condition for which you want to maintain variant & press
    enter.. fill in the Sales Orgn,Distbn Channel & Divion Values.. Use the menu option Edit> save as Variant> enter the variant name & desc and SAVE..
    Regards,
    Suresh Datti

  • Variant Condition

    Dear all,
    I have read the standard document SCM620. And, I have some problem about it. I don't understand how variant condition takes its effect in pricing procedure. Could someone give me an example to demostrate it?
    Thanks,
    Justin

    Hi Rich,
    Please check this online document for more information variant condition.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOVC/LOVC.pdf
    Hope this will help.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Variant Condition "VA00" in Variant Confugration of a KAMT

    Hello,
    We are using Variant Configuration Process.
    KMAT material is added to Sales Order and configured as per the customer's requirements.
    Based on the selections (i.e. configuration), dependencies are in place to identify the Variants (Cond Type VA00) to pick the Varinat Price in Sales Order.
    E.g. If customer selects Red Colour handle, variant price for Red Habdle is selected.
    If during configuration, Red colour handle is selected, variant price of same is picked up.
    During configuration, if customer changes the selection from Red for Green Handle, then
                     it is expected that Price for Red handle is removed and Variant price for Green Handle gets picked up.
    Issue: In above example, system does not removed the variant price for Red Handle. This gives incorrect pricing.
    Please help
    Thanks

    Hi
    If during configuration, Red colour handle is selected, variant price of same is picked up.
    During configuration, if customer changes the selection from Red for Green Handle, then
    it is expected that Price for Red handle is removed and Variant price for Green Handle gets picked up.
    Issue: In above example, system does not removed the variant price for Red Handle.
    This gives incorrect pricing.
    1) Have you maintained dependency for "Green Handle", same as Red handle?
    2) Are you able to see "Green handle" as pricing variant in your variant configuration screen? If no, still red handle is appearing, means problem is with dependency.
    3) If green handle is appearing in variant configuration screen, have you maintained condition records VK11 for green handle as for red?
    Please confirm all above settings and reply.
    try and revert
    Edited by: Yadav on Oct 12, 2009 7:11 AM

  • Define Variants for Manual Bank Statement

    Dear Sir,
    Please treat it urgent.
    While Executing T-Code - OT43 i am getting the following Error in object editing
    Changes to Repository or cross-client Customizing not permitted, Choose 'Display object' or 'Cancel'.
    as a result i am unable to Define New Variant.
    Please guide me as to how do I move forward?
    Regards
    Chirag Shah
    Edited by: CHIRAG SHAH on Dec 10, 2011 9:20 AM

    Hi
    This is happening because cross client customizzation is not allowed in your system. This is allowed through T Code SCC4. Get in touch with your basis/security guys to look into this t code for client set up.
    Regards
    Sanil Bhandari

  • Variant conditions

    Hi All,
    We have VC implemented in our project. The scenario is such that we have a sales order with all the variant characteristics for a product. One of the subcomponents of this product is also configurable and this product is procured from another plant of the same company. The price at which this component is to be procured is calculated by a legacy configurator system and the value is passed onto one of the characteristic of the component in the PO through the PR (triggered by MRP). So this price exists in the PR and PO as the value of one of the characteristics.
    The requirement is to have this value determined/replaced as the value for condition type PB00 for gross price. Is this possible with standard SAP or we will need programming for this?
    Regards,
    V S

    now with some dependency coding for VC I am able to get the characteristic value transferred to conditin type VA00. But the problem is that this condition type VA00 is picked from the info record where I cannot maintain zero vaue for PB00. So it adds PB00 to VA00 and then calulates the total value of the PO.
    Is there is standard way of suppressing PB00 when VA00 is determined in the PO or any other method to handle this?

  • ABAP coding in defining start condition for action.

    Hi Everybody,
    Can anyone tell me if ABAP coding is possible for giving condition for action? If yes, where? Is it in condition editor? I have 3 validations to be done:- 1) Filter service contract (transaction type USC), 2) Filter the active contracts, 3) Filter contracts which doesn't have billing cycle in current month.
    So, do you think these validations can be done in start condition of action? First two validations are static in nature and thus can be done. But, how about the last condition?
    Please help.
    Regards,
    Sanj.

    Hi Sanj
    I would do this.
    1. The transaction type cannot be changed, therfore I will set this up in the scheduling condition.
    2. Active contracts. Depends on teh definiton of active. If it is based on some status then I will use scheduling condition.
    3. use one of the dates in the date profile to determine if the billing date is in the current month or not.
    See if this helps.
    Thanks

  • Define Custom Condition Type

    Hello,
    is there any way to add self-created condition types so that i can select them easily in the drop down in the Conditional Display Region?
    Thanks for help

    80b3fcf2-3ba0-4757-a37b-29843d0e6433 wrote:
    Please update your forum profile with a real handle instead of "80b3fcf2-3ba0-4757-a37b-29843d0e6433".
    is there any way to add self-created condition types so that i can select them easily in the drop down in the Conditional Display Region?
    No, that is not possible.
    You've tagged this question with "security". Security-based conditional rendering of components should be handled using authorization schemes, which you can create centrally and select for each component.

  • Package question, how to define a condition

    i create a package and package body, in package i defined a procedure. in procedure i use if thour(percount)<40 then to get the record work hour<40. when I call the package in Access Form application, mentioned error: [Microsoft][ODBC Driver for Oracle]ORA-01403: no data found.ora-06512: at "CSUPERSON.PARTTIME", line16. this line is the line i wrote the if then statement. if i delete the statement, it will fetch all records, but some records>40.
    so i think the problem is come from the procedure in the package i defined. how to handle it.
    package and package body
    PACKAGE       parttime AS
    TYPE tssn is TABLE of NUMBER(10)
    INDEX BY BINARY_INTEGER;
    TYPE tfullname is TABLE of VARCHAR2(40)
    INDEX BY BINARY_INTEGER;
    TYPE thours is TABLE of Number
    INDEX BY BINARY_INTEGER;
    PROCEDURE parttimelist
    (fullname OUT tfullname,
    essn OUT tssn,
    thour OUT thours);
    END parttime;
    PACKAGE BODY   parttime
    AS
    PROCEDURE parttimelist
    (fullname OUT tfullname,
    essn OUT tssn,
    thour OUT thours)
    IS
    CURSOR wpart IS
    SELECT sum(hours)thour, GETNAME(essn)fullname, essn from works_on group by essn;
    percount NUMBER DEFAULT 1;
    BEGIN
    FOR partlist IN wpart
    LOOP
    if thour(percount)<40 then
    fullname(percount) := partlist.fullname;
    essn(percount) := partlist.essn;
    thour(percount) := partlist.thour;
    percount := percount + 1;
    end if;
    END LOOP;
    END;
    END;any help i will appreciate.

    Hey,
    I agree with ps.
    anyway,
    the no_data_found exception is raised becuse your array don't has
    the 1th item.
    array.
    considre:
    SQL> declare
    2 type num_table is table of number;
    3 l_num_table num_table := num_table(646);
    4 begin
    5 l_num_table.delete(1);
    6 If l_num_table(1) = 0 then
    7 --some proccsing
    8 null;
    9 end if;
    10 end;
    11 /
    declare
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at line 6

  • Loading user defined variants for selection screens

    hi everybody,
    i want to add a feature to my report which automatically loads a variant for a report.just like iw38, where the variant for the main selection-screen is automatically set when you name it like "U_<username>". sadly i couldnt find anything helpful by debugging the report.
    is there a certain function module to load specific screen-variants?
    thanks,
    dsp

    Hi dsp,
    There is a table
    VARID - Variant directory.
    it consists of all the variants according to the user name, date & time.
    You can do something like this,
    data: it_variant type standard table of varid,
          wa_variant type varid.
    Initialization.
    select * into corresponding fields of table it_variant
    from varid
    where report = sy-repid
    and ename = sy-uname.
    sort it_variant descending by edat etime.
    delete adjacent duplicates from it_variant comparing ename.
    loop at it_variant into wa_variant.
    *CLEAR W_VARIANT.
    *W_VARIANT = wa_variant.
    CALL FUNCTION 'RS_SUPPORT_SELECTIONS'
      EXPORTING
        report                     = sy-repid
        variant                    = wa_variant-variant
    EXCEPTIONS
      VARIANT_NOT_EXISTENT       = 1
      VARIANT_OBSOLETE           = 2
      OTHERS                     = 3
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    endloop.
    Hope it helps you,
    Regards,
    Abhijit G. Borkar

  • Defining variant for report for job with dynamic date Gui 6.40 patch 21

    The system does not take over my choice for the dynamic date.
    I choose in the variant-attirubute-screen for a certain parameter: "type selection variable": D and then in the column "name of the variable" > I choose via F4: current date +/- days. OK and then I fill in 1 or 1- or whatever.  The system however does only react with the message "Upper date of the interval is > than upper date". It does not matteer what I choose.
    In the initialization I do not have any initialization of that parameter.
    I connot save the variant.

    Go through this link...
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/802cfc454211d189710000e8322d00/frameset.htm
    In this page
    ABAP Workbench tools -->
                      VARIANTS  -->
                            VARIABLE VALUES IN VARIANTS.
    Hope this helps u a lot...
    reward if it helps u...
    sai ramesh.

  • Variant condition pricing ( variant product * qty selected)

    Hi All,
    I have created two characteristics for a variant
    characacter-1 is for the type of SHEET ( PVC SHEET, SYNTHETIC SHEET ) and maintained price as PVC SHEET = 100 and SYNTHETIC SHEET = 200
    character-2 is for the length ( where in the user will select any lenght between 0-200 meters)
    now at the time of order creation first the user will select the type of sheet ( PVC SHEET or SYNTHETIC SHEET) and the quantity as 50.
    if PVC SHEET is selected system should give 100 * 50 = 5000 as value for character-2.
    Hope my question is clear, can any body help how to do this.
    Thanks & Regards
    Siva

    Hi,
    http://www.sap-img.com/sap-sd/steps-for-sd-variant-configuration.htm
    http://help.sap.com/saphelp_di46c2/helpdata/en/d8/fa9bd49ede11d1903b0000e8a49aad/frameset.htm
    http://www.sap-basis-abap.com/sd/steps-for-variant-configuration-and-pricing.htm
    Kapil

Maybe you are looking for

  • Can no longer connect to a Microsoft Outlook Web Access site

    Hi, I hope you can help. I used to be able to access a Microsoft Outlook Web Access site. However recently I am unable to do so. It has a self signed certificate, which I used to choose to accept, and then the browser waits and waits and waits. I hav

  • IPod Nano 5G Backlight Remains On

    I have a 5th generation iPod Nano, and recently bought new headphones that have an in-line mic/remote. They work fine with my phone, but when plugged into my ipod the screen's backlight remains on indefinitely, and the click wheel stops functioning p

  • How to convert large Word 2007 doc (1200 KB) to PDF with Acrobat 9 Standard

    I'm trying to convert a large Word 2007 document to PDF with Acrobat 9 Standard.  It gets as far as 58% and then says it is unable to complete the conversion.  How can I fix this?

  • MBP (snow leopard) sudden self-logout

    Hello there! Any one else faced this issue: you work on macbook pro, then go away to have a glass of water, and when you're back your laptop is waiting for you to ask to choose user & log in?? Thre is no settings of security to force log out after th

  • Can you turn Faces off for specific Projects?

    I do photography just for myself normally, and for my pictures I like to use Faces. However, I've also done some photography for groups. I don't want Faces to try and tag these people, because I don't even know them! Is there a way to turn Faces off