Listbox does not populate what I want

I am trying to retrieve my program_ID that are distinct and here are the codes:
TYPE-POOLS : vrm.
DATA:wa_itab TYPE vrm_value,
      it_itab TYPE vrm_values.
select distinct PROGRAM_ID into wa_itab from ZPROGRAM_TABLE.
  endselect.
APPEND wa_itab TO it_itab.
START-OF-SELECTION.
  CALL SCREEN 1000.
MODULE STATUS_1000 OUTPUT.
  SET PF-STATUS 'SCREEN_1000'.
  SET TITLEBAR 'TITLE_1000'.
CALL FUNCTION 'VRM_SET_VALUES'
  EXPORTING
      ID  =  'ZDROPDOWNLIST'
      VALUES      =  it_itab.
ENDMODULE.                    "STATUS_1000 OUTPUT
It populated what is in the column called PROGRAM_ID. However, it only retrieve the latest ID and not the other's ID.
For eg, I have these values at my PROGRAM_ID value.
1
1
1
1
1
2
2
2
As mentioned, I have tried using distinct for my SQL statement and it only retrieve the integer 2. What am I suppose to do to retrieve integer 1 too?

That works and I have already awarded points to you. Now I got a new problem.
My listbox is able to retrieve the value but it  appeared like this as this link showed.
http://img301.imageshack.us/img301/8139/screenrs6.png
When I put a break point at this line of code's it_itab you give me:
APPEND wa_itab TO it_itab.
I got this values as shown as this link http://img301.imageshack.us/img301/8175/screen2ju2.png
There is extra row added with a space in front of my value 1. How am I suppose to get rid of the spacing?

