CVS exit type - Cstics Surcharge value get delta price on Config JSP

Hi friends,
I am working on 2007 isa, when we have any configurable product,if we hit configure button, it takes us to config ui with all char values(dropdowns or radio or checkboxes).
Beside each cstics i can see its price,
Basically my req is when i select a cstics, i want to show its delta price beside the cstics, and not its actual price.
ex: cstics1  10.00 USD
      cstics2  22.00 USD
so when i select cstics1 instead of 10.00, it should display the difference like here 12.00 USD.
I read an oss and found that there is an CVS user exit type and need to implement this and import into VMC.
I have created a zclass file and copied the standard class and imported into VMC the jar.
In, /N/SAPCND/UEASS, under CVS, i created an implementation and given the Zclass file path.
now i am trying to debug this in eclipse , but this Z class is not getting triggered,
Is this correct process to do this ? correc me if im wrong friends.
Also in user exit implemtation, the routine number is 0 and exit name is ONETOONE. i wonder where this 0 routine number is to be given to trigger my exit.
kindly reply,
thanks inadvance,
niraja

hi niraja,
this CVS type of userexit is a type of user exit with  one unique implementation that's why we are attaching number 0 for this.
This user exit will be called when the product configuration retrieves the variant prices for characteristics
values and is used to explicitly set a variant price for a variant key.
Instead of external debugging you just  try by writing the code in the userexits to get the logs in VMC.
And confirm that whether the userexit is getting called or not if it is not getting called it is a product bug
Thanks and Regards
shanto aloor

