How to separate internaltable values

how to separete internal table fields 
i have a internal table t_table with some fields , I want to separate the values in the internal table by using semicolon and pass to a string type field
i need something like this
800;1000;100000456;2009;001;D....................
HOW TO SEPARATE THE VALUES FROM INTERNALTABLE?
Moderator message: duplicate post locked.
Edited by: Thomas Zloch on Aug 19, 2011 4:02 PM

I have not optimized the code (it's a bit slow).  Is this what you are looking for?
See attachment in LV8.2
It does not sort the arrays but splits them in the order as they are found.  The front part of the code is to generate 500 random numbers in two groups 100 to 109 & 300 to 309, to represent the numbers you have shown.
R
EDIT:  Question:  When you say "split in real time", are the numbers already into an array or it is prior to being in an array?
Message Edited by JoeLabView on 09-11-2008 01:47 PM
Attachments:
UnsortedSplitArray.vi ‏19 KB

Similar Messages

  • How to separate the value and currency

    Hi Experts,
    We have data in report like this 12545EUR
                                                       24521DM
    Now our requirement is  separate the value and currency.
    Can anybody tell me what i do in Query designer.
    Thanks in Advance

    Hi
    NODIM is used in a scenario like u want find the amount of product then the formula for the amount is price * quantity
    AMOUNT = PRICE * QUANTITY
    IN this case the unit for PRICE ,let say EUR and for quantity the unit is EA and say we have price value = 10 EUR and quantity value   = 5 EA
    if u apply the above value in the above formula , then it leads to the value as shown below,
    AMOUNT = 10 EUR * 5 EA = 50 EUR EA
    In this case the units for the amount should be EUR not "EUR EA" in this case we have to eliminate the units for PRICE . so that can be done by using the
    amount = /BIC/NI_AMT * NODIM(/BIC/NI_QTY)
                 = 10 EUR       *   5         = 50 EUR
    Hope u got it,
    Revert back in case of any query ,
    Assign points ,
    Thanx & Regads,
    raviChandra

  • How to separate debit and credit values in gl statement report (daywise)

    hi
    experts,
    i have report.
    selection criteria is
    chars of account.
    gl account
    date .
    how to separate debit and credit values in gl statement?.(i know there is a indicator shkzg).
    but send me code.
    op
    date,   total credit,total debit , balances.
    also calculate opening and closing balance.
    u created such type of report then plz help me.
    thanks&regards.\
    ajay.

    Hi,
    Usually it can be determined using the field shkzg. If it contain 'S' its debit and if it contains 'H' then its credit.
    Before showing the amount you need to do like;
    IF wa_gl-shkzg = 'H'.
    wa_gl-dmbtr = wa_gl-dmbtr * (-1). " dbmtr - amount
    ENDIF.
    This will solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Jun 3, 2009 12:29 PM

  • How to select multiple values from the Parameters in the concurrent program

    How to select multiple values from the Parameters defined in the concurrent program...and i believe multiple selection is not a direct feature of EBS, but is there any workaround solution to acheive mulitple selection?

    I think there's no way to do that using standard feature.
    Some workaround I use :
    1. If the number of selections are fixed, you could use multiple parameters for the same valueset. For example :
    Selection1 : <choose first selection>
    Selection2: <choose 2nd selection>
    ..etc.
    If you don't use it then leave it empty.
    2. Use text varchar valueset and enter it manually and separate by comma (or other value) , eg : selection1,selection2,selection3....etc.

  • How to set a value to a disabled field in an B1 screen ?

    Hi,
    Can anyone tell me how to set a value to a disabled field in an existing screen.
    For example , I want to set a value to the Paid/Credited field in the Sales - A/R Invoice screen, which is a disabled field.
    I tried setting the field as enabled but it throws an error.
    Thanks in advance
    Mina

    It depends on the business process required for generating the invoice.  (What is this process just now?)
    I can think on quite a few ideas, but can't be sure if any of them will match your specific requirements.  I'll list a few here and see if any of them might work, or at least generate some new ideas for you. (Unfortunately you can't change an existing payment object to add an invoice to it at a later date, nor is the reconciliation process exposed through the SDK.  This limits your options a bit.)
    1) Is there a need for a separate delivery and invoice?  Would skipping the delivery process and using the standard Invoice + Payment screen work for you?  Stock would be issued, invoice created and payment matched directly to invoice without any work.
    2) This might apply if the invoice is simply a one for one match with the delivery.  Rather than just generate a payment in the delivery screen, generate the invoice and a payment at the same time.  The standard invoice screen will then show it as paid.  You can control the dates on the invoice raised through DI code.
    3) Where do you write the Paid Amount to?  How is it not available in the invoice screen?  Put it somewhere accessible and write it to the user field.
    John.

  • How to separate this hyperlink using function in Infopath?

    HI All,
    How to separate this hyperlink using function in Infopath?http://Site:90/Lists/attachment/Attachments/6/Capture.PNGhttp://Site:90/Lists/attachment/Attachments/6/Capture1.PNG
    Actually I have two fields
    in infopath form, attachment field and hyperlink field. If attachment attached, then set value for hyperlink field value as attachment link.
    When I attach more than one attachment, then hyperlink field value gets like above link. I need to separate into two link. How to achieve this?

    try this 
    substring(text, start_position, char_count)
    http://office.microsoft.com/en-us/infopath-help/add-formulas-and-functions-in-infopath-2010-HA101821255.aspx#_Text_functions
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • How to separate perticular column from multidimensionl array

    dear all,
    i am just reading CAN bus message, problem is that it is accomodated in a 11X7 array which includes frame time stamp, ID, byte length etc but i am interested in CAN data. can anybody tell me how to separate that column from all. i want to read a column of 5 with all rows. how it is possible.

    Hello Sanjay,
    If your requirement is simply to obtain a single column from a 11x7 array, I would suggest you should do the following:
    1. Use Transpose 2D array to obtain a transposed array
    2. Use Index Array function to retrieve invidual row (which is actually the column of non-transposed array).
    Use index value of 4 (zero indexed), and the output would be a 1D array containing all elements of column 4 (zero indexed) of the original array.
    I hope this helps.
    Regards,
    Navjodh

  • How  to track non-valued customer owned inventory, including retained

    How  to track non-valued customer owned inventory, including retained samples

    Dear Paddy
    As for as inventory is concerned, you can track through MB51 where you can see customer code and delivery reference.
    In case of samples, if you have maintained a separate order type / billing type and raised commercial invoice, you can track through VF05 by selecting "Further selection criteria". 
    thanks
    G. Lakshmipathi

  • How to separate enter GR and return in invoice verification

    Hi: guys
    I have completed GR for purchase order, and then, vendor send me invoice. however, during invoice check, warehouse return goods to this vendor. so I just want enter GR item excluding the new return item. but sap system automatically propose total Qtys/amounts. I cann't manually change Qtys/amounts.
    everybody can tell me how to separate enter GR and return in invoice verification.
    someday suggest me use return PO and 161 movetype to deal with this problem. however, I not think this is a good solution.
    thank you
    Henry

    well the main point of u r problem is that u r not able to change the qyantity /value in invoice
    but system should allow u to change the quantity and vlaue as per standard sap settings
    i think u r user profile is not authorized to do so.........chek the authorization for miro
    u can aslo ue invoice reduction option in miro
    suppose u r vendor invoice u for 100 pc but u have recived only 89 pc as 20 pc u have already returned then u can use invoice reduction option to change the quantity and value and in this case sytem will genrate the credit memo and invoice
    100 pc invoice
    20 pc credit memo
    and ultiamtely u have posted 80 pc invoice
    if any thing not clear then let me know

  • How to add new value to 'Partition by' from RPD

    HI..
    in the presentation services when queried my request.. i am getting query below like that.this time i am getting wrong values. if i include c8 in partition by for c13 then i able to get the correct values.
    Can you plz tell me how to include new value to the partion by ..from RPD.
    SAWITH0.c7 as c7,
    SAWITH0.c8 as c8,
    SAWITH0.c9 as c9,
    SAWITH0.c10 as c10,
    SAWITH0.c11 as c11,
    SAWITH0.c12 as c12,
    sum(SAWITH0.c13) over (partition by SAWITH0.c10, SAWITH0.c14, SAWITH0.c11, SAWITH0.c12) as c13,
    SAWITH0.c14 as c14
    Thank you.

    Hi,
    I guess you made a mistake in your business model. The c8 column should be coming from a separate dimension.
    Good Luck,
    Daan Bakboord
    http://obiee.nl

  • How to get the values from popup window to mainwindow

    HI all,
       I want to get the details from popup window.
          i have three input fields and one search button in my main window. when i click search button it should display popup window.whenever i click on selected row of the popup window table ,values should be visible in my main window input fields.(normal tables)
       now i am able to display popup window with values.How to get the values from popup window now.
       I can anybody explain me clearly.
    Thanks&Regards
    kranthi

    Hi Kranthi,
    Every webdynpro component has a global controller called the component controller which is visible to all other controllers within the component.So whenever you want to share some data in between 2 different views you can just make it a point to use the component controller's context for the same. For your requirement (within your popups view context) you will have have to copy the component controllers context to your view. You then will have to (programmatically) fill this context with your desired data in this popup view. You can then be able to read this context from whichever view you want. I hope that this would have made it clear for you. Am also giving you an [example|http://****************/Tutorials/WebDynproABAP/Modalbox/page1.htm] which you can go through which would give you a perfect understanding of all this. In this example the user has an input field in the main view. The user enters a customer number & presses on a pushbutton. The corresponding sales orders are then displayed in a popup window for the user. The user can then select any sales order & press on a button in the popup. These values would then get copied to the table in the main view.
    Regards,
    Uday

  • How To Print Field Value in TOP-OF-PAGE During Line Selection.

    How To Print Field Value in TOP-OF-PAGE During Line Selection when double click on field.

    (If my memory serves me well (not used for long time ago)
    Assign values to system fields sy-tvar0 - sy-tvar9, they will replace the placeholders "&0" through "&9" in the list headers and column headers.
    TOP-OF-PAGE DURING LINE-SELECTION.
         WRITE: / 'Interactive Report &3'.
      WRITE record-vbeln TO sy-tvar3.
    Regards,
    Raymond

  • How to find the value of a variable in other program

    How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
    Regards
    Vin

    Hi Vinayak,
         you will be having your first program values in internal table or some variables,
        when you are calling the second program you wii use like this,
        SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
                           WITH s_emp(second program select-options)   IN t_emp(first program variables)
                           WITH p_chk   EQ t_chk
                           WITH p_r1    EQ t_r1
                           WITH p_month EQ t_month
                           WITH s_cust1 IN t_cust1
                           WITH p_r2    EQ t_r2
                           WITH s_cust2 IN t_cust2
                           WITH s_week  IN t_week
                           AND RETURN.
    you have pas like this to get your first program details.

  • How to use multiple values in an IF condition in RTF

    Hi,
    I have a scenario as mentioned below.
    IF column value in ('A','B')
    display C;
    end if
    IF column value not in ('A','B')
    display D;
    end if
    My query is how to provide multiple values in an IF condition.?
    Thanks,
    Anand

    But suppose "x.jar" needs a library from "y.jar". How do you put another JAR on the classpath of an applet in a Web page?
    <applet code="z.class" archive="a.jar,b.jar,c.jar">

  • How to get return values from task flow in af:region ?

    Hi!
    I'm working with a taskFlow that is rendered inside a popup using the "popup inside a region pattern" (http://www.oracle.com/technology/products/adf/patterns/popupregionpattern.pdf), but now this taskFlow has an input parameter and a return value definition. So the question is how to get a value returned by this taskFlow thas is called inside a region?
    Any suggestion?
    Thanks in advance!

    Hi,
    write the value to a shared memory scope like session and read it in the regionNavigation listener. If you follow the paper you refer to then the listener determines of the viewId is null, this a return happens. It wuld then look in the memory scope for the return value.
    Another option would be to use an object that you pass as an argument to the task flow you open in the popup. Then you change the object you passed in, which then makes the return information available in teh calling flow. The object you pass in would have to be in a shared scope too
    Frank

Maybe you are looking for

  • Unicode line-drawing characters - possible Java bug?

    Hi all, I am trying to draw a box using line drawing characters in UTF-8. I make the UTF-8 box file in Microsoft Word where it looks aligned. However, when I run my Java program to display the box in a JTextArea, it is all out of alignment like below

  • How can I get Applications back to the Dock?

    I've stupidly just dragged my applications folder to Trash (I was  surprised Mac didn't ask me if I really wanted to). I've tried to find it in Trach but it's not there, but it is down left-hand in Finder. How can I get it back to the Dock?

  • Where to put ringtones in the N9?

    I dont really know where to put this thread. So mods feel free to move it. I didnt really care for any of the stock ring tones on the N9, and I had a ring tone on my N97 that was the sound played on Star Trek TNG when the shuttle bay doors would star

  • Exporting Colors Dull!

    [Note - I have figured it out for my document but am posting anyway as this is a continuing problem with Adobe products, so many people having problems, etc., none of which had my solution (that I could find)] I am trying to export a PDF (or high res

  • Displaying change documents(MM03) in Material master

    Hi All One User having problem in displaying change documents(MM03) made by the some of the users for the materials (It is not the authorization as he is provided with the same to diplay the change doc) Kindly let me know how i can view the change do