Code is proper but results are unexpected
hi all!!
i am really facing trouble with this code since i can't understand why results are not as expected..
let me briefly describe my problem:
1.whenever i click on this default selected item for the first time ,its not selected and nothing is displayed.
2.when i click on split option window of other option i.e rename is popped up.
3.sometimes 2 windows are popped up when we select particular option...1of the other option and one of the current option.
4.since i can't send whole code i have selected 2 files 1 of GUI which is for split option and remaining all option have same class defined which is rename.in actual when all options have different classes still i face the same problem.
5.front is my main class in which both these classes are called.
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.filechooser.*;
public class front extends JFrame
private JRadioButton split,zip,rename,unzip;
private ButtonGroup radioGroup;
public front()
Container c = getContentPane();
c.setLayout(new GridLayout(0,1));
c.setBackground(Color. cyan);
setSize(530,120);
setResizable(false); // to disable the maximize button
c.add( new Label("Choose the operation to be done :"));
ImageIcon ii= new ImageIcon("split.jpg");
split=new JRadioButton("Splitter",ii,true);
split.setBackground(Color.cyan);
ImageIcon ij= new ImageIcon("zip.jpg");
zip=new JRadioButton("Zipper",ij,false);
zip.setBackground(Color.cyan);
ImageIcon ik= new ImageIcon("rename.jpg");
rename=new JRadioButton("Rename all",ik,false);
rename.setBackground(Color.cyan);
ImageIcon il= new ImageIcon("copymail.jpg");
unzip=new JRadioButton("unzip",il,false);
unzip.setBackground(Color.cyan);
RadioButtonHandler handler = new RadioButtonHandler();
split.addItemListener( handler );
zip.addItemListener( handler );
rename.addItemListener( handler );
unzip.addItemListener( handler );
c.add (split);
c.add(zip);
c.add(unzip);
c.add(rename);
// create logical relationship between JRadioButtons
radioGroup = new ButtonGroup();
radioGroup.add(split );
radioGroup.add( zip);
radioGroup.add(rename );
radioGroup.add( unzip);
// setPosition(250,250);
setSize(300,500);
setVisible(true);
private class RadioButtonHandler implements ItemListener
public void itemStateChanged( ItemEvent e )
if ( e.getSource() == split)
Gui file = new Gui();
if ( e.getSource() == zip)
rename file= new rename();
if ( e.getSource() == rename)
rename file= new rename();
if ( e.getSource() ==unzip)
rename file= new rename();
public static void main(String args[])
front f=new front();
f.addWindowListener(
new WindowAdapter() {
public void windowClosing(WindowEvent e)
System.exit(0);
}
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import javax.swing.*;
import javax.swing.filechooser.*;
import javax.swing.text.*;
import javax.swing.event.*;
import java.io.*;
public class Gui extends JFrame
private JButton splitbutton,joinbutton,ok;
public JTextField at ,text2;
private JRadioButton num,size;
private ButtonGroup radioGroup;
public JTextField text1;
public File file;
public JFileChooser choose;
public static String name;
public static int check=0;
public static long no,no2;
public Gui()
{ super("FILE SPLITTER");
Container c= getContentPane();
c.setLayout(new FlowLayout());
splitbutton= new JButton(" SPLIT");
joinbutton = new JButton("JOIN");
num=new JRadioButton(" NUMBER");
size= new JRadioButton("SIZE");
text1=new JTextField(20);
text2=new JTextField(20);
at=new JTextField(20);
ok = new JButton("ok");
c.add(ok);
num.enable(false);
size.enable(false);
text1.enable(false);
text2.enable(false);
at.enable(true);
c.add(at);
c.add(text1);
c.add(text2);
c.add(splitbutton);
c.add(joinbutton);
c.add(num);
c.add(size);
radioGroup= new ButtonGroup();
radioGroup.add(num);
radioGroup.add(size);
setSize(350,100); show();
splitbutton .addActionListener (
new ActionListener(){
public void actionPerformed(ActionEvent e)
saved();
num.enable(true);
size.enable(true);
ok.addActionListener (
new ActionListener(){
public void actionPerformed(ActionEvent e)
{ String siz,path;
long k;
if(check==3)
path=smr(name);
join(path);
if(check==1)
siz=text1.getText();
no=Integer.parseInt(siz);
k=no2/no;
split1(name,k);
else
if (check==2)
siz=text2.getText();
no=Integer.parseInt(siz);
split1(name,no);
num.addActionListener (
new ActionListener(){
public void actionPerformed(ActionEvent e)
text2.enable(false);
text1.enable(true);
check=1;
size.addActionListener (
new ActionListener(){
public void actionPerformed(ActionEvent e)
text1.enable(false);
text2.enable(true);
check=2;
joinbutton.addActionListener (
new ActionListener(){
public void actionPerformed(ActionEvent e)
{ check=3;
saved();
splitbutton.enable(false);
public void saved()
choose = new JFileChooser();
int result = choose.showOpenDialog( this );
// user clicked Cancel button on dialog
if ( result == choose.CANCEL_OPTION )
return;
else
file= choose.getSelectedFile();
name = file.getPath();
no2= file.length();
at.setText(name);
public String smr(String input)
String out=new String("");
int i=0,j=0;
int temp=0;
char a[];
i=input.length ();
a= input.toCharArray ();
for(j=0;j<i;j++)
if(a[j]=='1')
a[j]='\0';
break;
else
out = out+a[j];
return out;
public void join(String FilePath)
long leninfile=0,leng=0;
int count=1,data=0;
try
File filename=new File(FilePath);
RandomAccessFile outfile = new RandomAccessFile(filename,"rw");
while(true)
filename=new File(FilePath + count + ".sp");
if (filename.exists())
RandomAccessFile infile = new RandomAccessFile(filename,"r");
data=infile.read();
while(data!=-1)
outfile.write(data);
data=infile.read();
leng++;
infile.close();
count++;
else
break;
outfile.close();
catch(Exception e)
e.printStackTrace();
public static void main(String args[])
{ Gui dd=new Gui();
dd.addWindowListener(
new WindowAdapter() {
public void windowClosing(WindowEvent e)
System.exit(0);
public void split1(String FilePath,long splitlen)
long leninfile=0,leng=0;
int count=1,data;
try
File filename=new File(FilePath);
RandomAccessFile infile = new RandomAccessFile(filename,"r");
data=infile.read();
while(data!=-1)
filename=new File(FilePath + count + ".sp");
RandomAccessFile outfile = new RandomAccessFile(filename,"rw");
while( data!=-1 && leng<splitlen)
outfile.write(data);
leng++;
data=infile.read();
leninfile+=leng;
leng=0;
outfile.close();
count++;
catch(Exception e)
e.printStackTrace();
}
Similar Messages
-
Print priview is proper but resulting blank page .
Hi Experts,
I am new to Adobe forms,
We have designed a form of size (1X4) inch size. we have placed all our elements in the subform(design view) ,content of the sub form is positioned.In the pagination , we have choosed Overflow as 'Go To Content Area',In binding we enabled checkbox 'Repeat subform for Each Data Item'. The print preview out put of the form is proper means 'page is getting breaked and going to the next page' But when we print it , 1st page is printed and the second page it left as blank, in the third page it printed the second page content again blank page after it. I can say it is printing a blank page after every page it is printed.
we dont want any blank page between the pages. why is it showing properly with the print preview and not proper when we print it.
we are using ZEBRA printers.
Please suggest us some thing here.
Regards,
Brahma.
Edited by: Brahmaputra Reddy on Dec 22, 2011 7:46 AMHi Brahmaputra Garu
How are you. could you please give to me ur number . i would like to contact you. -
How do I unlock an iphone 5 with Sprint 15.1 at IOS 7.0.6 IMEI 99 000320 012095 0 .
The SIM is in and Sprint gave me the unlock code, but what are the steps to unlock it?There is no such thing as an unlock code. Sprint may have processed the unlock, and then requested you restore the iPhone using iTunes to complete it. But that's it. There is no code to enter, and nowhere to enter it any way.
iPhone: About unlocking -
Windows 8.1 PC, using reader, when searching a folder containing approx 100 doc's. If i search for a word, no results are returned. only the doc names can be found but nothing from within the doc.
This is a new problem and was not the case before.Works perfectly fine for me with the latest Reader version (11.0.09).
You write that it worked "before"; before what? An update? Update from what version to what version? -
The result list for activities is empty but items are coming but invisible.
Hi ,
The result list for activities is empty / blank - nothing shown at all. but the line items are coming but all are invisible.
please guide me to find the root cause of this issue.
Thanks,
Prem.Hi Rene,
When I am click on 'Search' , the view area is created but records are not being displayed. I checked in the background and data is being fetched.
Moreover, When I am copying one line item(which is viewed blank after the search being performed but has data) and after saving press 'previous' all the records are being displayed.
Do you have any idea on this? Can you share your ID , I can mail you the screenshot .
Thanks,
Prem
Edited by: prem kumar on Jun 7, 2010 1:17 PM -
I tried to call apple but my area code wasn't available
I forgot my security answers, so I wanted to call apple. I looked through the list of countries of where I could call but my country was not there(South Africa) so I decided that I would call the UK. I clicked call now and I had to type in my phone number but my area code was not available, what should I do?
Start here:
https://iforgot.apple.com -
Insert a Blank Column in the Results Area of a Workbook
Is it possible to insert a blank column in the results area of a WORKBOOK that does not get affected by free characteristic drill down or refreshing of the corresponding query? The current workbook looks like follows
Column A - Characteristic1
Column B - Characteristic2
Column C - KeyFigure1
Column D - KeyFigure2
Column E - KeyFigure3
Column F - KeyFigure4
The requirement is that the user wants to enter some estimates between Column B and Column C and Column D and Column E as follows
Column A - Characteristic1
Column B - Characteristic2
Column C - USER ENTRY
Column D - KeyFigure1
Column E - KeyFigure2
Column F - USER ENTRY
Column G - KeyFigure3
Column H - KeyFigure4
Column I - CALCULATIONS BASED ON USER ENTRY
First I tried to split the results area and save the workbook. But when the query is refreshed then the entire results area gets back in one piece. I succeeded partially by having a key figure with no possible output (i.e., restricting a non-existent value on a characteristic). Again in here, whatever user inputs will get wiped out with the drill down. Does any one have any pointers? Thanks.
ISHi IS,
As a nearly workaround I can suppose to do the following.
Create two identical requests.
In the first one hide the columns to the right from your intended new user column. In the second one - hide columns to left.
Knowing the columns number to be shown in each request you can place both request in the same row, but in different columns taking into account that between result areas should be one (or more) additional column.
Data entered by a user will not be wiped out during query refresh or drilldown. Of course, these user data will not conform drilldown operations. So, it is not 100% solution you want.
Another possibility, very hard to implement (if feasible at all), is to write VB code that will monitor user action and will keep data entered by a user somewhere in another sheet and restore them in proper cells after user action (drilldown). But I don't think such coding worth it.
Best regards,
Eugene -
How to code to get intermediate results in webdynpro ALV? Please help!
Hi Experts,
I got following info from help file to generate Intermediate Results(subtotal).
Can somebody help me with sample code to achieve this?
Basically I want to subtotal 'Qty' column based on 'Product' field.
By default, all values in a field are used in the calculation during aggregation. However, you
are also able to generate intermediate results. You group the data records that contain the
values for an intermediate result and display each intermediate result in its own result row.
To generate intermediate results, you have to provide certain information:
● To specify in which field the values from which the intermediate results are calculated
are located, generate an aggregation condition for the desired field. The overall result is
displayed in the result row.
● To specify which data records are contained in an intermediate result, group the data
records: You sort the ALV output by the field that includes the criterion for the
intermediate result.
● To then generate the intermediate results, calculate the intermediate results using the
field with the criterion.
● To then display the intermediate results, switch on the display of intermediate results.
You are able to make the following settings for intermediate results:
● Generate intermediate results
● Display intermediate results
● Setting levels for drilling down intermediate results
● Set the position of the result rows (see Settings for Aggregation [page 196])
● Forbid the generation of intermediate results
Prerequisites
● You have generated an aggregation object for at least one aggregatable field.
● The field with the criterion for intermediate results is not an aggregatable field, and
therefore has an alphanumeric data type.
Generate Intermediate Results
To generate intermediate results in a field that already has an aggregation condition, generate
a sort condition for the field of a column (another column) (see Sorting [page 190]).
In this sort condition, define whether intermediate results are to be generated. To do this, use
the methods of the class CL_SALV_WD_SORT_RULE.
Methods for Generating Intermediate Results
Function Method
Generate intermediate results SET_GROUP_AGGREGATION
Check whether intermediate results are displayed GET_GROUP_AGGREGATION
Display Intermediate Results
Once you have made all settings, to generate intermediate results you have to switch on the
display of these intermediate results. You use the methods of the interface class
IF_SALV_WD_FIELD_SETTINGS for this (implementing class
CL_SALV_WD_CONFIG_TABLE).
Methods for Displaying Intermediate Results
Function Method
Display intermediate results SET_GROUP_AGGR_DISPLAYED
Check whether intermediate results are displayed GET_GROUP_AGGR_DISPLAYED
I have tried a bit but it is not working. here is my code:
get field and create aggregation rule of type total
lr_field = l_value->if_salv_wd_field_settings~get_field( 'Qty' ).
lr_field->if_salv_wd_aggr~create_aggr_rule( ).
lr_aggr_rule = lr_field->if_salv_wd_aggr~get_aggr_rule( ).
lr_aggr_rule->set_aggregation_type( if_salv_wd_c_aggregation=>aggrtype_total ).
l_field = l_value->if_salv_wd_field_settings~get_field( 'PRODUCT' ).
l_sortrule = l_field->IF_SALV_WD_SORT~create_sort_rule( ).
l_sortrule~SET_GROUP_AGGREGATION( 'Y').
l_value->if_salv_wd_field_settings~SET_GROUP_AGGR_DISPLAYED( 'Y' ).
Please help
Message was edited by:
gopalkrishna baligaHi Gopalakrishna balgia,
I think i have answered in the below thread. Check it out.
How to show Subtotal in webdynpro ALV(ABAP)? Kindly help!
Regards
Rakesh -
HTTP Status Code 200 Received But Error During Response Parsing
Hi Experts,
We are testing a simple Proxy(ECC) to File scenario in QA. This interface was working fine in Dev but we are getting the following error here in QA:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!-- Call Adapter -->
<SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIServer</SAP:Category>
<SAP:Code area="INTERNAL">OK_BUT_NO_XI_MESSAGE</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:Stack>HTTP Status Code 200 Received But Error During Response Parsing: No XI Response Received XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
We searched other threads but could not get any solution. Please provide suggestions.
Thank You.
Regards,
Anandanthe problem was due to high volume message (247 MB ) ...Java stack was not able to process this huge message ,that is the reason ,it started automatically and as a result , "HTTP Status Code 200 Received But Error During Response Parsing" due to unavailability of AFW during Call adapter step in the pipeline processing...
We have done the following activities in order to solve this problem....
increase the value of icm/HTTP/max_request_size_KB to 512MB
icm/wp_roll_timeout to maximum
HTTP TIMEOUT to 1800 sec
icm/wp_roll_timeout to maximum
mpi/total_size_MB to maximum
mpi/buffer_size to maximum
and then increased the maxthreadcount ,maxcontentlength using config tool...
and also increased the java heap size to maximum....
After doing everything ,the file has been successfully processed....
the problem has been resolved... -
When I view photos on my devices some are not oriented correctly. I used Picassa to turn all photos upright and then copied those photos into the upload file but they are still not corrected when viewed on my devices (ipads)
Generally I would not use Facebook for sharing any photos, it compresses the photos substantially, and when you have shadows and dark colours you get visible "bands" where there should be subtle gradients, ie at sunsets and sunrises.
It sounds like you are using two methods to upload to Facebook:
1. Sharing from within Aperture, which basically syncs Facebook with your Aperture album, so any changes made at either end gets synced, hence the deletions from Albums, although the original file should still be in your library, just removed rom the album. It is like a playlist in iTunes.
2. Exporting pics and uploading to Facebook from the browser.
I am not sure how method 1 gets compressed, but I know that uploading hi-res jpegs to Facebook using method 2 results in poor quality images.
I wouldn't even bother comparing option 1 or 2, and they will both be poor images once you view them on Facebook, as opposed to viewing uploaded images on proper image sharing / hosting sites.
Your problem is not with Aperture, it is using Facebook for showing your work.
If you export pics form Aperture at high res jpegs or TIFFs your images will be fine.
If you insist to use Facebook as your way to share your work, then your workflow should be this:
1. Right click images you want to share.
2. Select Export version.
3. Export as 100% size and ensure the export settings are set at 100% quality.
4. Upload this pic into Facebook.
This will get you the best image size and resolution on Facebook.
See how you go. -
Database Table where MRP Run results are saved-Urgent
Hi Gurus
i need your help in identifying the database table where the MRP Run results are saved , this is needed for creating a custom report similar to MD45(but for entire plant) where i can look and pull the sum of all the receipts and issues, ATP Quantity for a given material in a particular plant
and ignore zero quantities in the receipts and issues field
i tried in <b>MDTB</b> table, MDTB-MNG01 Quantity received or quantity required but it has no entries maintained in it and so it cannot be used.
So can you please help me with the table where i can get this information asap
thank you very much for your time and solutionPlease use the code below which will help you in extracting data from MRP table.
You can enhance this program basing on your requirement.
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
A sample program to extract data from the MRP table.
*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
REPORT ZMRPTABLE.
TABLES: MDKP, "Header Data for MRP Document
MDTB, "MRP table
MDTC, "Aggregated MRP table items
T457T. "Description of MRP elements
DATA: BEGIN OF MDTBX OCCURS 0.
INCLUDE STRUCTURE MDTB.
DATA: END OF MDTBX.
SELECT-OPTIONS: PLANT FOR MDKP-PLWRK OBLIGATORY,
MATNR FOR MDKP-MATNR OBLIGATORY.
CLEAR: MDKP, MDTB.
SELECT * FROM MDKP WHERE DTART EQ 'MD'
AND MATNR IN MATNR
AND PLWRK IN PLANT.
WRITE:/ MDKP-MATNR, MDKP-PLWRK.
IF MDKP-CFLAG EQ 'X'.
CLEAR MDTBX. REFRESH MDTBX.
IMPORT MDTBX FROM DATABASE MDTC(AR) ID MDKP-DTNUM.
LOOP AT MDTBX.
MOVE MDTBX TO MDTB.
SELECT SINGLE * FROM T457T WHERE SPRAS = 'E'
AND DELKZ = MDTB-DELKZ.
IF MDTB-PLUMI = '-'. MULTIPLY MDTB-MNG01 BY -1. ENDIF.
WRITE:/ MDTB-DAT00, T457T-DELB1, MDTB-VSTAT,
MDTB-MNG01, MDTB-LGORT.
ENDLOOP.
ELSE.
SELECT * FROM MDTB
WHERE DTNUM EQ MDKP-DTNUM
ORDER BY PRIMARY KEY.
SELECT SINGLE * FROM T457T WHERE SPRAS = 'E'
AND DELKZ = MDTB-DELKZ.
IF MDTB-PLUMI = '-'. MULTIPLY MDTB-MNG01 BY -1. ENDIF.
WRITE:/ MDTB-DAT00, T457T-DELB1, MDTB-VSTAT,
MDTB-MNG01, MDTB-LGORT.
ENDSELECT.
ENDIF.
ENDSELECT.
This is taken from www.sap-img.com
Hope this helps you. -
CRT results are not appearing after successful payroll run
CRT results are not appearing after successful run of US payroll, however, RT results are appearing.
Please suggest ideas to find the results of CRT.Hi Rémi Corriveau,
Thank you for spending your time to answer my question.
Here are the answers to your questions . . . .
QUESTION: Did you run a Payroll Simulation or a live Payroll Calculation ?
ANSWER: We did a LIVE payroll run for a period of 3 months.
QUESTION: Did you use t-code pc_payresults ?
ANSWER: Yes, we used the t-code pc_payresults but still it doesn't show the CRT results.
QUESTION: Did you check Processing Class 30 and 70 for your WTs ?
ANSWER: As per the process, we copied the SAP standard (model) Wage Type M010 to
our customized Wage Type, hence, hope that it wouldn't disturb any of the standard SAP settings.
However, we did check the Processing Class 30, but did not check the processing class 70.
Shall update you once PC 70 is also checked.
Please educate, if there are any particular specifications that need to be entered while checking
for our WTs in PC 30 & PC 70. -
HI,
when i run the query in 3.5 bex analyzer in result area i am getting the variables inforamtio(what ever the values we are giving those object values) showing in result area .but when i run the query in BI 7.0 i am not getting the those information.
i am clicking the filter button also in that one it was not showing the values which we are given in the varibales........Hi,
I am getting the variable info also under the filter tab in bi 7.0...but whate ever the values i am giving for variables those values are not showing.
Ex:-if company code i select 2000
in 3.5 it shows : query name
comapny code : 2000
Result area
but in BI 7.0 i am getting : query name
comapny code (empty)
Result Area
I want company code :2000 info also in my output -
Connect to One DB to anoter DB, but OS are different
Hi
Am Anjnai from Patna
Please help this code.
Thanks
Anjani1) result of select * from nls_database_parameters:
NLS_LANGUAGE AMERICAN
NLS_TERRITORY AMERICA
NLS_CURRENCY $
NLS_ISO_CURRENCY AMERICA
NLS_NUMERIC_CHARACTERS .,
NLS_CHARACTERSET UTF8
NLS_CALENDAR GREGORIAN
NLS_DATE_FORMAT DD-MON-RR
NLS_DATE_LANGUAGE AMERICAN
NLS_SORT BINARY
NLS_TIME_FORMAT HH.MI.SSXFF AM
NLS_TIMESTAMP_FORMAT DD-MON-RR HH.MI.SSXFF AM
NLS_TIME_TZ_FORMAT HH.MI.SSXFF AM TZR
NLS_TIMESTAMP_TZ_FORMAT DD-MON-RR HH.MI.SSXFF AM TZR
NLS_DUAL_CURRENCY $
NLS_COMP BINARY
NLS_LENGTH_SEMANTICS BYTE
NLS_NCHAR_CONV_EXCP FALSE
NLS_NCHAR_CHARACTERSET UTF8
NLS_RDBMS_VERSION 10.2.0.2.0
2) There is no NLS_LANG variable in my registry, because Oracle Frontendtools are not installed. I connect via SQL server using the latest standard "driver" for Oracle data provider. But I have set an environment variable to the system, defining the NLS_LANG.
3) result of select * from nls_valid_values where ISDEPRECATED = true:
LANGUAGE BENGALI
TERRITORY CIS
TERRITORY CZECHOSLOVAKIA
TERRITORY YUGOSLAVIA
TERRITORY MACEDONIA
CHARACTERSET EL8EBCDIC875S
CHARACTERSET AL24UTFFSS
CHARACTERSET JA16EUCFIXED
CHARACTERSET JA16SJISFIXED
CHARACTERSET JA16DBCSFIXED
CHARACTERSET KO16KSC5601FIXED
CHARACTERSET KO16DBCSFIXED
CHARACTERSET ZHS16CGB231280FIXED
CHARACTERSET ZHS16GBKFIXED
CHARACTERSET ZHS16DBCSFIXED
CHARACTERSET ZHT32EUCFIXED
CHARACTERSET ZHT32TRISFIXED
CHARACTERSET ZHT16DBCSFIXED
CHARACTERSET ZHT16BIG5FIXED
SORT THAI_DICTIONARY
SORT THAI_TELEPHONE
SORT JAPANESE
SORT CANADIAN FRENCH
4) The problem is, that I don't have owner access to the Oracle DB and a large application is using this database. So it's not possible for me to recreate or replace the DB. I can solely change different values on the database.
Thx! -
Sales Analysis report results are being affected (or eliminated) by SQL
When running Sales Analysis by Item (Item Tab), the client keys in item 15454*
in the From and To Field and selects the first and last Item Codes listed
in the result set. The first item code is The results of the Sales Analysis report includes items from 15454-048E-1-41.3 through 15454E-XC-10G.
The result set stops at itemcode 15454-EIA-SMB-B84 despite that fact that there
are many items with sales with Item Codes higher than the 15454-EIA-SMB-B84.
The SAP support rep highlighted that the application is ignoring the dash in it's filtering priority even thought the item lookup is accounting for the dash. The response is that this is the behavior of SQL server.
It is true that SQL does ignore dashes and possibly other special characters in sorting nvarchar fields. However, it is important that the lookup (to select a range of items) and the result set remain consistant in the application regardless of the database/datatype.
With no ability to customize (or fix) the report from the field, we are requesting this a a design change. We recommend testing with all other special characters as to ensure that the report is actually producing accurate results.Hi Peter.......
Welcome to SAP Forum....
You can try this report which gives you result of Sales Order regardless of Current Status...
Select * From ORDR T0 Inner Join RDR1 T1 on T0.DocEntry=T1.DocEntry
Put the desired field in place of * which ever you want in report......
Regards,
Rahul
Maybe you are looking for
-
Old airport express not recognized by airport utility
Mine is a two part problem. I was having issues with my old Airport Extreme Base Station. I was dramatically losing data transfer speeds just 20-30 feet from its location. I also noticed that signal strength no longer made it upstairs to the maste
-
Networked HP 1022 text errors on Windows 7 (32-bit)
We have a networked HP Laserjet 1022n that works OK with older PCs, but NOT OK with Windows 7 (32-bit). 1. Text characters are always gibberish from the Win7 PC. Upgrading from MS Office 2010 to 2013 did not fix problem. Web browsers (usually Firefox
-
How to convert a Jsp page in a Pdf
Hi! I have a problem. I need to convert the content of a Jsp page in a pdf , clicking a link. Anybody knows how i can do it? Bye
-
Display problem when scrolling in Finder OS X Lion.
Hi, Last week i bought a new iMac, i7, AMD Radeon 6970M. Sometimes, when scrolling in the Finder, the text is displayed weird. See screendump. Is anyone known with this issue?
-
Network connect and switching Wi-FI Locations results in no Internet
Machine: MacBook Pro OS X 10.8.2 Scenario: I work at two locations mainly, office and at home during any given week. At both places I VPN in using Network Connect. Let's say I am at home using the VPN on Monday and use it all day. I will then close t