Similar Messages

  • Variable type Hierarchy, how to get the value from another similar variable

    Hi.
    We have created a variable, type hierarchy (using ORGEH hierarchy in HR based on 0ORGUNIT). Let's call this VAR1. We want to fill this with an User Exit, beacuse we want VAR1 to have the value from another variable, VAR2, which is also type hierarchy (and based on the same characteristic).
    However, when we program this user exit and use the VAR1 afterwards, it just behaves as if we have a single characteristic value and not a node value. As a result, we just get posts which do have the 'parent itself' as characteristic value, and none of the subnodes...  Any hints as to what we can do in our User exit to get the value passed over from VAR2 to VAR1 as a node value? Is there any spesific syntax to be used here that we are missing? ( The VAR1 and VAR2 are both defined as hierarchy variables, we have double checked...).

    Hi,
    are you on BI7.0? There you can create variables type replacement path and get the value out from a different variable without any coding.
    regards
    Cornelia

  • Getting Reason Code, Condition Type, and Condition Value in one report

    Hello there,
    I have got a Question for you all BW Gurus. I need the answer for this as soon as possible. I will assign points to all helpful answers.
    I am having a Sales cube, Delivery Cube, and a Conditions Cube which I built. Each cube is populated from different ODS. Means there are 3 ODS for 3 cubes. I am joining these 3 cubes under a Multiprovider.
    My Question is:
    We are using Reason Codes at Delivery level. We have identified an empty field in the delivery tables and populating this field with the reason codes. We have condition type and condition value only in the Condition cube. One of the reporting requirements is that we need to see Reason code, Condition Type, and Condition value in one report. I am planning to report on the Multiprovider. Since Reason code, Condition Type, and Condition value are not present in all the 3 cubes (means they are not common characteristics in the Multiprovider), I don’t think I can get those values in one report if I report on the Multiprovider. Please correct me if I am wrong. If what I say is correct, please tell me how to solve my problem. Once again, helpful answers will be greatly appreciated and rewarded with points.
    Thank you in advance.
    Kind Regards,
    Swathi

    Hello Swathi,
    Please do not post the same question on multiple forums.
    Thanks,

  • JEXP  Type wilth accc seq JEXC  in table 372  Value getting captured automa

    Hi Friends,
    JEXP  Type with acc seq JEXC  in table 372  Value getting captured automatically.
    372 Sales org./Ref.doc./Ref.item
    357 Country/Plant/Ctrl cod
    End user have put record in 357 table and when executing the sales order the record in being copied in order but once we save the reord the value for JEXP gets automatically captured and saved under 372 table for JEXP.
    can any one please throw some light on this????
    Reagrds/Ashu

    Hi,
    Suggest you to check each of the key combination in the condition record and check the validity dates.
    If there are condition records for more than one combination, then change the validity dates of all other condition record as old dates and only make the relevant condition records as either valid till current date or in to the future date.
    Hope this helps.
    Kind Regards
    Chakradhar
    Edited by: Paturi Chakradhara Rao on Jan 24, 2008 12:15 PM

  • Unable to get delta observation,

    i am trying get delta records from ztable based on time stamp with 900sec lower timestamp,,,,,,,,,,
    please correct my code,
    Example: DataSource for table SFLIGHT
      TABLES: zsales_order1.
    Auxiliary Selection criteria structure
      DATA: l_s_select TYPE srsc_s_select.
    Maximum number of lines for DB table
      STATICS: s_s_if TYPE srsc_s_if_simple,
    counter
              s_counter_datapakid LIKE sy-tabix,
    cursor
              s_cursor TYPE cursor.
    Select ranges
      RANGES: l_r_zvbeln FOR zsales_order1-zvbeln,
              l_r_zerdat FOR zsales_order1-zerdat,
              l_r_zerzet FOR zsales_order1-zerzet,
              l_r_ztimestamp FOR zsales_order1-ztimestamp.
      DATA : startdate TYPE sy-datum,
             starttime TYPE sy-uzeit,
             enddate TYPE sy-datum,
             endtime TYPE sy-uzeit,
             timestamp TYPE tzonref-tstamps.
    Initialization mode (first call by SAPI) or data transfer mode
    (following calls) ?
      IF i_initflag = sbiwa_c_flag_on.
    Initialization: check input parameters
                    buffer input parameters
                    prepare data selection
    Check DataSource validity
        CASE i_dsource.
          WHEN 'ZSALES_ORDER_FUN1'.
          WHEN OTHERS.
            IF 1 = 2.
              MESSAGE e009(r3).
            ENDIF.
    this is a typical log call. Please write every error message like this
            log_write 'E'                  "message type
                      'R3'                 "message class
                      '009'                "message number
                      i_dsource   "message variable 1
                      ' '.                 "message variable 2
            RAISE error_passed_to_mess_handler.
        ENDCASE.
        APPEND LINES OF i_t_select TO s_s_if-t_select.
    Fill parameter buffer for data extraction calls
        s_s_if-requnr    = i_requnr.
        s_s_if-dsource = i_dsource.
        s_s_if-maxsize   = i_maxsize.
    Fill field list table for an optimized select statement
    (in case that there is no 1:1 relation between InfoSource fields
    and database table fields this may be far from beeing trivial)
        APPEND LINES OF i_t_fields TO s_s_if-t_fields.
      ELSE.                 "Initialization mode or data extraction ?
    Data transfer: First Call      OPEN CURSOR + FETCH
                   Following Calls FETCH only
    First data package -> OPEN CURSOR
        IF s_counter_datapakid = 0.
    Fill range tables BW will only pass down simple selection criteria
    of the type SIGN = 'I' and OPTION = 'EQ' or OPTION = 'BT'.
          LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZVBELN'.
            MOVE-CORRESPONDING l_s_select TO l_r_zvbeln.
            APPEND l_r_zvbeln.
           LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZERDAT'.
              MOVE-CORRESPONDING l_s_select TO l_r_zerdat.
              APPEND l_r_zerdat.
           LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZERZET'.
                MOVE-CORRESPONDING l_s_select TO l_r_zerzet.
                APPEND l_r_zerzet.
       LOOP AT s_s_if-t_select INTO l_s_select WHERE fieldnm = 'ZTIMESTAMP'.
                  timestamp = l_s_select-low.
                  CONVERT TIME STAMP timestamp
                  TIME ZONE sy-zonlo INTO DATE startdate TIME starttime.
                  timestamp = l_s_select-high.
                  CONVERT TIME STAMP timestamp
                  TIME ZONE sy-zonlo INTO DATE enddate TIME endtime.
                  l_r_zerdat-low = startdate.
                  l_r_zerdat-sign = l_s_select-sign.
                  l_r_zerdat-option = l_s_select-option.
                  l_r_zerdat-high = enddate.
                  APPEND l_r_zerdat.
                  l_r_zerzet-low = starttime.
                  l_r_zerzet-sign = l_s_select-sign.
                  l_r_zerzet-option = l_s_select-option.
                  l_r_zerzet-high = endtime.
                  APPEND l_r_zerzet.
                ENDLOOP.
              ENDLOOP.
            ENDLOOP.
          ENDLOOP.
    Determine number of database records to be read per FETCH statement
    from input parameter I_MAXSIZE. If there is a one to one relation
    between DataSource table lines and database entries, this is trivial.
    In other cases, it may be impossible and some estimated value has to
    be determined.
          OPEN CURSOR WITH HOLD s_cursor FOR
          SELECT zvbeln
    zerdat
    zerzet
    zland1
    zkunnr
    zlgort
    zposnv
    zmatnr
    znetpr
    waerk
    zkpein
    zkmein
    zarktx
    zstadat
    zaedat
    zaezet
    ztimestamp FROM zsales_order1 WHERE zvbeln IN l_r_zvbeln
                                  AND zerdat IN l_r_zerdat
                                  AND zerzet IN l_r_zerzet
                                  AND (
          ( zerdat >= startdate AND ( zerzet >= starttime     OR
          ( zerdat <= enddate   AND   zerzet <= endtime ) ) ) OR
          ( zaedat >= startdate AND ( zaezet >= starttime     OR
          ( zaedat <= enddate   AND   zaezet <= endtime ) ) )
        ENDIF.                             "First data package ?
    Fetch records into interface table.
      named E_T_'Name of extract structure'.
        FETCH NEXT CURSOR s_cursor
                   APPENDING CORRESPONDING FIELDS
                   OF TABLE e_t_data
                   PACKAGE SIZE s_s_if-maxsize.
        IF sy-subrc <> 0.
          CLOSE CURSOR s_cursor.
          RAISE no_more_data.
        ENDIF.
        s_counter_datapakid = s_counter_datapakid + 1.
      ENDIF.              "Initialization mode or data extraction ?
    ENDFUNCTION.
    thanks in advance

    As per the description of this forum at the top of the page I do not think this is posted correctly:
    This forum is dedicated to all other development-related questions which are not directly addressed by other forums. This includes Business Objects SDKs, products, or technologies which do not fall under BusinessObjects Enterprise, BusinessObjects Edge, Crystal Reports Server, or Crystal Reports (for example Desktop Intelligence SDK, Universe Designer SDK, Portal Integration Kits, Java User Function Libraries, and other third party technologies or development languages).
    - Ludek

  • BED value getting ZERO.

    Hi Friends,
    When  i create Excise invoice(Exports Under Bond),In the initial screen the BED value is showing,but
    when I click on Utilization button, the BED value getting "Zero".
    Pls help me.
    Regards,
    Azeez.

    Hi
      Under "Maintain Excise Defaults" ( CIN customization), If you are using only one BED condition type say for example JEXP. Then you have to maintain JEXP under A/R BED Cond and BED Perc.
    If you are using both total and percentage condition type in your pricing procedure. Say for example JEXP (perc) and JEXT or JEX2 (total cond) then you have to maintaine A/R BED cond JEXT or JEX2 and JEXP under BED perc.
    Also please check you have classified condition type for JINFAC as well as your pricing procedure under classify condtion types.
    Regarding user exit:
    You can set a break point for Suppress Calculation and run J1IIN transaction and select utilization screen then system will go to debug mode. Here you just change the Suppress calcualtion = X and change it and save it. If BED is flowing then obtain the access key.
    Regards
    MBS

  • Excise Duty values getting inventoriesed in MIGO but reversed in MIRO

    Dear Experts,
    I am using Taxinn procedure and while creating the PO the excise duty values are calculated properly but when I am posting the MIGO the stock value is posted along with the Excise duties. The excise invoice is captured & posted in MIGO itself and the values are posted correctly.
    While posting the MIRO the excess amount is posted at the time of MIGO is posted back to the material. How do i fix this??
    thanks in advance
    Suresh

    Hi Jayakantan/Ashok
    thanks for the replies
    I am using Taxinn procedure and the conditions are flowing from that procedure. In the purchase order i am giving the condition types only for basic price and freight.
    As far as i know, the account key determines whether the condition type is cenvatable or to be inventorised. If i give the account key as NVV the values get inventorised. If i give the other account keys and assign the gl accounts to that account key that value will be posted to that gl account and not inventorised. Correct me if i am wrong or is there any other settings which will define so.
    I have done the following settings as well for the condition types
    spro>log gnrl>tax on goods mvmt>india>basic settings>maintain cond typs>classify cond types
    and one more similar setting in the same path.
    do i need to do anything further?
    Suresh

  • Z condition type for surcharge need to be displayed in billing doc only.

    Hi ,
    I am having going to create condition type for surcharge, this condition type need to be diplayed only in billing doc.condition value should be calculated based weight of the material in delivery doc and scales in condition record.
    scales values are as below:
    Access key:
    sales org/dis channel/ route /sales unit(KG)
    DE10/02/DETX1/   1 Kilo   =   30 u20AC
    skales: 
    DE10/02/DETX1 /  31  Kilo =  35 u20AC 
    DE10/02/DETX1/  41 Kilo  =   40u20AC
    DE10/02/DETX1/  51  Kilo =   45u20AC
    then for 52 Kilo we have price for these item with 52 Kilo =  45 u20AC
    where exactly need to do the config and development changes for displaying in condition type in billing doc only.
    Thanks in advance.
    Regards,
    RAM

    In the Pricing Procedure , maintain requirement as 24 against the Z Condition type.Now it will reflect the value only in Billing Document.
    Best Regards,
    Ankur

  • DIscount condition types mapping to value field  (+/-)

    Hi,
    1)While mapping SD condition types to Copa value fields, do we need to check the transfer +/- symbol for all discount condition types...
    or when do we need to check it..
    2) In our case we have some 4 to 5 discount condition types mapped to copa... If we check that symbol, as discount will always be negative system is posting discount values in negative in copa. At the time of report execution, since we give formula as Sales Less discount and discount is already negative in system it is getting added... so we are planning to change formula as sales + discounts... is that approach is right?
    Reg
    Karthik

    Hi Ajay,
    Thanks for your quick reply... generally for which condition types do we need to check this indicator in ke4i... for all discount condition types and rounding off condition types... is that right? Because as I told we have some 4 to 5 discount condition types and we have ticked for only one discount condition type which is mostly used...
    Reg
    Karthik

  • How to find EXIT where a Extension is getting filled?

    Hi All,
    I have a IDoc extension and its segments are getting filled from an EXITs, Since this IDoc is  getting triggered by output type so only use EXITs to fill the custom segments.
    Please guide me how to find the EXIT where segment of this extension is getting filled.
    I have following information:
    Message Type
    Basic Type
    Extension
    Application class
    Message code
    Regards,
    Nooruddin Bohra

    Nooruddin,
    If you have a TS, that is the easiest way
    In case not, there are 2 other ways that I would follow.
    1. Set the o/p type to process immediately in further options.
    Activate debugging and the hit SAVE. Also activate update debugging.
    Set a break point using AT STATEMENT and enter "CALL CUSTOMER-FUNCTION".
    The debugger should stop in all the customer exits and you can then figure out by looking at the source code.
    2. Find the main FM. For example if your idoc is inbound and used for creation of delivery, then the main FM would be "IDOC*INPUT*DELVRY*.
    open the FM and search for call customer-function and check the exits that are implemented and its respective source code.
    3. If the exit is a BADI, put a break point while debugging at CALL/GET badi or CL_EXIT_HANDLER->GET INSTANCE method.
    Let us know if this helps.
    Thanks,
    Vikram.M

  • How VPRS value get determined

    Dear All,
    Kindly let me know how VPRS condition type value getting determined in the Sales order.
    Is it because
    Sub total B and Requirement 4 maintained in the Pricing procedure to the condition type VPRS or
    Because of Condition Category G maintained in the Condition type VPRS.
    Regards,
    Rajesh

    Dear Vishal / Balaji,
    I am aware that, material cost is picked up from Accounting 1 Tab Moving Average Price or Standard Price.
    You mean to say, Conditon Category G, Sub tota B and Requirement 4, all these three are mandatory to determine a cost in the sales order.
    Because, I am going to create a condition type which will be the copy of VPRS, which I am going to use to maintain Stock Transport Order price for a material.
    So, if I create a new condition type with the copy of VPRS, I have to maintain Condition category as G also Sub total B and Requirement 4 should be maintained in the pricing procedure.
    Is my understanding correct? correct me if I am wrong.
    Also let me if any other method to maintain same material price from MM and SD side for STO scenario.
    Regards,
    Mullairaja

  • The type of the value being assigned to variable ... differs from the current variable type

    I am trying to load a variable on SSIS Execute SQL Task with a string value. I keep on getting an error message :-
    “The type of the value being assigned to variable “User::LegacyColumns” differs from the current variable type”.
    Below are the settings on my package:
    Execute SQL Task Result Set –
    Single Row
    Variable Data Type –
    String
    The data to be loaded on the variable is a single row shown below:
    FirstName,LastName,MiddleName,PatientType,Title
    Can someone kindly help me to solve this as I’m lost for ideas.
    Thanks,
    Mpumelelo

    Thank you Sorna. I think I have managed to solve it. After a long search I have found a solution which advises that I should use a Foreach Loop Container. The help is on this link:
    https://social.msdn.microsoft.com/Forums/en-US/f46dea91-c26b-4ffe-ab1c-ebeef57c90b6/error-0xc001f009-at-mypackage-the-type-of-the-value-being-assigned-to-variable?forum=sqlintegrationservices
    Mpumelelo

  • Differance betwwen alternative calculation type & condition base value.

    dear expert
    wats the differance betwwen alternative calculation type & condition base value in pricing.
    vicky

    Hi,
    AltCty - Condition formula for alternative calculation type:
    It is an alternative formula for the condition type that can be used instead of standard formulas.
    For example, let us take the Profit Margin which can be both + / - , so here this routine will help us in generating the value which can be either + or -. Profit margin is not a condition type so it cannot be classified as +ve or -ve in the V/06.Ex.: 950 0 Profit Margin 11. So we assign 11 - Profit Margin.
    AltCBV - Alternative formula for condition base value:
    Formula for determining the condition basis as an alternative to the standard.
    It is used as a basis to calculate value of the condition type instead of using it from the "FROM" column.
    Ex.: Freight - KF00. Freight is calculated based on weight, volume etc. and not on the base price. In pricing there is no entry of weight from which the value can be referred like we do for discounts using base price. We have to get the value from the Material master. In this column we can mention the value as 12 - Gross Weight or 13 - Net Weight.
    During pricing, the system will consider the value that is mentioned in this column and determine the freight based on this value.
    Suppose we have Net weight: 100 kgs and Gross Weight: 150 kgs. And if we mention 13 in this column then the Freight condition KF00 will be calculated using the weight as 100 kgs.
    And both of them are routines written by APABers in VOFM.
    Reg,
    JJ

  • Change varialbe into Customer Exit type

    Hi all,
       Is it possible to change an existing BEx variable from default type into Customer Exit type?
       I know we can't do this in query designer. Any other approach, like modifying a DB table?
    Thanks and best regards,
    Aaron

    Hi DeeCh.
    If you want to populate the value before the variabel screen input.then please follow below code
    case i_vnam.
      when 'ZPKEYDT'.
      if i_step = 1.
        l_s_range-low  = sy-datum..
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
          clear l_s_range.
              endif.
              endcase.
    Regards,
    Nanda.S

  • FSD Value getting rounded off in ECC

    Hi Experts
    I am  facing an issue at the time of transferring the FSD document  from TM to ECC. My FSD has 3000 USD value (approx) but at the time when it goes to ECC this value gets converted to 30 USD only i.e. the Service PO & Service entry sheet gets created for 30 USD only.I am using only one charge type FB00 is my TCM.
    I am not able to figure out how is the automatic rounding taking place. Even the payload from TM is bringing this value (3000) to ECC.
    Note: My FSD doc currency and company code currency are same.(USD)
    Would request your comments or inputs on this
    Thanks
    Edited by: Sanjeev Bose on Jan 20, 2012 9:57 PM

    Hi Michael
    Thanks for your reply
    Well somehow i was able to resolve this but this is not supposed to be required.Anyhow i feel there might be a bug.
    Anyways, i went down to the ECC>IMG>SAP Netweaver>general settings>Currencies>Set decimal places for currencies>Maintain blank OR zero for USD.
    That somehow resolved our issue.But i seriously dont think this should have been done. Maybe it just worked.After going into deep we found that if no entries are being maintained in the table TCURX then the system will be default taking a rounding upto 4 decimal places for the document currency that you are using.
    Thanks
    Sanjeev Bose

Maybe you are looking for

  • How do I transfer photos from iPad mini to SD card for backup?

    How do I transfer photos from iPad mini to Sd card for backup?

  • Excel  column problem in ECC 6.0

    Hi Experts, In the excel, data of one column is spliting into four columns. My code is like this, CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_DOWNLOAD   EXPORTING     FILENAME                  = lv_wsfile     FILETYPE                  = 'ASC'   CHANGIN

  • Generic Authorization Scheme for items?

    I have created a generic authorization scheme for our application pages, and I would like to extend that to items if possible. The page one was easy enough as I could identify the calling page through :APP_PAGE_ID in the authorization scheme. Unfortu

  • Cost in Material Master

    Dear all I have created a material master. Material type is HAWA. this is accounting one view. Price Control      V              Price Unit        -       1 Moving Price      75             Standard Price       100 Total stock         10            T

  • Link to a cue point in flv

    Hi everyone, I imported a video into flash and set three navigation cue points. Is it possible to linke to these cuepoints using buttons on my stage?