Decimal change in BSEG table
Hi Sapiens,
I have a very peculiar doubt. I have set the currency INR to 3 decimal places. After posting a document when i check the same information in BSEG, the amount updated in PSWBT is correct (ex 900.000) but the amount updated in DMBTR and WRBTR in (9000.00)
Please advise me on the same.
Regards
MS
Hi,
bseg-wrbtr (and dmbtr) are correct
and always fields with <b>2</b> decimals.
You can depict your value fields,
if you have customized table tcurx, with the command:
write zfield currency bkpf-waers. (here INR)
regards Andreas
Similar Messages
-
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 -
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 -
How to restrict the decimal entry on dynamic table in adf 11 .6
Hi All,
JDev version 11.6
I have a usecase based on dynamic VO. How to restrict the decimal numbers on table columns . When user enter the decimal number .I have to show error message.
In order to achieve above requirement .I have added value change listener on table column .its not working as expected
<af:table rows="#{bindings.EmployeeDynamicVO.rangeSize}"
fetchSize="#{bindings.EmployeeDynamicVO.rangeSize}"
emptyText="#{bindings.EmployeeDynamicVO.viewable ? 'No data to display.' : 'Access Denied.'}"
var="row" rowBandingInterval="0"
value="#{bindings.EmployeeDynamicVO.collectionModel}"
selectedRowKeys="#{bindings.EmployeeDynamicVO.collectionModel.selectedRow}"
selectionListener="#{bindings.EmployeeDynamicVO.collectionModel.makeCurrent}"
rowSelection="single" id="t1"
styleClass="AFStretchWidth" autoHeightRows="-1"
columnStretching="last" contentDelivery="immediate" >
<af:forEach items="#{bindings.EmployeeDynamicVO.attributeDefs}"
var="def">
<af:column headerText="#{bindings.EmployeeDynamicVO.labels[def.name]}"
sortProperty="#{def.name}" id="c1">
<af:inputText value="#{row[def.name]}" id="ot1"
valueChangeListener="#{backingBeanScope.EmployeeBean.validateINputs}"
autoSubmit="true">
</af:inputText>
<af:outputText value="#{row[def.name]}" id="ot6"
visible="#{def.name eq 'Dummy'}"/>
</af:column>
</af:forEach>
</af:table>
So appriciate if any alternatives on above usecase. Thanks in advanceHI
Expected :as soon as user enter the decimal values in table column , it should throw the error message in new small new window
Getting the value change listener and validating , but its working only tab out (Because VO is dynamic )
please suggest us any reg expression and Validators to achieve the above scenario ? -
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). -
Hi,
We have an issue related to our SAP Production system.
At the time of raising Billing invoices to customers in USD currency,
we are using currency SAR with two decimal places currently. Now our requirement is to bring three decimal places to USD currency for another project. new project also in the same lanscape .To proceed further i need to achieve this change in existing settings and test the impacts. so it is a cross client change (oy04)it will be seriously effected to our production system. Whether it will be suggested for changing the TCURX table? as these change is a urgent requirement for our new IS Oil
project, as in the SAP note : 434349 and 137626 it is clearly mentioned that it will affect the already posted documents , I need to know what are the other impacts and is there any other way to do the same.
Regards
SanjHi sanj,
Check the table TCURX.Based on user profile you can get the currency format from USR01.Use This Code: It takes care of decimal notation based on user profile.What ever may be the user profile for decimal notation.
Expl:
FIELD_NUM = 1,233.50 And You can maintain this table via the R/3 Implementation Guide (Global Settings -> Currencies, Transaction OY04). If a currency is not defined in Table TCURX (decimal places for currency codes), this currency is regarded as currency with two decimal places.
Exp:ISO Currency Decimal places Code- USDN (Internal) US Dollar (5 dec.pl.) 5 ( OR )
Table TCURX (decimal places for currency codes) is a client-independent table of the delivery class "C" (Customizing table). Therefore the table contents for this table can only be delivered with new installations.
For upgrade installations, new or changed contents of Table TCURX are not delivered.
Currency codes and decimal places for currency codes are defined in ISO standard 4217. For the specification of decimal places for currency codes, SAP uses this ISO standard.
For some currencies, for example, for the "Turkish lira", the decimal places which are used in reality deviate from the ISO definition. In many of these cases, SAP decided to adhere to the definitions generally used.
Exp:ISO standard 4217 defines two decimal places for the Turkish lira (TRL), however in reality zero decimal places are being used for the Turkish lira. SAP delivers zero decimal places as Customizing presetting for "Turkish lira".
Regards
Sridhar
Edited by: sridhar.shetty on Feb 21, 2012 7:18 AM -
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 AMHi,
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 KamalHi,
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 -
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 anythingIts 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 -
Amount getting rounded to hundreds in BSEG table
Hi,
I am passing an entry in TWD currency for 1000, but in BSEG table the field WRBTR gets updated as 10.
Any idea why this is happening so?
My conversion rate and exchange rate factors for this currency is 1:1 only
Regards
MalathiHi
The decimal notation is correct in su3 under default tab. For other currency my value is getting displayed with comma's and decimals.
Also the amount entered is only 1000 and not 10. For all the entries we have passed in TWD, BSEG-WRBTR is getting rounded to hundred's
Let me know on why this is happening
Regards
Malathi -
Hello
is it possible to change field bseg-vbund ( trading partner) in transaction FB02.
I tried to add this field (BSEG-VBUND) in customizing:
Financial Accounting --> Financial Accounting Global Settings --> Document
--> Line Item --> -> Document Change Rules, Line Item
but, it doesn't work.
i´m working in 4.6C Version.
Thanks,
João SimõesHi João Simões,
Unfortunately the content of some fields cannot be changed once the document has been posted, even if the fields are customized as changeable. BSEG-VBUND is one of these fields.
The field VBUND is passed to other tables, where it is used as a key-field. Changing the BSEG-value would then produce inconsistencies with other tables.
Note 499079 is only valid for changing VBUND recurring original documents and statistical documents. The field is only changeable in these two cases. It is not changeable in FI documents for consolidation reasons. Please see note 545362, too.
The only workaround to have this corrected is to reverse the document and create a new one.
I hope this clarifies the system behaviour.
Please assign points if it useful
Regards
Ravinagh Boni -
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 padartiHi,
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. -
Editable ALV-No change in internal table
Hello Experts,
I have an ALV output, in which I have a column as editable. I have generated the output using 'REUSE_ALV_GRID_DISPLAY'. I got to know that after changing the editable cell's value, if we double click the cell or if operate with any PF-status components, the value will automatically get changed in internal table also. For double click I am getting the expected result. But If I click a button the value doesn't get changed in internal table. Is there any other change I have to do for this. If I have checkbox in ALV will it be rectified. But my requirement is when I click the button only It has to be modified in the database table.
Thanks and regards,
Venkat.Hi Venkat,
In your form for User Command
write following
DATA ref1 TYPE REF TO cl_gui_alv_grid.
CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
IMPORTING
e_grid = ref1.
CALL METHOD ref1->check_changed_data.
Case 'User-Command'.
Endcase.
or
data : i_grid_settings type lvc_s_glay.
"Calling ALV grid for display
call function 'REUSE_ALV_GRID_DISPLAY'
exporting
i_callback_program = sy-repid
i_callback_user_command = i_callback_user_command
i_grid_settings = i_grid_settings
is_layout = is_layout
it_fieldcat = it_fieldcat
tables
t_outtab = it_final
"for call back values from editable grid cells
i_grid_settings-edt_cll_cb = 'X'.
Hope it helps you,
Pratik
Maybe you are looking for
-
Where is the iCloud panel?
I'm on OS X 10.8.5 and there is no iCloud panel in System Preferences. If I select iCloud from the "View" menu of System Preferences, the window "iCloud" is displayed and I can make changes to what I want to copy to the Cloud. I know it works because
-
Security on vendors address and bank account numbers
Hi Gurus, Do you know if there is a way not to display the adress and the bank account number of a vendor let's say in the transaction FB60 ? Thanks ! JP
-
Extremely slow file transfer speed
Hello, Has anyone else had problems transferring files between computers over a 802.11g network? Recently, I found that transferring files via wireless has become incredibly slow. This morning it took about 10 min to transfer a 25MB file from my MacM
-
Hi, How do I stop a while loop that collects data from a home made instrument. I don't know how many bytes of data it is collecting. I want to repeat this loop n times but have to stop it after each cycle. Your help is appreciated. thanks sbz
-
hi, we have the table dep. SQL> select * from dep; DEPTNO DNAME LOC 10 ACCOUNTING NEW YORK 20 RESEARCH DALLAS 30 SALES CHICAGO 40 OPERATIONS BOSTON create sequence se_dep start with 1 increment by 1; I would like to insert the data into that table th