How to select Posting key flag

Dear all,
how to select flag for posting key.
I'm getting the following Error:
You cannot enter any data in field BSEG-XREF1
Message no. ICC_TR168
Diagnosis
The system will not allow you to enter any data in the field. The flag for the posting key has not been selected in table TBSL.
Procedure
Change the settings in table TBSL for the posting key.
Pls help me
Reg
Kris

Hello George,
It seems that the posting key used has field staus as suppressed for the "Reference key1".
Please change the field status of the posting key from supressed to optional.
The procedure is as follows:
Go to Transaction OB41.
Select the posting key that gives this error message. Double click and enter the entry.
Select the field status of the posting key.  (It is present in the Edit menu).
Select the "General Data".
Make the field "Reference specification 1/2" from "supressed" to "optional".
Please let me know in case you face any issue.
Regards,
Nisha

Similar Messages

  • 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 is the posting key determined?

    Hi,
    I have a general question about posting keys.
    What is the logic behind the posting keys (customizing OB41)?
    I think we have 2 possibilities:
    With automatic postings, the posting keys are picked up from the "Account assignment"  in Customizing (OMWB).
    With manual postings, the posting key is selected manually when making the posting.
    Do you have any more information about it?
    Thank you for your feedback.
    Kind regards,
    Linda

    Linda,
    Posting Key is a 2 character numerical key that controls the entry of line items.
    The posting key determines:
    Account type
    Debit/credit posting
    Layout of entry screens
    When you enter a posting, you enter a posting key for each item. This key determines how the item is posted. Posting keys are defined at client level and therefore apply to all company codes.
    The posting key determines:
    The data you can enter in the line item
    How data you post is processed
    How the system updates the data you enter
    Posting keys are differentiated by customer, vendor and G/L accounts. Apart from the General Ledger Accounting (FI-GL) and Accounts Receivable and Payable (FI-AR/AP) components, there are also posting keys for asset and material accounts.
    Hope that helps.
    Nandita

  • 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

  • How to select default key in Custom Catalag

    I have created a custom message catalog and it's running well. I have just recently discovered that the default language selection does not work for me.
    For example, I have a key KEY123 with value MSG123 for Italian. If I select Italian, it shows MSG123. But if I select English, it will show KEY123.
    From document, the example shows only Custom Catalog with language set, such as <MessageSet language='it'>, how can I define a default one so that IdM will look at it when it cannot find the key in the preferred language? (I tried <MessageSet> without speficying any language but it doesn't work )

    I do not have any security issue. In fact the login has no password. It just will not automatically choose the connect button in the dialog window that pops up in the finder.
    I have this:
    mount volume "afp://" & serverName & "/" & sharePoint as user name userName
    When this runs I end up with a regular login window wanting a password. I don't have one so a simple hot of the connect button works. How can I make it automatically send a return or enter keystroke. I've tried keystroke return and keystroke enter with no luck.
    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

  • Posting Keys for Account Determination do not exist

    This doubt in STO scenario:
    STO - between 2 plants - different company codes under same client
    Created STO from  Receiving Plant in ME21N with document type NB
    Based on that STO, Created Delivery in VL10B from supplying Plant
    Tried PGI in VL02N from supplying Plant.
    Received the Error Message as below:
    Posting keys for account determination for transaction BUV do not exist
    Message no. F5598
    Diagnosis
    The posting keys necessary for account determination for transaction BUV have not been set.
    System Response
    Because the posting key is missing, the system cannot generate any automatic postings.
    Procedure
    Maintain the posting keys necessary for transaction BUV.
    kindly give the solution and advance thanks.
    Vaidee

    Hi Vadee,
    Account Determination for BUV has not been setup for PGI.
    So , go to transaction OBYC and assign the account by double clicking BUV  and give u r chart of accounts and check whether the account has been maintained. If not maintain.
    If account has been maintained , select your account/valuation class and select posting keys push button and maintain the posting keys.
    Regards,
    Nani

  • Posting keys

    Hi,
    Iam asking for posting keys (40 and 50). How are there posting keys determined for GL account determined from VKOA.
    1 )I need to know if the system determines GL account xyz. how the system knows that xyz nneds to be debited through posting key 40 or xyz needs to be credited through posting key 50.
    can you pls tell me the config path for the posting keys and the integration with account determination.
    2) Is the debit(40) and credit (50) also dependent on the type of document. That is if we make an invoice , the system debits GL account xyz through 40 posting key as an example and if we make a credit note with ref to invoice  and use the same GL account xyz, the system uses the account key 50 and credits the gl account xyz. Is this the inerchange of posting key is done automatically or any config is required from FI side ?
    regds

    Hi,
    Check Transaction OBYC for MM side.
    Here  in this transaction a  for a particular transcation type : chart of account and account determination is assigned.
    if you check after chart of account the posting keys are also assgined.
    and enteries are made on valuation area and valuation class,
    Valuation class is assigned in Material master.
    Sales :
    ->Chart of accounts
    -> Sales organization
    ->Account assignment group for payer
    (This allows you to divide customers into different groups, such as domestic
    and overseas customers.)
    -> Account assignment group for material
    (This allows you to divide materials into different groups, such as services
    and retail goods.)
    -> Account key
    (Account keys are assigned to condition types in the pricing procedures, so
    that conditions, such as freight conditions, can be posted to special freight
    revenue accounts.)
    You must ensure that the configurations you make for account determination
    match the configurations in FI and CO.
    Account determination is carried out using the condition technique.
    Depending upon the billing type, an account determination procedure is assigned
    for G/L accounts.
    This determination procedure contains one or more condition types to which an
    access sequence is assigned.
    This access sequence is composed of individual accesses in the form of condition
    tables.
    The condition tables contain the fields and field combinations upon which revenue
    account determination depends.
    The key fields are filled with document data, so that the system can search for a
    corresponding G/L account for the relevant combination.
    If an access determines a G/L account, then it is set in the accounting document
    and the search is terminated.
    I hope this will help.
    Regards,
    Nisha

  • FB50 screen layout to include posting key in line item

    hi,
    could anybody please guide me  : how to include posting key in FB50 screen Layout ,
    basically the line item details another field : Psting Key needs to be implemented . Aldready tehre are about > 10 fields like
    Document , GL Account , Short text , PurchaseOrder etc . But no where posting key is mentioned .
    how do we change the FB50 screen layout <at configuration level ? >
    Thanks
    Trina

    well it is  a feasibility testing : a requirement from client : required to check if there are any possible ways in which that field can be included .
    D/C is heplful bt at certain instance tehre are some erros while posting in transaction stating : "posting key incorrect"
    so inorder to check posting key while performing GL Account postings such a req as coem up
    Thnaks
    Trina

  • How to get selected row keys from RichSelectManyCheckbox

    Adf Table has getSelectedRowKeys but SelectManyChekcbox does not has anything similar. Can you tell me how to get selected row keys programmatically for RichSelectManyCheckbox?

    Hi User,
    selectManyCheckbox component's value property holds the selected items values. Bind this property to some bean variable(of type list) so that you can get the selected values by accessing the bean property.
    Sireesha

  • How posting key is taken up when we generate accounting document

    hi ,
    i am trying to bill a customer using billing type RE which is credit for returns. but when i generate posting document instead of crediting the customer account its getting debited  ie) it is taking up the posting key 01 instead of 11 .
    how this posting key is determined when we generate accounting documnet .
    if u have any questiin or clarification kindly ask me.
    thanks

    hi,
    start with checking OBXW, here you check the customer item outgoing invoice, where you will find posting keys assigned for debit and credit. Might be its configured wrongly here.
    Second, Check T.code OB40 this is where we tell what type of accounts are affected with this posing key and is the effect a debit or credit. You have radio buttons for it.
    But remember these are all standard SAP config settings and i guess there would really be a need to change them here if not while practising.... Make the settings as required and do consult an FI guy on this.
    regards
    sadhu kishore

  • How to find out the table for Posting Key and A/R & A/P Document types

    hi folks,
    can you let me know which TABLE is used to Posting key and also which TABLE is used for Account Receivables and Account Payables.
    Thank you in advance.

    To find the table of posting key, select any posting key at OB41, then press F1, then click on hammer icon the table used will be displayed. For Posting Key TBSL is the table used.
    Posting Key TBSL
    Customer Master (General)  KNA1
    Customer Master (Company Code) KNB1
    Vendor Master (General) LFA1
    Vendor Master (Company Code) LFB1
    Satish
    (please close the thred if u satisfiy with the answer)

  • How to select packages in the installer? no keys seem to 'select'

    so i'm installing arch as we speak; i have configured the keyboard right but when i get to select package groups and selecting packages i cant work out how to 'select' a package!
    firstly can someone tell me straightforwardly what key to press to select: so i can check its the system and not me?
    thanks for ready the super-noobs question
    zom
    EDIT:
    my bad: i had managed to break the spacebar and didnt realise this was what i needed to press
    Last edited by zomzilla (2011-06-14 08:02:06)

    I haven't used the official installer in a long time, but "space" should work (that's the key on the unofficial archboot installer).

  • I use iPhoto and want to know how to get the 'key photo' i select on my MacBook Pro to be the one that gets used on my iPhone when i sync them. Any ideas? also, i want the events to appear in the order i choose on my MacBook too

    I use iPhoto and want to know how to get the 'key photo' i select on my McBook Pro to be the same one that gets used on my iPhone 5s when i sync. i also want the events to appear on the iPhone in the same order i have them on my macbook. any ideas there too?

    Killerfinch wrote:
    My new yahoo account nestles comfortably in iCloud on the mine iPad.
    No, your Yahoo account is not in iCloud (which only handles iCloud mail), it is in Yahoo, and the Yahoo mail account is on your iPad.
    But the MacBook Pro will have none of it! I write this question now as I fear that I will be totally demented very soon and unable to formulate my thoughts clearly!
    Get the correct settings for your account from Yahoo and set it up manually.
    By the way, I also find the "password" issue problematical. It seems Apple want my Apple password rather than my eMail password. All very confusing.
    That would depend on what you are trying to do.

  • BSEG - Select on posting key (BSCHL)

    I need all documents in the proceeding 2 months (cleared and uncleared) from BSEG whose posting key is '06'.
    I can't find any other table that has all the records and there are no other fields to put into the where clause of BSEG.
    Any ideas?

    Hi Janet,
    You can use BKPF table. ( accounting document header).
    And u can use the fields BUKRS,GJAHR,BELNR and the posting date BUDAT.
    Your code may look like below.
        SELECT *  FROM bkpf INTO TABLE itab_bkpf
                  WHERE BUDAT = ( last 2 months )
      IF  NOT itab_bkpf[] IS INITIAL.
        SELECT * FROM bseg INTO TABLE itab_bseg FOR ALL ENTRIES IN itab_bkpf
          WHERE belnr = itab_bkpf-belnr AND
                bukrs = itab_bkpf-bukrs AND
                gjahr = itab_bkpf-gjahr AND
                bschl = '06'.
    Please reward with points if it helps.
    Thanks and Regards,
    Nagendra

Maybe you are looking for