Converting more than one char back to a string.

I know this:
String s = Character.toString(letter);
will convert one char back to a string.
What about if you have more than one char, how do you convert them back to a string???

When you have more than one char, you probably have them in an array. In that case you can use the String(char[]) constructor.char[] hello = new char[5];
hello[0] = 'h';
hello[1] = 'e';
hello[2] = 'l';
hello[3] = 'l';
hello[4] = 'o';
String salute = new String(hello);

Similar Messages

  • How to convert More than one order into Commercial Invoice?

    Dear All,
             I am facing one problem in Export senario, i have to create Commercial Invoice with reference to One or more than one order but PO no. in order are different. Is it possible?
            Also i have to create one delivery & one Tax invoice in reference to one or more order or Delivery, How?
          Plz give me solution to solve the problem.
          Award pts for useful answers.
    Thx & Regards,
    Pankaj

    Hi,
    This can be definitely done. There can be multiple sales orders of a single customer and the shipping address is also the same, so it will be logical to create a single delivery and thus a single invoice for the same.
    For clubbing multiple sales orders into one delivery go through the following process:
    Using transaction code <b>VL10A</b> we can club multiple sales orders into a single delivery provided the following details are the same in case of all sales orders:
    1. Sales document type.
    2. Delivery document type.
    3. Division.
    4. Sold to party.
    5. Ship to party.
    6. Goods issue Date.
    <b>Process:</b>
    1. go to <b>VL10A</b> - enter the <b>shipping point</b>, <b>delivery creation date</b> (automatically proposed) & <b>"CalcRuleDefltDlvCrDt"</b> - this is the rule for determining default value for delivery creation date. The following are implemented:
    1. All documents due for delivery today
    2. All documents due for delivery today and tomorrow
    3. All documents due for delivery up until the end of next week (includingthose that were due before today)
    4. All documents due for delivery up until and including tomorrow(including those that were due before today)
    Below you have tabs for <b>"general data"</b>, <b>"sales orders"</b>, <b>"material"</b>, <b>"partners"</b>, <b>"user role"</b>. You can select accordingly. It is not necessary to select from these. Now click on <b>"execute"</b> or press <b>"F8"</b>.
    2. Here in this screen you will see the <b>sales order nos</b>., the <b>ship to party</b> , the <b>delivery priority</b>. Select the required sales orders by simultaneously pressing the <b>"shift key"</b> and now clcik on <b>"background"</b>. The system will now create a single delivery in the <b>background</b>.
    3. Go back to the original screen and click on <b>"collective processing logs"</b>. Just click on "<b>execute"</b> or press <b>"F8"</b>. You will face a screen for <b>"log of collective run"</b> Here you can see how many documents were created for those sales orders and if there had been any errors those also can be seen.
    <b>If you see error</b> then select that line and in the menu bar click on <b>"go to"</b> and in this click on <b>"notes"</b>. or you can directly click <b>"Shift + F8"</b>. You can see what exactly was the error.
    click on the line and click on <b>"documents"</b> Here you will see the delivery document number - <b>"copy this number/make a note of it"</b>. You will know the time when you clicked on <b>"background"</b>. Just go through it to ge the correct delivery document number.
    4. Go to <b>"VL02N"</b> - paste/enter the delivery document number and press enter. Now you can do the picking as per your requirement and do the PGI.
    This is the way how the process works for <b>VL10A</b> and completing the delivery with PGI.
    Now like this say you have<b> "5"</b> deliveries created by clubbing multiple sales orders for a single customer. Now you want to club all <b>"5"</b> deliveries to create a single invoice. The settings will have to be done in the copy controls from <b>"delivery document"</b> to "<b>billing document"</b>. Go to transaction code <b>"VTFL"</b> - select the export billling document type and the export delivery document type select the line and double click on the same - here you have 4 fields:
    Copying requirements - maintain <b>"003"</b> here
    Determ. export data - <b>"A"</b>
    Assignment number - <b>"E"</b>
    Reference number - <b>leave blank</b>
    Copy item number - <b>"tick on it"</b>
    <b>At the item level:</b>
    Select the item category and in
    Copying requirements - <b>"004"</b>
    Data VBRK/VBRP - <b>"001"</b>
    Save the settings.
    <b>Now when you you clucb multiple deliveries into one invoice the following must be same:</b>
    1. Sold to party should be same
    2. Ship to party should be same
    3. Delivery document types should be same
    4. Billing document type should be same
    5. Incoterms should be same
    6. Payment terms should be same
    7. Shipping type should be same
    <b>Clubbing multiple deliveries into 1 invoice:</b>
    Go to <b>VF01</b> - select the delivery document numbers - press enter - click on <b>"execute"</b> or press <b>"F8"</b>. Here if there is no split criterias then the system will show you all the line items - <b>save</b> the invoice. If the system finds any data <b>mismatch</b> then it will show a button for the <b>"split analysis"</b> - when you click on it the system will show you why the split has occured.
    Reward points if solution helps.
    Regards,
    Allabaqsh G. Patil
    Message was edited by:
            allabaqsh patil

  • Function - Return More than One Value in a Concatenated String

    Hi,
    Is it possible for a function to return a concatenated string(combining more than one number). I am trying to return the PO number by inputting and invoice_id and code number but an invoice_id can have more than one PO with the same code number. I would like to concatenate the PO numbers with commas e.g.
    10124, 10090, 10987
    At the moment the function returns null for these cases that have more than one PO number.
    Thanks

    Also is is possible to create another function that can be called in the same script using the PO number as an IN parameter in SQL. See SQL below:
    select cck.concatenated_segments as "Segment" ,
    cc.code_combination_id,
    NVL ( src . user_je_source_name , '**********' ) AS "Source" ,
    NVL ( cat . user_je_category_name , '**********' ) AS "Category" ,
    jel . period_name as "Period Name" ,
    i.invoice_id as "Invoice ID",
    s.vendor_name as "Vendor Name",
    s.segment1 as "Supplier No",
    jeb . name as "Batch Name" ,
    func_get_po(i.invoice_id, cc.code_combination_id) "PO No",
    jeh . name AS "Header Name" ,
    jel . description AS "Description" ,
    jel.accounted_dr AS "Debit" ,
    jel.accounted_cr AS "Credit" ,
    NVL(jel.accounted_dr, 0) - NVL(jel.accounted_cr, 0) AS "Net Amount"
    FROM apps.gl_code_combinations cc ,
    apps.gl_code_combinations_kfv cck,
    apps.gl_je_lines jel ,
    apps.gl_je_headers jeh ,
    apps.gl_je_batches jeb ,
    apps.gl_je_categories cat ,
    apps.gl_je_sources src,
    apps.gl_import_references r,
    apps.xla_ae_lines al,
    apps.xla_ae_headers ah,
    apps.xla_events e,
    xla.xla_transaction_entities te,
    apps.ap_invoices_all i,
    apps.ap_suppliers s
    WHERE ( cck.concatenated_segments BETWEEN '23.83545.141.000.00.23.000.000' AND '23.83545.141.000.00.23.000.000'
    AND cc.CHART_OF_ACCOUNTS_ID = 50328
    AND jeh.LEDGER_ID IN
    (select acc.ledger_id
    FROM apps.gl_access_set_ledgers acc
    WHERE acc.access_set_id = 1000
    AND jel.code_combination_id = cc.code_combination_id
    AND cck.code_combination_id = cc.code_combination_id
    AND jel.status
    || '' = 'P'
    AND ( jel.accounted_dr != 0
    OR jel.accounted_cr != 0 )
    AND jeh.je_header_id = jel.je_header_id
    AND jeh.actual_flag = 'A'
    AND 1 = 1
    AND jeh.currency_code != 'STAT'
    AND jeb.je_batch_id = jeh.je_batch_id
    AND jeb.average_journal_flag = 'N'
    and src.je_source_name = jeh.je_source
    and cat.je_category_name = jeh.je_category
    and r.je_header_id(+) = jel.je_header_id
    and r.je_line_num(+) = jel.je_line_num)
    AND ( :period_name = jel.period_name
    and al.gl_sl_link_id(+) = r.gl_sl_link_id
    and al.ae_header_id = ah.ae_header_id(+)
    and al.application_id = ah.application_id(+)
    and ah.application_id = e.application_id(+)
    and ah.event_id = e.event_id(+)
    and e.application_id = te.application_id(+)
    and e.entity_id = te.entity_id(+)
    and nvl(te.source_id_int_1,-99) = i.invoice_id(+)
    and i.vendor_id = s.vendor_id(+) )
    AND ( jel.ledger_id = 2041)
    ORDER BY src.user_je_source_name ,
    cat.user_je_category_name ,
    jeb.name ,
    jeh.name ,
    cck.concatenated_segments ,
    jel.je_line_num
    I am using func_get_po(i.invoice_id, cc.code_combination_id), I would like to call another function in this script that uses the PO number as an IN parameter.
    For example func_get_po_requester(i.invoice_id, cc.code_combination_id, func_get_po(i.invoice_id, cc.code_combination_id))
    Would this work?
    Thanks

  • Video Converter app that can convert more than one video at a time?

    Hi everyone,
    I;m after an app that i can convert my videos with. I want a free app where i can add multiple videos and have them convert one after the other? does anyone know of a free app that i can get?
    I know theres smartconverter (free) but you cant add multiple videos and i dont want to pay $10 for pro!
    can someone please HELP Thanks

    The MPEG Streamclip app can batch process videos. It can even convert up to  4 videos at the same time.
    http://www.squared5.com/
    It's free...
    Just drop as many videos as you like into the batch window.

  • Having difficulty converting more than one page of a PDF to Excel.

    I am using Adobe Acrobat 10.0 to convert PDF files to use in Excel. I am working with PDFs that have several dozen, if not hundreds of pages, almost all of which contain very lengthy tables. I need to have these tables saved in a format accessible by Excel, but I am running into a bit of difficulty. Whenever I convert a PDF, I can open it in Excel and find that the very first page of the PDF has converted over perfectly. Any headers are properly placed. Any tables are perfectly aligned, spaced, and appropriately divided among different columns. All information is laid out fine. All the information from the second page on is crammed into the first column.
    I have tried to save the PDF as an Excel workbook, and I have tried selecting just the tables and exporting them to Excel. I get more or less the same results whatever I try. I can convert a single page at a time without any problems, but since I have thousands of pages of tables to convert, you can probably understand why I want to find a solution to this. I need to be able to convert over multiple pages without having all of the information from tabels within the PDF getting placed into the first colum. Any and all help would be appreciated.

    Adobe strongly recommends that you should NOT have Acrobat and Reader installed on the same system. They have the bad habit on stepping on each other's files. You do not need both programs to read PDF files.
    You should uninstall Reader and repair Acrobat. I also recommend that you restart after removing Reader and after repairing Acrobat.
    Good luck.
    Ken Friedman

  • Search Help with more than one value back

    Dear Experts,
    We added two customer fields to the SC.
    For the first customer field we created Search Help.
    When picking any option from the search help we need TWO values back u2013 one value to the first customer (the field with the search help) and the second value to the second customer field (the field without the search help).
    Can you please advice how can we have TWO values back from the search help?
    Thanks in advance,
    Keren

    Hello Keren,
    See if the below thread answers your question..
    How to create a search help
    Thanks
    Arshad

  • How to get a field more than 255 char back in ITCSY stru

    I am getting multiple invoice numbers from the calling pg. The calling pring pg is standard, so cannot touch that.
    Now in my sapscript, i have to concatenate all invoice numbers and show them.
    I had used a perform to do so.
    It was fine till now. But recently we found that invoice numbers can be so many as to cross 255 char in total.
    How to get it done now? ITCSY struc has limitation of only 255 char .
    Please advise.
    Thanks in adv

    hi,
    say for example the number was around 300 characters.... so when you are calling the subroutine pass on 2 variables with two different names say var1 and var2 these both can accommodate around 255 characters each....
    now in the subroutine split the values into these two variables....
    and in script 
    &var1[c]&&var2[c]&
    this will compress the spaced between them.... hence its similar to concatenate...
    Regards,
    Siddarth

  • ORA-01427: single-row subquery returns more than one row -- no solution

    Hello to all:
    I have to tables:
    Table a anwender (Email,Dept). --> all fields are filled
    Table b dingo (Name,email,dept) --> all fields are filled
    I now want to update the table a with the data from table b:
    update anwender a set a.abteilung = ( select distinct b.abteilung from dingo b where b.email = a.email);
    Then I got the error: ORA-01427: single-row subquery returns more than one row
    Every dept is about 100x in the database, so it is clear that i got more than one row back. But how can I update the table now?

    Okay, I got several duplicates, and I deletet a lot of data in my database.
    Now I want to remove all entries with more than one departments per mail adresses.
    a
    select email,count(abteilung) from dingo group by email having count(abteilung)>1 order by count(abteilung)
    shows me all the fake mailadresses.
    But a
    delete from dingo where email in (select email,count(abteilung) from dingo group by email having count(abteilung)>1 order by count(abteilung) );
    gives me a
    SQL Error: ORA-00907: missing right parenthesis
    I´m very confused now ...
    Oops, now I got the solution:
    delete from dingo where email in (select email from (select email,count(abteilung) from dingo group by email having count(abteilung)>1 )) ;
    Edited by: user8309218 on Dec 18, 2009 6:24 AM

  • Can I have more than one primary key ???????

    Hi
    Assuming an application has designed as CMP with findByPrimaryKey( ) method having more than one parameter.
    Example :- findByPrimarykey(String val1, String val2)
    Is it possible to have two parameters fot the finder methods instead using PrimaryKey class ?
    If yes, what are the changes required for following deployment descriptor element. ?
    1. <prim-key-class></prim-key-class>
    2. <primkey-field></primkey-field>
    Regards
    Edward.I

    If a primary key has more than one primary key fields; is a composite primary key, a primary key class is required.
    The parameter of the findByPrimaryKey() method is the primary key class.
    findByPrimaryKey(PrimaryKeyClass pkClass)
    Deepak

  • Can I back up more than one mac to the time machine:

    Can I back up more than one Mac to a time machine? I have a laptop and a Mac Desktop computer can I back up both on the same Time machine

    Absolutely.
    However, quoting from ASC contributor Pondini's excellent Time Machine FAQ:
    It is advisable, though, to partition an external disk that will be connected to your Macs into one volume for each Mac ...

  • Time capsule issues backing up more than one MacBook Pro

    Hi all,
    i'm having an issue with a new 3Gb Time Capsule i've just bought and put online, I wonder if someone would be able to help please.
    I am trying to back up 3 MacBooks, a 2011 macbook pro, a 2012 macbook pro and a 2012 Macbook Air, they are all running Mountain Lion.
    My main macbook has worked fine and I have backed up the drive a few times without any real issue, however when I try and back up one of the other two onto the same Time Capsule, I get the error, "the backup disk image "/volumes/data/.sparsebundle" could not be accessed"
    I've had a look around all the forums to see if I can see a potential problem and fix, however I can't find anywhere that says it works fine for the first backup but not for any other ones!?
    The only other option I have seen is to completely remove the data backup and start again, but I don't really want to do that unless theres no other options.
    Hope you can help, thanks in advance.
    Oh and one other thing which i've seen, is that you can't backup more than one system unless you re-partition the Time Capsule!? Surely this isn't correct???

    You do not have to partition the TC.. indeed you cannot..
    But the issue with Lion or ML losing the sparsebundle is now as common as dust in a drought.
    Yes, it can do a backup then fail to do another.. and there is no reason for it other than poor networking on later OS.
    Reboot the TC.. and maybe the whole network. Reminds you of that initial support question for another OS.. did you turn it off and on again...??
    http://pondini.org/TM/Troubleshooting.html
    Read C12 and C17.
    Welcome to ML.

  • I want to use Back to my mac. When I try to turn it on, it says "Back to My Mac may be slow because more than one device on your network is providing network services.   Turn off NAT and DHCP on one of the devices and try again." How do I fix this?

    Not sure if I am doing this right. This is my first time in the support community.
    I imagine what I put in my heading was supposed to go in here.
    I want to use Back to my mac. When I try to turn it on, it says "Back to my mac may be slow because more than one device on your network is providing network services. Turn off NAT and DHCP on one of the devices and try again. See the documentation that came with your device for information about turning off network services"
    Does anyone know how I do this? I contacted my ISP (Telus in Canada) and they did not know anything (not that they usually do).

    Why do ISPs insist upon making things so difficult for their customers?
    If you cannot get them to understand that you would prefer to use your own router over their piece of cheap junk, perhaps the information in the following will be useful:
    http://keithbalomben.wordpress.com/2012/03/29/telus-actiontec-v1000h-hacks-and-i nformation/
    Scroll down to DHCP Settings
    You will need to log in with proper "technician" credentials. They are provided in the above link as
    Username: tech
    Password: t3lu5tv
    ... but these may or may not work. Try it, and if you cannot get anywhere at least now you know what to ask Telus to do in return for your business.

  • I have Firefox 7.0.1 and would like to go forward and back more than one page at a time- how do I set this?

    I used to have Firefox 6 that let me jump forward or back more than one page

    You can right click on the back or forward button and jump to your required page.

  • How to go back more than one page at a time?

    I'm pretty sure there used to be a drop-down arrow by the back/fwd buttons, so you could go back more than one page by selecting it. Yeah? Where did it go?

    You can either right-click on the back/forward buttons or hold down the left mouse button until the list appears.

  • I accidently closed my window with all my app tabs, now the only window that opens was a 2nd one I had open. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab?

    I accidently closed the window with all my frequently used app tabs, now the only window that opens was an extra one I had opened. How do I get back all my app tabs from the previous window, and why didn't it give me the usual warning you are closing more than one tab? edit
    Details

    Then the (App) tabs from that window are lost unless you can restore an older copy of the sessionstore.js file (Time Machine?) that has that lost window.
    *http://kb.mozillazine.org/sessionstore.js

Maybe you are looking for

  • Itunes wont open, no flashing or user agreement

    ive seen a lot of posts when itunes wone open, but they say that there is flashing itunes and quicktimes or a user agreement comes on to the screen. but my itunes just doesnt open. i just installed itunes 6.0 and now my itunes wont open and there is

  • Ipod nano version 1.2 not reconized by pc or itunes

    help, i have tried everything, the 5 steps re-install itunes 7. restart pc. and ipod. and nothing. my pc and itunes does not recongnize my ipod nano. HELP. also like to say that after reading all the complaints on here i wonder now why anyone would e

  • Hard Drive still full after emptying trash

    Hi! I own a Macbook running 10.4.8., 80 GB hard drive. I also just purchased and hooked up a LaCie external hard drive, FA Porsche, USB 2.0, 250 GB. I am working on making some home movies into DVDs, which is why I purchased the hard drive, so I coul

  • Booting from a Leopard ext. HD

    I am trying to get around the fact that Snow Leopard does not support version 4 icc profiles. (I have quite a few custom profiles that I built.) The question: Could I boot my MBP from an ext. HD that had Leopard 10.5.8 installed? And if so, could I e

  • How to Abort all opened Transactions at once?

    Hi, Is there any way to abort all open transactions at once ? Thanks for any help. Thanks, reddy