Price to calculate on different logic

Hi experts please solve my issue..
My issue is:
I have 2 condition types (tax related) zra1 n utxj.zra1 will be calculated on material price & utxj will be calulated on base price.
Now if net price reaches above 30thousand both conditons types should calculate 15% n if netprice is below 30k  condition types should calculate 12.5%..
i want to create a routine for this..how?
We cant  maintain scales in utxj cond.type..
key combination is based on tax classification of customer,region,material classfication,product hirrerachy.
please give ur valuable suggestion..
Message was edited by: G Lakshmipathi
Please use the subject effectively

Hi,
decalre tax values as a separate itab.
if net GT 30,000.
wa_taxper = 15.
perform get_tax_value using KNUMV wa_taxper.
else.
wa_taxper = 12.5
perform get_tax_value using KNUMV wa_taxper.
endif.
form get_tax using KNUMV type konv-KNUMV, taxper type konv-KBETR.
loop at konv where knumv = knumv.
check konv-kschl EQ ' zra1'  or konv-kschl= ' utxj'.
append final_itab.
endloop.
Regards,
Venkat.

Similar Messages

  • How to apply different Logical operations to N.of Signals

    Hello all,
    Please help me if anyone have idea about this.
    I have “N” number of signals. I want to apply different Logical operations for this.
    For Example:
          (((SigA >= 30 && SigB <=55) || (SigC = 42)) && (SigD > 45))
    ((((SigD >= 89.25 && SigF <=55.568) ||(SigG = 156.89)) && (SigA >= 45)) || ((SigF – Sig A) >25))
    Here Conditions will change every time. User can input different conditions (like Excel calculations). I need to check signals as per these type of conditions. Is there is any tool kits available in LabVIEW / we need to develop?
    Currently I’m thinking about string manipulations to extract the each condition . Once first condition is finished then check this results with next conditions (so on..)
    Munna

    Hi GerdW,
    After long time again I stated doing this task. Could you please help me in this.
    As per my snippet, at 1st making array based on given String. From that string I need to check where open & closed brackets are coming to do logical operations.
    For Example: (2 OR ((1 AND 2) OR 3))
    Index
    0
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    String
    2
    O
    R
    1
    A
    N
    D
    2
    O
    R
    3
    Please give me any idea/sample VI for the same.
    Here, 1,2 & 3 are Indices of Boolean 2D Array.
    Munna

  • Internal order - Error - Different logical system for order

    Hello all,
    I try to send IDoc (INTERNAL_ORDER) from system A to system B.
    I have done:
    - BD64 / WE20 / WE21
    But after having customizing I have got following error:
    Different logical system for order xxxxxx
    Message no. 2075ALE001
    Diagnosis
    Internal order xxxxxxx already exists in system B. Its master system B is different from the master system A of the new internal order to be distributed with the same order number xxxxxxx.
    System Response
    Internal order xxxxxxx with master system A cannot be distributed in system B.
    Procedure
    Check customizing for ALE for internal orders.
    How to solve this?
    My aim is to maintain internal order master data in test system.
    Thanks for your help.
    David

    I have found something.
    If I change in table AUFK, logical from empty to A (master) and I run IDOC then IDOC has been correctly integrated.
    Then: how to define "master"?

  • Price diffrence calculate

    Hi Gurus,
    just I want to know how the price diffrence calculate and hit the material.
    For example
    A purchase Order is raised and the amount of Rsa.10000/-.
    GRN is made and when the invoice verification is done the user give 9000/- instead of 10000/-.
    From where the system calculate and hit in material.
    Thank You

    HI,
    For example
    A purchase Order is raised and the amount of Rsa.10000/-.
    GRN is made and when the invoice verification is done the user give 9000/- instead of 10000/-.
    If you change price 9000instead of 10000/-
    and IF you have  Qty for material ( not issue for production or consumption) then it will deduct from Material value1000
    Otherwise  it will hit PRD if not Qty there
    Regards
    Kailas Ugale
    Edited by: kailasugale on Jan 17, 2012 5:48 PM

  • Using a schema from a different Logical Data Service

    Is it possible to use a schema from a different Logical Data Service in a new Logical Data Service? I want to maintain just one version of the schema.

    when I try and associate a schema type the 'Select Schema Type' dialog appears. On there the scope is set to project. Next to it is 'All projects', is there a way I can get that ungreyed?I don't think so. I assume that is a remnant from ALDSP 2.x when we had the notion of an ALDSP application that contained multiple ALDSP projects and there was visibility across projects (actually just folders) in the same application.
    can I use a schema associated with another dataspace projectNo. The contents of a dataspace are not accessible from outside the the dataspace other than what is provided by the APIs. And although the schemas could be accessed via catalogservices, this isn't a standard protocol (like http://) and therefore schema processors wont' be able to use them.
    You could host your schemas in a web-application and expose them via http. Create a Dynamic Web Project and put your schemas where the content gets served from (i.e. alongside index.html), and then they would be accessible via http://<yourserver>:<port>/yourWebApp/yourSchema.xsd. All the schemaLocation in the imports would need to be relative. It would probably be easier to create your schema-hosting application first, then build your dataservices.

  • Same busines system having different Logical system name--- is it possible

    Hi Experts,
          Can I create same business system connected to to  a specific Technical system? Here I am creating more than one business system having same business sytem name but different logical system name?
    What are the outcomes can I expect?
    Thanks
    Sugata B

    One technical system could have multiple business system and each business system should have a unique logical system name. However, if you provide some similar name, then I guess while configuring there would be no error. At runtime, you may face some error when business system is checked during SLD lookup.
    Regards,
    Prateek

  • Hello, good day, my question is, buy Logic Express, but then put logic pro 9 in the same price, I can not buy logic studio, and let me know if I buy now logic pro, I can buy separately after jams that bring logic studio. thanks

    Hello, good day, my question is, buy Logic Express, but then put logic pro 9 in the same price, I can not buy logic studio, and let me know if I buy now logic pro, I can buy separately after jams that bring logic studio. thanks

    José, if you buy and download Logic Pro in App Store now, the best option would be to buy an upgrade to Logic Studio. I don't think Jam Packs are available any more in Apple Store, besides it will be more expensive buying them one by one than upgrading to Studio.
    Español: José, si compras y bajas Logic Pro de App Store ahora, despues la mejor opción será comprar el upgrade a Logic Studio. No creo que estos dias fuera posible comprar Jam Packs de Apple Store, y además comprarlos uno por uno seria más caro que el upgrade a Studio.

  • Validation If unit price of GRPO is different from PO

    Hi,
    I  am trying to assign 1 validation for scenario mentioned in the subject. The validation which i have tried is showing me error even if i have not changed the unit price at the GRPO level.
    IF @transaction_type IN (N'A', N'U') AND
    (@Object_type = N'20')
    begin
    if exists (SELECT T1.[Price], T3.[Price] FROM OPDN T0  INNER JOIN PDN1 T1 ON T0.DocEntry = T1.DocEntry
    INNER JOIN OPOR T2 ON T2.DocEntry=T1.BaseEntry  INNER JOIN POR1 T3 ON T2.DocEntry = T3.DocEntry
    WHERE T1.ItemCode=T3.ItemCode And T1.[Price]<>T3.[Price])
    Begin
    select @Error = 10, @error_message =
    'UNit price is different from PO'
    Regards-
    Monica.

    Hi Mona
    Try with this : 
    If @object_type='20' AND @transaction_type = 'A'
    BEGIN
    If Exists
    (SELECT TRUE
       FROM PDN1 T0 INNER JOIN POR1 T1
             ON T0.BaseEntry=T1.DocEntry and
                T0.BaseLine=T1.LineNum
       WHERE T0.DocEntry = @list_of_cols_val_tab_del
          AND (T0.BaseRef=' ' or T0.BaseRef IS NULL)
         AND T0.Price!=T1.Price)
    Begin
    SELECT @error = 1,
    @error_message = 'Price is different'
    End
    END
    The logic is same but becasue of data coming into the system . Also check in your database
    select * from POR1
    Hope this helps
    Bishal

  • Swapping between different logical views

    I am designing an applet that has several logical views, such as Login, Registration, Waiting Area, and Game. I am very new to applets and Swing, and I can't figure out how to have each of these designed separately and then swap between them. Ideally, this is what I would like:
    1) Each view can be designed separately using NetBeans IDE, preferably in different classes for neatness.
    2) When certain conditions are met (such as successful login), then all content in the applet window will be removed and replaced with that of a new view.
    I attempted to use setContentPane to achieve this, but it doesn't seem to repaint correctly except when called initially. Otherwise, the setting the content pane and calling repaint will pain the screen blank. If you resize the window (only possible via applet viewers, not via web page applet) then the content displays properly. It seems like I need to somehow force the applet to repaint, but neither the repaint method nor manually modifying items, such as changing text on the new screen via setText, will not force it to display.
    When I used setContentPane(myLoginGUI.getContentPane) in an event-dispatching thread during init, it correctly displays the login page.
    Here's some of the code I was using, involving classes Client, LoginGUI, and RegisterGUI, which all extend japplet:
        //in Client.java:
        //called during init from an event dispatching thread
        //also called in RegisterGUI from button handler for goBackToLogin button
        public void createLoginGUI(){
            myLoginGUI = new LoginGUI();
            this.setContentPane(myLoginGUI.getContentPane());
            repaint();
        //called when user clicks register button from login page.  button handler
        //is in LoginGUI
        public void createRegisterGUI() {
            myRegisterGUI = new RegisterGUI();
            this.setContentPane(myRegisterGUI.getContentPane());
            repaint();
        }Thanks for reading this and any insights you may have.
    Message was edited by:
    bubonics

    The easiest way is to use a CardLayout:
    http://java.sun.com/docs/books/tutorial/uiswing/layout/card.html
    In general, whenever you add or remove a compnent from a Container you need to validate(), or if its a Swing compnent, revalidate() the container. So you could try to validate() the frame before the repaint.

  • Invoice price block,PO in different currency

    Hi,
    The PO and the invoice are in different currency and the invoice is price blocked.
    1.What do i do?
    2.And how to check the difference in amount if the currency of PO and invoice are different?And what is to be done for it?
    3.The accounting document is already created for the invoice.Does this mean the invoice is already posted?If yes, does it mean it is possible to post an invoice even if some of its items are blocked?

    Hi
    If invoice currency (say USD) is different from PO currency (INR), then you can enter invoice currency (USD) in invoice under basic data tab -next to amount field. Then PO currency (INR) will be calculated with invoice currency (USD) exchange rate on that date and new value will be proposed in USD.
    If the exchange rate is not taken care then it will go to expense/stock account.
    Thanks
    Edited by: Praveen Raghavendra on Dec 23, 2008 9:51 AM

  • How can I define same Price Conditions for two different Sales Deals ??

    I need to define for the same price condition, lets say ZPMP, two different values or condition records, for two different sales deals and the same valid dates
    For example, Sales deal 1, ZPMP equal to USD 15 and valid dates from 04/15/08 to 04/30/08.
    Another condition record for Sales deal 2, ZPMP equal to USD 20 and valid dates from 04/15/08 to 04/30/08
    How can I do this.
    Thanks in advance.

    While creating condition tables, you have the option to create different key combinations. So if you want the system to take different condition records for different sales deals, there has to be a point of differentiation between those 2 sales deals.
    This can be done in one of the following ways:
    by giving customer specific prices
    by giving material specific prices for a particular customer etc
    All this can be defined as different key combinations while creating the condition tables. For each key combination, you can specify different condition records, so that the system is able to pull prices according to the requirement.
    But if the sales deals are entirely similar (that is even the validity dates, delivery dates etc are also same), and there is no differentiating factor, then you will have to manually input the prices.
    Do get back if you require more clarification. Please reward points if useful.
    Regards,
    Swapna

  • Different Logical Systems ?

    HI,
    is it possible to use another Logical Systemname (Sender Service) ?
    i know 2 possibilities.
    1) Change the LS in the SLD but i can´t do that because a lot of companies using this LS.
    2) Check "Using sender from payload" but this is already changed to "using controlinformation from payload" and might not be changed.
    Is there another way to change the SenderService ID in the configuration and no other companies (business systems) are involved ?
    Thank YOu,
    Gordon

    Hi,
    are you talking about IDOCs?
    >>>>2) Check "Using sender from payload" but this is already changed to "using controlinformation from payload" and might not be changed.
    you can set it for even IDOC channel ...
    so it can be changed in this way
    for more info on IDOC processing check out:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Facts at different Logical Dimension Level and Default Interaction (Drill)

    I have one Geography Logical Dimension that consists of 3 physical tables snowflaked. The 3 tables are City, State and Country. I have created 3 Level Based Hierarchies.
    I have 2 Facts. Fact_State is at the State grain only (Set the appropriate Content Level). Fact_City is at the City grain (Set the appropriate Content Level).
    When I pull a query with Country and a metric from Fact_State, the default interaction allows me to drill down. I drill into the State values. I would assume that the Drill interaction would stop here since this metric (Fact_State) is only at this level.
    What actually occurs is it allows for a drill into City and when you look at the Physical SQL it is trying to hit the other Fact Table (Fact_City) and pulls back no metrics. I then return no data.
    I would ask does anyone know if this is the expected behaviour? Is there anyway to stop the drill at the State Level when metrics are only pulled from the State Fact?
    Please let me know if more information is needed.

    You need to have a metric sourcing from both Fact_State and Fact_City, provided both facts are as Logical sources for the logical fact table.
    Make sure Fact_State got proper level and Fact_City got detail level.
    When you pull Country or State with metric query should hit Fact_State, when you drill down below the state query should be from Fact_City with proper data.
    Edited by: Srini VEERAVALLI on Mar 28, 2013 2:43 PM
    I can look into your new post only If you update this or older posts. Still you may get responses from others ;)
    Edited by: Srini VEERAVALLI on May 22, 2013 2:00 PM

  • Price in store was different from the price on the website (in store only)

    I saw on BB website a Toshiba Laptop listed as 379.99 and it says "in store only". So I went to a best buy store in Culver City and they didn't have the laptop but I was told that they had it at the best buy in Glendale. The guy at BB in Culver City was nice enough to try to call them but no one ever answered the phone. So I went to the store in Glendale. I Found the same laptop but I was told that the price would be $549, not $379.99. If the price changed or something, you guys should change it on your website as well.

    Here's the deal.  I just went to my Best Buy Store in Gulfport MS to get this Laptop, after shutting down my PC an 20 minutes before I got to the store.  I got there and they told me that the sale on that particular laptop did not exist and never did.  I tried to go online in the store with All the info I jotted down on this PC.  The webs for the Toshiba laptops L305D-S5892 at 379.99 and L305D-S5893 at 479.99 NO LONGER EXIST.  The sales guy chuckled when I said I got all the info with the SKU's from the Best Buy site.  I just got home and tried to bring up the pages here.  The pages come up NO LONGER EXIST.  I just talked to a friend who tried to purchase the same PC's in OHIO and the store refused to honor the online price yesterday stating that it must have been a mistake and they then tried to sell her a Compaq with 1g ram and 160 g HD, it doesn't even have the required ram to run Vista according to Microsofts website Vista requires 2g of ram. and it was more expensive, compared to the Toshiba that was listed online the Compaq is crap.  Another sales person took over and informed her that Best Buy often places these ad's online for in store purchase only but when you get there they do not honor the sale ad posted to their site.  The sales rep told her it is kind of like a teaser ad, except it's falsely advertising what they have.  They tell you that their store doesn't sell it and send you from store to store trying to find the sale item.  Then when they get enough complaints they remove it from the site as though it never existed.  Without the proof they can not be charged with false advertising.  She stated that it common practice with Best Buy to do this on their electronics.  This is BS if they post it they should honor it.    

  • Using different logical tables in one dimension

    Hello.
    I have two fact tables and two dimension tables Country and Region. One fact table depend on one dimension table like it shown in this link - http://file.qip.ru/file/121151603/3b4ebdba/2_online.html. Table Country is received from table Region by DISTINCT.
    At the presentation I have to realize one column in Presentation Catalog for both columns Country Name (or Country Id) from Country and Region, the user won't know that one fact table depends on COUNTRY and other on REGION.
    Also I have to realize the dimention "Geography" (Country->District->Region) for fact table SALE_REGION.
    Could Oracle BI automatically choose from which table get data and if it can, how I should make the logical model?
    Thanks.
    PS.
    The best variant I realized it this - http://file.qip.ru/file/121154314/8d242b81/3_online.html where District is the shared child for second Country level, but it doesn't work properly.

    Y don't u use union request in first request details of fact1 and its related dimensions and in 2nd request fact 2 and its related dimensions.
    I guess this should work
    Thanks
    Subhash

Maybe you are looking for