Usage of sort key in FS00

Hi,
Can the Sort key (31 - Customer Number) be used in GL account type, for getting the assignment field in the Line item to be populated with customer number.
I tried it but did not work.
Can any one tell how to (standard way) populate the custmer number in the line item of GL account (account type S)?
Regards
Seshadri

Hi Seshadri,
Sort key in the GL master will guides the system to display line items of the business partners or GL account in a specific sort order in reports FBL1N, FBL3N and FBL5N.
If you want the system to populate the assignment field in the customer line item report, go to Tcode FBL5N and select menu item settings-> special filelds
Press new entries and add the entry for table BSID - ZUONR and BSAD - ZUONR
This might solves your requirement.
Post again for more details.
Thanks,
Srinu

Similar Messages

  • Usage of Sorted Keys in standard tables

    Hi,
      If I have a sorted secondary key (unique or non-unique) in my internal table, and use the secondary key with my DELETE statement (DELETE ... WITH TABLE KEY <secondary_key_name> COMPONENTS ... = ...), I still get a prio 2 checkman error saying possible sequential read. My question:
    1. What's the difference between usages of sorted key and a sorted table with regards to a READ statement?
    2. Would I still have to do a SORT on the standard table by the secondary key components and then do a BINARY search to avoid the possible sequential read? (in that case why should i mention the key to be "sorted"?
    Thanks in advance,
    Best Regards
    Anantharaman L

    Hi Anantharaman ,
    When we define sorted secondary keys, we do not have to sort it explicitly and use a binary search. we just have to define the sorted secondary keys and read based on that keys. The read statement should be as follows:
    read TABLE <internal table>INTO <work area/field symbol>WITH KEY <secondary key name> COMPONENTS <comp1 = value>.
    eg : read TABLE lt_tab INTO lw_tab WITH KEY key_1 COMPONENTS carrid1 = 'CC'
    Complete Code :
    REPORT  YTEST.
    DATA: lt_tab TYPE YSTRU1_TT,
          lw_tab LIKE LINE OF lt_tab.
    lw_tab-carrid1 = 'BB'.
    lw_tab-connid =  '50'.
    APPEND lw_tab to lt_tab.
    lw_tab-carrid1 = 'ZZ'.
    lw_tab-connid =  '50'.
    APPEND lw_tab to lt_tab.
    lw_tab-carrid1 = 'WW'.
    lw_tab-connid =  '50'.
    APPEND lw_tab to lt_tab.
    lw_tab-carrid1 = 'AA'.
    lw_tab-connid =  '50'.
    APPEND lw_tab to lt_tab.
    lw_tab-carrid1 = 'XX'.
    lw_tab-connid =  '50'.
    APPEND lw_tab to lt_tab.
    lw_tab-carrid1 = 'CC'.
    lw_tab-connid =  '50'.
    APPEND lw_tab to lt_tab.
    CLEAR lw_tab.
    read TABLE lt_tab INTO lw_tab WITH KEY key_1 COMPONENTS carrid1 = 'CC'.
    Note : Table type ystru1_tt is defined with a unique-sorted secondary key carrid1.
    Hope this will be helpful.
    Warm Regards,
    Jenny

  • 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

  • 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 '011' (site number) without value update in FI document

    Hi
    With regards to vendor master already with sort key 011(site number) was maintained. However, there is always no values update on assignment field in the accounting document. The accounting document was integrated thru MM module when logistic invoice verification done thru tcode MIRO.
    Can anyone please kindly help.
    Regards
    Kang Ring

    Hi ,
    As you are using Std sort key,there should be no problem as there is no other setting other than maintaining the sortkey in the GL.
    Please Check the  Sort key of the Gl in FS00 which is hitting  from MIRO and also confirm that you have maintain the Plant in the concern MM transactions you are referring.
    Regards
    Jabeen

  • Sort key in xkn1

    Hi
    Greetings
    For all vendors i am using 100501 as a reconciliation account . In fs00 i gave the sort key o12 for 100501
    Here my doubt is what is the significance of giving sort key in xkn1. ?
    Thanks & Regards
    Praveen kumar.K

    Hi ,
    The sort key is used by system to display line items. Also sort key helps to determine the value to be copied in the assignemnt field at the time of document entry. The vendor sort key will sort the vendor line items based on the sort key, where as the assignment field in GL account will populate the values from the sort key in GL Master record.
    Regards
    Milind Sonalkar

  • Customer no to populate the Assignment field for Sales A/c using sort key

    Dear All,
    In 6.0, I am trying to get the Customer number to populate the Assignment field for Sales Account
    We have set the sales account to a 031 sort key - sort by customer, in FS00. When 031 is set, SAP goes to the BSEG table and looks at the KUNNR (customer) field and populates the Assignment field with what is in the KUNNR field of BSEG.
    The problem is: the customer number (KUNNR) does not contain any data in BSEG.
    The KUNNR field of all the other account lines for the document number are blank.
    Is it possible to bring the field in the General Ledger display?
    Does anyone know of a user exit or other solution?
    Thanks,
    Gov

    Hi,
    Check with SD consultant and use Copy control.

  • Creation of Sort key

    Hi folks,
    How i can create sort key used for GL Master . In FS00 we assign sort key for GL master account, i need to create separate
    sort key.
    How i can do the same ?
    Thanks
    Saran

    HI ,
    we can create short key separetely in ob16
    here we have to specify the description for gl accoutns
    we have to give the field name to gl accounts
    then we can assign short key in while creation gl master records
    at the time posting in that gl the system automatically generated assignment field
    based on these we can shorting procedure of line items thes respective when we view document in fbo3
    with regards
    / G chandra

  • 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

Maybe you are looking for

  • Help in abap code logic

    hallow i have two tables that i wont to move the data(price) to third table itab i wont to now how i can do that? <b>i reward kindly</b> i give the tabls. INTAB_A132[] resrc             date             knumh 0000123456 20070101 0000014834 0000123456

  • Clarification for Pro 8 EULA

    I'd like to receive some clarification on an issue I certainly feel deserves it. Please keep in mind any reference to "original media" need not be digital at all or in any way under the control of Adobe before being loaded or converted to PDF format.

  • Alerts not getting triggered for invalid receiver receiver

    Hello, My scenario is IDoc to HTTP.I have defined alert rules for my scenario. I have condition mentioned in receiver determination.Depending on vendor number data is sent to corresponding receiver. But when i send IDoc is sent with invalid vendor nu

  • Scanning in as a Bitmap. How to change this back to scanning in as a .PSD file?

    Hello, I'm running CS3 on W7. Photoshop works fine. Problem is, when I used to scan anything it always came in as a PSD file. Now, it's coming in as a Bitmap file. How can I change it to scan in docs as a .psd or .pdf extension? Thanks. Mark

  • Oracle 10g Administration workshop I course

    I am wondering if anyone has studied Oracle 10g Administration workshop I course via self study? My company is willing to sponsor me for Oracle Database Administration courses. I have a got a option to attend the Oracle hand on training courses or go