Bseg table change in Enhp4

Hi,
We are doing upgrade from ECC 6.0 to ENHP4. We are seeing that SAP has inserted a field in the middle in BSEG  table.
Since it has inserted in the BSEG, not sure it would cause any table conversion or not.
How do we prevent table conversion in this case ?
Any idea about this ?
Thanks!

Hi,
this is no problem if the fields afterwards are added via APPEND. This is supported since NW 700. I assume that in your case industry fields are added with append technique after this field. In SAP delivery of 604 XLGCLR is the last table field. If only appends follow there is no conversion. Otherwise this is an error.
Regards,
Christoph

Similar Messages

  • Error while appending structure into BSEG Table

    We had appended BSEG table with a ZSTRUCTURE to enable Custom field in MIRO. Subsequently there was a change required in the appended field. After Changing the field there was adjustment required to activate the appended table . However due to slow system performance during that time the Adjustment SE14 timed out. And created inconsistency in BSEG table.
    If I Do the Table adjustment now it is showing below error.
    We tried to delete the append structure also but the structure is not appearing in the append structure list to delete.
    Even if we try deleting the Z structure from se11 it is throwing below error.
    Any one could help me out to resolve this..

    hi Ramesh,
    Please First Check if the Database version and disctionary version are in sync.
    Also, it could be the case that you would have enhanced an already existing Append stucture. which might be being used in other BKPF dependent tables.
    Please check

  • Data fetching from BSEG table

    Hi,
    I have used smartforms for generating suppler payment statement for financial department. more time duration is taken by the program when it is generating.
    I think this problem comes while data fetching from BSEG table. because, it has more records for one vendor ID.
    I want reduce this time duration.
    Please guide me.

    Have you tried this selection in se16? I'm quite sure that It will take
    a long time.
    The problem has been explained in this group before and I think you
    should search for bseg in the answers given.
    As a hint: It has to do with the selection universe. You are restricting
    only bukrs from the primary key (all the other restrictions in your
    where clause are filters that are applied on SAP's side (not on the
    database side)). The problem is that bseg isn't stored as separated
    fields in the RDBMS, but as a table with the primary key and a stream of
    bits in a raw field.
    You should review and change the logic you're using before reading bseg.
    It's the only way you'll improve the performance of this select. (for
    example, you could use one or more secondary index tables - bi or ba
    to retrieve belnr and access bseg with a better where clause).

  • Help on BSEG table

    Dear all,
    Can anyone plz tell me when does KUNNR of 2nd line item of a particular document number (BELNR) get updated.Anywas,can the KUNNR from 1st line item be moved to the 2nd line item of that BELNR.
    What will I have to do for this?.Basically i will have to modify BSEG table.But as many tables will be logically connected,how can this be done?
    Edited by: Rahul Bhat on Jan 28, 2008 10:09 AM

    Hi,
    The KUNNR does not get updated for 2nd and subsequent line items of an accounting document no.
    The reason being, in an accounting doc, since the 1st line is a debit entry it always belong to the customer code. Hence fo any acc. doc, the KUNNR will be available for 1st line item. Whereas the subsequent line items are credit items and will get recorded against a G/L account and not against a customer code.
    This is designed as per std SAP. Also FYI, since BSEG is a cluster table and any changes to an acc. doc gets recorded in this table, its not advisable to change this std SAP table. It will lead to data in consistency in your system and lead to accounting errors during reporting.
    Regards,
    JLN

  • Performance Problem in using the BSEG table - Required alternative

    Hi All,
    Pl go thru the below program.
    I am unable to change this code
    It is having 46 performance errors
    Pls check the code and suggest.
    *To get Pmt Doc No & Posting Date
      SELECT SINGLE
             BELNR
             ZFBDT
             FROM BSEG
             INTO (WA_ZFT011_FIFO-PAY_DOC_NO, WA_ZFT011_FIFO-POST_DATE)
             WHERE AUGBL = W_CLR_DOC
               AND AUGDT = WA_ZFT011_FIFO-CLR_DATE
               AND BSCHL = '15'.
      IF SY-SUBRC <> 0.
        SELECT SINGLE
               BELNR
               ZFBDT
               FROM BSEG
               INTO (WA_ZFT011_FIFO-PAY_DOC_NO, WA_ZFT011_FIFO-POST_DATE)
               WHERE AUGBL = W_CLR_DOC
                 AND AUGDT = WA_ZFT011_FIFO-CLR_DATE
                 AND BSCHL = '11'.
    The above code is having performance error "NO field of a table Index in WHERE"
    The same error repeated for 45 select statements and for all statements the "BSEG" table is used for selecting data.
    But creating a secondary index on BSEG table columns will not be possible
    So pls suggest me accordingly
    Awaits for the Reply.
    P Kamal

    Hi,
    Perhaps my post here: Re: BSEG table performance issues might help you.
    Regards, Gerd Rother

  • Update Bseg table for one field (Functional Area)

    Dear all
    I need to update function area in bseg table for existing records. How can i modify for that particular field without using update command. Is any BAPI is there for update document no. I have Lakhs records. So is any other way to modify that field.
    This is happening in production. please give your valuable guide how to do it?

    I'm not sure it is advisable to perform, take a look at OSS [Note 966428 - FB02: Functional area (FKBER) can be changed on coding block|https://service.sap.com/sap/support/notes/966428],*this note seems to imply that this area should not be changed..
    Look alsio to Customizing (SPRO) Financial Accounting, Financial Accounting Global Settings, Document, Line Item, Document Change Rules, Line Item.
    Keep in mind that this field is replicated from FI line items to other applications and tables.
    If you must perform this change at you own risk, you may build a huge batch-input based on FB02 or FB09 transactions. Another solution is to reverse the documents and then post again those documents with functional area.
    Regards

  • BSEG Table maintenance

    Dear SD Gurus,
    We are not able to see entries related to Material and material quantity in BSEG table. I am not sure why these entries are not coming in this table.
    As far as my knowledge goes BSEG table is a cluster table and an important part of the Accounting Document Segment.
    It comes in picture whenever there is a movement type of material such as 601 is involved i.e. at the time of PGI or PGR, i have my doubts over  u201Chow it is skipping data insertion in this table?u201D
    Could anybody let me know from where and how BSEG table fatched material and its quantity.
    Thanks in advance. Suitable  Text Removed
    Regards
    Vinod Kumar
    Edited by: Lakshmipathi on Jan 28, 2011 9:16 PM
    Dont offer anything

    Its happening after transporting some requests in Dec 2010
    In that case, you need to take the list of those requests and check which particular request relates to changes in SD table that parallely affects BSEG table.
    You can also check from document flow for that  Accounting document whether values are posted correctly in FI.  As a random test, take a billing document for which an Accounting document is generated and check in FB03 how many line items are flowing.  Next go to SE16 / BSEG and check whether you could see all those line items in this table.
    Meanwhile, you can also check from those transport requests what changes were made in which SD tables.
    Perhaps, you can also have a look at the following notes which may help you.
    1)  Note 10083 - BSIS missing for G/L account
    2)  Note 401646 - New DataSources for Line Items from FI-GL, FI-AP, FI-AR
    3)  Note 416076 - SELECT FOR UPDATE does not lock cluster tables
    4)  Note 608340 - SAP Cons.: No quantity update in subsequent posting from FI
    5)  Note 677630 - Correcting functional areas in FI documents
    6)  Note 685688 - Release of "old" invoices as of SAP R/3 Enterprise
    7)  Note 1497911 - F-26: All items not selected
    In case, you could find out the root cause, please update the forum without fail which will be very helpful to all.
    thanks
    G. Lakshmipathi

  • F110 - Grouping the vendor invoices by BSEG table fields

    Hi,
    I want to group the vendor invoices while making the payment through F110,  based on a BSEG table field. The settings in Grouping Key configuration (OBAP) only allows me to choose the fileds from BSIK table and not possible to select the fields from BSEG table.  Is there any other way to group the vendor invoices based on BSEG fileds?  How can we achieve this requirement in SAP?
    Thanks and Regards
    Koteswararao padarti

    Hi,
    I created the substitution and also grouping key based on the BSIK-KIDNO filed. But the system is not able to group the vendor invoices by payment reference.  I already tried the following options
    Seperate Payments for each Ref in FBZP settings
    Can anyone let me know what is missing in the configuration to group the invoices for payment by payment reference.
    Regards
    Koteswararao Padarti

  • XREF3 field not getting populated in BSEG table while posting MIRO

    Hi,
         I have one query in MIRO tcode.I have activated xref3 field in MIRO tcode using enhancement LMR1MF6Q.Now when i try to post document with some values in xref3 field on screen ,value is not getting populated in BSEG table.Please tell me what else needs to be done to achieve this ?
    any hint on this?
    Thanks & Regards,
    Soniya S.

    Hi,
    1.- According to SAP Note 904652 - MIRO: Different from FB60
    https://service.sap.com/sap/support/notes/904652
    MIRO is an independent Materials Management (MM) transaction that does not
    claim to be the same as the accounting transactions (such as FB60 or FB01).
    MIRO was developed to allow users to process vendor invoices within the
    context of the MM procurement processes as simply as possible.
    For this reason, among other differences, the field selection was limited
    to the absolutely necessary. For example, the following fields from the
    accounting document are not available in Transaction MIRO (this list is not
    complete):
    Reference key (BSEG-XREF1, -XREF 2, -XREF 3)
    2.- SAP Note 1156325 - BAdIs in the Logistics Invoice Verification environment
    https://service.sap.com/sap/support/notes/1156325
    Have a look at badi MRM_ITEM_CUSTFIELDS.
    This badi will create a new tab at item level in order to display the new fields.
    I haven´t used this badi so i cannot talk from experience here.
    Think twice before deciding.
    Best regards.

  • Right way to fire table changes

    suppose i have a class that extends AbstractTableModel and i used a List to store data, like
    public class MyTableModel extends AbstractTableModel
    List dataList = Collections.synchronizedList(new LinkedList());
    public void insertMyData(String data)
    synchronized(dataList)
    // ... do something
    ##Line A##
    ##Line B##
    If i want to fire table changes, say like using
    this.fireTableDataChanged();
    where should i place it?
    at ##Line A## or ##Line B## ???
    or should I use
    SwingUtilities.invokeLater(new Runnable(){public void run(){
      this.fireTableDataChanged();
    Moreover, i would like to ask, if I implement my own TableCellRender and overriding the getTableCellRendererComponent method, all the calls like setText, setBackground, setForeground,...
    should i use SwingUtilities.invokeLater to do that? or just call it as usual ?
    Thanks alot

    Since you mention synchronized several times, I assume your model will be accessed from different threads
    (although you didn't write this.) Client code will have to be careful: getRowCount may return 10, but by the
    time the client gets to row 7 it may no longer exist! What does your model do when getValueAt is based
    indices that are out of bounds?
    As far as synchronization goes, I think you are going overboard with:
    List dataList = Collections.synchronizedList(new LinkedList());...since you are using synchronization blocks elsewhere. In general, I find little use for those synchronizedXXX
    factory methods -- usually the class having a collection member provides the thread safety.
    As far as the listeners go, model listeners assume their event handlers are executing in the EDT, so
    you will have to call the fire*** methods from the EDT. This means you have to use invokeLater or invokeAndWait.
    Using invokeAndWait defeats the multithreading you are building, so I think you
    should call invokeLater, and since this is an asynchronous-style call it makes no sense doing it
    from within a synchronized block. Just be aware that your JTable class may quety the model
    out of bounds.
    Also, if your model's data is written or changed seldom but read often, I would use the serial immutable
    pattern. Have the List reference dataList point to list whose state is immutable. If you want to change
    the data, you make a copy, change that and then have dataList refer to the updated copy.

  • Data in the table changes when multiple users try to submit data

    I have a dynamic table. The table is created in the wdDoModifyView. The user can load data into the table from an excel file. So I have a "Load" button that loads the data from the selected excel file to the table. I also have a "Submit" button. This "Submit" button converts the data to an xml file and make a call to an oracle stored procedure for validation check. If there's an error it will be returned and displayed to the user. If none, a summary of data for posting will be displayed to the user. If the data is correct and the user hit the ok button, the same data will be return to oracle sp for loading in the table.
    The problem we encountered is when multiple users are loading and submitting at the same time, the data displayed in the dynamic tables changes after clicking the ok button. It is as if, the table displays the data being loaded by other user.
    This is an error that is difficult to recreate. This doesn't happen all the time. I hope you somebody could enlighten me why this is happening. I'm not sure if it has something to do with multithreading or session.
    Edited by: Marlyn Agco on Apr 14, 2009 3:57 PM

    Hi Armin,
    Did you mean storing view instances in static references and accessing them outside the wdDoModifyView is not a good idea? In wdDoInit the nodes are dynamically created according to the xml file being returned by the database. This node is stored in a static variable which is also used in wdDoModifyView to create the dynamic table.
    What do you suggest? We're still encountering same issue when multiple users are uploading data.

  • Error while activating the BSEG table

    hi guys ,
                today i joined SAP SCN . I have this error
    First i appended a structure of 5 fields in BSEG table .Then i tried to delete this append structure.
    But while deletiing it took nearly 20-25 minutes to process and timed out.So the structure is deleted
    from BSEG table but those 5 fields are still present in view V_QCMBSEG .Because of this BSEG table
    is now partially active .what should i do other than access key .

    Dear Deepak,
    welcome to SCN.
    How did you append structure in BSEG without access key, if you had appended you must have done it will access key as it is a standard table.
    secondly, the time out error is because BSEG is a cluster table, and the data volume in Bseg is very large as all the accounting document from various module is stored in this table, hence while deleting it system will check each line item wise before activating the table.
    Now the workaround is to check with your basis team to increase the memory index so that time out dump is eradicted and BSG becomes Active.
    Best practice: Don't append structure to standard table unless it is very crucial. if you are doing it for some report, kindly do a table join ( BSEG cannot be used as it is a cluster), you will get the same data in various secondary index table, by doing this the performance of the report will be better.
    Regards,
    M S Lokesh

  • Initial Balances for some of the G/L Accounts  in GLPCT table changed

    Sub : G/L Account Balance( T code FAGLB03 )  and EC-PCA: Totals Table (Table GLPCT) initial balances are not same for some of the G/L accounts ( Initial Balances for some of the G/L Accounts and profit centers in GLPCT table changed )
    Dear Friends
    We are in SAP ECC 5.0. We are using New G/L Accounting
    G/L Account  Balance(Initial Balance)( T code FAGLB03 )  and EC-PCA: Totals Table (Table GLPCT) initial balances are not same for some of the G/L accounts ( Initial Balances for some of the G/L Accounts and Profit centers in GLPCT table changed )
    G/L Account : 1110001 AR Trade - Recon
    G/L Account Initial  Balance( T code FAGLB03 )          36,789,209.26 USD
    EC-PCA: Totals initial balance  (GLPCT table)                14,178,848.14 USD
    I found in GLPCT table initial balances for G/L 1110001 and some of the profit centers are changed. The initial balances are not supposed to change for the entire financial year
    I have checked   none of  documents for this G/L and these Profit centers of last financial year  have been posted or reversed in current financial year.
    Please try to help me what has caused to changed the initial balances and how to correct it
    Please let me know if you guys need more details
    Thanks in advance
    Thanks
    MVS

    Hi Vinay,
    If I understood correctly you are trying to balance  Accumulated Depreciation accounts (from the AA module) with the Cost Depreciation Accounts.
    If they don`t balance zero, it mostly likely means, that some user has posted manually deprecian in your GL, not using the depreciation program.
    Hope this helps.
    KR
    Severina Koleva

  • PO Line Item Number not filled in BSEG Table

    HI,
    While posting to goods receipt through MIGO FI documents are generated.
    For these  FI documents ,  in BSEG table the corresponding  PO line item numbers (EBELP )are not getting filled up,
    How can they be filled. can it be done through any standard configuration?

    Hi,
    Check if you are doing the summarization of FI doc. You can check reading these notes:
    SAP Note 36353 - AC interface: Summarizing FI documents
    SAP Note 77161 - Summarization of FI postings w.ref.to purchase orders
    I hope this helps you
    Regards
    Eduardo

  • FBL5N t code and BSEG table is showing wrong contract number

    Hi,
    The proces flow is contract number>sales order>DMR-->Invoice
    Now when I am checking the VBFA table it's showing correct contract number against invoices but FBL5N t code and BSEG table are showing wrong contract numbers.
    Why FBL5N and BSEG table is showing wrong contract number?
    Currently we are using one enhancement and user exit is used to incorporate one customized field as identifier for bill type.
    1. During the billing document release to accounting VFX3, The user exit triggering and it is update the customized fields and Net settlement indicator.
    2. Using the Invoice number, get the fields VGBEL(Document number of the reference document) and VGPOS (Item number of the reference item) from VBRP and read table VBAP with VBELN and POSNR, to get DMR number (Sales Document) that created for the Invoice.
    3. Use fields VGBEL and VGPOS on table VBAP to get the sale order number.
    4. By using the Sales order number, get the Distribution channel to update Net indicator field
    In accounting table BSEG-UZAWE = JF must be updated on the customer line.
    5. Retrieve the sale order number and item level to get customized field from table VBAP
    Any pointers.
    Thanks
    Ashu

    Hi Reazuddin,
    Thanks for your reply,
    I am concercerned about BSEG table and using user exit EXIT_SAPLV60B_008 to post the document in FI.
    Now in we have enhanced this user exit  for contracts and included in this way.
      SELECT SINGLE ZZ_CONTRACT FROM VBAK INTO (LC_CONTRACT) WHERE VBELN EQ cvbrp-vgbel.
    Endloop.
    *Moving the values to final accounting table
    loop at xaccit.
    xaccit-vertn = lc_contract.
    xaccit-VBEL2 = xaccit-AUBEL.
    xaccit-xref3 = lc_vbel2.
    MODIFY xaccit .
    ENDLOOP.
    Clear: lc_contract,lc_vgbel,lc_vgpos,lc_vbel2.
    But I am getting correct data when checked other clients( development and quality), this problem I am getting in production.
    Do I need to ask the ABAP'er to debug this enhancement in production?
    Thanks
    Ashutosh

Maybe you are looking for

  • How do I get my iphoto albums to my tv using apple tv?

    I have looked at every set up guide I can find. I have chosen the albums, etc to share. My homeshare is on. I can get netflix and play my itunes on my tv, but whenever I try to put a slideshow on, the photostream says that there are no photos in this

  • Understanding the Router product line

    I'm in the process of doing a comparison between the newer 2800 (2811 to be exact) vs. a 3725. I am finding (or atleast it appears) that it is apples to oranges. I noticed that I can find things like "packets per second" for the 3725, but the 2800 se

  • Licensing has stopped working - Mac

    I have had Photoshop Elements for a year and a half, but last week I had to get the harddrive replaced on my MacBook. I just got my computer back 2 days ago and have tried accessing PE for the first time tonight but I have received the "Licensing has

  • Finder sorts files as Kind not correct

    Please help me. I recently purchased a new MBA 13" running ML. When put Finder to view files as Kind, it separates files as movies, documents and PDF files etc. But it seems to cannot differentiate between images files and other documents. It combine

  • Reference transaction type

    What for OTHR and GRPO reference document type is used in Tcode J1IS .Everyone says it is for other movement but what sort of other movement .some give detailed description with example if anyone knows.