Reg:Conversion for Net value

Hi All,
          I need to convert vbrp-netwr (net value) into USD  with function module                                        CONVERT_TO_LOCAL_CURRENCY .can any one can help me out by posting answer in detail.
with regards,
sumanth reddy

Hi Sumanth,
Chk this out
data: lv_amount type p decimals 2.
CALL FUNCTION 'CONVERT_TO_LOCAL_CURRENCY'
  EXPORTING
  CLIENT                  = SY-MANDT
    date                    = sy-datum
    foreign_amount          = '1000'  amount which you wanted to   (table-filed)
    foreign_currency        = 'XXX' from what currency (table-filed)
    local_currency          = 'USD'  to currency (table-filed)
  RATE                    = 0
  TYPE_OF_RATE            = 'M'
  READ_TCURR              = 'X'
IMPORTING
  EXCHANGE_RATE           =
  FOREIGN_FACTOR          =
   LOCAL_AMOUNT            = LV_AMOUNT   =====> final amount which is tobe displayed
  LOCAL_FACTOR            =
  EXCHANGE_RATEX          =
  FIXED_RATE              =
  DERIVED_RATE_TYPE       =
EXCEPTIONS
  NO_RATE_FOUND           = 1
  OVERFLOW                = 2
  NO_FACTORS_FOUND        = 3
  NO_SPREAD_FOUND         = 4
  DERIVED_2_TIMES         = 5
  OTHERS                  = 6
IF sy-subrc = 0.
  WRITE: LV_AMOUNT.
ENDIF.
revert for further clarification
Thanks and Regards'
Srikanth.P

