Problem in Pricing procedure  logic

Hi,
In pricing  procedure ,our functional team requires some logic inthere  procedure .
1. Thay have condition type of ZBEA and ZBEE, If ZBEE is active that time ZBEA should be inactive.
   For that i created a routine like below.
DATA: LV_XKOMV TYPE KOMV.
if xkomv-kschl = 'ZBEA' and xkomv-kbetr NE 0.
clear lv_xkomv.
  READ TABLE XKOMV INTO LV_XKOMV
              WITH KEY
              KSCHL = 'ZBEE'.
  IF sy-subrc = 0.
    XKOMV-KINAK = 'X'.
    MODIFY XKOMV TRANSPORTING KINAK WHERE KSCHL = 'ZBEA'.
  ENDIF.
endif.
Now its making ZBEA inactive but its showing ZBEE as 2times. How to avoid this?
Can anyone please help this.
Point will be sure.
Mohana

Hi
But where are you doing that?
U should insert an Alternative Formula Routine in pricing procedure for condition ZBEA:
READ TABLE XKOMV INTO LV_XKOMV WITH KEY KSCHL = 'ZBEE'.
IF SY-SUBRC = 0 AND LV_XKOMV-KINAK IS INITIAL AND LV_XKOMV-KBETR <> 0.
   XKOMV-KINAK = 'A'.
ENDIF.
Max

