FI - Sort Key config

Dear All,
My requiremnt is when i pass billing documnet my corrosponding accounting document - assignment field need to cpature Material (MATNR) from delivery document.
I have two options. One i can do it with user exit where BSEG will pick MATNR from corrosponding billing document.
Another option is i can do it with config of sort key. I made one sort key where in field 1 i put MATNR. And assign this sort key in Recon G/L master of corrosponding customer code. But it is not working.
Accounting document - assignment field is blank coming. Even i tried to assign that sort key in customer master but it is of no use.
Did i missed out anything?
Request your help!!!
Akshata

Hi
1. When you give the sort key the assignment field in FBL3N gets filled with the value that has been gien in the sort key.
2. The second use is you can sort the assignment field in FBL3N.
Another functionality or use of sort key is
Where Sort Keys are created
Use Tcode OB16.
Why we are using sort keys.
Straight answer to this is sort key offers great help in Automatic Clearing.
First we understand how does it function. If you have created Bank GL and there you have used 001 (posting date) as sort key then whenever you make entry for that bank Gl your sort key "Posting date" is automatically updated in "Assignment" field unless you manually insert anything in assignment field.
Let's take a simple example for why sort keys are helpful.
Suppose, there is GR/IR account created with sort key 014 (Purchase Order) so at the time of
1. Goods receipt Purchase order with item no will automatically filled in assignment field.
Inventory dr. 15000
GR/IR cr 15000.
In GR/IR account item Assignment would be 150000 10.
2. Invoice through MIRO will also feed Purchase Order with item no in assignment field.
GR/IR dr . 15000
Tax dr. 5000
Vendot cr. 20000
In GR/IR account item Assignment would be 150000 10.
Now your entry is over. There are large number of such entries posted in the period for the GR/IR account.
So, manual clearing becomes very tedious for GR/IR clearing account. In order to avoid that Automatic Clearing program is configured in OB74, where you give field ZUONR i.e. assignment in first criterion. So, line items with same assignment and amount will be cleared automatically upon F.13 transaction.

