Particular case of Key calculation in invoice

Hi guys,
I have a particular case in which I don't understand how the system calculates WRX and EIN keys in Invoice:I describe an example semplyfing the numbers
1) I have a PO with quantity ordered = 100 and price order 10: I entered several GR for a total qty 95 and so I have a GR value of 950
2)NOW I Change the PO price and I set it to 9 instead 10
3)I post two Invoice:
- in the first I post 64 qty for an amount  of 544 and so the price is 8,5
- in the second I post 31 qty(so with the first I entered all 95 qty) for an amount of 31*8,5 = 263,5 because the system takes the price of first invoice obviously
In customizing the Purchase account EIN is parametrized 'At the receipt value'.
Now:in the firs invoices the key KBS is calculated as  8,5 * 64= 544, in the second invoice KBS is calculated as 8,5 * 31= 263,5 and it is OK
My question is:how the system calculates the keys WRX and EIN in these two invoices?I have read in this forum and also the OSS Notes 518368, 352419, 308008 but I should want your opinion.....
Thanks in advance
Best regards

Hi,
Create two formula variables, one for report input (formula variable 1)  and other for  premium received date(formula variable 2) . KF1 = ( Current premium period values ) , KF2 = KF1 -1 ( Previous premium period values ).
Now,If var1 > var2 display KF1 else KF2.
Write a formula, If (formula variable 1  > formula variable 2 )*KF1 + KF2.