Similar Messages

  • Discount problem in Pricing procedure

    Hi experts,
              Vendor offers % discount on Basic price, however tax is calculated on BASIC price (not considering discount).
              I am facing following problems
    1.    I tried to configure pricing procedure , but discount gets deducted while calculating TAX. 
    2.      If I make discount condition STASTICAL , TAX calculation is proper, But in MIRO in vendor payment Discount is not considered.
    Pricing procedure requirement is as follows
    1.  Basic Price    (A)
    2.  Tax %           (B)          - calculated on A
    3.  Discount%     (C)         -  calculated on A
    Vendor payment = A+B-C
    How to configure pricing procedure for this requirement?
    please help me out.
    thanks in advance
    rgds
    Jay

    Dear Sir,
    Pl let me know if you get the solution as my client also want the same kind of pricing structure.
    i.e.Discount should get calculated after Taxes .
    Pl revert back .
    Thanks & Regards ,
    Ganesh

  • Re:Problem in Pricing Procedure Determination

    Dear All,
    I have a problem in Define Pricing Procedure Determination.
    I am getting an error message " Condition Type BP04 is not in procedure ZBP04A A V".
    The condition type has been copied from K007.
    Access Sequence is BP04.
    In Maintain Pricing Procedure, I have selected RVAA01 and copied it as ZBP04A.
    Please let me know how to rectify this error.
    Thanks,
    Amba Prasanna

    hi Prasanna,
    am getting an error message " Condition Type BP04 is not in procedure ZBP04A A V".
    It means in the pricing procedure ZBP04A  the condition type BP04 has not been maintained. So go to V/08, select conrtol data on the left side, click new entries and maintain this conditino type.
    The condition type has been copied from K007.
    You might have copied K007 but forgot to put it in the above mentioned pricing procedure.
    Access Sequence is BP04.
    Also make sure that for your condition type BP04, you have maintained the access also as BP04 in V/06, since you wanted it.
    In Maintain Pricing Procedure, I have selected RVAA01 and copied it as ZBP04A.
    This is fine, in OVKK- no error.
    regards
    sadhu kishore

  • Problem in pricing procedure of scheduling agreement

    Dear All,
    I am creating a scheduling agreement, when i am giving condition type at item level a message occur "Condition type XXXX is not in procedure A M ZB1002" Message no. VK045.
    I am not able to understand from where this pricing procedure is picking. But in Define Schema Determination the pricing procedure is different, it is ZBLOSR.
    The same case is happening in info record while maintaining condition type, the same pricing procedure ZB1002 is picking up by default. I want to change the pricing procedure.
    Please help.....

    hi..
    have u maintained the combination of schema group for vendor schema group, purchasing org and pricing procedure...
    and assign this vendor schema group to vendor master...
    From this combination system getch the pricing procedure for particular vendor...
    go to spro..MM ..Purchasing..Condition...Define Price Determination Process..Define Schema Group..
    check these settings...
    Hope it works..
    Thanks..

  • Problem in pricing procedure

    Dear CONS
             In purchase order item details condition tab I entered gross price, discount, fright, tax amount. The total ( effective price) comes certain amount. in the same codition tab in upper portion ( item details) qty as well as net price field is appering. the system calculate or shows the net price ( status tab in header level) . we want to show the effective price. where can we make setting so that the system gives the effective price.
    example- gross price-Rs.100/-
                     discount-10%=10/-
                     net price- 100-10=Rs90/-
                     frieght-100/-
                     effective price =90+100=Rs.190/-. We want the p.o price should RS.190/- instead of Rs.90/- .

    Hi Nirupama,
    Do you want to the effective price to appear in print out of the PO?
    If yes then,
    In pricing procedure , where you are calculating the effetive price assign 'S' in the column 'SubTo'.
    This value will be stored in KOMP-EFFWR field.
    You can get this value from EKPO table in the print program.
    NOTE :The value appearing in the header tab (Status) is not stored anywhere, it is dynamicaly calculated at the time of diasply/ change mode.
    Cheers,
    Satish.

  • Problem in pricing procedure calculation

    Hi,
    I configure pricing procedure and it works in the regular sales order are 1100/20/20 correctly and shows the correct calculation but in the third party sales order, I use the same pricing procedure in the sales area 1100/50/20 and the system shows the net value but it does not calculate total price and total price is zero.
    So I want to know that sales area and item category has relation with pricing procedure or not?
    and How I can fix it?
    thaks,

    Hi,
    There is no direct link between Sales area and item category.
    You must be knowing that pricing proc. is determined by Sales Area + Cust. pricing proc + Doc. pricing proc.
    So, kindly check in OVKK if the correct pricing proc. is maintained or not.
    Then, check in VK12 / VK13 for your condition type if you have entered correct organizational elements like sales org / distribution channel
    Kindly check this and post your feedback
    regards,
    Sagar

  • Tax Problem in pricing procedure

    Hi,
    I define the pricing procedure to sell material.
    In the pricing procedure:
    1- First I define sales price
    2- Discount (condition subtotal = A)
    3- and Output Tax / subtotal (condition subtotal = 2)
    but when create sales order, system only calculate the sales price, and it did not calculate discount and Tax in the net value.
    I want to know that Is it some configuration remained that I forgot?
    Thanks.

    Hi Lida,
    There is nothing wrong with your procedure, nor with your calculation. It's just that on the basis of Price, discounts and rebates you calculate Net Price and on the basis of Net Price and Tax you calculate Total Price.
    For Ex :
         ZPR0     Price- Test     1,500.00      INR     1     EA     1,500.00
         Gross Value     1,500.00      INR     1     EA     1,500.00
    ZTK3     Promo Discount % 3-T     3.000-     %                    45.00-
         Discount Amount     45.00-     INR     1     EA     45.00-
         Rebate Basis     1,455.00      INR     1     EA     1,455.00
         Net Value for Item     1,455.00      INR     1     EA     1,455.00
         Net Value 2     1,455.00      INR     1     EA     1,455.00
         Net Value 3     1,455.00      INR     1     EA     1,455.00
    ZZWR     Down Pay./Settlement     0.00      INR                    0.00
    ZTST     Output Tax-Test     2.000      %                    29.10
         Total     1,484.10      INR     1     EA     1,484.10
    SKTO     Cash Discount     0.000      %                    0.00
    VPRS     Internal price     980.00      INR     1     KG     980.00
         Profit Margin     475.00      INR     1     EA     475.00
    Rgds
    Ravi

  • Error in pricing procedure for PO

    Dear users,
    I have run into a problem in pricing procedure for PO.
    In the access sequence for pricing, the second access has condition based on country of customer (third party Sales order process) and third access has condition based on Info record.
    When the PO is created, the system sees the record for second access, but does not insert it. In the analysis, it gives the message that "condition record found but not set (108(VE)). Instead it puts the price from Info Record (third access).
    However, when i update the pricing in the PO in the conditions tab, it finds the record  in second access and puts it.
    The condition record was created before the PO, and i have tested multiple times after the creation of condition record in MEK1.
    Any ideas why this would happen?
    Thanks
    Nitin

    Hi
    In the Access sequence maintain the Table sequence as exclusive for the Second access... This will ensure that if the Condition record is found it will adopt that.
    Please check if your PO Qulaifies for the Second access or not.
    Whether it is a third party Sales order & Check the Customer data & Country
    Thanks & Regards
    Kishore

  • Pricing Procedure For  A New Plant

    Dear Experts,
    I Have a Requirement For Pricing Procedure.
    My client has all-ready Defined Pricing Procedure.
    One new plant will be go- live next week.
    How can i assign existing Pricing Procedure To New Plant.
    Please Give Input ASAP.
    Answer will be rewarded.
    Cheers.

    Hi,
    Please note pricing procedure will be based on client or vendor or Purchasing organization.
    If the pricing procedure is based on purchase organization then as per your query it seems you have just created a new plant then no problem the pricing procedure which is assigned to your purchasing organization will be triggered automatically no need to assign  any where.
    If it is based on vendor then you have to maintain the vendor schema  and assign in the vendor master purchase view in the field schema group vendor.
    Please let me know if have any further query.

  • Problem with new pricing procedure - free of cost

    i set up a new pricing procedure where i have zsed (special excise duty) and zmws (sales tax) set as manual, it's not valid on some free sample orders. but when i goto create order it does not show up under conditions, even though i've maintained it for that material in vk11. and when i click on condition type in conditions, it doesn't show up in the drop down either (at the order level). if i just type zsed it says zsed cannot be processed manually.
    but if i change the pricing procedure and take off the manual check mark, the tax shows up on the same order automatically (from vk11) but i can't delete it there.
    suggestions? i need for it to show up or have an option where if it shows up i can delete it. thanks!

    fyi,
    If you set the "Manual" indicator in pricing procedure against to any condition type, then you can enter this condition type value in particular transaction. ( But for this condition type details, " changes can be made- setting maintain as "D" not possible to process manuall). Same "manual" logic in the pricing procedure will not work.
                  Because controls in Condition type has priority than anyother.
    Now coming to your question,
               If I understood it properly,
    ZSED is not applicable to every free of cost order, but it may be applicable to other orders ( excl: FOC orders). Expecting ZSED Condition type maintained in both pricing procedures ( FOC sales pricing procedure & non FOC sales procedure).
    if you set the " Manual entries has priority"/ tick mark delete check box in ZSED, then it will allow to enter manually/delete the condition type in FOC order as well as non FOC orders too.
    Then there could be chance that user may delete/manually enter ZSED in non FOC sales.
    better way would be, create new conditiont table by including Sales document type ( assume you created new document type for FOC sales) with other required fields ( eg: customer/material etc..,).
    assign this condition table in top of all the accesses in ZSED's access sequence.
    Maintain Condition record.
    By doing so, Condition record is applicable only to FOC doc type sales- if maintained , else it will search next condition record.
    which will not effect the non FOC sales & user cant delete ZSED from non FOC sales.
    Hope it helps

  • Problem of  DIFF (Rounding Off) Condition Type in Sales Pricing Procedure

    Hi All,
    This problem is related to Sales Order. The system is not picking up a condition type in the pricing procedure.
    For example when I am raising a sales Order where the Trade Price is being calculated with the help of a Alternative Calculation Type , Subtotal 1 , X in the the Print column and Posting Key ERL are assigned to it.Here in the end the condition type DIFF is not getting populated in the pricing though it is maintained in the pricing procedure. When I am checking in the pricing analysis the error message and its detailed description which is shown as follows -
    DIFF     011     Condition ignored (requirement 013 not fulfilled)
    The requirement 1. was assigned to this condition in the pricing procedure. This requirement was not met in the preliminary condition step, and so the condition was excluded from further processing.
    You can use Additional information to display the requirements used.
    Now considering the above scenario please suggest to attain my requirement.
    Thanks & Regards
    Priyanka

    Dear Priyanka,
    The "reqt" field in the pricing procedure basically tells d system that the routine mentioned in this field is a sort of prerequisite without fullfilling of which the associated condition type will not get xecuted.
    In ur case u have selected "1" which is for condition types A001, B001 etc used in "material listing / xclusion" function.
    For condition type DIFF, the correct value is "13" i.e "Rounding as per T001R".
    So just replace "1" with "13", things will b fine.
    Please close the thread if answered.
    regards
    Param

  • Multiple pricing procedure determination problem

    Dear Experts,
    I have a situation in pricing procedure determination. Please advice. The details are given below.
    Pricing procedure is determined for the combination of Sales Org,
    Division, Distribution Channel, Customer Pricing Procedure and Document
    Pricing procedure.
    Say there is a sale happening through following organizational units.
    Company Code: 4260
    Sales Org: 3260
    Division: 02
    Distribution Channel: D1
    Customer: 9000000
    But the material is delivered from the plant that belongs to a different
    company code.
    Plant company code: 4262
    The customer 9000000 has customer pricing procedure maintained as 1 in
    the customer master.
    This will create following documents
    Sales order OR from 3260 to 9000000
    LF delivery
    F2 invoice from CC 4260 to customer 9000000.
    IV inter-company invoice from 4262 to 4260 through following sales area.Sales org: 3262
    Division: 04
    Distribution Channel: 99 (inter-company)
    Here the payer is 4260 which will have a customer pricing procedure
    maintained in the customer master (say 1-standard). The document pricing
    procedure is A.
    The pricing procedures determined for F2 invoice and IV invoice will be
    as per the below assignment.
    3260 02 D1 A 1 PRIPRO1
    3262 04 99 A 1 PRIPRO1
    The requirement is to determine another pricing procedure say PRIPROF
    which is specific to formula average pricing for both the invoice types
    i.e. F2 and IV. The determination will happen from below assignment.
    3260 02 D1 A F PRIPROF
    3262 04 99 A F PRIPROF
    The problem here is that we can not maintain two different customer
    pricing procedures (1 and F) for a single inter-company customer 4260.
    Therefore 3262 04 99 A F PRIPROF assignment is not possible as 4260 can
    either have 1 or F as Customer pricing procedure.
    And 3262 04 99 A 1 PRIPRO1 assignment is already in use so we can not
    replace 1 with F and change the pricing procedure from PRIPRO1 to
    PRIPROF.
    Can you please advice how can we resolve the issue of having multiple
    customer pricing procedure requirements for same customer to determine
    different pricing procedures?
    Thank you.
    WIth regards,
    Sahir Gaulkar

    Hi Ashish,
    Refer this links to understand links b/w the tables.
        http://www.sap-img.com/general/sap-r3-tables.htm.
        http://www.sap-img.com/sap-sd/important-tables-for-sap-sd.htm
    Thanks,
    Swamy H P

  • Pricing Procedure problem when creating order w/Ref to billing doc

    Hello all.
    When I create a SO w/ SaType 'A' it picks the correct Pricing procedure. However if I were to create the same Order Type 'A' w/ reference to a billing doc it picks up the Pricing procedure of the billing doc and not the one assigned to it in PP determination.
    Also this works correctly when I create SO w/ref to billing doc with order type 'B'. So I am kinda stumped as to why it would not work with the order type in the above example.

    Hi Robert,
    Check the copy control configuration:
    Spro>Sales and Distribution>Sales-->Maintain Copy Control for Sales Documents
    In this, select
    Copying Control: Billing Document to Sales Document
    on the pop-up.
    In the next screen, select the appropriate source billing doc type to target Sales Order type that gives you problem.  Then in its details, select Item and then the item category that is being defaulted into your SO#, in its copy function, verify the Pricing Type.  It can be made to the same value as the one that works fine for you (the other document types config).
    regards

  • Problem in Service Pricing Procedure

    Dear Experts,
    I am facing on interesting problem In service prices in Purchase Order -
    I have One vendor for material supply. So Material Pricing procedure has been assigned to him through Schema group vendor. and as a price determination process pricing process comes in PO.
    But in my current scean - i am creating Service Purchase Order for the Same vendor. Material Pricing procedure is there in conditions tab. I am entering service order price at services tab. it is picking correct price in Service conditions.
    But again it is picking the same service price in Material Conditions in material pricing procedure. issue is not only that it is doubling (multiplying number of times).
    Also please suggest me how to treat the pricing procedure for the vendors who supplies materials as well services.
    Thanks in Advance !

    Hi
    The PO line item can be either material or service.
    If it is service line item with item category D then you should enter the price at service number level which will pass on to the Conditions tab page.
    I do not think you will have doubling of price in this case.
    You will not able to enter the PBXX price in this material condition tab page.
    Regards
    Prasad

  • Faced problem in TAXINN pricing procedure

    Dear Experts,
    In my company there is a TAXINN MM pricing procedur. But at the time of excise calculation, system is showing calculation as
    A - Excise Duty - 10% on Basic
    B-  Add Duty - 4%
    C- 10% +4%
    D- 2% Education Cess on C
    E - 1% HEcess on C
    *Then TOTAL Excise Duty - CDE *
    But  as per Finance Dept. Additional duty should be calculated on total excise duty i. e Excise 10% + 2% Ecess + 1%HEcess = Total excise Duty + Basic
    Now i have copied this TAXINN as TAXINT & done the required changes & assigned the same in IN->TAXINT where TAXINN is assinged.  But system is not picking the same.
    Could anybody help me in this?
    Thanks
    Trupti

    Hi Trupti,
    Pl let me know which condition type you are using
    Case 1) hope you are using JADC Additional duty 4 % in import scenarion if it is the case then in M/08 pricing procedure you can control it in from & to in odere to calculate Addtional Excise duties
    case 2) if you are using condition type JAOP which is nothing but Additional; excise duties which will flow from Tax procedure ( OBQ3) here you can check the calcution from & to in order to get the calculation of Additional excise duties here also you can apply the same logic. Hope with this logic you can able to resolve the issue.
    Regards

