Some column is rounded to an integer during KE30
When I use KE30 to display the qty of sales, the result of this column is rounded to an integer. For example, the real qty is 1.6, but it is rounded to 2.And then I check the decimal places of this number formati, it's 0.000.
So can you tell how could it be and how to resolve this problem?
Thanks!
When I use KE30 to display the qty of sales, the result of this column is rounded to an integer. For example, the real qty is 1.6, but it is rounded to 2.And then I check the decimal places of this number formati, it's 0.000.
So can you tell how could it be and how to resolve this problem?
Thanks!
Similar Messages
-
Exclude some columns during TDMS transfer
Good morning.
We need to exclude some columns during our TDMS transfer.
For example, we have a table with 10 fields at the sender, we only need 8 fields to show up at the receiver.
I have reviewed all my TDMS documents and TDMS on-line help but found no info about this.
Did any expert do similar thing before?
Thanks!SAPUSERSS wrote:
> We need to exclude some columns during our TDMS transfer.
> For example, we have a table with 10 fields at the sender, we only need 8 fields to show up at the receiver.
> Thanks!
Hello ,
Another potential workaround could be to use Scrambling rules for such fields
and in the scrambling logic force the fields values to SPACE so that in the reciever those fields (Columns) are not transferred
with any data.
Cheers..! -
How could I display some columns in a JTable?
Help, please:
I got a Table data(using AbstractedTableModel), and I can display all rows and columns. How can I just display several columns and all rows? Should I delete some columns from table and fireChanges or what? but I need these columns later. Make sense? any ideas?
Thanks for any helps.
Royanthis worked for me,
import java.util.*;
import java.io.*;
import java.net.URL;
import java.sql.*;
import javax.swing.table.*;
import javax.swing.*;
public class HideTableColumns
public HideTableColumns()
private void initialize()
DefaultTableModel m = new DefaultTableModel();
try {
java.util.Vector data = new java.util.Vector();
java.util.Vector headers = new java.util.Vector();
String s = "";
headers.addElement( "OrderID" );
headers.addElement( "CustomerID" );
java.util.Vector datum = null;
datum = new java.util.Vector();
s = "OrderID";
datum.addElement( s );
s = "CustomerID";
datum.addElement( s );
data.addElement( datum );
m.setDataVector( data, headers );
for( int r = 0; r < m.getRowCount(); r++ )
for( int c = 0; c < m.getColumnCount(); c++ )
s = ( m.getValueAt( r, c ) ).toString();
System.out.println( s );
} catch( Exception e ) {
System.out.println(e.getMessage());
e.printStackTrace();
JFrame f = new JFrame();
JPanel p = (JPanel) f.getContentPane();
JTable tb = new JTable( m );
TableColumn col = tb.getColumnModel().getColumn(1);
col.setPreferredWidth(0);
col.setMinWidth(0);
col.setMaxWidth(0);
p.add( tb );
f.pack();
f.show();
public static void main( String[] args )
HideTableColumns d1 = new HideTableColumns();
d1.initialize();
} -
Change the colour of some column headers
Hello All,
I have a table with a few columns. I want to colour some of the column headers. I want to do this as these columns represent a KEY.
Regards,
AayushHi Aayush,
As such there doesn't exist any way to colour only some column <b>headers</b>. The two existing options are :
1) Show the data of some columns in a different colour. For this use text views (default one) as the column elements, and select one among the few built-in colours for the property 'semanticColor' of the text view.
2) Attach a small image to the primary column's header, using the 'imageSource' property of the table header.
Hope this helps,
Best Regards,
Nibu. -
How to create some columns dynamically in the report designer depending upon the input selection
Post Author: ekta
CA Forum: Crystal Reports
how to create some columns dynamically in the report designer depending upon the input selection
how export this dynamic report in (pdf , xls,doc and rtf format)
report format is as below:
Element Codes
1
16
14
11
19
10
2
3
Employee nos.
Employee Name
Normal
RDO
WC
Breveavement
LWOP
Sick
Carers leave
AL
O/T 1.5
O/T 2.0
Total Hours
000004
PHAN , Hanh Huynh
68.40
7.60
76.00
000010
I , Jungue
68.40
7.60
2.00
5.00
76.00
000022
GARFINKEL , Hersch
66.30
7.60
2.10
76.00
In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
Can anybody help me how do I design such report....
ThanksHi Developer life,
According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric values) in the details, add an filter to filter the data base on this column group, but if
the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
Similar threads with details steps for your reference:
https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings
If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
Any question, please feel free to let me know.
Best Regards
Vicky Liu -
How to disable sorting for some columns in a ALV GRID?
Hi i have requirement where I have to disable sorting for some columns in a ALV GRID. i am using REUSE_ALV_GRID_DISPLAY function module.
Can anybody help me. how to acieve this? Any code snippets will really be appreciated.Hi,
I have tried this but not completely successful. I think this can be done using the OOPS method.
DATA: it_event_exit TYPE slis_t_event_exit.
DATA: w_exit TYPE slis_event_exit.
w_exit-ucomm = '&ODN'.
w_exit-before = 'X'.
CLEAR w_exit-after.
APPEND w_exit TO it_event_exit.
w_exit-ucomm = '&OUP'.
w_exit-before = 'X'.
CLEAR w_exit-after.
APPEND w_exit TO it_event_exit.
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
i_callback_program = w_repid
i_callback_top_of_page = 'ALV_TOP_OF_PAGE'
i_callback_html_top_of_page = 'ALV_HTML_TOP_OF_PAGE'
i_callback_user_command = 'USER_COMMAND' <- User command form
is_layout = wm_layout
it_fieldcat = wt_fieldcat
it_events = i_events
it_event_exit = it_event_exit <- Need to fill
it_sort = wt_sort
i_default = 'X'
Now you can capture this events in the user command
FORM user_command USING r_ucomm LIKE sy-ucomm
rs_selfield TYPE slis_selfield.
IF r_ucomm = '&OUP' and rs_selfield-SEL_TAB_FIELD = 'Your field name'.
ENDIF.
ENDFORM. "user_command
In this form you will get the function code in 'r_ucomm' and the field selected for sorting in 'rs_selfield-SEL_TAB_FIELD'. But reseting 'r_ucomm' will not work.
May be somebody else can give some help on this.
But this will work if you follow the oop method.
Please see this document for more info.
http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/webas/abap/an easy reference for alv grid control.pdf
Thanks
Vinod -
Workflow changing the status based some columns value
OOB workflow SP designer 2013
The workflow purpose is change the status columns from
COMPLETE to IN PROGRESS or from
IN PROGRESS to COMPLETE according some columns value.. And if the change is from
IN PROGRESS to COMPLETE
there will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send Remainder email every 10 days
If the status change from in progress to
Complete (BY MANAGER MANUALLY) then
last renewed Date =TODAY()
Valid to Review=TODAY() + 4 MONTH
Alert Date=today() + 5 month
and Due Date=today() + 6 months
AND START THE WORKFLOW AFTER UPDATING THIS COLUMNS FOR NEXT cycle
SharePoint List(http://server/site/..) LIST ITEMS
Department
Contractor
Division
Manager Email
Contractor last renewed Date
Contractor Valid to Review
Alert SOPReview
DueDate Review
Status
Workflow Status
ABC
JONAH
10
[email protected]
01/01/2014
05/06/2014
5/07/2014
5/08/2014
COMPLETE
paused
DEF
SMITH
20
[email protected]
01/01/2014
02/03/2014
2/28/2014
3/20/2014
INPROGRESS
INPROGRESS
Note:
The status is changed manually by manager from IN PROGRESS TO COMPLETE
The status from COMPLETE to IN PROGRESS is changed by event or Triggers (based the alert date)The First Part are coded as follow
(The workflow purpose is change the status columns from COMPLETE to IN
PROGRESS or fromIN PROGRESS to COMPLETE according
some columns value.. And if the change is from IN
PROGRESSto COMPLETE there
will be change in some columns like
If alertSOP Date <= today then change the status (Columns value) from Complete to In Progress and send email to the manager (the manager email address is a column (Manager Email)
Else pause until the alert date=Today()
If the status (columns) = in progress send
Reminder email every 10 days)
Note:
The first if Block work as expected
the second if block generate error.. Internal States Canceled
RequestorId: 3b262286-66e8-5f9f-09f8-3b09c5be0ebc. Details: System.ApplicationException: HTTP 400 {"Transfer-Encoding":["chunked"],"X-SharePointHealthScore":["1"],"SPClientServiceRequestDuration":["1997"],"SPRequestGuid":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"request-id":["3b262286-66e8-5f9f-09f8-3b09c5be0ebc"],"X-FRAME-OPTIONS":["SAMEORIGIN"],"X-Content-Type-Options":["nosniff"],"X-MS-InvokeApp":["1;
RequireReadOnly"],"MicrosoftSharePointTeamServices":["15.0.0.4420"],"Cache-Control":["max-age=0, private"],"Date":["Tue, 25 Mar 2014 21:25:35 GMT"],"X-AspNet-Version":["4.0.30319"],"X-Powered-By":["ASP.NET"]} at Microsoft.Activities.Hosting.Runtime.Subroutine.SubroutineChild.Execute(CodeActivityContext
context) at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager) at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager
bookmarkManager, Location resultLocation) -
How create report with data from table and some columns results function ?
Hi,
How can i create on apex report region with some columns (of the report) as returned from a table and the other columns as results of plsql functions ?
for example , I want to create a report like that:
device last_date error_msg stop/start
kodak1 06/04/08 null >>
kodak2 08/03/08 good msg --^--
kodak3 08/04/08 err msg >>
3 rows returned
where the 3 first columns are data returned from the table and the forth column is the result of plsql function (returned for example false) and on that i want to display a button of start ( >> in this example ) or stop ( --^-- in this example)Thomas,
There is no problem here -- this is fully suported scenario.
1. Bind Table dataSource to Customers node.
2. Bind individual cell editors to any attribute of customer or any nested node like Address, say create column with InputField as editor, then for "value" property select Customer.Address.Street.
Your nested nodes (like Address) must be non-singleton, set singleton=false on context designer tab.
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com -
Disable some columns in table control?
Hi
How to disable some columns in table control.
For Ex: Table contains 8 columns.
In first row i want to disable first 4 columns.
in second row i want to disable last 4 columns.
In third row i want to disable first 2 and last 2 columns. How can we achieve this?
Cheers,
Venkys.HI
Create three attribute in the node which is bound to the table as data source.
say pro1, pro2, and pro3 of type wdy_boolean.
now bind the enabled property of first four column editors to pro1, last 4 to pro2, and pro3 to first 2 and last 2.
then go to the eventhandler of the dropdown 's on select event and write the code to update the values of these attribute
according to the selected value.
here is the sample code.
DATA lo_nd TYPE REF TO if_wd_context_node.
DATA lo_el TYPE REF TO if_wd_context_element.
DATA lv_VAL LIKE ls_dealer1-name.
lo_nd = wd_context->get_child_node( name = 'DEALER1').
lo_el = lo_nd->get_element( ).
lo_el->get_attribute(
EXPORTING
name = `NAME`
IMPORTING
value = lv_VAL ).
DATA PR1 TYPE WDY_BOOLEAN.
DATA PR2 TYPE WDY_BOOLEAN.
DATA PR3 TYPE WDY_BOOLEAN.
PR1 = ABAP_TRUE.
PR2 = ABAP_TRUE.
PR3 = ABAP_TRUE.
IF LV_VAL EQ 'A'.
PR1 = ABAP_FALSE.
PR2 = ABAP_TRUE.
PR3 = ABAP_TRUE.
ELSEIF LV_VAL EQ 'B'.
PR1 = ABAP_TRUE.
PR2 = ABAP_FALSE.
PR3 = ABAP_TRUE.
ELSEIF LV_VAL EQ 'C'.
PR1 = ABAP_TRUE.
PR2 = ABAP_TRUE.
PR3 = ABAP_FALSE.
ENDIF.
LO_EL->SET_ATTRIBUTE(
NAME = 'PRO1'
VALUE = PR1
LO_EL->SET_ATTRIBUTE(
NAME = 'PRO2'
VALUE = PR2
LO_EL->SET_ATTRIBUTE(
NAME = 'PRO3'
VALUE = PR3
thanks
sarbjeet singh -
Records repeat in some column of final table
In my final table Some records are repeated in some columns .
I have tried sorting and delete adjacent syntax.
cant avoid repeating entries.
Please give me some hint.
<<Moved from MM forum to ABAP forum>>
Edited by: Csaba Szommer on Feb 9, 2011 9:30 AMhi all
LOOP AT IT_FINAL.
IF IT_FINAL-BLART = 'AA'.
IF SY-SUBRC = 0.
MOVE-CORRESPONDING IT_FINAL TO IT_AA.
APPEND IT_AA.
ENDIF.
READ TABLE IT_AA WITH KEY BELNR = IT_FINAL-BELNR
GJAHR = IT_FINAL-GJAHR
BUKRS = IT_FINAL-BUKRS
WERKS = IT_FINAL-WERKS
HKONT = IT_FINAL-HKONT
TXT50 = IT_FINAL-TXT50
PSWBT = IT_FINAL-PSWBT TRANSPORTING PSWBT.
IF SY-SUBRC = 0.
IT_FINAL-PSWBT1 = IT_AA-PSWBT.
MODIFY IT_FINAL TRANSPORTING PSWBT1 WHERE BLART = IT_AA-BLART
AND BELNR = IT_AA-BELNR
AND GJAHR = IT_AA-GJAHR
AND BUKRS = IT_AA-BUKRS
AND WERKS = IT_AA-WERKS
AND HKONT = IT_AA-HKONT
AND TXT50 = IT_AA-TXT50
AND PSWBT = IT_AA-PSWBT.
ENDIF.
ENDIF.
same logic i used for other doc types.
SORT IT_FINAL_NEW BY
HKONT WERKS PSWBT1 PSWBT2 PSWBT3 PSWBT4 PSWBT5 PSWBT6 PSWBT7 PSWBT8 PSWBT9 PSWBT10
PSWBT11 PSWBT12 PSWBT13 PSWBT14 PSWBT15 PSWBT16 PSWBT17 PSWBT18 PSWBT19 PSWBT20
PSWBT21 PSWBT22 PSWBT23 PSWBT24 PSWBT25 PSWBT26 PSWBT27 PSWBT28 PSWBT29 PSWBT30
PSWBT31 PSWBT32 PSWBT33 PSWBT34 PSWBT35 PSWBT36 PSWBT37 PSWBT38 PSWBT39 PSWBT40
PSWBT41 PSWBT42 PSWBT43 PSWBT44 PSWBT45 PSWBT46 PSWBT47 PSWBT48 PSWBT49 PSWBT50
PSWBT51.
DELETE ADJACENT DUPLICATES FROM IT_FINAL_NEW COMPARING
HKONT WERKS PSWBT1 PSWBT2 PSWBT3 PSWBT4 PSWBT5 PSWBT6 PSWBT7 PSWBT8 PSWBT9 PSWBT10
PSWBT11 PSWBT12 PSWBT13 PSWBT14 PSWBT15 PSWBT16 PSWBT17 PSWBT18 PSWBT19 PSWBT20
PSWBT21 PSWBT22 PSWBT23 PSWBT24 PSWBT25 PSWBT26 PSWBT27 PSWBT28 PSWBT29 PSWBT30
PSWBT31 PSWBT32 PSWBT33 PSWBT34 PSWBT35 PSWBT36 PSWBT37 PSWBT38 PSWBT39 PSWBT40
PSWBT41 PSWBT42 PSWBT43 PSWBT44 PSWBT45 PSWBT46 PSWBT47 PSWBT48 PSWBT49 PSWBT50
PSWBT51.
But not solved the problem. -
How to hide some columns in FBCJ tcode
hi experts,
is it possible to hide some columns in FBCJ for some particular user ids.
i want to display only these following columns for some particular user ids. I tried configuration button exists on right corner of table above scroll bar by changing administrator settings.
But it is reflecting for all user ids.
I want to reflect changes for some particular user ids.
1. business trnsaction
2. amount
3.Document status
4. g/l account
4. Receipt Recipient
6. text
7. vendor
8. Reference
9. company code
10. cost center
11. profit center
12. additional text1
13. additional text 2.
I came to know by using screen variants we can achieve this.
But i dont know how to proceed.
Kindly provide steps to make changes.
thanks & regards,
Hari priyaHi,
Check out this link.Probably this would be useful.
http://www.madeitsimple.com/technology/sap-abap-transaction-variants/
Thanks
Papiya -
Hi Team,
Am using BULK INSERT Format file option to load data into table from .txt file here am facing an issue i.e ibased on input file i need to insert default values to some columns of table so we can not declare it on table level, Can we give default values in
format file ? if we can give how it is ? or Any alternate possibilities to this scenario instead of BULK INSERT ?
Thanks,
SudhakarThanks for your response, here i don't have any rights to change table structure the table is created by different team, my work is to load data from file to table. Is there any chance to supply default values by*XML* format file instead of *.fmt* file
please let me know the possibility.
Again, no. If you want to supply default values that are not present in DEFAULT constraints in the table definition, you will need to write your own code. There are plentyfull of options, and I have mentioned some already.
Here are some more:
* Table-valued parameters, see here for examples:
http://www.sommarskog.se/arrays-in-sql-2008.html
* Use BULK INSERT to load data to a staging table, and then apply the default values when you copy from staging to target.
Erland Sommarskog, SQL Server MVP, [email protected] -
Trying to use 2 different Dimension tables and make a hierarchy on some columns which are split into these dimensions .. how do I do that
If you need to make a hierarchy in an Attribute view you need to have all relevant fields/columns in the same Dimension table..
-
Verison 7 not correctly displaying some columns/windows
NING is one of the larger providers of social networking sites around...since upgrading to version 7 some columns and windows do not display correctly (some text is not shown). I have a photo of the behavior but cannot find a way to post to help to demonstrate the issue. As an administrator for a site on NING, I cannot give you a URL as it is a password protected are of the site. However attached is a link to a discussion about the behavior from NING's Creator site
The correct source of assistance with this situation is directly from
http://www.samsontech.com/samson/products/microphones/usb-microphones/gtrack/ as they are the manufacturer of the hardware and have sole responsibility for support of their product. This is not a Microsoft product and Microsoft does not provide support
for third party hardware.
I especially recommend you download and read
Samson G Track FAQ's V2.0
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
How should I disable some columns in a JTable so that they cannot be edited at all? The methods provided do this but double clicking the column enables it.
Hi
i dont know whether u r using TableModel or not.
if ur using a customTableModel for ur entries ..
u can implement the following method of
Table Model Interface.
public boolean isCellEditable(int rowIndex,
int columnIndex)then implement in such a way that ..
compare always with ur column number and return false.
as follows.public boolean isCellEditable(int rowIndex,
int columnIndex){
if (columnIndex ==4 )
return false;
else
return true;
}above code makes all cells in the col=4 uneditable.
even u rearrange the cols in table it works as per documentation.
test this .. and let me know whether u succeeded r not.
note: i think The implementation of this method in AbstractTableModel or defaultTableModel
returns true always.
thanks
Maybe you are looking for
-
SOFFICEINTEGRATION 898 error message when trying to send excel file to
Hi, I am trying to send excel file from sap dp planning book using macro with document function to outlook mail. when i am running the macro online its sending the file to my mail but when i am scheduling a background job and executing its giving me
-
My installation of OAS 4.0.8.1 on Digital Unix 4.0F is failing when it comes to try to relink something called ntcontab.o , an apparently missing header file : cc: Severe: /usr/include/sys/types.h, line 77: Cannot find file <standards.h> specified in
-
Any other extension for mailing thru SO_OBJECT_SEND...
Hi all, We use ALE system which triggers the mail and it is sent to internal as well as external mailing system. It creates an attachment with extension .scrwith the mail. Due to some virus problem the local firewalls deletes the attachments wi
-
Iam getting an Error [Error occured during activation process]
Hi ALL, Iam trying to load the data in DSO from CSV file,I am facing an Error as [Error occured during activation process] please suggest Thanks & Regards Sameer Khan
-
Hi, I have a csv file and I need to replace the space in the TEST column. I believe there is a relplace cmdlet, however that is not working. "Count","TEST " "535","005120 " "738","005130 " "529","005211 " I need the output to be something like this.