Similar Messages

  • Pricing Procedure calculation for Net value

    Hi Gurus,
    I have  issue with pricing procedure for net price.
    My pricing procedure is as follows.
    Step    Cond.type       from    to      Subtotal        req.type        cal.type        Basetype
    10      CPLF    0       0               0       0       0
    20      CA              0       0               0       0       0
    30      CPY             0       0               0       0       0
    40      CWE             0       0               0       0       0
    50      CPY1    30      40              0                           601 0
    60      PCP             0       0               0       0       0
    70      NCC            50       60              0       0       0       0
    80      Subtotal 1      70                      1
    90      VC              0       0               0       0       0
    110     FPA             0       0               0                          600  0
    150     INCR    0       0               0       0       0
    160     BINC    0       0               0       0       0
    170     PINC            0       0               0       0       0
    180     CINC            0       0               0                           602 0
    190     PRIN    0       0               0       0       0
    200     FINC
    210     Subtotal 2      200                    2        0       0
    220     ADT             0       0               0       0       0
    230     FTAX    0       0       0                                           603 0
    240     Subtotal 3      210                     3       0       0
    My query is when i am doing pricing for line items
    1) For line item 1 net value of the item will be subtotal 1
    2) For line item 2 Net value should be through condition type calculation.
    3) For line item 3 net value should be through calculation of routine
    4) For line item 4 net value should be Subtotal 2
    5) For line item 5 net value should be Subtotal 3
    So please tell me who to do?
    regards
    Srinivas

    Hi,
    Can you please explain what type of pricing you want to for your sales order.
    I am confused with your line items.
    Can you explain what kind lines item you are entering in your sales order.
    Are they proper material for which you have maintained condition record in MM01.
    Because for all the line item system will calculate price by the pricing procedure which you have shown.
    So in short system will calculate different price for different line item.
    After calculating the whole price it will make the total of net amount of all the line item.
    And that net amount will be shown in the header data of the sales order.
    Regards
    Raj.

  • Reg: Pricing Procedure - Net Value is not reflected

    Hi Guru's,
    I  am new to this concept. I do created a Pricing procedure for a material wrt vendors..
        I do created conditions types - Gross Value,Discount,Freight & Tax 
      My Schema is working fine.
         My issue is the total value of my schema after the tax calculation is not the value reflected in Net value of PO.
              only single line item (single material i doing PO). Kindly guide me to solve this issue.
    Regards
    Anandh

    Dear Umakanth
    Thanks for you reply. As if u told only the subtotal is reflected as Net value in PO.
        In my scenario - Calculation schema is
            C4     Gross Price                     20.00              40.00      INR                                        
         C5     Discount % on Gross     20.000-     %     8.00-     INR                                        
                                       Subtotal     16.00           32.00      INR                                  
         C6     Freight/Quantity             10.00            20.00      INR                                        
                                        Subtotal     26.00           *52.00      INR     *                          
         C7     Statistical Value(tax)      10.000      %     5.20      INR                                        
                                      TOTAL     28.60           57.20      INR
        The Net value reflected is 52.20
                              What about the total value 57.20
        Where the effective value plays the role in  PO and where its displayed in PO. The invoice/Payment  is issued based on Net Value or Effective Value.
              Kindly explain me in detail - Since i am new to this..
    Regards
    Anandh
    Edited by: smileanandh on Dec 6, 2010 3:20 AM

  • Total for net value

    Hi,
    How can i make the total of net value auart.
    i hve tried in this way...Can someone suggest me the suitable way.
    sort itab by auart.
    loop at itab.
    at end of auart.
    sum.
    write : /5 itab-vbeln, 15 itab-posnr,25 itab-auart ,
    30 itab-matnr,35 itab-zmeng,40 itab-zieme
    , 45 itab-netwr,50 itab-waerk.
    endat.
    endloop.

    Your Internal table  should in sorted  way of fields  arranged  .
    data : Begin of  Itab occurs 0,
    vbeln,
    auart ,
    posnr,
    matnr,
    zmeng,
    zieme
    netwr,
    waerk
    end of itab .
    Reward points  if it is usefull..
    Girisih

  • Reg: UDF for removing values after decimals

    HI,
      Please help me on the below issue,
      I need an UDF for the follwing requirement,
    as my input value is 12354.12354875 then the result will be like 12345.123,
    After deceimal it should get only 3 values.
    Please help me points will be awarded.
    Edited by: UDAY on Apr 5, 2010 3:56 PM

    >
    UDAY wrote:
    > yes its needed to be truncated only not rounded.
    In that case even the standard function FormatNum can also help.
    Regards,
    Abhishek.

  • Reg: Conversion for quantity

    Hi All,
              I need to convert the quantity to KG ,i have the two function modules 1)UNIT_CONVERSION_SIMPLE 2)CF_UT_UNIT_CONVERSION,can u guys help me out in conversion process in detail..i need to convert to this field  VBRP-FKIMG ( Convert into KG using VBRP-VRKME )
    with regards,
    sumanth reddy

    Hi,
    Check it
    CALL FUNCTION 'UNIT_CONVERSION_SIMPLE'
      EXPORTING
        INPUT                      =  "enter the value to be converted eg: lv_input
       UNIT_IN                    = ' '     "enter the unit which is at present eg. 'LB'
       UNIT_OUT                   = ' '  "enter the unit to which you want to covert  eg. 'KG'
    IMPORTING
       OUTPUT                     = "displays the converted value eg: lv_output
    EXCEPTIONS
      CONVERSION_NOT_FOUND       = 1
      DIVISION_BY_ZERO           = 2
      INPUT_INVALID              = 3
      OUTPUT_INVALID             = 4
      OVERFLOW                   = 5
      TYPE_INVALID               = 6
      UNITS_MISSING              = 7
      UNIT_IN_NOT_FOUND          = 8
      UNIT_OUT_NOT_FOUND         = 9
      OTHERS                     = 10.
    write:/ lv_output
    regards,
    John

  • Net value ( Basicprice-discounts) / Report sales value/purchase value

    Hi all
    I want to do report reg sales order value vs purchase value.  I am taking  VPRS condition type for  purchase order value and which field i have to take for net value in billing.
    regards
    Ramachandra

    hi,
    u can both this data in vbrp table. for net value use the field vbrp_netwr and for the vbrp i suggest u put it in some unique subtotal field that can be caputured in vbrp table. if this not the case then u will have to create a join between vbrp and konv table to fetch this data. u  can use abap queries in both the cases.
    saurabh
    Message was edited by:
            saurabh diwakar

  • Contract net value problem

    Hi,
      I created a  material PO for net value 100 eur for a contract
    of target VALUE 1000 eur.Now i create a GR for
    that PO for 50 EUR.Now i set the delivery completed
    indicator,then i can set contract net value gets updated to 50 EUR.
    Now i created a service contract and service PO with
    same target value and net value
    But in the case of service po,i create a service entry sheet for 50 EUR,then contract net value is not getting updated to 50 EUR.
    Why it behaves differently for material and service POs?

    I have Simulated your issue..
    I have Created a Service Contract with Line Item 'D" for 1000 INR.
    Later I have raised release Order for 200 INR..
    as soon as the Release Order was approved , the Net Value in Contract updated to " 200 INR"..
    Still SES is pending for that...
    If you want I can send you screen shot...

  • Massage No. 06217-Overflow for net price field during conversions

    Can anybody tell me the S note for the error?
    "Massage No. 06217-Overflow for net price field during conversions"
    There is a S note in OSS ( 576188) which is Obsolete now. I would like to have the correct S note to apply.
    thanks
    SACHIN

    Hi,
    SAP doesn't support item prices larger than 999.999.999,99. This is a limit of the system.
    The field has a length of 11 and output length of 16 for the commas and dots. Therefore, values entered in that field cannot exceed the total length of the field.
    Increasing the field length of the field is challenging. This would
    cause inconsistencies in the existing dataset and more problems in
    in Finance modules.
    You have to look for possible workarounds to resolve this. You may
    choose to split the documents, line items or quantities - what suits
    your business requirements best.
    You may choose to:
    1. Split the line items.
       This is applicable when your company wants to procure 1 single item
       with say 1 Billion value.
       for example:
       Qty  Unit       Net price
       1    EA          1,000,000,000.00
    This may be cost of one machine or asset.
    You may split this into accessories or mountings used for this as
    separate line items, so that the cost of the line item will be less
    than 1 Billion.
    2. Splitting the quantities,
       This is appliable when you are procuring more quantities with higher
       value items.
       For example:
       QTy        Unit        Net price
       1000000      EA          100000.00
    You may split this quantity into 250000 EA * 4 = 1000000. With this
    you may consider having four line items in the same PO or 4 differant
    PO's.
    3. Consider using pricing unit.
       If you use currencies in which higher values become necessary, SAP
       recommends to use smaller units of measure (for example "box"
       "pallet").
       For Example:
       Qty        Unit          Net price
       1        Pallet         1000000000.00
    In this case you may split this into Boxes. May be the Pallet contains
    more than 1 boxes. The net price of the box will be less than
    the Pallet.
    If your prices is not larger than 999.999.999,99 then please open a ticket in SAP, as this would be a bug and you would need a correction, that at the moment does not exist.
    Best Regards,
    Arminda Jack

  • Contract net value for Header Statistics is not correct

    There is issue with value contract. The net value for Header Statistics is not showing correctly for some contracts. Especially, when we delete the PO line items or reverse all entries (GR and IR) for PO line item.
    Contract has one line with account category ‘U’. The target value is 300,000.00 and total quantity released to date is 160,000. The net value for Header Statistics should be 140,000 but it is showing 600,000 which is over (double) the target value and user cannot release any further PO reference to this contract.
    Earlier I defined net price for line item 300,000 and I changed net price to zero and execute report RM06ENP0 but it doesn’t work.
    Please share your experience and thoughts.
    Thanks,
    Shah.

    Hi Jurgen,
    There are few Purchace orders with multiple line items and each line item for Purchase orders referencing the same line and same contract.
    There is only one Purchase order has two deleted lines against this contract.
    Theses deleted line's net price has changed to zero and there is no PO history.
    Contract released order value is correct as there is only one line, but net price is wrong. and user is getting error for target value is excedeed by $nnn when trying to create purchase order.
    Thanks,
    Shah.

  • Static Credit Limit Check for Sales Orders - Net Value vs Credit Value

    We are testing order credit check and we have run into a problem with the Static Credit Limit Check.  The Static Credit Limit Check is set to use both Order and Delivery Values.  SAP uses the values in S066 and S067 to determine what values it uses to check against the credit limit.  Standard SAP uses the confirmed quantity times the credit price to get the order values - this is the credit value. 
    So the problem is, once an order is released it is set up so it does not go back on credit hold, so anything which is not confirmed (but could be) it a potential credit value which is unaccounted for in the credit exposure and the customer can go over the credit limit.
    Additionally, we run AFS and have items which are rejected with a J0 rejection code (unconfirmed) which have the potential of being confirmed and shipped and we want to include these items in the value of the order which is being checked against the credit limit (along with the deliveries, invoices and receivables).
    Here is a quick example.
    Customer has a credit limit of $100 (no deliveries, invoices or receivables - to keep it simple)
    Order 1 is placed with a credit value of $50.00 but a potential value of $100 (the other half is J0) - this passes the credit check since $50.00 is less than the limit.
    Order 2 is placed for $50.00 and has a credit value of $50.  This also gets approved.
    At this point, the credit limit used is 100% (based on standard SAP)
    Then Order1 backorder is confirmed and the new credit value is now $100.  This order now puts the customer over their limit and if the order had been released would not go back on credit hold and therefore the customer is not over their credit limit by 50%.
    What I want is for Order1 to be credit checked for the $100 not the $50 so the exposure is correct.
    Does anyone have any suggestions as to how we could use the Net Value of the order to perform the static credit check?  And any thoughts on how to determine the correct credit exposure (open order value plus items which are J0, plus deliveries, plus invoices, plus receivables)?
    I am thinking about a Z table to track the adjusted values on the orders and then use one of the customer checks to do a static credit check with the adjusted value.  And for the exposure, use the adjusted value to recalculate the values in F.35 to show a more accurate view of the credit exposure.
    Does anyone have an easier way to do this?  Any advice is appreciated.
    Thanks,
    Suzanne

    Hi Suzzane,
    In the scenario that you have provided, in the first order items worth 50$ are rejected. Hence standard SAP will not take this into account as this item is rejected.Two solutions can be provided here:
    1) The line item can have a delivery block instead of  a reason for rejection.This way the 50$ will get accounted.However, if this is against customer norms as this will appear in the order acknowledgment, this cannot be used.
    2) User exit can be used where a credit check can be triggered once the document value changes, even though the document has a released status.
    Hope this helps.
    Thanks,
    Vinu

  • How to find the original net value for a cancelled sales order

    Hi experts,
    From VA03 or table VBAP, net value for those cancelled items is always zero. Where to find those cancelled items' original net value?
    Thanks a lot.
    Yu

    Thanks Seshu,
    I just tried it as per your suggestion but I found for non-cancelled items konv-kbert is not equal to the net value taken from vbap-netwr.  So I wonder if knov-kbert is the right original net value for those cancelled items.
    Yu

  • Net value showing negative in excise billing for free goods items

    Dear All,
    Need value suggestions in business scenario.
    While issuing Free goods to customer in excise billing ,Net  value of ZTNN item showing negative
    Inserted R100 % condition type above Tax condtions.
    MRP is statistical and accessable value is calculated on MRP.
    How to  solve the above issue.
    Due to the Net value showing negative for Free of charge in excise billing,qty value  displaying twice the unit price value in printing
    Thanks & Regards
    H V Kumar.

    Hi
    It is depends on your pricing procedure how you defines.
    Kindly check once again in your pricing procedure.
    Test the cycle once again without entering the R100 condition type in sale order line item and check the next value.
    After enter the R100 condition type check the base value to calculate the Amount.

  • Net Value in Sales order is not picking up for manual conditions.

    Dear Gurus,
    I created a new pricing procedure for a sales document, where 2 manual conditions will given in sales order.
    But after giving manual conditions, the system is only taking one condition value as net value.
    I given Base value description and the step numbers of two manual conditions for Addition.
    Please help me I want total of two manual conditions into Net value.

    Hi Mahendar ,
    Could you please share the solution if your issue has been resolved . Even we are facing the same issue . It would be of a great help
    thanks and regards
    Kish

  • Net Value Validation for Order

    Dear All,
    We want to put the validation while raising Order that if the Order Net Value goes below 100 Euro we want to charge the Customer Freight charges.
    We do have the Condtion created for freght charges which is manual header condition.
    How I can put this validation? I already tried using User Exit MV45AFZZ.
    Thanx in Advance

    Hi Murli,
    Thanx..I have tried to create the Routine using VOFM but that routines are get activated on at the time of billing I want it @ Order Level.
    Thanx
    Vishal

