Posting key 50 shows Positive amount

Dear all,
In the Accounting entry generated for billing documents (doc type RV)
the sales accout with posting key 50 is showing +ve amount ! which
normally should show -ve amount. Due to this he accounting entry looks
unbalanced !
Thanks & Regards,
PM

Hi,
Can you specify where do you see these signs? The amounts are stored in table for accounting document only with positive signs, with no connection to posting key. The sign is determined by debit/credit field (SHKZG).
Regards,
Eli

Similar Messages

  • I need to add the logic for posting key,

    I need to add the logic for posting key, if posting key = 50 then amount is credit (add negative sign in amount field).
    I creadted this scenario in mapping, We wanted to make sure that the negative sign was placed in the amount field if the posting key was = 50.  So it seems we are good.  We will just need to test.
    How i can test this case?
    Please do needful.
    Thanks in advance.

    Hi,
    You need to use an IfElse node function in your mapping in which the input should be the posting key from the source structure.
    You need to check in the IfElse statement whether the posting key=50, if it is true, then use concat node function to concat the negative sign("-") along with the original value to be passed to the amount field on the target side. Else, if the condition is false(i.e posting key!=50), then simply pass the value to the amount field as it is without adding the negative sign.
    After the mapping is done, go to the test tab and then insert the values in the source fields and then execute from the lower left button showing start transformation.  You need to test with the value of posting key=50 once and with the value not equal to 50 once.In the first case, the output amount field should have the negative sign, which should not be present in the second case.
    You will find your target structure in the righter half of your screen. That's it mate
    Thanks
    Biswajit

  • FB60 - Two line items for tax amount (Posting Key - 50)

    Hi,
    I am facing some issue in FB60 invoice posting. For the same vendor(say V1) I am posting 2 different invoices for 100 USD - the <u>company code, G/L, CostCenter & Tax Jursdiction code are different</u> in both the cases. Once I do FB60 and got to document overview screen this is what I see...
    <b>Case1</b> - in the document overview screen I see a Posting key(PK) 31(invoice amount), PK50(tax amount) & PK40(total amount)...which is fine.
    <b>Case2</b> - in second case the document overview shows two line items for PK50(credit - tax amount) and tax amount is different.
    Two questions...
    1) Why there are two tax items (PK50 items) - is that dependent on tax rule or vendor or company code?
    2)My client says the tax amount should be same in both cases - but I am wondering how can it be, when tax codes are different in both the cases? Where can I check how these tax values are getting calculated.
    Any adivse/hints will be greatly appreciated/rewarded.
    Thanks
    Kiran

    AKu
      I got the same scenario also
      this second document display because of material price change u can double click that document

  • Very high LC amounts in GL view and missing posting keys inGL view

    Hi Experts,
    Doc.type : KR
    Transaction: FB60
    Document currency PLN = Local currency PLN
    in general ledger view of a document the items of vendor reconciliation account and of a balance sheet account with currency PLN in master data , have huge amounts which are much more higher than entered amounts in entry view.
    For some items Posting key is missing and the total of items does not balance to zero.
    The expense account items of the document have same amount as entere in the entry view.
    Company code currency is PLN, Document currency and local currency both are PLN.
    Furthermore 2 items of reconciliation account does not have in general ledger view any posting key and the total balance of the items are not balanced to zero in GL view.
    The company have ECC6.0 and document splitting is active and was working fine.
    The company has EUR as hard currency and USD as group currency.
    I look forward to your feedbacks.
    Thanks and Kind Regards

    Hi ,
    Can you Please look at OSS note
    1655571 - Multiple values and multiple/additional line items appearing in the NewGL View when compared to Entry View
    Many Thanks

  • Post key value

    how to decide posting key for negative valuies and for positive values
    and who will decide this
    i have to assign minus sign to value for posting key say 21.
    how can i do that. is it like this ?
    if itab-BSCHL = '22'.
    concatenate '(-)' amount into itab-amount .
    condense itab-amount no-gaps .
    itab-WRBTR = itab-WRBTR * -1 . but not worki
    endif.
    please reply

    Hi,
    I dont think you can assign the sign to the amount for the posting key...
    Posting keys are divided into Debit and Credit Indicator...
    So system automaically take the sign of the amount from the Posting key you have selected.
    You can try Txn FB01...there you cannot give the amount in negative...it should be positive but after posting u can see the differnece...
    it depends on the posting key ....
    exactly for what purpose you r looking posting key...
    Thnx
    Rahul
    Edited by: Rahul Keshav on Aug 26, 2009 5:36 PM

  • Field Posting Key in BAPI_ACC_DOCUMENT_POST ?

    Hi
    I need to post documents like FB01 , i'm already using BAPI_ACC_DOCUMENT_POST  and it works so i can now create documents with the header and itmes positions  , filling the tables header, accountreceivable items and currency items.
    I already found the most of fields for execute the BAPI and create the documents, but i can not find three fields, some of one (BSCHL) the most important:
    Posting Key (BSCHL)
    Special G/L Indicator  (NEWUM)
    Calculate Tax Automatically (XMWST) .
    I think but i'm not sure  the Posting Key (BSCHL) is placed in the EXTENSION2 table, but this table ask for some STRUCTURE name and i don't know what should i place in this field or how fill this parameter table.
    Does somebody can help me  about where can i place these 3 fields in the BAPI or where can i find help documentation for do this ?
    Regards
    Frank

    Frank,
    you should use the Extension2 structure for passing the Posting Keys and you should implement the BADI for posting the documents with the Keys what you have supplied.
    The Enhancement Spots are BADI_ACC_DOCUMENT and IF_EX_ACC_DOCUMENT.
    I've used the BADI_ACC_DOCUMENT and now i'm able to post the documents using the keys which i've supplied to the BAPI.
    Otherwise the BAPI is going to decide the posting keys based on tha amount .
    Hope this will help you.
    Thanks,
    Adi.

  • Not getting the right posting key..

    hey,
    i am posting accounts payable data using the bapi BAPI_ACC_DOCUMENT_POST.
    my logic arrives at two values
       blart  = 'KG'.
       newbs1 = '21'.
    now how do i pass this to the bapi, which structure , which field, so that i get the posting key as 21 in the GL acct line item ??
    i am always getting 31 and 40 as the posting keys... now i need 21 and 50..
    thnks

    hey Sudarshan, I traced the BAPI and found out that it is the amount being positive or negative along with the doc type that determines what  the posting shud be..so when i set the doc type say as KG and pass a +ve value, posting key 21 is set , for -ve value posting key 50 is set. i was abt to achieve the result by changing the signs for the currency amt..worked..

  • Positive amount of Depreciation

    Hi Gurus,
    We have an asset that was capitalized on Sept 2008. Useful life of the asset is 3 years and depreciation started last Oct. 1, 2008.
    Using the Simulated Depreciation, asset will show that monthly depreciation is at -44 thousand upto September 2011. For Oct 2011, it shows that the asset depreciaton will be at +163 thousand. November 2011onwards shows that depreciation will be at -44 thousand again. 
    Kindly advise why depreciation for October 2011 is at positive 163,264.58.
    Is this a result of the adjustment we made for this June 2011? We have posted additional construction cost amounting to 103,509.04 last June 16, 2011.
    Thanks,
    Ellicec

    Hi Ellicec
    SAP does not recommend posting addnl values to the same asset.. It always creates a problem...
    Its better you reverse it and post the same to a Sub asset...
    Yes, you can change the useful life in the master
    br, Ajay M

  • Electronic bank posting key

    I have one posting rule as follows:
    Z003 posting area:1 40 acc(debit) ZINCOMING  50 ZBANK  posting type 01, on account posting key:04 (other receivable)
    posting area:2   50 ZINCOMING  posting type 7
    my question is what does on account posting key:04 do?
    I define account +++++ for Zbank and +++++2 for ZINCOMING, so how other receivable is posted, to which account? thanks

    Hi Siva,
    In Lay man Term, On Account baiscally means posting to a suspense account when the system is not able to identify against which document the payments have ben received from the customer. Eg, the customer just transfer X amount to your account without any details as to against which billings the paymemt has been made. Then you can seek a clarification from the customer and based on that, you will be able to identity the payments where made against which billings and clear them accordingly.
    Your Posting rule definition seems to be correct. But if you want the system to post 'on account' to a customer, it should be in a position to first identify the customer. So, in the step, 'Assign External transactions types to posting rules' you should assign the posting rule to a BAI code (or any external code depending upon the file format you use for Bank statement). In this step you also assign the correct algorithm (01-Standard Algorith or 31-Document number search or your custom algorithm).
    Then while uploading your bank statement in FF_5 or FF.5 (you have to give the document number range against BELNR number interval in the box titled 'Algorithms' or XBELNR number interval. Now the system will identify the customer by Invoice number or XBELNR number. Then if the invoice number and amount matches it will clear the open item and post. If the Invoice number or amount does not match, it will post on account.
    Even after doing all the above the system might not be in a position to idenfity the customer because it could not find  the invoice number or the XBELNR. In such cases you can use search string functionality and try to identify the customer based on the information sent by the bank in the 88 record (note to payee information). Normally wires come with customer name in the 88 record and they will not give invoice details because the number of invoices would be so much that it might not fit into the 88 record. Then you post 'on account' and later clear it manually.
    Cheers
    Vivek

  • Payment block is require for posting key 29

    Dear Guru,
    Payment block field is not apearing for posting ky 29 and 39.
    Can any one tell me how it will come for posting key 29 and 39.
    I have checked in OB41.
    Regards,
    Venkat

    Hi,
    Normally payment block is not set by posting key.
    You can set this field to be showed in account group of vendor or customer.  If you only want payment block to be required fiield for payment key 29, you have to use the suggest above to use a substitution in FI.
    Edited by: Tracy@DE on May 25, 2011 12:15 PM

  • BAPI FUNCTION MODULE  BAPI_ACC_DOCUMENT_POST : How to give posting keys?

    Hi ,
    i am using BAPI_ACC_DOCUMENT_POST to post accounting document. This accounting document is used to post amount from reconcilation account to bank GL account.the table parameter am using is ACCOUNTGL (in the function module)Now i want to give posting keys to the function module parameter. can anyone please guide me how to give posting keys?
    Edited by: Santhosh Kumar  Cheekoti on Dec 18, 2008 7:48 AM

    Hi,
    As pointed out in one of the previous post, posting key will be decided by the BAPI depending on the sign of the amount. Have a look at bthe following code:-
    DATA: doc_header LIKE BAPIACHE09,
          criteria   LIKE BAPIACKEC9 OCCURS 0 WITH HEADER LINE,
          doc_item   LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE,
          doc_ar     LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE,
          doc_values LIKE BAPIACCR09 OCCURS 0 WITH HEADER LINE,
          return     LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
          extension1 like BAPIACEXTC occurs 0 with header line,
          obj_type   LIKE bapiache08-obj_type,
          obj_key    LIKE bapiache02-obj_key,
          obj_sys    LIKE bapiache02-obj_sys,
          docnum     LIKE bkpf-belnr.
    *DATA:
    *       ITEMNO_ACC     POSNR_ACC
    *       FIELDNAME     FIELDNAME
    *       CHARACTER     ACPI_RKE_CRIGEN
    * Fill Document Header
    doc_header-bus_act = 'RFBU'.
    doc_header-bus_act = 'RMRP'.
    *doc_header-bus_act = 'SD00'.
    doc_header-username = sy-uname.
    doc_header-header_txt = 'TEST BOC BAPI POSTING'.
    doc_header-comp_code = 'IN10'.
    doc_header-compo_acc = 'FICA'.
    doc_header-doc_date = '20060127'.
    doc_header-pstng_date = sy-datlo.
    doc_header-doc_type = 'SA'.
    ** Fill Line 1 of Document Item
    *doc_item-itemno_acc = '1'.
    *doc_item-gl_account = '0000500001'.
    *doc_item-pstng_date = sy-datum.
    *doc_item-item_text = 'TEST POSTING DEBIT ITEM'.
    *doc_item-costcenter = ''.
    *doc_item-quantity = '1'.
    *doc_item-base_uom = 'ST'.
    *APPEND doc_item.
    *CLEAR doc_item.
    ** Fill Line 2 of Document Item
    *doc_item-itemno_acc = '2'.
    *doc_item-customer = '0000000016'.
    *doc_item-gl_account = '0000000016'.
    *doc_item-pstng_date = sy-datlo.
    *doc_item-item_text = 'TEST POSTING CREDIT ITEM'.
    *APPEND doc_item.
    *CLEAR doc_item.
    doc_ar-itemno_acc = '1'.
    doc_ar-gl_account = '0000500001'.
    doc_ar-pstng_date = sy-datum.
    doc_ar-item_text = 'TEST POSTING DEBIT ITEM'.
    doc_ar-costcenter = ''.
    doc_ar-quantity = '1'.
    doc_ar-base_uom = 'ST'.
    APPEND doc_ar.
    CLEAR doc_ar.
    * Fill Line 2 of Document Item
    doc_ar-itemno_acc = '2'.
    doc_ar-customer = '0000000016'.
    doc_ar-gl_account = '0000000016'.
    doc_ar-pstng_date = sy-datlo.
    doc_ar-item_text = 'TEST POSTING CREDIT ITEM'.
    doc_ar-stat_con = ' '.
    doc_ar-costcenter = '0000201681'.
    APPEND doc_ar.
    CLEAR doc_ar.
    * Fill Line 1 of Document Value.
    doc_values-itemno_acc = '1'.
    doc_values-currency_iso = 'INR'.
    doc_values-amt_doccur = '200.00'.
    doc_values-currency = 'INR'.
    doc_values-CURR_TYPE = '00'.  "Doc currency
    APPEND doc_values.
    CLEAR doc_values.
    * Fill Line 2 of Document Value
    doc_values-itemno_acc = '2'.
    doc_values-currency_iso = 'INR'.
    doc_values-amt_doccur = '200.00-'.
    doc_values-currency = 'INR'.
    doc_values-curr_type = '00'.  "Doc currency
    APPEND doc_values.
    CLEAR doc_values.
    * Add tax code in extension1 table.
    extension1-field1 = 'BAPI CALL'.
    APPEND EXTENSION1.
    * Fill CRITERIA for CO-PA
    *refresh criteria.
    *criteria-ITEMNO_ACC = '1'.
    *criteria-FIELDNAME     = 'ARTNR'.
    *criteria-CHARACTER     = '000000000001312251'.
    *Append criteria.
    *criteria-ITEMNO_ACC = '1'.
    *criteria-FIELDNAME     = 'WERKS'.
    *criteria-CHARACTER     = 'IN91'.
    *Append criteria.
    *criteria-ITEMNO_ACC = '1'.
    *criteria-FIELDNAME     = 'KNDNR'.
    *criteria-CHARACTER     = '0000000016'.
    *Append criteria.
    *criteria-ITEMNO_ACC = '1'.
    *criteria-FIELDNAME     = 'FKART'.
    *criteria-CHARACTER     = 'ZIN2'.
    *Append criteria.
    *criteria-ITEMNO_ACC = '1'.
    *criteria-FIELDNAME     = 'KAUFN'.
    *criteria-CHARACTER     = '0000000633'.
    *Append criteria.
    *criteria-ITEMNO_ACC = '1'.
    *criteria-FIELDNAME     = 'KDPOS'.
    *criteria-CHARACTER     = '000010'.
    *Append criteria.
    *criteria-ITEMNO_ACC = '1'.
    *criteria-FIELDNAME     = 'VKGRP'.
    *criteria-CHARACTER     = '009'.
    **Append criteria.
    * All tables filled - now call BAPI.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_CHECK'
      EXPORTING
        documentheader       = doc_header
      IMPORTING
        OBJ_TYPE             = doc_header-obj_type
        OBJ_KEY              = doc_header-obj_key
        OBJ_SYS              = doc_header-obj_sys
      TABLES
    *    criteria             = criteria
        accountgl            = doc_item
        ACCOUNTRECEIVABLE    = doc_ar
        currencyamount       = doc_values
        return               = return
        EXTENSION1           = EXTENSION1.
    LOOP AT return WHERE type = 'E'.
      EXIT.
    ENDLOOP.
    CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
      EXPORTING
        documentheader       = doc_header
      IMPORTING
        OBJ_TYPE             = doc_header-obj_type
        OBJ_KEY              = doc_header-obj_key
        OBJ_SYS              = doc_header-obj_sys
      TABLES
    *    criteria             = criteria
        accountgl            = doc_item
        currencyamount       = doc_values
        return               = return
        EXTENSION1           = EXTENSION1.
    LOOP AT return WHERE type = 'E'.
      EXIT.
    ENDLOOP.
    IF sy-subrc EQ 0.
      WRITE: / 'BAPI call failed - debug and fix!'.
    ELSE.
      CLEAR return.
      REFRESH return.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
    * EXPORTING
    *   WAIT          =
       IMPORTING
         return        = return.
      WRITE: / 'BAPI call worked!!'.
      WRITE: / doc_header-obj_key, ' posted'.
    ENDIF.
    Regards
    Raju Chitale
    Edited by: Raju Chitale on Dec 18, 2008 8:31 AM

  • How to mention posting keys for line items in IDOCS for fb01 posting

    Hi all ,
    I am using IDOCS for fb01 posting with posting keys 15 and posting keys 40 for line items .The data is in legacy file . I am using IDOC <b>ACC_GL_POSTING_01</b> for posting . Is there any way that I can mention the posting keys in the segment parameters of the IDOC.If there is anyone who have done fb01 posting with IDOCS,please help me with the code .Please treat the question as urgent .
    Thanks in advance

    Hi Arshad,
    There is no fecility to enter Posting keys explicitly.. It is determined automaticall by the Credit/Debit amounts u enter in GL data in the segments E1BPACGL08 and E1BPACCR08 and also it depends on the Customer and Vendor no.
    Sreedhar

  • ITunes showing incorrect amount of music on iPhone 6

    Just upgraded to iPhone 6. Brought new phone home and restored from iTunes backup.  Of course, music/playlist in not included in restore yet, in iTunes, my new iPhone shows same amount of songs of original iPhone 4s (733 songs, 3.1 GBs.) However, new iPhone actually only has 11 songs! When checking capacity on actual iPhone 6, (Settings>General>About>Available) the device shows having 8.1 GB of available space and 11 songs.  What gives?  Note: I manually manage music and videos on my devices with iTunes. Always have, always will.  Any help would be gratefully appreciated!  Thanks!
    iTunes version: 11.4
    iPhone 6, OS: 8.0.2
    iMac Build 10K549, OS Version: 10.6.8

    In case anyone else finds this post with a similar problem.. I found a solution. (posted by a user named txforever)
    Manually change the date back several months (or years if need be) and then go in to your Recently Deleted Photos folder. Don't be fooled by it telling you there are 0 photos. If you actually open it up, suddenly you will find all the old photos that should've been deleted but never were.
    I emptied it and my problem is solved.
    Hooray!
    I feel like Apple should issue this as a known solution to this bug that a lot of people seem to be having. And also, they should fix the bug of course.

  • GL account and posting keys

    Hi All,
    Can someone guide me how the Debit and the creift indicator is  determined for the system to post the accouting entry for a sales transaction.
    Through account determination the GL account is determined for an account key.
    For example if  GL account for sales  determined is 1234 through account key. How does the system determines whether a  credit value appears against the GL account 1234 (through posting key 50) and how the system determines the corresponding debit  entry (posting key 40) to the customer account.
    Can some show the T codes or menu path to link the GL accounts to posting keys and how the  system determines that for every credit to sale account , a corresponding debit needs to be done to customer account (what control this )
    regds

    Dear Friend,
    As you already know the accounting Principles, that Debit & Credits & every postings should be equal.
    Now as per GL account determination maintained system determines necessary GL Accounts.
    Now, in GL Account Definition (T-Code FS00) you enter Account Group (e.g. Inventory account, Fixed Asset account, Account Receivable, etc)
    This Account Group classifies the GL Account Master Data. The account group is a classifying feature within the G/L account master records. The account group is a required entry.
    The account group determines the fields for the entry screens if you create or change a master record in the company code. The account group also determines in which number interval the account number must be.
    Hope this helps...
    Thanks,
    Jignesh Mehta

  • Relation Between Dummy Profit Center and Posting Keys.

    Hello Gurus,
    It will be a valuable feed back for below mentioned Scenario.
    One of our client is on SAP Version 4.7 and New GL is not activated. In COCD one Customer Invoice entry is booked as below.
    PK     Account           Amount      Profit Center
    01     SURXXX1            100.00         ABCD
    50     REVENUE A/c      50.00         ABCD
    50     ENT TAX               20.00         ABCD
    50     SERVICE TAX       30.00         ABCD
    After running t codes 1KEK, F.5D, and KE5T for customer line item system picks same profit center as mentioned in other line items i.e ABCD.
    But when we reverse the above document system picks DUMMY Profit center instead of ABCD. 
    PK     Account           Amount      Profit Center
    12     SURXXX1            100.00         DUMMY
    40     REVENUE A/c      50.00         ABCD
    40     ENT TAX               20.00         ABCD
    40     SERVICE TAX       30.00         ABCD
    Basically we have checked field status variant for Posting Key 01 and 12 in which Profit Center field is Required and field status for profit center for reconciliation account is also required. This is unusual behavior which we are facing right now.
    Regards,
    Ajinkya Ahire 

    Profit Center :
    A profit center is a management-oriented organizational unit used for internal controlling purposes. Dividing your company up into profit centers allows you to analyze areas of responsibility and to delegate responsibility to decentralized units, thus treating them as "companies within the company". EC-PCA lets you set up your profit centers according to product (product lines, divisions), geographical areas (regions, offices or production sites) or function (production, sales).
    Profit Center Accounting (PCA) allows you to calculate internal measurements of profitability. This internal view of profitability, then, reflects the success of a given profit center at meeting the profitability goal for which it was given responsibility.
    Cost Center :
    The cost center is an organizational unit in a controlling area. Cost centers can be defined according to several different design approaches. A typical approach could be for an enterprise to define a cost center for each low-level organizational unit that has responsibility for managing costs. As costs are incurred, they are assigned or posted to the appropriate cost center. These costs could include payroll costs, rent and utility costs, or any other costs assignable to a given cost center.
    Each cost center is assigned to a category, e.g. Administration cost center, production cost center, etc. Each cost center master record has a field for the name of the person responsible for the cost center.
    For detailed information go thru the below article
    https://wiki.sdn.sap.com/wiki/display/ERPFI/BasicConceptsof+Controlling
    Hope this helps.
    Cheers,
    Srinath.

Maybe you are looking for