Data- selections in listbox and to get the itab fields seperatly

Hi All,
Can anyone help me out with listbox data-selection.
In the listbox in at 'selections' i am giving itab type standard table.
Its accepting only the standard type itab.
its not accepting itabs with headers.
so I have given table as standard type.
In the oninputporcessing also I have given same itab.
but when I trying to save these data->selection into another table using another itab
I am getting problem that me->selections are not possible.
I am getting data from one table and saving in the another table which is different from previous but having same key.
Hope you understood my problem.
Please help me out.Thanks in advance.
Regards,
Suneetha

<%@page language="abap"%>
<%@extension name="htmlb" prefix="htmlb"%>
<htmlb:content>
  <htmlb:page title = "BSP Extension: HTMLB / Element: listBox">
    <htmlb:form>
<% data: itab_map type standard table of ZPRODUCTS.
SELECT * INTO CORRESPONDING FIELDS OF TABLE itab_map  FROM ZPRODUCTS.%>
                       <htmlb:listBox  id  = "List"
                                       multiple = "true"
                                       table= "<%=itab_map%>"
                                       nameOfKeyColumn   = "PRODUCTS"
                                       nameOfValueColumn = "PRODUCTNAME"
                                    <%--  selection = "SAPProduct-PRODUCTS" --%>
                                             selections  = "<%=itab_map%>"
                                             width = "300"
                                             size = "15"
                                 />
        <htmlb:button  id    = "Save"
            text  = "Save"
            tooltip = "button tooltip: Please click me to save"
            onClientClick = "alert('Selected data saved')"
            design = "small"
            width = "30"
       />
oninputporocessing
CLASS CL_HTMLB_MANAGER DEFINITION LOAD.
Optional: test that this is an event from HTMLB library.
IF event_id = CL_HTMLB_MANAGER=>EVENT_ID.
See if upload is triggered from button
  DATA: event TYPE REF TO CL_HTMLB_EVENT.
data:begin of itab2,
       itab2_syname type ZPRODUCTSAVE1-sy_uname,
       itab2_product type  ZPRODUCTSAVE1-PRODUCTID,
       itab2_productname type ZPRODUCTSAVE1-PRODUCTNAME,
       end of itab2.