Maybe you are looking for

  • CPO SAP Adapter pre-requisite Check Error

    TEO 2.3.5 SAP adpater Pre-requisite Error          Trying to setup an SAP ABAP connection. Satisfied the pre-requisite of SAP NCO sapnco30dotnet40P_7-20007348, still get the following error while checking the pre-requisite. Unable to check for prereq

  • Disabled Features

    I am trying to install a new printer that I bought last year (because it matches the 3 other printeres I have). I just recently tried to download the drivers from the disk that came with the printer. I realize that the drivers needed to be updated, s

  • Downloaded video content keeps disappearing (for real). .TMP folders?!!!

    Alright - I have been at this for years, so the fact that I am baffled, well, baffles me: I have recently replaced my Powermac with a new Mac Pro (also have an MBP). I copied my iTunes library, all is well. I purchased a few songs, cool. However, in

  • Set default language fron en to it

    Hi All, we need to change the default portal language from english to italian. I had a look in the following folder : \usr\sap\<system_id>\j2ee\j2ee_<instance_number>\cluster\server\services \servlet_jsp\work\jspTemp\irj\root\WEB-INF\portal\system\pr

  • CS4 incompatible with Adobe Soundboard?

    Trying to solve a preblem with recording audio in C4 (it converts mono to stereo left channel), I decided to try to do my recording in Adobe Soundboard (CS4). When I try to import a WAV file created in Soundboard into C4, it chokes and says it can't