Gross Pricing

Hello Experts,
We are required to implement a gross pricing system as inclusive prices are advertised and cannot see how to achieve this in B1.
At the moment, prices exclusive of tax are input into the price lists but often results in rounding issues whereby e.g. something advertised as £30 shows up as £29.99 on the document gross price column. This can be helped somewhat by extending the number of decimals but not eliminated.
Short of having to make manual rounding corrections on each document line, how can we work with gross pricing?
Thank you.

The functionality to have a gross price list, where the price is fetched to the Gross Price column instead of the Unit Price column, and tax and unit prices are set according does indeed exist in Japanese, Korean and Chinese localisations. The IsGrossPr field is even created in the UK database (OPLN).
What I cannot understand is why this perfectly valid (especially for retailers who advertise gross prices) and domestically legal functionality has been disabled?
Is this switch a hardcoded condition or can it be switched on with flag fields (obviously this would be unsupported but I am curious)?
I would loathe to have to spend forever with the SDK replicating a feature that already exists!

Similar Messages

  • Can't save remarks on AP Invoice, message is Gross pricing is not available

    When trying to add comments to remarks on existng AP invoices, users get an error:
    Gross pricing is not available for transaction subject to single item taxes.
    It doesnt happen to all invoices, and we dont know what is causing this message?

    Any help please?

  • Pricing procedure in RFQ

    I have copied pricing procedure & defined with Z.
    While maintaining RFQ, it is not adopting new pricing procedure...
    How to get new pricing procedure in RFQ doc

    In the Pricing there are two diff pricing procedure you have to define if oyu use your custom pricing
    The first pricing is main pricing which will pickedup in the PO but there is another pricing oyu need which will be used in the the Info record, Contract, RFQ etc.
    so your main pricing contains PB00 and PBXX or if you have defined custom gross pricing condition than
    but your second pricing procedure will be exactly same but without PBXX
    e.g. ZB00 and ZBXX
    ZB00 is pulling the price from Info record or contract or RFQ.
    to get you own pricing you have to go M/06 and enter your gross pricing conditon e.g. ZB00 and than go to Master data portion and enter you second pricing procedure which has only ZB00.
    Your ZB00 should have access sequence attached
    once you done with this thatn you will see your own condition in RFQ.

  • PB00 and BASB how it links

    Hello,
    When we create PO and with Taxcode  "S1" , then system will show all the taxes in "Tax tab", Here we may saw "BASB condition type , What ever the base value of the PO is their, that wil copy in to BASB value, how is it possible. How the system will link that?
    If suppose.
    in Pricing PB00  = 1000
    and ZMAT 2%=    20 ( Tool Amortization charges).
    Business needs that they want all the excise values should calculate on 1020 INR, not on 1000 RS.
    But, when we were created the PO, and used the tax code "S1", then system was only showing "BASB" value 1000 INR, it should show 1020,
    why bcz  all the excise related taxes were calculated based on "BASB" condition type.
    Thanks and Regards
    sapman man

    Hi,
    You need to check setting in calculation schema for condition types PB00 & ZMAT where all  placed properly with a  logic for calculation ---how total price will be(NET PRICE in PO) & specially check properties of ZMAT condition type.
    Concept of tax in purchasing started with tax code which is in PO ( invoice tab  in item details)where  the tax code links calculation schema to tax calculation procedure.
    The NET PRICE in PO is transferred to tax procedure as  "Base amount" by maintaining(which is a base to calculate tax further) base price (BASB) with 362 routine in tax procedure (OBYZ).
    As in you case you have Gross Pricing PB00 = 1000 and ZMAT 2%= 20 ( Tool Amortization charges) where 2% Tool Amortization charges is added to total cost of PO as NET PRICE.  Keep ZMAT condition type(M/06) Plus/minus fields as A  in controldata-1 segment. Do setting as for your specific requirement in calculation schema(M/08)
    Steps-Couu2014Condition type--Cond Descri--- -
    From -
    TO
    10----0PB00 Gross Price--
    20----0 ZMAT -Tool Amortization charges -10--
    30----0TOTAL1020--
    Now create PO with tax code S1 and check how tax calculated with base price 1020 INR
    Regards,
    Biju K

  • IPC pricing gross value for products in catalog

    Hello all,
    In ISA b2b application I need to add a new column with gross value for products in catalog. Here is how I've tryed :
    </i>
    <!-- CBI Added gross price -->
                   <td align="right" >
                        <%IPCItem priceRef2;
                         try {
                          priceRef2 = (IPCItem) item.getItemPrice().getPriceInfo()
                                       .getPricingItemReference();
                          if (priceRef2 != null) {
                               DimensionalValue grossValue = priceRef2
                                                 .getGrossValue();
                                       %>
                                       <%=grossValue.getValueAsString() + " "
                                                 + grossValue.getUnit()%>
                        <% } else {
                             %><isa:translate key="z_catalog.isa.nogrossvalue"/> <% }
                         } catch (Exception e) {
                         %><isa:translate key="z_catalog.isa.ipcexception"/>
                         <%} %>
                   </td>
                   <!-- CBI Added gross price -->
    </i>
    The problem is that the gross value is the same with the net value.
    I've try also using <i>item.getItemPrice().getPriceInfo().getAllPriceInfos()</i>
    where item is WebCatItem, and retrive an array of PriceInfo (s) with only one PriceInfo object which has the type <b>netValue</b>.
    Then in the backendobject-config.xml I've modify the priceTypes attribute value for BO "CatPriceCalc", but without any succes. Here is the snippet:
    <i><businessObject type="PriceCalc" name="CatPriceCalc" className="com.sapmarkets.isa.backend.crm.webcatalog.pricing.PriceCalculatorCRMIPC" connectionFactoryName="JCO" defaultConnectionName="ISAStateless">
                        <params>
                             <!-- CBI gross value -->
                             <b><param name="priceTypes" value="totalNetValue totalGrossValue"/></b>
                             <!-- for allowed values see defined constants in com.sapmarkets.isa.backend.boi.webcatalog.pricing.PriceType -->
                             <param name="doItemCalls" value="true"/>
                             <!-- set this to true if you want to have additional call of CRM_ISA_PRICING_ITMDATA_GET when doing item pricing -->
                        </params></i>
    Do you know how to solve this problem? Or why is not working.
    Any help (soultion, docs, links) is very wellcome and rewarded.
    Thank you
    Bogdan

    Hi Bodgan,
       It seems that some values like tax, discount are not being calculated by IPC as required parameters are not sufficient enough to differentiate between the two. You can run catalog pricing analysis and see what are the gross and net pricing value. You can update the extra parameters to IPC by extending the class you mentioned and modify backend config xml file to use that class for ISA.
    Regards.
    Vivek

  • Free Goods Pricing Problem

    In our pricing procedure we have R100 and NRAB condition types.In sales order we are giving free goods(Exclusive).Now in condition tab for the free goods line item the value is showing as followes
    PR00- Rs 150
    R100- Rs 150(-)
    Net Value - 0
    CST- 4.50
    Net Value with Tax 4.50
    Rounding Off   4.50(-)
    Total value - 0
    So for this line item Net Value is coming Rs  4.50(-) and Tax is Rs 4.50.
    In header this value is adding or subtracting from the value of main line item and showing the final value.
    So how can i make the net value and tax 0 for the free goods item, so that it will not affect the total value of the document.
    Regards
    Jyoti

    Hi Jyoti,
    In this scenario you can use below pricing procedure.
    Step 10- PR00.......................................................................100 Rs
    Step 20  Gross Price..............................................................100 Rs
    Step 30  CST (calculate on Step 20) From 20 to 20....................   8 Rs
    Step 40  Net Value( From 10 to 39)...........................................108 Rs
    Step 50- R100 (From 40 to 40)..................................................-(108) Rs
    Step 60  NRAB........................................................................
    Step 70  DIFF..........................................................................
    Total       .................................................................................   0 Rs.
    I hope it will help. Please check and confirm
    Thanks,
    Raja

  • About the pricing procedure of purchasing order

    Hello friends,
    can anyone tell me about the pricing procedure,conditions & texation of Purchase order?
    and hoew to maintain all those term in Customisation?

    The Basic thing is Condition Technique. In which there are 
    1. Access Sequence 2. Condition Record 3. Condition Type 4. Condition Table. 
    A Access Sequence access a Condition Record of a Condition Type in a Condition Table is a  Condition Technique.This is a simple logic 
    Here the Condition Type is very important like PB00, PBXX,RA01 etc. 
    In the background every Condition Type has its own defition means the purpose of the Condition Type  like, is it for Pricing or Percentage, Quntity base, Accrual Feilds etc is to be defined to work this functions.  Normally we use the existing ones without any risk. But some cases, we have to Create a New Condition Types as per the organisation requirement. 
    The Pricing Schema is useful to minimise condition types while mention prices for Vendor on the basis of Pricing Schema which we defined according to organisation requirement. 
    The Pricing Schema means the calculations procedure of Condition Type. 
    Ex.  RA01 - Discoount % is caclulated on PB00 - Gross Price  means 
    RA01 is based on PB00  like that we have to define in the Pricing Schema 
    which makes easy to use in real time. 
    Here PB00 has the Access Sequence - 0002. 
    But RA01 does not have the Access Sequence.Why because it is a dependent on PB00. But both are Condition Types. 
    In the system, by default some standard  Scheme will be there at Vendor Schema Group in the Vendor Master Screen means the standard one is assigned which is very lengthy which may fullfil our requirement. But some cases which may not fullfil our requirement, in such we have to define. 
    For the configuration, I may not able to explain properly through here but will give some idea. 
    Configuration: SPRO - IMG - Material Management - Purchasing - Conditions - Define Price Deternmination Process:
    1. Define Access Sequence 
    2. Define Condition Type 
    3. Defince Calculation Schema:- Here you have to define the Schema - Define Schema group 
    1. Define Schema Group vendor 
    2. Define Pricing Schema group 
    3.  Schema group for Purchase Organisation 
    4. Assign Schema group to Purchase Organisation - Define Schema determination 
    1.define calculation schema for Standard purchase organisation 
    After completion of the Schema Group, we have to assign it to Vendors. 
    Then whenever we use any transaction with this Vendor, the concerned  Schema will work as configured by us. 
    The Pricing in MM is vast because each Condition have its own importance and each Access Sequence have its own importance. So you need not bother about this. First you learn how to define the Calculation Schema through the above.

  • Venda de Serviços com valor de ISS no Gross Up

    Olá pessoal, uma dúvida.
    O cliente vende exclusivamente serviços, apliquei as notas 1706309, 664855, 747670, 852302, 916003 e 815720.
    Efetuei testes para Cofins e Pis e está calculando muito bem. Porém o erro está no cálculo do ISS quando utilizado o modo Gross Up (Imposto fora do preço) pois ele altera o valor da ICMI.
    Estamos usando a TAXBRA e a RVABRA padrão.
    Criei o Tax Group 50 e todas as sequencias de acesso de ISS para provedor foram atualizaras como este grupo que foi configurado da seguinte forma:
    Jurisdict.Code: SP
    Valid from/to: 01.01.2014 até 12.31.2999
    Company Code: ZXXX
    Tax Rate: 5
    Tax Base: 100
    Iss Law: IS0
    Tax-Rel.Loc.: 1 Provider
    Iss WT: X
    Min. Value: 5.000,00
    Currency: BRL
    Veja o detalhe das condições para o cenário abaixo:
    Se eu coloco um preço líquido de 1000,00, com Tax Code I9 (ISS+COFINS+PIS+WHT) e Cofins sendo 7,65%; PIS sendo 1,65% e ISS sendo 5% (Empresa de Lucro Real na cidade de São Paulo) as condições ficariam assim quando utilizo cálculo dos impostos por dentro do preço líquido (Tabela J_1BKON1V)
    BX70 COFINS Base: 1.000,00
    BX72 COFINS Amount: 76,00
    BX80 PIS Base: 1.000,00
    BX82 PIS Amount: 16,50
    BX50 ISS Base: 1.000,00
    BX51 ISS Amount: 50,00
    IBRX: 1.000,00
    ICMI: 1.000,00
    Net Price: 857,50
    Tax: 142,50
    Entendo que o cálculo acima está perfeito para imposto por dentro, porém vejam como fica quando altero para calcular por fora:
    BX70 COFINS Base: 1.157,03
    BX72 COFINS Amount: 87,93
    BX80 PIS Base: 1.157,03
    BX82 PIS Amount: 19,09
    BX60 ISS Base Provider: 1.157,03
    BX62 ISS Amount Provider: 57,85
    ICMI: 1.157,03
    IBRX: 1.157,03
    Net Price: 992,16
    Tax: 164,87
    Neste caso, a ICMI assumiu o valor de 1.157,03. Entendo que o Net Price deveria ser 1.000,00 (Já que é o preço líquido sem impostos) e o Tax deveria ser 166,18. Veja como cheguei neste valor de Tax:
    Fiz a fórmula de Gross Up sendo: 1-([ISS+COFINS+PIS]/100) ou seja 1-([5+7,65+1,65]/100) daí evolui para o seguinte resultado: 1-(14,25/100) resultando em 0,8575. Logo peguei o preço líquido de 1.000,00 e dividi por 0,8575 que dá 1.166,18 logo, o total de impostos é 166,18 e o preço líquido é 1.000,00.
    Sendo assim, no meu entendimento as condições deveriam ficar assim quando o imposto é por fora:
    BX70 COFINS Base: 1.166,18
    BX72 COFINS Amount: 88,63
    BX80 PIS Base: 1.166,18
    BX82 PIS Amount: 19,24
    BX60 ISS Base Provider: 1.166,18
    BX62 ISS Amount Provider: 58,31
    ICMI: 1.166,18
    IBRX: 1.166,18
    Net Price: 1.000,00
    Tax: 166,18
    Alguém saberia como resolver este problema? ou seja, alterar a configuração para que ao invéz de calcular conforme o texto em vermelho fique igual ao texto azul?
    Obrigada
    Fernanda

    Pessoal,
    Achei o erro, o problema está na retenção. Dentro do grupo 50 eu exclui os campos:
    Iss WT: X
    Min. Value: 5.000,00
    Currency: BRL
    Então a pricing retornou corretamente.
    Vamos verificar todas as notas de retenção para corrigir o problema.
    Obrigada
    Fernanda

  • Using gross price instead of net price at Quotation

    Hi,
    I'm working at a company that just bought SAP ERP ECC 6.0. Our consultants told us that SAP only works with Net price in MM. It sounds a little bit weird for us, because here in Brazil we usually use Gross price in all our transactions.
    Here in Brazil we have some taxes that are included in gross price and it's a hard work ask the final user to calculate the taxes out of SAP and input net Price in the system.
    I read a little bit some documentation provided by SAP at Internet called SAP Library and I found an article titled:Entering a Quotation Against an RFQ
    In this article says the following: " You enter the net price per unit in the Net price field. This price includes the vendor's normal discounts and surcharges only. Cash discounts (for prompt payment) and taxes (e.g. value-added tax) are calculated separately.
    You enter the gross price in the Net price field, and maintain the conditions for the item. Then the system automatically replaces the entered gross price with the calculated net price (see Maintaining Conditions)."
    As we can see, there are two ways to input the price. Gross price and Net price. I'd like to know if is there the possibility to configure the "mentioned conditions" for a group material and at the moment I type the gross price in Quotation the system automatically calculate the net price?
    Our consultant told us that this procedure should be done for each item in quotation, in my opinion I guess that SAP can link the applicable taxes for the material based on its group material. If something like that is possible, our daily work will be simplified so much because the system will know the taxes that should be discounted for the material and calculate automatically the net price.
    If this possibility exists, could you please tell me in technique terms (transactions) that should be set?
    Another question is about Taxable Income, is there any place in SAP where I can configure the Taxable Income for a material or group material for the taxes set at "mentioned conditions"?
    Thanks in advance,
    Sorry about my English.
    Best Regards,
    Amorim, Rodrigo.

    What you need is a new pricing procedure design to fit your requirements. The standard pricing procedure allows you to enter the net price. Then the gross price is calculated after taking into account the discounts, taxes etc. These discounts and taxes can be designed to determined automatically through material group also. So to achieve your requirement the pricing procedure has to be changed accordingly to calculate the net price from gross price entered. While this can be done, but all other impacts on pricing reports and accounting document posting with correce valuation price etc. have to be tested in detail.

  • Gross price for BASB Condition is not picking in Purchase Order invoice tab

    Hi Gurus
    In taxinj -- conditional base column i added 362 and
    in pricing procedure for gross price in subtotal column i added 6
    but even though when i click invoice tab while creating Purchase Order i am not getting gross price for BASB condition same as gross price in pricing procedure it is picking some different value such as either net value or manual excise from pricing procedure JEXC condition value.
    what went wrong.
    Rgds
    Shrikant Kamat.

    Hi Saplearner's
    Is there any body who will focus on this issue
    I have maintained all this accordingly, but the problem lies over here
    Pb00-- 100 
    ra01---  2   discount
    net--  98
    jexc(16%)--15.68 ( MANUAL EXCISE)
    net amount including tax-- 113.68
    freight(2%)-- 1.96
    Actual-- 115.68.
    BASB-- 115.68  ( It should be 100)
    In short i have given summary above, now let me explain
    when i am giving 100 as gross price,discount-2 and if i dont give JEXC, then BASB is coming 100 that is correct.
    when i am giving 100 as gross price, discount 2 and if i give JEXC  , then BASB is  picking as 115.68.
    Problem is here when we give  JEXC  manual excise.
    Rgds
    Kamat.
    Edited by: shrikant kamat on Feb 16, 2009 2:09 AM
    Edited by: shrikant kamat on Feb 16, 2009 2:09 AM
    Edited by: shrikant kamat on Feb 16, 2009 2:10 AM
    Edited by: shrikant kamat on Feb 16, 2009 11:57 PM

  • Tax code linked with Pricing procedure

    Hi,
    How the tax code have been linked with the pricing procedure? Please explain the inter-releationship between TAXINJ and Pricing proceure ? Thanks in advance.
    BK

    Hi,
    You have asked two questions in your response, I will answer these seperately.
    <i>How the tax code has been linked for the CENVAT creditable items</i>
    For Cenvat creditable items, you will have to define tax codes that have values  corresponding to condition types JIP5, JIP6, JIP7, JIP8, JIP8 (in FTXP). Respective G/L accounts will have to be assigned against the Accounting keys by the Finance team. These tax codes can then be used in PO.
    <i>How these two pricing procedures have been incorporated in SAP and which one will take precedency</i>
    Net price calculated from the pricing procedure you define (which starts with Gross price and includes Discounts and Surchages) is passed on as the Base Amount to TAXINJ. Applicable taxes are calculated on this and the calculated value is passed on to your pricing procedure through the condition types NAVS/NAVM. You should add NAVS / NAMV after the net is calculated. This when added to the delivery costs (freight, forwarding charges) will give you the effective value.
    Hope this answers your queries.
    Priyadarshi

  • Add pricing condition within order created with reference to SPA

    Hi,
    I have a requirement wherein I need to add a $50 fine to order if the total order weight is below 75 kg.
    Problem I am facing is with orders created with reference to SPA wherin pricing is not calculated but copied from SPA.
    Please help me in solving this issue.
    Also, Please let me know the pricing userexit / BADI for CRM wherein this can be coded.
    Regards,
    Willban
    Edited by: willban_sap on Jul 21, 2010 11:43 AM

    Hi Willban,
    wonder wether you could use any weight dependent (net or gross) group condition with a scale. Delow 75 kg across all grouped items you would charge 50 $ and starting at 75 kg you would charge 0 $. As the scale base should get adjusted with the copy / create with reference step, I see no need for custom code.
    Best Regards,
    Michael

  • How to control the pricing condition in billing document?

    Hello Experts,
    Greetings!
    We are using two pricing condition.One is PR00 another one is VA00.PR00 is a mandetory condition & prices comes from condition record only.Users are not allowed to enter pr00 manually.
    Now we have created one more condition VA00 by which user can  increase the price for some particular customers.
    Now if the user do enter the condition VA00 in sales order & if it beyound credit limit than system gives informative message & blocks for the delivery.
    Now the issue is if they do enter the condition in billing documents instead of sales order system does not check the credit limit at billing level.It allows invoice to be generated even beyond the credit limit.
    How can we control this? Is it possible that the condition VA00 can only be used for sales order only.It will not allow to enter at billing time?
    Plz suggest how can we resolve this issue in order to control the credit limit.
    Any help would be highly appriciated.
    Best Rgds
    Nitin

    Hi,
    you can use a surcharge condition type which calculates a percentage over the basic price price that is PR00 in your case.
    insert it in the pricing procedure just below the PR00
    and remember to maintain FROM & TO step no. of PR00, this condition should be manual entry alllowed
    and insert one more condtion type in pricing procedure that will add the values of above 2 condtions .
    make above condition type w/o account keys and assign account ker erl to this new condtion type,
    STEP NO.     COUNTER     C TYPE     DESCRIPTION     FROM      TO     R     ACCOUNT KEY
    8     0     PR00     BASIC PRICE                                           YES     
    11     0     ZSUR     SURCHARGE     8     8     YES     
    13     0     ZPR0     Price (Gross)     8     11     YES     ERL
    in condition type of ZSUR(surcharge)maintain "c"
    REVERT IF HELPFUL
    Mohit Singh

  • New Pricing Procedure

    Hi Gurus
    -- I have to set up a pricing procedure in which calculation for allowances(discounts) should not happen during PO Creation and all discounts should go to a single GL account during goods receipt and invoice verification .i am not sure what type of condition type i should choose which will be like discount but that should not deduct the discount amount from PO gross price
    in PO rather the same amount should carry forward to goods receipt and Invoice as a separate entry .
    The PO is created for 100$  and discounts  are 10$ so the price of the item in PO should remain 100 and during goods receipt GR/IR account should be credited for 90$ and discount account should be credited for 10$ and vendor account should be debited to 100$  and  during invoice vendor should be credited only 90$ and 10$ should be debited to  discount account and 90$should be debited to GR/IR.
    Any idea please how we can map this in pricing procedure .
    Thanks
    Mahendra .

    Hi Mahendra,
    After thinking through the requirement,   can ccheck with client if
    1. If they dont want the discount on the PO appear then i feel need to change the Pricing procedure instead look for handling this discount at MIRO level or say Subsequent Debit / Credit .  Here the shortfall is we dont hit the GR/IR 
    2. Alternatively i would discuss with the Purchasing and Finance team to check if you come out with a custom program that will have input as PO that ready for GR,  you define a manual condition type for the discount that you enter in the PO before GR. and most part of you requirement can be achieved.
    Hope this helps.
    Thx
    MJ

  • Determine cost from pricing in sales order

    HI all,
       I am trying to overwrite the unit price of customer price(ZCUST)  when the order Gross Profit Percentage is below 10% once the material is entered during creation of a sales orderm not when saving order.
    GP % calculation is dependent on zcust and total cost.
    Below is the pricing structure.
       zcust                  80
       Zcost                10
          other cost        5
          Total Cost        15
    For ZCUST, it has routine in Col 'Cal Type' which picks up for zcust.   In this routine, i am trying to get Total Cost.
    When i debug this routine, the price for zcust is there all the time.  The price for Total Cost ($24) is not always there in this routine.   One time the total cost is 10, then 0, then 15, then 0, then $15. 
    Why is it the total cost changes all the time?  How  to tell when to use $15 instead of $10 in my GP calculation ?
    Any suggestions are appreciated.
    thanks
    Joyce

    Hi Rani,
    If the value of the condition type in the condition tab is greyed out it means that you cannot modify the value. The config for this done in [V/06] under the Changes which can be made tab you would find a field Manual Entries.
    Reward points if it had help you.
    Regards
    NP