Maybe you are looking for

  • Dreamweaver reports file "not found" when attempting to open files from SMB server...

    User's work-files are hosted on a Windows Server 2003 SP2 volume accessed via SMB. She's been opening and saving the files from the server successfully in Dreamweaver for years from other Macs running Dreamweaver CS4. Now she has an iMac running 10.7

  • Error during DG data distribution

    Hi SAP DG Experts, I am configuring and testing DG data distribution from central EHS system to multiple ERP systems. I am able to send the DG idoc and ERP system is receiving that. But the DG data creation is failing and when I check DGp7 I can get

  • Moving portal database from NT to HP-UX

    I am moving an existing 9iAS portal database from NT to HP-UX. 9iAS was already installed on HP-UX and is being used for a forms server and reports server. Do I need to do anything else but simply create a new database and export from NT and import o

  • Photoshop CS6 Download Error

    can you advise? I am endeavouring to download Adobe Photoshop CS6 for a trial, before purchase. I have downloaded it three times so far but it still will not run. It completes download, advises me I have to sign in (even although I was already signed

  • Plssfunc

    SQL> create or replace function route 2 ( 3 p_no number 4 ) 5 return number 6 is 7 l_res number(20); 8 cursor c1 is 9 select 'x' from dlo where order_no=p_no 10 and 11 qty_ord>nvl(qty_rec,0); 12 cursor c2 is 13 select 'x' from dlo where order_no=p_no