Similar Messages

  • Sort key issue

    I have defined a customized sort key (OB16) to populate the assignment
    field (ZUONR) with the reference key value (AWKEY) in the header of the
    accounting document.
    This assignment field should populate with the SD invoice document
    number (with is in the reference key in the header level). However, this only works for standard invoices and not service
    invoices or direct shipment.
    The sort key is defined in the GL account which will be hit during invoicing.
    Is this a problem with the sort key?

    Hi Mark,
    Could you kindly elaborate on which part of the config i should check?
    Thanks!

  • Sort Key JUR and allocation

    When invoice sales tax items from the tax conditions are posting to GL tax account document in the allocation field it is always using the txjcd of the shipto but the rate and gl tax amount has been calculated on the plant. Therefore the two don't match and its a reporting nightmare
    The sort key field is JUR.
    Why would it not use the same txjcd the actual taxes are computed on.
    Can any suggest a userexit in place or config?
    Any help is rewarded.
    Thanks
    Richard

    You can make a descending sorting for your key figure using the condition TopPercent (Top%) and take the value 100. To sort ascending, use the BottomPercent (Bottom%) condition on your key figure.
    Then 100 % of the values of your key figure will be shown in a descending sorting by default in your query (without using a view).
    I used the feature in the newest BEx Query Designer (7.x) and it works fine, I don't know if it's available in the older version (3.x).
    Please assign points.
    Kind regards,
    Ben De Windt

  • Sort Key In Vendor Master not working

    Hi,
    I have selected the sort key 010 (Purchase Order No.) in vendor master but the PO no is not getting updating in Assignment field in Vendor line itmes.
    When check vendor line itmes in FBL1N Assignment filed shows as blank only.
    Can any one advice me what config I missed.  Also I wnat to know where we define these sort keys in SPRO.
    Thanks in advance
    Regards,
    Deepak
    Edited by: DeepakH on Apr 6, 2011 2:40 PM

    Dear Deepak,
    As stated the SAP note 152335:
    "...it is no longer possible to enter a unique purchasing document
    number in the customer/vendor line item. Field BSEG-EBELN is not filled
    in the vendor line item and therefore cannot be displayed in the line
    item display for customers/vendors."
    Therefore this is the Standard System Design not Your customizing fault.
    I hope this helps You.
    mauri

  • The sort key in the master data G/l account and master data customer

    Sort Key
    Hi All,
    in the master data (control data) of the G/l account XXXXXX (it's a reconciliation account) I've filled in the sort key the value ZZ1 (XBLNR).
    Instead, in the master data of a certain customer which has its Reconciliation Account equal to xxxxxx, I've filled in the sort key ZZ2 (BELNR).
    Posting a document, I need that the Assignment number is equal to XBLNR.
    How could I obtain this?
    Thanks a lot
    G.

    Hi,
    You are assign short key with Customer master in ZZ1 (Account Management Tab Bottam).
    I think it is helpful to you.
    Regards,
    Spradip

  • Importance of the Sort key?

    Hi SAP Gurus,
    I have posted g/l transaction (gl with out sort key), In open item report assignment no only missing.
    Just clarify what is the importance of sort key & assignment no?
    In sort key I am finding different no (i.e 001,012,018) can any body tell me what the logic behind this numbers?
    While creating vendor master If give the customer sort key , in customer open items  assignment  no not updating ..other than this,   Is there is any difference ?
    Thank You
    Ramakanth

    Hi...if i am not wrong as the name specifies sort keys are used to sort the line items.... as u said there are differet options  for sort key each one sorts the line item in particular  manner ...that is one sort key tells that the line items are displayed according to the date ...in some like customer reconciliatio account the sort key sorts the line items according to  customer numbers instead of date because the sorting of line items for customer records is given in corresponding cutomer master record.... and generally customer/vendor reconciliation accounts are not flagged for open item management because in real time a customer/vendor reconciliation has a number of line items and if these are flagged for open item management this may limit the system capabilith as it utilizes lot of system resources to pull up all the line items from all the customers ... hence the accounts corresponding to each customer are displayed rather than all the line items....

  • Sort Key .... where we can see the activity in GL, Vendor, Customer mater

    Hi gurus,
    what is the use Sort key,
    where we can see that activity.  in GL Accounts, Vendor, customer master sort key where we can see effects. what is the use, how it will sort, where i can see.
    Thanks  for your reply.
    Anil

    Dear Anil,
    Sort key is the one that fills the "Assignment field" of a line item automatically.
    For example, for the GR / IR accounts, we normally give the "Purchase Order" as the sort key. This will make the line items in the GR/IR account to be filled with the Purchase order and the Item number.
    The automatic clearing (F.13) works with the assignment field. In case the net of two line items (Dr - Cr) is equal to zero and the assignment field of these two lines are the same, then the system will automatically clear these two lines. Hence "Sort key " fills the assignment field and is very useful in automatic clearing
    regards
    Venkatesh
    Assign points if useful

  • EXPLAIN SORT KEY IN G/L MASTER

    Can anyone tell in detail what is the use of sort key in G/L master. When we choose to sort suppose by posting date, what is its impact on a G/L document. I am still not clear on this.
    Another question what is the field Open Item Managed used for in G/L master. Explain in detail on this one too.
    Thanks
    Lakshmi

    <b>This is the function of SORT KEY. Pl let me know if you require more info</b>
    The system uses a standard sort sequence for displaying line items. Among other things, it sorts the items according to the content of the Allocation field. This field can be filled either manually or automatically (by the system) when a document line item is entered.
    For this purpose, the system requires rules that determine which information is to be taken from the document header or from the document line item and placed in the field. The rules can be stored in the master record of an account which enables you to determine the standard sort sequence on an account-specific basis.

  • Addition of new field in GL sort key

    Hi all
    I have inserted a new field VBELN: Billing number in Choose sort fields in IMG for S: GL accounts. Then i have created a new sort key in tcode OB16 with this field VBELN & entered this new sort key in a revenue GL.
    However in the accounting view of the invoice, the assignment number is blank.
    Please advise.
    Thanks
    -Dinesh

    hi
    thanks for ur prompt reply.
    yes i am expecting it to appear in the automatic line item display.
    can u clarify what do u mean by substitution... i am a SD consultant so will appreaciate if u cud please elaborate.
    thanks.
    -Dinesh

  • Sort Key in G/L Acounts and Customer MAster Records.

    Dear SAP Guru's,
    What is the specific use of the Sort Key?How will this effect the Line item entry in FBL5N?
    In our Company The G/L Accounts the sort key is maintained As 000  Allocation Number.
    _Also In Customer Master-->Company Code Data
    The Feild sort key : It is maintained "000" Allocation Number _
    If I change the sort key Now after 1 year of several records updated Will the System sort according to the changed sort key?
    I want the sort key to be document Number Now after a year will the previous records be shown with the immediate effect.
    I have gone through this link.
    https://www.sdn.sap.com/irj/sdn/forums.
    regards,
    Amlan Sarkar

    Sort key field is also known as Allocation field.
    The u201Callocation fieldu201D is populated automatically onto line items, during document entry, based on the default sort indicator set in the master record.
    When you display or change line items, they are displayed in a standard sort sequence as per sort key defined in master records.
    Sort key is defined in G/L master, Vendor master and Customer master. The key defined here is taken as the default key by the system when you want to display the line items pertaining to that account.
    The sort key determines what is populated in the allocation field upon posting.
    Changing the sort key will only change future postings not already existing line items.

  • Sort Key

    in GL account we maintain sort key 010  but the line item report fbl3n not display sort key wise.

    Hi,
    The purpose of the sort key is for two purposes:
    If you maintain the sort key in GL Account:
    Assignment field in line item report FBL3N would automatically be filled with this sort key.
    Second this is you can sort or sub-total on this assignment field.
    Hope this helps you.
    Regards,
    Ravi

  • Assignment in Billing document displays different value than sort key

    Hello,
    The billing document is generated from VBRK where no manual intervention is possible. The accounting document which gets generated is directly posted in system.
    Sort key is used to fill up the assignment field at line item level. In case we have a sort key defined at the GL account at company code level & also at Customer account at company code level system will give priority to the customer sort key.
    In our case we have 2 customers where the settings are identical at both GL account & customer master at company code level.
    The sort key has been defined as posting date at GL account level & Document number + fiscal year at customer level.
    Hence system always updates assignment field with Document number, fiscal year.
    However in a peculiar case when we have generated the billing document in 1 case the assignment field has been correctly populated whereas in the other a WBS element has appeared.
    Could you explain from how & where this WBS element has appeared when other billing documents for the same customer are having the assignment field being populated correctly.
    Thanks & Regards
    Shreenath

    In addition to Ajay's suggestion,  please note three exchange rates you can find in billing document.  They are
    VBRP-KURSK = Document currency for Price determination which depends on the setting of TVCPFLP-PFKUR in copy control
    VBRK-KURRF = Document currency for FI postings. If you input manually in sale order field VBKD-KURRF, it is copied to above table / field.  Otherwise, this will be determined during invoice generation.  For more details see Note 36070 - Fixed foreign currency rate for Accounting document
    KOMV-KKURS = this is for local currency at Price condition level which will be determined based on pricing date.
    G. Lakshmipathi

  • Reg the Sort Key field in Vendor Master Record

    Hi MM Gurus,
    I have the requirement of displaying the Purchase Order number & Line Item number in the Accounting document of the Goods Receipt. i.e., in the "Assignment" field.
    I have made the necessary configuration in FS00 for the specific GL account & also specified 014 code in the corresponding Vendor master record.
    However, once I post the GR document, and checked the "Assignment" field, it displays only the Purchase Order number and not the Line item number.
    Kindly help me on this.
    Best Regards
    Sudhi

    Have you posted the above document after set 014 in FS00 ?
    Can you test the same in your practice client.
    Check the document for more details Sort Key Functionalities and the wiki content How to update Assignment field in FBL*N report - ERP Financials - SCN Wiki
    (Note: The changes of FS00 as 014 will not effect old documents)

  • Sort key in vendor master ..?

    Hi all
    Can anybody explain me , what is the use of sort key in vendor master .
    What we have to select in sort key options screen...
    Please explain me clearly..
    Thanks
    sap-mm

    hi,
    use of sort key is basically for the Account person.
    when document is posted in MIRO it is liable to to pay for that vendor.
    now account person can see the list of that document in his report FB03.
    wherein he can see the reference of that document with the help of SORT KEY.
    e.g
    say if sort key is selected as PO no and Po item.
    then in FB03 he can see the
    accounting document with reference of PO no and item no in PO.
    regards,
    sujit

  • T.code FS00: changing the SORT KEY in the 'Control data'

    Hi All,
    I need to change the SORT KEY in the 'Control data' of a G/L master data.
    Is there a SAP standard program by which the field 'Assignment' is updated.
    Thanks
    Gandalf

    Sorry,
    i did't mean updating a field ...
    I meant:
    is there a program which changes the content of the field 'Assignment' according to the new content of the field 'Sort key'?
    Thanks

Maybe you are looking for