Carrier return problems within calculations
Hi everyone
Carrier return problems.
I work with Numbers with Excel users, so I'm a victim of Excel.
In my calculations I'd like to make carrier returns.
As I understand it:
Numbers understands: CHAR(8232)
Exel understands: CHAR(10)
Does anyone know of a CHAR() which both applications understand?
Or
Does anyone know of a calculation, so I can save it in Excel format troublelfree.
The problem is, if I use the CHAR(8232) in an export of Excel the whole calculation is gone and only the product is left.
Any input would be helpfull.
Thanks.
Jakob
Numbers' CHAR function accepts numbers 32 and higher, except 127
Excel's accepts the numbers 1-127
The only solution I can think of is an error check. In Numbers, 8232 will be used. In Excel, 13 will be used:
IFERROR(CHAR(8232),CHAR(13))
Note: I used 13 instead of 10 because 10 didn't seem to do anything for me in Excel.
Similar Messages
-
Carrier return problem, how to remove CR
Hi, I just created a BSP page that should upload a CSV file in its original state to the application server.
for example, there are 3 columns in my original .CSV file separated with ; ->
12412,22;2342,32;1000,40
1000,32;3444,31;4500,11
right now, it is uploaded in the following format instead of the one above
12412,22;2342,32;1000,40#
1000,32;3444,31;4500,11#
The problem is, that when I use this file from the application server, it gives errors on the last fields, because it thinkgs it should take 1000,40# instead of 1000,40 as an amount.
This problem would be solved, if data was loaded without adding the # after every row.
Data is loaded from my pc to the application server using a BSP with the following code:
write file to server
fname = '/usr/sap/CBD/DVEBMGS03/data/RU_BRA_PRO.CSV'.
OPEN DATASET fname FOR OUTPUT in BINARY MODE.
if sy-subrc gt 0.
WRITE: / 'Error opening file'.
endif.
TRANSFER file TO FNAME.
CLOSE DATASET FNAME.
What do I have to do (sorry, ABAP&BSP newbie) to upload the file in its original state, to avoid the # being added...
thanksThanks to Eddy, this issue has been solved. The solution, when writing in TEXT MODE, was to define the input file as type STRING and reading it using get_Cdata instead of get_data.
here is the full code, so that people that are not programming guru's can get something out of this too! Eddy, thanks a 1000 !
data: entity type ref to if_http_entity,
file type string,
content_type type string,
content_length type string,
num_multiparts type i,
i type i value 1,
doEcho type string,
value type string.
find multipart containing file
num_multiparts = request->num_multiparts( ).
while i <= num_multiparts.
entity = request->get_multipart( i ).
value = entity->get_header_field( '~content_filename' ).
if not value is initial.
found a file!
navigation->set_parameter( name = 'content_filename'
value = value ).
content_type = entity->get_header_field( 'Content-Type' ).
navigation->set_parameter( name = 'content_type'
value = content_type ).
get file content
file = entity->get_cdata( ).
get file size
content_length = xstrlen( file ).
navigation->set_parameter( name = 'content_length'
value = content_length ).
data: data_TAB type table of string, LIN TYPE LINE,fname type string.
split file at CL_ABAP_CHAR_UTILITIES=>CR_LF into table data_TAB.
fname = '/usr/sap/CBD/DVEBMGS03/data/FILENAME.CSV'.
OPEN DATASET fname FOR OUTPUT in TEXT MODE encoding default.
if sy-subrc gt 0.
WRITE: / 'Error opening file'.
endif.
LOOP AT data_TAB INTO LIN.
TRANSFER LIN TO FNAME.
ENDLOOP.
CLOSE DATASET FNAME. -
if my iphone 5 has a problem within the first 30 days will apple replace it with a brand new one or will i get a refurbished model??
If it is replaced under warranty, it will be replaced with a unit from the "replacement stock", which either will be a refurb or new (no way to distinguish these) and the S/N will indicate a replacement unit.
The "30 day" rule varies from county to country, and applies only to returns, not replacement. -
Hi Experts,
I am doing a report on opening and closing stock with subcontractors and i am facing a problem in calculation of two fields manually.
for eg:
I am having MATNR (Finished goods) and its corresponding MATNR (raw materials) in another field. Each finished goods have multiple raw materials .
So in my out put I am sorting the finished goods as per the raw materials.
For finished goods am displaying its MENGE and for raw material its corresponding
STPO-MENGE which differes for each raw material of a single finished good.
And I am facing a problem in multiplying these different STPO-MENGE with single MENGE of finished goods.
Please advice,
KarthikHi,
I want to multiply finished good menge with raw material menge , both the menge are from different
tables.
eg - A pen is finished good and its raw materials are top , refill etc.
Matnr (finished goods) = Pen , Menge = 2 and its corresponding raw materials are:
Raw mat1 - its Menge is 5
Raw mat2 - its Menge is 3
Raw mat3 - its Menge is 2.
Now I have to multiply these whole raw mat menge with finished goods menge ie 2.
But when I tried only the first line ie Raw mat1 is getting caluclated.
Please advice. -
Hullo sir,
I'm Facing Black catridge problem within 2 months of purchase HP laserjet p1108 by printing 300 pages.The printer window shows you have to print pages < 50.what cani do?Hi @thangaraj,
I see by your post that you have only printed 300 pages and it is now it is showing you have less the 50 pages left.
I would like to help you resolve this issue.
Is this the original toner that shipped with the printer?
You should get approximately 1500 pages according to the specifications for what ships in the box.
The page count is based on page yield. Depending on what you were printing.
Still I believe you should have gotten more then 350 pages, unless you were printing full page pictures in black and white.
Please call our technical support at 800-474-6836. If you live outside the US/Canada Region, please click the link below to get the support number for your region. http://www8.hp.com/us/en/contact-hp/ww-phone-assist.html
Have a wonderful day!
Thank You.
Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
Click the “Kudos Thumbs Up" on the right to say “Thanks” for helping!
Gemini02
I work on behalf of HP -
How to know they is space or carrier return when java read a text file.
Hi,
Please help.
How to know they is space or carrier return when java read a text file.
The reason is that. I want to use java for loop to read each part of value. for example: first part is the items name. After the space (I need to tell java when this is a space here and its need to skip) , following by the items prices in double value and space again (need to skip also) and etc.
item name1
item name2
item name3
item name4
item name5
<--- here is the space to skip and another loop to read following items prices
item price1
item price2
item price3
item price4
item price5
<--- here is another spcae again. and so on
thank in advance!You can check to see if the sting you read in is just nothing, depending on how you're reading it in:
if((str = inStream.readLine().trim().equals("")))
// skip and get ready for the next section
else
// handle the next item
The trim() method gets rid of all leading and trailing spaces and I'm assuming you're using a stream that can use the readLine() method that returns a String.
I hope this is clear. Let me know if it isn't, I'll try and word it different, or post how you're reading the values in if you need more help. -
Top 10 common problems within GL,AR, AP
Top 10 common problems within GL,AR, AP
I will like a Typical or common problems that one is likely to face when working within GL, AR and AP.
If you can provide possible solution will be great as well. Thanks
All experts that work within these area are welcome, all contribution no matter how little with be appreciated.Hi,
You can refer the following ML docs, may be following doc could help u,
[Troubleshooting various Issues in Translation of Oracle General Ledger|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=296379.1]
[Troubleshooting Accounts Payable Trial Balance (Open Account AP Balance Listing) issues in R12|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=553484.1]
[AP Transfer to GL (Posting) Troubleshooting Guide|https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=106647.1]
More over you can search the Metalink as there could be numerous no of issues relating to AP, GL and AR in general.
Thanks,
Anchorage :) -
OBIEE 11G - problem with calculating percentage
Hi,
I have a problem with calculating a percentage....
I have a 2 measures Success and Failure
where Success is a count(Response_key)
Failure is a count(failure_key)
I want Success/(Success+Failure) * 100
I am getting this value as a 0
Infact any column I take from the subject area and say count of that column and divide it by any integer say count(column1)/5 ,Say count of that column1 is 132 Eg: 132/5 , Its showing this value as 26.00 when I put decimal value to 2 , but it is 26.4...It is avoiding decimal values .
So in my case success/(success+failure) in which Dr is greater than Nr . Since we get the value as 0.something . It is showing 0 value
So , 0*100 it is showing me as 0%
Can anyone please help me on this ??
--SiriYes, you need to put cast in numerator alone to get the resultant output in double.
You can mark the post as Correct since your issue is resolved now.
Thanks -
How to know theis a space or carrier return when java read read a text file
Hi,
Please help.
How to know theis a space or carrier return when java read read a text file.
for example a text like this:
5
<---how to let tell java they is a space here
item1
item1
item1
item1
item1
<---how to let tell java they is a space here
item2
item2
item2
item2
item2hi!
The reason is that. I want to use java for loop to read each part of value. for example: first part is the items name. After the space (I need to tell java when this is a space here and its need to skip) , following by the items prices in double value and space again (need to skip also) and etc.
item name1
item name2
item name3
item name4
item name5
<--- here is the space to skip and another loop to read following items prices
item price1
item price2
item price3
item price4
item price5
<--- here is another spcae again. and so on
Thank in advance for your help.
jet -
Problems within VL10b (delivery is NOT created)
Hi guys,
I'm experiencing problems within VL10b.
I created a cross-company purchase order with all the necessary data. If I open VL10b and select the order (by date or order number... both works) it is shown just fine. BUT when I click the button for background creation, it doesn't work.
There's no log or error-message, just nothing which would give me a hint about what's the problem.
Anybody got any ideas what to check in order to find out where's the problem?
Any input is greatly appreciated... thx & regards,
BobbyJürgen,
I checked the log already beforehand (and got disappointed).... here is what the system says:
Diagnosis
An error has occured while delivering the order items in the
background that cannot be processed in the program.
System Response
The system does not generate any deliveries.
Procedure
Try to correct the error, described in the next error
message, or try to deliver order that has caused it with
ship-to party .
Procedure for System Administration
Regards,
B. -
Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db. No indication what the problem is. How do I get adobe help with these problems?
Sign on problems within Elements 10; plus cannot backup, writing files error with file catalog.pse10db. No indication what the problem is. How do I get adobe help with these problems?
-
Ugent help with return problem
Hello everyone,
please can someone help me with this return problem? I'm getting a retrun error problem with this code
public static float getVitaminPrice()
for(int j=0;j<Vitamins.length;j++)
if(Vitamins[j].getCode().equals(s))
return Vitamins[j].getPriceByBox();
}OK thanks every one but there are things that I don't fully understand yet, just some exprience but not alot, however I'll take all the advise into consideration. I'm a person who most times only learn from examples. I have some classes called VitaminInfo, and one for Customer apart from the one that contains the main method.
the following code is all that main contains, what I'll like to accomplish is getting back the vitamin price which was already stored in an array based on the vitamin code the user typed in.
can you help me with that?
public static void main(String args[])
for(int j=0;j<Vitamins.length;j++)
String vitaminCode = new String(JOptionPane.showInputDialog("Please Enter the Vitamin Code"));
String vitaminDesc = new String(JOptionPane.showInputDialog("Please Enter the Vitamin Description"));
int vitaminWeight = Integer.parseInt(JOptionPane.showInputDialog("Please Enter the Vitamin Weight"+"/n" + "Vitamin Weight must be between 50 to 500 grams"));
while(vitaminWeight >500 || vitaminWeight< 50){
vitaminWeight = Integer.parseInt(JOptionPane.showInputDialog("Please Enter the Vitamin Weight"+"/n" + "Vitamin Weight must be between 50 to 500 grams"));
int vitaminPrice = Integer.parseInt(JOptionPane.showInputDialog("Please Enter the Vitamin Price"));
VitaminInfo vita = new VitaminInfo(vitaminCode , vitaminDesc, vitaminWeight, vitaminPrice);
Vitamins[j] = vita;
for(int j=0;j<Customers.length;j++)
String customerName = new String(JOptionPane.showInputDialog("Please Enter a Customer Name"));
String customerAddress = new String(JOptionPane.showInputDialog("Please Enter the Customer's Address"));
String postalCode = new String(JOptionPane.showInputDialog("Please Enter the Customer's Postal Code"));
Customer cust = new Customer(customerName, customerAddress, postalCode);
Customers[j] = cust;
float vprice = getVitaminPrice();
String vcode = getVitaminOrderCode();
int vamount = getVitaminCount(vcode);
JOptionPane.showMessageDialog(null,"You have ordered " + vamount + " Vitamin (" + vcode + ")."+ " VitaminPrice (" + vprice + ").","Your Order",JOptionPane.INFORMATION_MESSAGE);
showCatalog();
showCustomers();
System.exit(0);
} -
Hello
I have a problem in calculating the apple id Can you help me please
I forgot answer security questions for your account How can knowledge
Please help
Please reply as soon as possible
I can not buy from camels Store
And the rest of the account balance $25
Message was edited by: lingo azamI think you mean App Store.
Rescue email address and how to reset Apple ID security questions -
Are you allowed to return devices within 14 day policy with cosmetic damages
Hello,
Are you allowed to return devices within 14 day policy with cosmetic damages?From: Return Policy & Early Termination Fee - Verizon WirelessTT
At our discretion, we may decline your return or charge you a fee for a missing item, or for items that we determine are damaged or require service. If you return and we accept your merchandise within the return period, we will refund your purchase price, subject to the restocking fee. -
My iPad has a software problem within the first year, but I am in South Africa.
My iPad has a software problem within the first year. When I bought it, I took an Apple care plan with it. At the moment I am in South Africa for my internship and when I go to a premium reseller, they are not able to fix my iPad or change it because they say that they are not an official Apple store. What should I do now? I stay here till the end of December and I would like to use it during my internship.
We're regular users like you and know no secret magick Apple engineer incantation. If you care to detail what the problem is, we will do our best to help.
Maybe you are looking for
-
Links no longer work in Acrobat 9 Pro application, and not just the pdfs.
In Adobe Acrobat 9 Pro, clicking on any link including links in the Acrobat 9 application's menu bar (like when I click on Help/Online Support/Knowledge Base), I get the following error message: "The location of the web browser has not been specified
-
Sales n Distribution Field Name
Hi Friends ! I have a requirement to display the following fields: 1) Order Quantity 2) Order Amount 3) Open Quantity 4) Open Amount I was looking into the Delivery (LIPS) & Billing (VBRP) but could not find. Also in Sales terminology is billing amou
-
I have lost my desktop software manager for the pearl 8100 running version 4.2. I have tried to download from the website but everything that I try from the dropdown menu doesn't work. Which one is the right one?
-
How can I get my CS5 to open RAW files?
I can't get my CS5 to open my RAW files...can someone help me with this?
-
Error with Combo Box, Executing CBTA Script
Dear Experts. I am Using CBTA in solman 7.1 SP 12 to automate the testing with SAP ERP (SAP GUI) and CRM(CRM UI). We are creating the test script without problem, but at time to execute, it suddenly stop. We were checking and found that always is fai