data: itab_map type standard table of ZPRODUCTS.
  event = CL_HTMLB_MANAGER=>get_event( runtime->server->request ).
  IF event->id = 'save' AND event->event_type = 'click'.
    DATA: data TYPE REF TO CL_HTMLB_LISTBOX.
    data ?= CL_HTMLB_MANAGER=>GET_DATA(
                                       request = runtime->server->request
                                       name    = 'listbox'
                                       id      = 'List'
    IF data IS NOT INITIAL.
   itab_map = data->selections.
    ENDIF.
move 'sy-uname' to itabsave-SY_UNAME.
move itab_map-products to itabsave-products.
move itab_map-productname to itabsave-productname.
  ENDIF.
ENDIF.
isted of
data: itab_map type standard table of ZPRODUCTS.
if I declare it as
data: begin of itab_map,
      products type ZPRODUCTS-products,
      productname type ZPRODUCTS-productname,
      end of itab_map.
at data selections it not accepting itab_map.
But i need this header type while I want to save the selected fields in the another table itab.
Regards and thanks,
Suneetha

Similar Messages

  • I-photo:  I used 2 cameras to take pictures on a trip --- i have put the pictures from both cameras into an album --- when i click on view and then sort by date, the pictures do not sort by date --- any ideas on how to get the pics sorted by date?

    I-photo:  I used 2 cameras to take pictures on a trip --- i have put the pictures from both cameras into an album --- when i click on view and then sort by date, the pictures do not sort by date --- any ideas on how to get the pics sorted by date?

    Select all the photos that you need to change, then click the "Photos" menu and choose "Adjust Date and Time".
    If you add a year, it will adjust all the photos that you selected by adding a year (so if you accidentally select one of the photos that already has "2012", that will change to "2013"). 

  • I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless i select the list in the sub file. How do I get backto the old method of seeing and using iTunes??

    I Just received the update to iTunes, when I I look at the screen I do not see the normal icons.  When I select movies I do not get the new downloads unless I select the list in the sub file. How do I get back to the old method of seeing and using iTunes??

    I can tell you that this is some of the absolutely worst customer service I have ever dealt with. I found out from a store employee that when they are really busy with calls, they have third party companies taking overflow calls. One of those companies is Xerox. What can a Xerox call center rep possibly be able to authorize on a Verizon account?  I'm Sure there is a ton of misinformation out there due to this. They don't note the accounts properly or so everyone can see them. I have been transferred before and have asked if they work for Verizon or a third party also and was refused an answer so, apparently they aren't required to disclose that information. I spent a long time in the store on my last visit and it's not just customers that get the runaround. It happens to the store employees as well and it's beyond frustrating.

  • After installing iOS6, my Maps are not working at all, anything i search it says "result not found" even after placing a pin and selecting "Direction to here" i get the same result not found. Very disappointed with the new iOS

    After installing iOS6, my Maps are not working at all, anything i search it says "result not found" even after placing a pin and selecting "Direction to here" i get the same result not found. Very disappointed with the new iOS.

    Have you run it in a debugger? That will show you exactly what is happening and why.

  • I am using the trial version of CC and cannot get the auto blend layers working despite following many videos on youtube etc. I have selected all layers but no matter which order I select etc all I get is an output of the first file in the stack - help!!

    I am using the trial version of CC and cannot get the auto blend layers working despite following many videos on youtube etc. I have selected all layers but no matter which order I select etc all I get is an output of the first file in the stack - help!!

    <moved from Adobe Creative Cloud to Photoshop General Discussion>

  • HT2188 I have an iphone 3GS that keeps getting the message "charging not supported by this device" Dismiss I have tried other usb adapters, car chargers, and directly hooked to the computer and still get the error message. Software is up to date as well.

    I have an IPhone 3GS that keeps getting the message "charging not supported by this device" Dismiss. I have tried several different ac adaptors, car chargers and even directly connected to USB on computer and still get the same message. Software is up to date as well. Help!

    Clean the dock connector with a soft dry brush.    

  • Hi, my itunes will not work.  I get a message saying it is out of date.  But I have uninstalled and reinstalled itunes and I get the same message?

    hi, my itunes will not work.  I get a message saying it is out of date.  But I have uninstalled and reinstalled itunes and I get the same message?

    When uninstalling iTunes on your windows computer, there is a specific way it must be done in order to completely uninstall all components of the software.  Ensure you follow the article for your correct OS.
    Did you do this when uninstalling??
    Windows XP - http://support.apple.com/kb/HT1925.
    Windows Vista or Windows 7 - http://support.apple.com/kb/HT1923.

  • I am trying to load iTunes and keep getting a error 126 and reinstall program.  I have uninstalled and reinstalled twice and keep getting the same error message.  How can this be resolved.

    I am trying to load iTunes and keep getting a error 126 and reinstall program.  I have uninstalled and reinstalled twice and keep getting the same error message.  How can this be resolved?

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • When I try to update an app in the App Store i get a message "There was an error in the App Store. Please try again later. (13)"  I have tried many many times and keep getting the same message.  How do I resolve?

    When I try to update an app in the App Store i get a message "There was an error in the App Store. Please try again later. (13)"  I have tried many many times and keep getting the same message.  How do I resolve?

    First take the steps recommended in this support article. If there's no change, continue as follows.
    Back up all data.
    Triple-click anywhere in the line below on this page to select it:
    ~/Library/Cookies/com.apple.appstore.cookies
    Right-click or control-click the line and select
    Services ▹ Reveal in Finder (or just Reveal)
    from the contextual menu.* A folder should open with an item selected. Quit the application if it's running. Move the selected item to the Trash. Relaunch the application and test.
    *If you don't see the contextual menu item, copy the selected text to the Clipboard by pressing the key combination  command-C. In the Finder, select
    Go ▹ Go to Folder...
    from the menu bar and paste into the box that opens by pressing command-V. You won't see what you pasted because a line break is included. Press return.

  • My MacBook Pro mid 2012 laptop continuously lags on every web site and I get the spinning beach ball very often but when I log in as a guest, everything works fine. What should I do to fix this?

    My MacBook Pro mid 2012 laptop continuously lags on every web site and I get the spinning beach ball very often but when I log in as a guest, everything works fine. What should I do to fix this?

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • I am trying to install software and am getting the following prompt.Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT. How do I repair this

    I am trying to install software and am getting the following prompt.
    "Installation Failed, the installer cant create the folder "var/folders/sq/2fzf3s_d2bzb21159nbwkb2r0000gn/T//install.3732dq0ogT.
    How do I repair this

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line on this page to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -R $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password. Nothing will be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Take this step only if you have trouble with Step 1 or if it doesn't solve the problem.
    Boot into Recovery. When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • My Safari is not working  right.  It often stalls and I get the "colored spinning wheel of Death".  I send reports to Apple, but I never get any response or helpful info.  What do I do to get Safari working correctly on my MacBook laptop?

    My Safari is not working  right.  It often stalls and I get the "colored spinning wheel of Death".  I send reports to Apple, but I never get any response or helpful info.  What do I do to get Safari working correctly on my MacBook laptop?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the errant extension by uninstalling and reinstalling it. Its settings will revert to their defaults. If the extension still causes a problem, remove it permanently or refer to its developer for support.
    Uninstall the McAfee product by following the instructions on whichever of the pages linked below is applicable:
    How to install or uninstall McAfee Internet Security for Mac
    How to manually remove VirusScan for Mac 8.6.x using a removal script
    How to uninstall and reinstall McAfee Agent 4.x on Macintosh computers
    Note that if you have already tried to uninstall the software, you may have to reinstall it in order to finish the job. If you have a different version of the product, the procedure may be different.
    Back up all data before making any changes.

  • Elements has stopped working and I get the error missing "_crtcreatesymboliclinkkw in msvcp100.dll" can anybody help

    Elements 13 has stopped working and I get the error message "missing _crtcreatesymboliclinkkw in msvcp100.dll" can anybody help

    Go to Control Panel > Add or Remove Programs (Win XP) or Programs and Features (later)
    Remove all of these items in the following order:
    iTunes
    Apple Software Update
    Apple Mobile Device Support (if this won't uninstall move on to the next item)
    Bonjour
    Apple Application Support
    Reboot, download iTunes, then reinstall, either using an account with administrative rights, or right-clicking the downloaded installer and selecting Run as Administrator.
    The uninstall and reinstall process will preserve your iTunes library and settings, but ideally you would back up the library and your other important personal documents and data on a regular basis. See this user tip for a suggested technique.
    Please note:
    Some users may need to follow all the steps in whichever of the following support documents applies to their system. These include some additional manual file and folder deletions not mentioned above.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    tt2

  • I have tried to view videos created in premiere elements 10 and I get the following message: "this file type is not supported, or the required codec is  not installed.  When it opens there is a red screen in the monitor panel with Korean writing which als

    I have tried to view videos created in premiere elements 10 and I get the following message: "this file type is not supported, or the required codec is  not installed.  When it opens there is a red screen in the monitor panel with Korean writing which also appears in the place of each clip in the video.  I tried uninstalling and reinstalling premiere elements 10, but that did not have any effect on the video.  Do you have any suggestions?  I researched codec, but do not understand them at all.

    gloucester
    In case you did not find it, the following is a copy/paste of the Announcement on Premiere Elements 19/NVIDIA GeForce
    that appears at the top of this forum.
    Premiere Elements 10 NVIDIA Video Card Driver Roll Back
    If you are a Premiere Elements 10 user whose Windows computer uses a NVIDIA GeForce video card and you are experiencing
    Premiere Elements 10 display and/or unexplained program behavior, then your first line of troubleshooting needs to be rolling
    back the video card driver version instead of assuring that it is up to date.
    Since October 2013 to the present, there have been a growing number of reports about display and unexplained workflow
    glitches specific to the Premiere Elements 10 user whose Windows computer has a NVIDIA GeForce video card. If this applies
    to you, then the “user to user” remedy is to roll back the NVIDIA GeForce video card driver as far as is necessary to get rid of
    the problems. The typical driver roll back has gone back as far as March – July 2013 in order to get a working Premiere
    Elements 10. Neither NVIDIA nor Adobe has taken any corrective action in this regard to date, and none is expected moving forward.
    Since October 2013, the following thread has tried to keep up with the Premiere Elements 10 NVIDIA reports
    http://forums.adobe.com/thread/1317675
    Older NVIDIA GeForce drivers can be found
    http://www.nvidia.com/Download/Find.aspx?lang=en-us
    A February 2014 overview of the situation as well as how to use the older NVIDIA GeForce drivers for the driver roll back can be found
    http://atr935.blogspot.com/2014/02/pe10-nvidia-video-card-roll-back.html
    ATR

  • While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation a

    While installing Acrobat XI Pro, the installation automatically rolls back and I get the message "The wizard was interrupted before Adobe Acrobat XI Pro (11.0.07) could be completely installed. Your system has not been modified. To complete installation at another time, please run setup again." How to resolve it.
    How do I modify the system.

    Hi Rgardezi,
    The only reason why Acrobat installation fails and throw this error message is when there are some services running in the background causing the installer not to complete the installation. My take is try the following steps and suggest if you were able to install the products or not :
    1) Navigate to control panel and confirm that there is no line Item that talks about Acrobat. If you see Acrobat XI listed there, please remove them.
    2) Perform a selective Start up using the steps mentioned in this link.
    Please suggest if the above mentioned steps were able to resolve the query for you or not.
    Cheers,
    Kartikay Sharma