Similar Messages

  • Posting Key for Sales Invoice

    Hi,
    I have a problm in creation of Sales Invoice
    While creating Sales Invoice instead of Customer A/c getting debit & Sales Revenue getting credit the Sales Revenue Account is getting Debited & also getting credited. In accounting document the posting key are 40 Sales Revenue & 50 Sales Revenue instead of 01 for Customer & 50 for Sales Revenue.
    Can I know where exactly I am wrong & where are the settingsd for posting key for Sales Invoice.
    Thanks in advance.
    Regards
    Bala

    look at  t code VKOA.
    This is where the account determination is calculated from, if you are creating the document from SD.
    Make sure there is only a single entry against the item you expect to see.
    Award points if useful.

  • How to get documents from RMS linked to particular case id using webdynpro

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

    HI friends,
    Can  anybody knows " How to get documents from RMS linked to particular case id."
    From end: webdynpro
    backend: RMS.
    please do the needful.
    Thanks and Regards
    -Sujatha

  • How to run a particular case continuously in event based state machine architecture.

    I am making a program using event based state machine architecture, it is running as expected whenever i am generating an event, case structure corresponding to that event executes.
    we are taking some measurements from oscilloscope e.g. i am having one boolean button for rise time whenever i am pressing that that button it displays the value of rise time, it displays only once( since i have generated an event on that boolean button so it executes only once and displays value for one time and then comeback to timeout state) but in our program what we want, we want it to update value continously once that button is pressed.
    Now for a time being i have placed while loop on the case corresponding to rise time but this is not the right approach.
    since i am using state machine architecture( event based ), i am not getting how to run particular case continuously ,or if there is any other better architecture that i can use to implement the same application.
    Attached below is the program.
    Attachments:
    OScilloscope .zip ‏108 KB

    Say, in the attached program, when the user selects Autoset, it inserts corresponding state (Autoset) and now if you want this state to run again and again, probbbly you can again insert Autoset state while executing Autoset state... ohhh its confusing... check the picture below (A picture is worth a thousand words):
    1. Based on user selection, insert Autoset state.
    2. Re-insert Autoset state again and again while executing Autoset state.
    3. Now to come out of this loop, based on appropriate event generation, insert any other state AT FRONT (equivalent to Enqueue Element At Opposite End).
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.

  • Instruction key in an invoice not taken

    Hello!
    I have a question concerning the instruction key.
    I didnt define an instruction key in the vendor master data nor in the house bank.
    And i dont want to define this instruction key in the master data, otherwise, it will come each time in the payment run.
    Sometimes, we have to use the instruction key and sometimes not, that's why i dont want to define it in the master data.
    But i define an instruction key in the invoice document for the vendor.
    when i do the payment run, the instruction key of the invoice is not taken into account.
    What should i do in order the system takes the insctuction key completed in the invoice document?
    Thanks!
    Kind regards,
    Chiachen

    Hi,
    We have maintained the Instruction key in to vendor master and while downloading the by using the ACH for Canada, instruction key is missing.
    Value is there in REGUH and not there in REGUP, how to get the same in to download file.
    Help me on this issue.
    Regards, 
    Satyam

  • I am having problems syncing my iPad 2 with iTunes. Whenever I click "sync" or "apply," the sync begins. As soon as it gets to step 3 (in this particular case "determining apps to sync") it immediately stops syncing. What's the deal here?

    I am having problems syncing my iPad 2 with iTunes. Whenever I click "sync" or "apply," the sync begins. As soon as it gets to step 3 (in this particular case "determining apps to sync") it immediately stops syncing. What's the deal here?

    You haven't purchased apps with multiple Apple ID's have you? If you have, you can only sync with one Apple ID in the iTunes library at a time. Whichever ID you are signed into on the computer and the iPad would determine which apps would sync.
    Have all of your apps been transferred into iTunes for your iPad?
    iTunes Store: Transferring purchases from your ... - Support - Apple

  • CISCO MST (802.1S) config digest KEY calculation

    Hi,
    We and others before us have checked that CISCO MST (802.1S) config digest KEY calculation was not done as expected by 802.1S:
    the 16 bytes configuration digest in the BPDU from Cisco does not follow the recommendation of the 802.1s. They have different values compared with those value shown in 802.1s Table 13-2. So Cisco may not use HMAC-MD5 or the signature key as specified in 802.1s 13-7(4), and Table 13-1.
    CISCO MST white paper extract:
    a digest of the VLANs-to-instance mapping table is sent, along with the revision number and the name. Once a switch receives a BPDU, the switch extracts the digest (a numerical value derived from the VLAN-to-instance mapping table through a mathematical function) and compares this digest with its own computed digest. If the digests differ, the port on which the BPDU was received is at the boundary of a region.
    Could anyone tell us:
    - how config digest key is currently calculated?
    - if it is planned to be compliant
    - if it is, when it is scheduled?
    - on what IOS/CATos platforms?
    Many thanks.
    Regards/Ludovic.

    Cisco MST implementation was a pre-standard implementation because the software was created before the 802.1s standard was officially adopted.
    http://www.cisco.com/cgi-bin/bugtool/onebug.pl?bugid=CSCea38886
    CAT OS 8.3(1) and later and newer 12.2 IOS are standard compliant

  • Reconciliation Key Assignment during Invoicing

    Hi Guru,
    Need a help on below requirement.
    We have a requirement where at the time of invoicing, invoices of a group of customers should get included in the same reconciliation key.
    e.g invoices of SME customers should be grouped under one reconciliation key. on the same lines, the domestic customers should get grouped under another reconciliation key.
    I have searched and could not get any event to achieve this. Please share your valuable views.
    Regards,
    Gaurav

    Only way to invoice separately (based on some arbitrary condition) is to use multiple selection (of business partners or contract accounts) where you will provide all (in select single value tab) id's that you want to invoice under same reconciliation key if you using parallel invoicing transaction FKKINV_MA - Create Invoicing Document.

  • Cash discount calculation at invoice level not at sales order level

    Dear Friends
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    where these setting incurred in this process. i have verifies all the routies, there is no such kind of logic to calculate in a particular palce.
    treat this one as high priority and let me know.
    Thanks
    Raju.

    Hi
    while i am executing the sales cycle creten Cash discount conditions are calculating in the Invoice directly not in sales order.
    can you please let us know your views oin what basis iot calculating directly in the invoice, since payment terms is there in both sales order and invoice level. but discount is only appearing at invoice level, not in the sale order level..
    Please check your Pricing Procedure, whetehr against your Cash Discount Condition Type, Requirement 24 or 23 is maintained? If it is maintained remove these requirements and save. Then try to run the transaction.
    Regards,
    Amitesh Anand

  • Non modvatable duty not calculated in invoice tab of PO

    Hi expert,
    We have recently updated application support pack (SAPKH47030) on our enterprise version and facing following problem -
    One tax code for 2% CST bearing JM02 condition type (TAXINJ) and assigned with accounting key NVV having 100% mention within the same used into PO for a plant in which Modvat is not avaialble.
    No excise duty is being displayed into field TAXES of INVOICE tab of PO. (all conditions for excise duty i.e. JM01, JM02 and relevant cess and HEcess components are ZERO).
    I request you all experts to suggest the solution.
    workable solutions will be suitable rewarded please.
    Regards,
    PAwan Khurana

    Hi,
    The Problem seems remains again.
    At that time I have checked with a purchase order which was basically a STO where the PO was created for another company code ( it was a PO for inter company code STO) asking for a material from my company code.
    There I found the Tax is working. I mean condition values were calculated/displayed along with condition percentage as mentioned in previous mail.
    But whenever I create a PO in my own company code for the procurement of material from outside vendor to my plant this problem occurs and the problem still persist.
    While I thanked you I have checked only with STO and could not check for other PO.
    is there any problem persist in my Company code setting ?
    So please tell me what can I do for ther actual solution.
    N.B. I have not checked " Statistical" to BASB. even at that time also.
    Regards,
    Amit

  • Problem in cut off value key calculation

    Dear Experts,
    We have assigned a cut off key with 5% in our depreciation key with tick on " Scrap value deduction from base value".
    We have made a service entry sheet on 13/12/2014. On the same day we have reversed that SES. But system is taking the effect of cut off value key on depreciation calculation in case of original service entry sheet only. System is not taking effect of cut off value key on reversal of SES. Because of this there is a difference between depreciation posted through SES and reversal of SES. Ideally these ( depreciation posted through original SES and depreciation posted through reversal of SES) should be knock off.
    I am not understanding whether this is standard behaviour of SAP or we are missing something. For better understanding I am attaching the screen shot of AW01N of asset.
    Regards,
    Ankit K. Agarwal

    Hi Ankit,
    System definitely consider scrap value for reversal also. I did testing it is picking. Can you check once again the depreciation posted.
    Regards,
    Mukthar

  • GST calculation and Invoice History Instance

    Hi experts,
    I really need your help here.
    My decimal places settings:
    amount 2
    price 5
    rates 6
    quantities 0
    percent 2
    units 2
    My 1st question:
    How SAP calculates the GST 7%?
    I worked out this formula by seeing from SAP results:
    Exc. Rate 1.408000
    Line Total USD 714.80
    Tax USD 50.04
    Total USD 764.84
    My customer A/P Invoice (from supplier) tax is 70.46 but in SAP it is 70.45 meaning SAP is actually taking 714.801.4080007/100 = 70.45 rather than USD50.40*1.408000
    I tested with more than 15 invoices and the results are the same (meaning either one cent extra or less). My customer wanted to kill me so badly why SAP is behaving like this. Check this invoice:
    Exc. Rate 1.373000
    Line Total USD 225.00
    Tax USD 15.75
    Total USD 240.75
    If you used the same formula as mentioned above, we should get 21.62475 but when I looked into the entry created by SAP it shows 21.63. Why? Is it because of round up? 5 rounded up and 7 became 8, 8 rounded up and 4 became 5, 5 rounded up and 4 became 5 and finally 5 rounded up and 2 became 3? What should I do for my customer? Post journal entries?
    My 2nd question:
    My invoice figures are as following:
    subtotal SGD 116.00
    gst SGD 8.12
    total SGD 124.12
    When I looked into the transaction (journal entry) it is showing the customer account is debited with SGD117.29, GST account is SGD 7.67 credited and Sales account SGD 109.62? Why? I checked the change log for that particular invoice. Double click then i brought out the invoice history instance #1, it is showing the same figures as in journal entry? Why?
    Please advice.
    Best regards,
    Lim

    Hi Lim,
    For AP invoices, you can force in the tax amount. Update your Form Settings so that the "Tax Amount" field is displayed. Another option would be to look into the rounding or under/overpayment features. Where you are using foreign currency, you may want to have rounding active. Do some test transactions is your test db (copy of the live/production database) to see if this is the right solution for you.
    Amount = extended price/amount (line total). If your price is at 5 decimals, the line total (extended price/amt) will be rounded to 2 decimals, which explains what you see (21.63).
    For 1st question:  tax is calculated on net amount then it applies the exchange to the tax amount so 70.45 is correct.
    For 2nd question, not sure what it is you are looking for... Are you sure you have the currencies and amounts in your question correct? Do you display both LC & FC in the J/E? Only way I can think of amounts changing is if you are looking at amount for one transaction (ex. Delivery) vs another (ex. AR invoice) and the rate may be different in the two transactions.
    If you need more assistance, please indicate your currency settings as well as SBO version/localization.
    Regards,
    Heather

  • CASE statement in Calculated column

    Hi Frzz,
    I have below requirement in Calculated column with CASE statement. Could some one help me how to achieve this with case statement.
    String  =   0Hello
                    01Hello
                    012Hello
                    0123Hello
    If  1st Character of the string is '0' then  -  0Hello
        1st 2 characters of the String is '01'  -   22Hello
        1st 3 characters of the String is '01'  -   333Hello
        1st 4 characters of the String is '01'  -  4444Hello
    Thank you.
    Best Regards,
    Krishna.

    Hi Krishna ,
    Using IF and MATCH to do that: ( I took one of the conditions you specified )
    IF(match("STRING1",'??0??'),'333Hello',"STRING1")
    Output:
    Regards,
    Krishna Tangudu

  • Baseline date calculation in Invoice verification (MIRO)

    Dear experts,
    I need to set baseline date after 40 days from document date in MIRO.
    Baseline date calculation of "Terms of Payment" in IMG has two parameters:
      ・Fixed day
      ・Additional months
    We cannot set 40 days in these parameters.
    Can anybody tell me how to set baseline date not month but date(not fixed day) ?
    Please advise me on the settings SPRO>MM>Purchasing>Vendor Master>Define terms of Payment.
    Thanks & Regards
    Ken

    Hi,
    You can't do this.
    The baseline date is the date on which the calculations are made.
    So if you have 40 days to pay, this will be 40 days from the baseline date.
    This will either be the document date or another date, but you can't (in standard SAP) have the baseline date as "X" days after "Y".
    So the baseline date is the date of an event (e.g. the date that the Invoice was posted) not a calculation.
    Is it possible that you have misunderstood the use of this date?
    If you just want to ensure that the payment date is 40 days after invoice recipt, then set you just have to enter the number of days in the payment terms and the baseline date stays as the invoice date (etc.)
    Steve B

  • Tolerance Keys in Logistics Invoice Verification.

    Dear All,
    What is the difference in working of following tolerance keys:
    AN - Item with order reference (can be set at more specific level i.e. item category).
    PP - Price Variance.
    I could set up PP & make system work as expected but if when I set AN with item category 'Standard' & GR indicator ticked, all Invoices are blocked for payment irrespective of the limit specified !! Dont know where am going wrong.
    Also, how Vendor Specific Tolerances exactly works ?
    As per my understanding, the vendor specific tolerances does not work if we change the PO Price in the LIV so as to load the difference to the material, correct ? It only works, if the difference is posted to total invoice amount, keeping the automatically populated PO Price in LIV as it is, the difference is posted to small difference account.
    Actually, my requirement is setup either of these tolerances for EDI processing of LIV.
    Pls. help.
    Thanks,
    Nandish.

    Hi
       AN for invoice items without order reference
        AP for invoices with order reference
    check this link
    [http://wiki.sdn.sap.com/wiki/display/ERPSCM/MM-IV-LIV-CRESetTolerancesforIncoming+Invoice]
    Regards
    Kailas  ugale

Maybe you are looking for

  • Problem in designe selection screen

    Hi Experts,                 i have to design a selection screen like Month ->  january to sepetmber tear ->     2005  to current year i am using the field delivery_date for this purpose(which has no data element). the field is dats and lenth 8 it con

  • HT5699 How do I get back to my account settings in the app store

    How do I get back to my account settings in the app store

  • Cancelled Billing Document

    Our company had issue with a few billing document where one line item was incorrect in sales order and billing document. So the process was to cancel billing doc etc and edit the sales order and rebill. My question is do these all hit FI and CO or no

  • Operating System OS X Lion Disks

    I have purchased a mac 21.5" desktop and a 13" macbook pro.  Both items came with no operating system install disks and/or recovery disks and was wondering if there is a way to get these.  I like to have them in case I need to re-install the systems.

  • Challenge Questions

    Hi All I changed the number of the challenging questions and the required answers as well under OIM system configurations from 3 to 1 but right now when I am trying to user the "forgot password" functionality from OAM login page (we have OIM OAM inte