Maybe you are looking for

  • Is there a way to restrict opening a PDF to one computer (PC or Mac)?

    Is there a way to restrict opening a PDF to one computer (PC or Mac)? I'm not sure how it would be done. Encoding of current IP number or logicboard serial number? Any ideas? The PDF publication is a trade-sensitive document that is expensive and the

  • Displaylink in Toshiba Dynadock U3 stopps working after a fews mintues

    I also have opened a Thread in the Displaylink supportforum, but they dont find any solution. I have buyed a Toshiba Dynadock U3 ( and i am very angry about this, to play beta tester for this s**product!) it works... a couple of minutes.. than the mo

  • To Display the summary

    Hi i m trying to print the summary of the subarea that How many employees hav more than 6000 salary and how many have less than 6000 . for example if we have 25 records of more than 6000 PKR than it should display 25 rather than 1 to 25. kindly exami

  • Make a DLL with LabView??

    Hi LabViewers!! I'm doing a program with C++Builder and I would like to use some features from LabView, and I think that I can do that creating a dll with LabView but I dont know if this is possible. Could someone tell me if there is another way on m

  • Return a recordset in script or procedure

    Hi ALL, How can I use "select * "statement in script or procedure? Example DECLARE V_PRVSP_REFNO Number; BEGIN select * from tb; END;