Split and pick

Hi Folks,
I need to pick the data from a field and dispaly it as two fields.Can anyone here let me know how to go with this.
addr1_data-remark:-(table is addr1_data and the field is remark).
now i have to pick the contents from the field "remark" of table "addr1_data",split it into two to fill in two fields namely registration and tax-id.
If I am confusing you with the fields and the content just let me know the way to split the data.
Points will be given.
K.Kiran.

Try this for multiple spaces.  You'll need to fiddle with the data definitions.  Theoretically you can just have the itab be made up of a single line of type string, but I kept getting an error and I don't have time to dig into why.
report ybctest.
PARAMETERS: text(50) TYPE c.
DATA: BEGIN OF itab OCCURS 0,
        line(20) type c,
      END OF itab.
data: test type string.
DATA: name(20) TYPE c,
      id(10) TYPE c.
SPLIT text AT space INTO TABLE itab.
LOOP AT itab.
  condense itab-line.
  test = itab-line.
  IF test CO '0123456789'.
    id = itab-line.
    DELETE itab.
  ENDIF.
ENDLOOP.
LOOP AT itab.
  CONCATENATE name itab-line INTO name SEPARATED BY space.
ENDLOOP.
WRITE: / 'name: ', name.
WRITE: / 'ID: ', id.