Similar Messages

  • Using the magic earaser tool does not do what I want

    I scaned an iron on pattern.  Now I want to remove the background color which is white.  I thought I could use the magic eraser tool.  It does a good job for most of the project, but I have to click on every small area.  The reason that I want to do this is to being able to print on any color card stock.  Is there another way of doing this.
    Thanks
    Mike

    Even though you now have a useable answer I though I would underscore JJMack's comment about having many options to achieve a specific result in Photoshop by showing an alternative approach, which uses none of the steps included in JJMack's posting.
    You would start by making sure your scanned image is on a normal layer, that is, not a background layer. If it is a background layer then double click on it and respond  OK to the resulting dialog box.
    1. Double click on the scanned layer to open up the Layer Style dialog box. In the Blend If section change the This Layer right-hand slider to about 220 and then alt click on it again and drag the left half of the slider indicator to about 120.   This will drop the white out of your scan.
    2. Add a solid color fill layer. If you want black lines choose a color something like H=0, S=0% And B=20%.  Right click on the layer and select Create Clipping Mask.  Change the blending mode to say Color Burn.  If you want other line colors double click on the icon in the color fill layer and choose a new color.
    Several variaion on this approach exist as well as combining some of the steps in JJMack's approach.
    Paulo

  • Hello I have purchased a iphone 5s from a customer and forgot to give me the email and password and if placed in the phone sim card does not open because he wanted to email and password, what do I do in order to open the iPhone please help me :(

    how to remove activation lock  :Hello I have purchased a iphone 5s from a customer and forgot to give me the email and password and if placed in the phone sim card does not open because he wanted to email and password, what do I do in order to open the iPhone please help me

    You just made a very expensive mistake, especially if you can't return the phone.

  • How i can back up my i phone ore restore back up if it keeps to say password is wrong. i tried every possible psw ds does not work. now i want to change the password it wants old pswd and i do not know it. what can i do?

    how i can back up my i phone ore restore back up if it keeps to say password is wrong. i tried every possible psw ds does not work. now i want to change the password it wants old pswd and i do not know it. what can i do?

    Sorry, but if you have forgotten the password for your encrypted backup, you'll have to start all over again:
    Make sure that the password you use is one that you'll remember. If you encrypt an iPhone backup in iTunes and forget your password, you won't be able to restore from backup, and your data will be unrecoverable.
    If you can't remember the password and want to start again, you must perform a full software restore and choose set up as a new device when iTunes prompts you to select the backup from which to restore.
    copied from Create and delete iPhone, iPad, and iPod touch backups in iTunes

  • Hello, I have problems with iCloud. I do not recognize the password and can neither a reset occurs every time I want to do something to stick to iCloud password but does not recognize, what to do? thank you

    Hello, I have problems with iCloud. I do not recognize the password and can neither a reset occurs every time I want to do something to stick to iCloud password but does not recognize, what to do? thank you

    Stop multiple posting

  • Cluster does not populate in sub-vi unless front panel is opened

    I have a sub-vi that saves my data to a database and the cluster
    containing the data will not populate unless I open the front panel
    when it executes.  What could possibly cause this?

    It is the readings cluster that does not populate.  That is the input cluster for the vi.  When I run in the development environment the program saves correctly without opening "Save Readings.vi".  However after the complete program is compiled the data will not save unless "Save Readings.vi" is opened when it executes.  I have attached the missing vis
    Attachments:
    Log SQL.vi ‏27 KB
    Connect SQL Server.vi ‏48 KB
    Update Process Info.vi ‏81 KB

  • I have PIXMA MG5320 and I am running Win 8. Software cd does not install. I want to scan, but havin

    I have PIXMA MG5320  and I am running Win 8. Software cd does not install. I want to scan, but having trouble.
    I insert USB stick into USB port on the printer.
    I select SCAn and then select USB.  I select  " <i>" key. I do not find any data on the USB stick.
    What gives?
    I cannot install the software  on Windows 8

    Hi jvandal,
    The CD that came with the PIXMA MG5320 does not include Windows 8 drivers and softare, so you would have to download the drivers and software from our website.  Use the following steps to download the drivers and software:
    Go to Canon's Support & Drivers website at:
    http://www.usa.canon.com/cusa/support/consumer
    Enter your model name into the Model Name field, then click GO.
    Select your operating system in the Select Operating System and Select OS Version dropdown lists, respectively.
    Expand the Drivers section by clicking the red triangle.
    Click on the file named MG5300 Mini Master Setup.
    After reading the details and disclaimer, click 'I Agree Begin Download' and save the file to your computer.
    Once the download is complete, double-click the file from its download location to begin the installation.
    Once complete, click the I Decline Go Back to return to the download page.
    Expand the Software section by clicking the red triangle.
    Click on the file named MP Navigator EX Ver 5.0.0.
    After reading the details and disclaimer, click 'I Agree Begin Download' and save the file to your computer.
    Once the download is complete, double-click the file from its download location to begin the installation.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Step 3 in payment wizard does not populate any BP's?

    Hi all-
    We have a customer that is trying to run the payment wizard for outgoing payments.  In Step 3  the payment wizard does not populate any BP's?  We think we have all of the settings correct.  Is there anything 'not obvious' that might prevent the vendors from populating on this step 3 (we choose all vendor groups and vendors DO have balances).
    Any ideas as to where to look or what to check would be greatly appreciated.
    Thanks Pat.

    Hi Pat,
    the most common reason for this is that no payment run defaults were selected. As for the definitions necessary, please have a look at note 725786 - Definitions necessary for the payment wizard.
    All the best,
    Kerstin

  • Match Regular Expression does not match what Match Pattern does

    I have read through a lot of posts about how Match Pattern does not match what Match Regular Expression will due to not processing some characters.
    However, I found a problem with the other way. A simple Reg-Ex that works in Match Pattern but not Match Regular Expression.
    What I have here is just an example. I want to use Match Regular Expression so I can specify some sub-matches.
    The reg-ex is for: one or more non-numeric characters, a space, one or more numeric characters. At the start of the string.
    How can I get this working in Match Regular Expression? I am working in LabVIEW 2010f2 32 bit. Here is the code snippet and the results:
    Rob
    Solved!
    Go to Solution.

    Robert Cole wrote:
    I think I prefer the ~ for negation since ^ is also used for beginning of the string. But we work with what we have.
    Let me offer you a tip and perhaps defend the honor of the regex a little bit.  One of my favorite features of regexes is the ability to specify character classes (and their negation).  One of the reasons I have to think about the ~ versus ^ is that I rarely use ^ in a regex alternative. 
    Some examples:
    [0-9] = \d (digit)
    [^0-9] = \D (not a digit)
    The equivalent regex for your case is: \D+ \d+

  • Group shows in contacts but does not populate to send?

    Say I want to send or forward an email to a group-- it works fine from the desktop. Although the iPhone Contacts book shows all members correctly, so I guess they are syncing properly, and when I type the name into the Send To field it autofills the group name, it then informs me that this doesn't look like a valid email address and does not populate with group addresses. 
    I see a number of folks have had similar questions but I'm not seeing an answer. IS there one? (iPhone 4, latest OS)

    the hd of the macbook shows both the old itunes folder (4123 songs, 25 GB) AND the new itunes folder (all songs, same size)
    both? on the new MB? where are these located?
    Your iTunes folder should be in the SAME relative position on the new Mac as on the old. If not, then try copying it to that place (e.g. ~user/Music/), then relaunch iTunes with the option key held down, and when asked to Choose Library.., point it to your iTunes folder. (iTunes needs a Library file pointing to a Music folder in order to display and play your music.)

  • I have an Iphone 5 that my friend gave me that does not work and i want to know how many gb it is. How can I tell?

    I have an Iphone 5 that my friend gave me that does not work and i want to know how many gb it is. How can I tell?

    Ask your friend? What difference does it make if it does not work?

  • Does not print what is shown in bounding box

    PE9:
    I have a 5.33 x 4 sized photo (.psd). What is shown in the bounding box does not print - it is cut off.
    In #2 (printer settings) I have tried both borderless 4 x 6 and just 4 x 6, landscape.
    In #3 (paper size), I have selected 4 x 6.
    In #5 (select print size), I have tried both actual size & 4 x 6, with the crop to fit box unchecked.
    It makes no difference, the photo printed cuts off the top & bottom of the photo.
    It does not print what is shown in the bounding box.
    I added text but did not flatten yet.

    Please relaunch PSE and update or reinstall printer drivers. Also reset the PSE preferences by:
       1. Close Elements.
       2. Launch the Photoshop Elements Welcome Screen and hold down ctrl + alt + shift as you click Edit.
       3. Continue to hold the keys until you see a message box asking if you want to delete Photoshop Elements settings file; click Yes. Elements will open with default preferences.
    4. try printing now.
    Do enable print preview from printer preferences to check what is the preview printer is showing which is passed to printer for output. try priting from Organizer.
    For paper/color saving i would recommmend try priting in XPS or Adobe PDF and check the output and then print on actual paper
    Let me know your comments,
    thanks,
    Garry

  • HT4972 i have gotan update on my itunes that should allow me update my iphone 4g from ios 4 to ios5 but whenever i try to update it it does not work what do i do

    i have gotan update on my itunes that should allow me update my iphone 4g from ios 4 to ios5 but whenever i try to update it it does not work what do i do

    Well... if you really want help, you could start by providing some details of what happens when you try to update.

  • I have the macBookPro and the problem is the mouse pad does not work I tried everything but still does not work what should i do ?

    I have the macBookPro and the problem is the mouse pad does not work I tried everything but still does not work what should i do ?
    so i'm using the usb mouse

    I want to clarify the issue.
    The issue is with the MBP trackpad, and it works fine with an attached USB mouse.
    With some ingenuity, you might be able to fix this yourself, but I suggest visiting your local Apple Store/Genius Bar. Some have fixed this issue and have posted their results online, but the Apple Store should be your first destination.
    Post here with your results!!

  • I would like to use my work exchange email on my macbook pro.  But I cannot insult it.  I have not problem as on my iPhone or iPad.  My work IT person does not know what is wrong.

    I would like to use my work exchange email on my macbook pro.  But I cannot install it.  I have no problem my work email on my iPhone or iPad.  My work IT person does not know what is wrong.  Why I try to set up the email I get the message that it cannot connect to this server. 

    Try going into System Prefereces then Mail, Cintacts & Calendars then click on the Microsoft Exchange link on the right. Type in your email address and password and allow it to set it up automatically.
    Make sure your Mac is updated to the newest version of Mail.
    If that still fails then I suggest you switch email clients. I don't care for the built in mail program. IMHO it is very buggy.

Maybe you are looking for

  • Does the power adapter work with any country's voltage input

    Hi, My name is Jo, I am in South Africa and wish to purchase a 13inch MacBook Pro online. (The companies here charge ridiculous prices when buying locally - up to 500$ in addition to what Apple charges online!!) I believe that I will receive the best

  • PO Confirmation - At header level

    HI Experts, Can we configure PO Confirmation at header level?? Regards, Jackie

  • Modify Delivery Date in PO at line item level

    Hi, when we create line items in PO, there is a fiels called dilivery date at line item level. I want it to modify by fetching the value of delivery date from custom table on the basis of some selection criteria during PO creation. Please anyone can

  • ConfigDoc to implement Live web collaboration/Co- browsing in B2C

    Hi All, We are working to implement Live Web collaboration . Please let me know the Configuration steps to implement Live web collaboration/Co- browsing in B2C WEBSHOP in SAP crm 7.0 Any document regarding the same would be sincerely helpful Thanks i

  • How do I delete TV shows off my ipad?

    I have bought various episodes of different tv shows and I need to delete them for space. I have tried to swipe to the left and to press on the shows name to get the "x" but neither of those work. Is there another way?