Maybe you are looking for

  • Ipod Won't start, no error message.

    Well, heres my problem and its rather frusterating T_T I click on Itunes and the little time thingy appears next to my curser, then Itunes just doesn't start. I noticed that in Task manager Itunes will show up, then vanish after a moment. Alittle hel

  • Reading dynamic table column based on user selection

    Hi there, I am having a problem of reading and manipulating the data stored in a standard SAP table. The following example simulates the table and what i am trying to do: Table: Storing sales data for sales person SALES_PERSON    REGION   YEAR   MTH_

  • In EDI to IDOC or Idoc to EDI can we go for Dynamic recevier determination

    Hi all    I am doing an EDI to IDOC scenario involving SEEBURGER( AS2) adapter .can we go for extended receiver determination Regars Saurabh

  • IR Error Message

    Have been making some develpment changes.  System used to run.  Since my changes I'm getting a fatal error message: On Post Process () Event Script Error Under detail is says : System Stack Trace Unavailable What does any of this mean? How do I resol

  • Lync.exe - Entry point not found

    Hi, I currently have problem with my Lync 2013 - or Skype for Business, as it's called now. It was working fine until recently, when I started getting error: "The procedure entry point ?IID@RateMyCallModel@LyncModel@@2U_GUID@@B cound not be located i