Similar Messages

  • Batch split and picking via interface

    We have a set-up where we receive picking confirmations from an external system, via an IDOC (type DELVRY01). The picking strategy is SD picking w/o transfer orders, so we update picked batches directly into the delivery, with the picked quantity.
    However we have an issue if the delivery quantity is 30 CAR ex. and we receive a picking confirmation for 30 CAR or more. I this case the batch is updated on the delivery main item. If the picking confirmation was for 29 CAR or less, it is updated as a batch split item. The issue is that if the 1. picking confirmation is eaqual or higher than the delivery quantity, the main item is updated. It is then not possible to receive more picking confirmations for that item.
    What we would like is to force creation of batch split items, regardless of the picking quantity. Any ideas for user-exits/BAdI or customising settings are welcome.

    I have found a solution to this using user-exit EXIT_SAPLV55K_002. If you receive a picking confirmation for an item where the quantity is equal or creater than the delivery quantity, you can add an extra record to table T_KOPO in the user-exit, only containing the delivery number and item number. This will then generate the picking confirmation as a batch-split item.

  • Transfer Order Splitting By Picking Area

    Hi,
    Appreciate some help on this one.
    Our system is currently set to split picking transfer orders by storage type -       I'm trying to switch this off.
    Instead I would like to split by picking area, so if I have say, picking area 001 across 2 storage types, I would like a pick that goes across these 2 storage types to be created on ONE TO.
    I have tried various combinations of sorting and splitting but so far no luck.
    It seems that the 'Split Picking Area' check box  in     Define Profile > Profile for Transfer Order Splitting    actually refers to the storage type.
    If this option is checked, I get 2 TOs, even though my picking area is the same across the 2 storage types I am testing.
    If this option is unchecked, I get one TO, even if I set the picking areas to be different.  It is almost like the picking area has no influence.
    I read something about 'Forced' splitting  -     I wonder if there is an option to uncheck 'Split Picking Area'   and then set my sorting in a such a way that I get my desired split??
    Any hints or tips gratefully received.
    Thanks
    Guy

    Hi,
    "Instead I would like to split by picking area, so if I have say, picking area 001 across 2 storage types, I would like a pick that goes across these 2 storage types to be created on ONE TO."
    I would think that you do not have one picking area across 2 storage types. You define picking areas per storage type. So if you give them the same name, that does not mean that they are the same picking areas. So the effect you describe is a split per storage type because they have different picking areas.
    Best regards
    Juergen

  • Understanting delivery quantity and picked quantity in VL03N

    Dear All,
    This must be a very obvious question for most of you but please help me
    understand the difference between two columns in VL03N - delivery and picked quantity.
    We have implemented WMS.
    Here's my example:
    1. One outbound delivery with one delivery item.
    delivery quantity = 100 pieces
    2. Warehouseman using mobile device confirms 40 pieces of material (batch A)
    3. Warehouseman does not confirm the remaining 60 pieces from batch B
    4. Now when I display delivery item in VL03N I have the following situation
    (item level, batch level is disabled)
    Delivery qty = 100 pieces
    Picked qty = 60 pieces
    First question: Why picked qty = 60 instead of 40. The warehouse confirmed
    40 pieces of material so picked qty should be 40. But for some reason it
    shows unpicked quantity.
    When I click "+" (for batch split)
    BATCH A: delivery qty = 40, picked quantity = 40, picking status = "C", WM status = "C"
    BATCH empty: delivery qty = 60, picked quantity = 60, picking status = "C", WM status = "B"
    Second question: why column "picked quantity" for empty batch (not confirmed yet)
    displays 60 pieces. The remaining 60 pieces has not been confirmed yet.
    Best regards,
    Mark

    Kookie,
    Second, delivery quantity is what the client requires to be delivered; picked quantity is what needs to be picked. So using your example, 40 were picked, remaining still to be picked is 60.
    This is my case.
    a) warehouseman confirmed 40 pieces of batch A.
    b) Before he confirm remaining 60 pieces of batch B I go to VL03N to see how this transaction indicates
    that there are still 60 pieces left (or that only 40 pieces of batch A has been confirmed yet)
    VL03N > I click "+" (for batch split) and get two rows for the delivery item
    Line 1: delivery qty = 40, picked quantity = 40, Batch: A, picking status = C, WM status = C
    Line 2: delivery qty = 60, picked quantity = 60, Batch: null, picking status = C, WM status = B
    While second batch has not been confirmed (picked) yet, the second line should look in my
    opinion like this:
    Line 2: delivery qty = 60, picked quantity = 0, Batch: null, picking status = C, WM status = B
    Picked quantity for unconfirmed, remaining quantity shoud be 0. However SAP shows "60". Why?
    This is confusing. The only way for me to check what quantity has been confirmed is to examine
    WM status column.
    Best regards,
    Mark

  • StringTokenizer vs. split and empty strings -- some clarification please?

    Hi everybody,
    I posted a question that was sort of similar to this once, asking if it was best to convert any StringTokenizers to calls to split when parsing strings, but this one is a little different. I rarely use split, because if there are consecutive delimiters, it gives empty strings in the array it returns, which I don't want. On the other hand, I know StringTokenizer is slower, but it doesn't give empty strings with consecutive delimiters. I would use split much more often if there was a way to use it and not have to check every array element to make sure it isn't the empty string. I think I may have misunderstood the javadoc to some extent--could anyone explain to me why split causes empty strings and StringTokenizer doesn't?
    Thanks,
    Jezzica85

    Because they are different?
    Tokenizers are designed to return tokens, whereas split is simply splitting the String up into bits. They have different purposes
    and uses to be honest. I believe the results of previous discussions of this have indicated that Tokenizers are slightly (very
    slightly and not really meaningfully) faster and tokenizers do have the option of return delimiters as well which can be useful
    and is a functionality not present in just a straight split.
    However. split and regex in general are newer additions to the Java platform and they do have some advantages. The most
    obvious being that you cannot use a tokenizer to split up values where the delimiter is multiple characters and you can with
    split.
    So in general the advice given to you was good, because split gives you more flexibility down the road. If you don't want
    the empty strings then yes just read them and throw them away.
    Edited by: cotton.m on Mar 6, 2008 7:34 AM
    goddamned stupid forum formatting

  • Iterating through bseg line items and picking the vendor line item

    Hello,
    I am creating a report in which i want to show the list of vendors (with their WHT's). The output will be based on selection of a certain period(range). I guess i have to first iterate through BKPF and get those documents that lie in the given range, then i 'll have to iterate through the selected documents in BSEG and pick out the vendor line items (KOART = 'S'). Will i be using GET for this..
    Is this the right way? secondly, if yes, can sumone show me how to iterate through BKPF and BSEG and get vendor details.?
    Thanks..
    SHehryar

    Hey,
    Instead of selecting data from BKPF-BSEG you could use BKPF-BSIK-BSAK.
    BSIK and BSAK have the same details as BSEG and are use by SAP for reporting purposes.
    Similarly for customer the table are BSID, BSAD and for GL the tables are BSIS and BSAS.
    BSIK will have the open items and BSAK will have the cleared items.
    -Kiran

  • PGI error after delivery and picking completion

    Dear gurus,
    I have a problem as mentioned below
    For a meterial delivery and picking has been successfully completed.
    while go for PGI, " the 0 qty available for the material message is showing ".
    Please provide the solution to how to check and continue.
    Thanks in advance,
    R.Rajendran

    Hi,
    I think you should chek if there is stock.
    If there is stock qty then I assume that there is a conflict with other sales order that might have been entered before you have created the delivery.
    In this case it would be wrong to post goods on stock.
    the right way to manage this situation is to reschedule the already confirmed sales order and post your goods issue.
    TC needed : CO06 to cancel an exisiting scheduled order
    In order to have a complete overview of the order situation with the option to link in the Co06 you can also process the TC V_RA
    hope this will help however you should check your ATP settings
    regard susanne

  • My iPhone 4 is water damaged and I need a new phone, do I have to make an appointment or can I walk in store and pick one up

    My iPhone 4 is water damaged and I need a new phone, do I have to make an appointment or can I walk in store and pick one up

    Make appointment
    Bring credit card
    Allan

  • I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    I have a huge file which is in GB and I want to split the video into clip and export each clip individually. Can you please help me how to split and export the videos to computer? It will be of great help!!

    video
    What version of Premiere Elements do you have and on what computer operating system is it running?
    Please review the following workflow.
    ATR Premiere Elements Troubleshooting: PE11: Project Assets Organization for Scene and Highlight Grabs from Collection o…
    But please also determine if your project goal is supported by
    a. format of your source
    and
    b. computer resources
    More later based on details that you will post.
    ATR

  • Trying to access Netflixs and pick movie but I get "Unable to load this content at this time"

    trying to access Netflixs and pick movie but I get "Unable to load this content at this time"

    This earlier posting worked for me:
    "This worked for me without having to reset my Apple TV universe: Press Menu and Down Arrow keys simultaneously for 6 seconds until the light flashes rapidly."
    Thank you!

  • Unicode export:Table-splitting and package splitting

    Hi SAP experts,
    I know there are lot of forums related to this topic, but I have some new questions and hence posting a new thread.
    We are in the process of doing unicode conversion in our landscape(CRM 7.0 system based on NW 7.01) and we are running on AIX 6.1 and DB2 9.5. The database size is around 1.5 TB and hence, we want to go in for optimization for export and import in order to reduce the downtime.As a part of the process, we have tried to do table-splitting and parallel export-import to reduce the downtime.
    However, we are having some doubts whether this table-splitting has actually worked in our scenario,as the export has exeucted for nearly 28 hours.
    The steps followed by us :
    1.) Doing the export preparation using SAPINST
    2.) Doing table splitting preparation, by creating a table input file having entries in the format <tablename>%<No.of splits>.Also, we have used the latest R3ta file and the dbdb6slib.o(belonging to version 7.20 even though our system is on 7.01) using SAPINST.
    3.) Starting with the export using SAPINST.
    some observations and questions:
    1.) After completion of tablesplitting preparation, there were .WHR files that were generated for each of the tables in DATA directory of export location. However, how many .WHR files should be created and on what basis are they created?
    2.) I will take an example of a table PRCD_CLUST(cluster table) in our environment, which we had split. We had 29 *.WHR files that were created for this particular table. The number of splits given for this table was 36 and the table size is around 72 GB.Also, we noticed that the first 28 .WHR files for this table, had lots of records but the last 29th .WHR file, had only 1 record. But we also noticed that, the packages/splits for the 1st 28 splits were created quite fast but the last one,29th one took a long time(serveral hours) to get completed.Also,lots of packages were generated(around 56) of size 1 GB each for this 29th split. Also, there was only one R3load which was running for this 29th split, and was generating packages one by one.
    3.) Also,Our question here is that is there any thumb rule for deciding on the number of splits for a table.Also, during the export, are there any things that need to be specified, while giving the inputs when we use table splitting,in the screen?
    4.) Also, what exactly is the difference between table-splitting and package-splitting? Are they both effective together?
    If you have any questions and or need any clarifications and further inputs, please let me know.
    It would be great, if we could get any insights on this whole procedure, as we know a lot of things are taken care by SAPINST itself in the background, but we just want to be certain that we have done the right thing and this is the way it should work.
    Regards,
    Santosh Bhat

    Hi,
    First of all please ignore my very first response ... i have accidentally posted a response to some other thread...sorry for that 
    Now coming you your questions...
    > 1.) Can package splitting and table-splitting be used together? If yes or no, what exactly is the procedure to be followed. As I observed that, the packages also have entries of the tables that we decided to split. So, does package splitting or table-splitting override the other, and only one of the two can be effective at a time?
    Package splitting and table splitting works together, because both serve a different purpose
    My way of doing is ...
    When i do package split i choose packageLimit 1000 and also split out the tables (which i selected for table split)  into seperate package (one package per table). I do it because that helps me to track those table.
    Once the above is done i follow it up with the R3ta and wheresplitter for those tables.
    Followed by manual migration monitor to do export/import , as mentioned in the previous reply above you need to ensure you sequenced you package properly ... large tables are exported first , use sections in the package list file , etc
    > 2.) If you are well versed with table splitting procedure, could you describe maybe in brief the exact procedure?
    Well i would say run R3ta (it will create multiple select queries) followed by wheresplitter (which will just split each of the select into multiple WHR files)  ...  
    Best would go thought some document on table spliting and let me know if you have specific query. Dont miss the role of hints file.
    > 3.) Also, I have mentioned about the version of R3ta and library file in my original post. Is this likely to be an issue?Also, is there a thumb rule to decide on the no.of splits for a table.
    Rule is use executable of the kernel version supported by your system version. I am not well versed with 7.01 and 7.2 support ... to give you an example i should not use 700 R3ta on 640 system , although it works.
    >1.) After completion of tablesplitting preparation, there were .WHR files that were generated for each of the tables in DATA directory of export location. However, how many .WHR files should be created and on what basis are they created?
    If you ask for 10 split .... you will get 10 splits or in some case 11 also, the reason might be the field it is using to split the table (the where clause). But not 100% sure about it.
    > 2) I will take an example of a table PRCD_CLUST(cluster table) in our environment, which we had split. We had 29 *.WHR files that were created for this particular table. The number of splits given for this table was 36 and the table size is around 72 GB.Also, we noticed that the first 28 .WHR files for this table, had lots of records but the last 29th .WHR file, had only 1 record. But we also noticed that, the packages/splits for the 1st 28 splits were created quite fast but the last one,29th one took a long time(serveral hours) to get completed.Also,lots of packages were generated(around 56) of size 1 GB each for this 29th plit. Also, there was only one R3load which was running for this 29th split, and was generating packages one by one.
    Not sure why you got 29 split when you asked for 36, one reason might be the field (key) used for split didn't have more than 28 unique records. I dont know how is PRCD_CLUST  split , you need to check the hints file for "key". One example can be suppose my table is split using company code, i have 10 company codes so even if i ask for 20 splits i will get only 10 splits (WHR's).
    Yes the 29th file will always have less records, if you open the 29th WHR you will see that it has the "greater than clause". The 1st and the last WHR file has the "less than" and "greater than" clause , kind of a safety which allows you to prepare for the split even before you have downtime has started. This 2 WHR's ensures  that no record gets missed, though you might have prepared your WHR files week before the actual migration.
    > 3) Also,Our question here is that is there any thumb rule for deciding on the number of splits for a table.Also, during the export, are there any things that need to be specified, while giving the inputs when we use table splitting,in the screen?
    Not aware any thumb rule. First iteration you might choose something like 10 for 50 GB , 20 for 100 GB. If any of the tables overshoots the window. They you can give a try by  increase or decrease the number of splits for the table. For me couple of times the total export/import  time have improved by reducing the splits of some tables (i suppose i was oversplitting those tables).
    Regards,
    Neel
    Edited by: Neelabha Banerjee on Nov 30, 2011 11:12 PM

  • Can we split and fetch the records in Database Adapter

    Hi,
    I designed a Database Adapter to fetch the records from oracle Database. Some time, the Database Adapter need to fetch around 5000, or 10,000 records in single shot. In that case my BPEL process is choking and getting error as
    java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
    Could someone help me to resolve this?
    In Database Adapter can we split and fetch the records, if number of records more then 1000.
    ex. First 100 rec as one set and next 100 as 2nd set like this.
    Thank you.

    You can send the records as batches useing the debatching feature of db adapter. Refer documentation for implementation details.

  • Can I buy a MacBook Pro with swedish keyboard in USA and pick it up in New York?

    Can I buy a MacBook Pro with Swedish Keyboard online and pick it up on an Apple Retail store in New york

    This discussion comes as close to give you your answer as you will get here.
    https://discussions.apple.com/message/21374165#21374165
    Best option is to contact Apple Customer Service and pose your query to them.
    Ciao.

  • Pre-order shipment for new IPhone 5 pushed back to 10/5. How can I go to store and pick up rather than wait?

    I pre-ordered shipment of the IPhone 5's 9/14 like many others, and now it pushed back to 10/5. How can I go to store and pick up at upgrade rate rather than paying full price?

    Thanks for the thought... ordered direct from Apple. I'm on AT&T, so I called them to work through their network. They said they couldn't help me until I cancelled my orders through Apple. Talked to an Apple store rep, and they said they had a customer that tried that - cancelled orders, then drove to store only to find they were not eligible for an upgrade. She called AT&T, and they had no solution, and said that sometimes it takes 48 to 72 hours for the system to reinstate upgrade eligibility.....I would have originally ordered from AT&T, but couldn't get into their website, so ordered through Apple - mistake.

  • 1:n Message split and Abap Proxies??

    Hello,
    Can I not use Message split and Abap Proxy together? My scenario is MDM->File ->XI->Proxy->BI.
    I am getting a single file syndicated from MDM and in XI If I use message mapping to do 1:n split in the message mapping, can I use it with Abap Proxies? As per the link below, XI adapter is not present in the list..We are on PI 7.0 SP14. Thank you..
    http://help.sap.com/saphelp_nw04/helpdata/en/42/ed364cf8593eebe10000000a1553f7/frameset.htm
    Thank you for any suggestion..

    Hi Thanujja,
    If you see the message from Raj, I dont think we can split the messages for the proxy. This is beacause the splitting of messages take place at the Adapter Level only for the adapters on the Java stack.
    As suggested by Guru, you can try splitting the messages in the inbound proxy instead of using a BPM, in that way you can acheive good performance.
    Thanks,
    Srini
    Edited by: srinivas kapu on Mar 27, 2008 9:09 AM
    Edited by: srinivas kapu on Mar 27, 2008 9:10 AM

Maybe you are looking for

  • Any use for RAM pulled from stock 24" iMac?

    Greetings! I am about to configure and order an iMac that my employer, a big university, is buying me as a workstation. They spring for a bottom-of-the-line 20" iMac. I'm going to use my own funds to upgrade to a 24" iMac. I want 4 GB of RAM in it. I

  • How to limit the number of TCP connections beeing used concurrently while a page is beeing loaded?

    We manufacture industrial small-footprint control modules with embedded web server. The resources of these modules are very limited, especially in RAM. We have problem, that FF opens 15 parallel TCP connections while loading a web page (main html pag

  • Need to upload morethan 20 tables from excel sheet

    Hi Everyone, I need to upload 20 different tables from the excel sheets. One way to implement is to write 20 different report programs. But can we meet the above requirement from a single report program? Regards, Yugesh

  • Render Problem in Flowblade (ffmpeg flag)

    Hi, I'm attempting to use flowblade (from the AUR)  to render an edited video, but partway through the rendering process, the file size drops down to a few megabytes and starts increasing again, resulting in an incomplete file. The format of the file

  • Omron OPC Server with Lookout 5.0

    I am trying to set up a Lookout 5.0 application using the OPC Client, connecting to the Omron OPC server, CX ServerOPC. When I add the OPC Client, I find the server on the drop down list, but when I click 'OK' to create the OPC client object, once it