*How can we use the internal table in module pool programming? Clarify plz*

If we creating a screen using the table having four fields(for e.g.). The screen has the functions of display, modify, delete, save, exit etc for the fields. The front-end of the screen having I/O fields of the table using internal table. How can we declare the internal table in the screen?

HI,
Create one WA for your Internal table and then map it to your fields.
For Example,
Data : begin of wa,
          name(10),
          age type i,
           end of wa.
data : it like table of wa with header line.
Then in screen create input fields with the name, age and ***.
Then the user entered values are stored in name age and ***.
then you can manipulate with that values using wa.
Thanks.

Similar Messages

  • How can i use the internal table as a WHERE clause ?

    Dear Support ,
    I have one internal table that save the material information ...
    data : begin of itab ,
              matnr like mara-matnr ,
    end of itab .
    And now i want to fetch the material desription text base on this internal table .
    As i know that the "FOR ALL ENTRIES" statement is not allowed us to use "IN" this keyword ....
    So , Has another solution for this case ? I don't want to use "LOOP AT ...." this way ...
    Many thanks .
    Carlos

    Why can't you do
    SELECT MATNR MAKTX INTO TABLE ITAB2 FROM MAKT FOR ALL ENTRIES IN ITAB WHERE MATNR = ITAB-MATNR.

  • How can i use the nested table in form 6i

    how can i use the nested table in the form 6i
    ( i.e i want to insert record into the nestred table field ).
    bye siddharth singh

    Nested tables are not supported in Forms 6i, only simple object tables.

  • How can I use the Control Design & Simulation module in the Mobile (PDA) modul?

    Hi everyone!
    I have to create Bode and Nyquist plot from Transfer function on a PDA, but I can't use CD&S Modul when I'm opening a new Mobile project.
    Thank you for your answer!
    Sincerely yours,
    Jenő Kocsis

    Jenő Kocsis wrote:
    Hi everyone!
    I have to create Bode and Nyquist plot from Transfer function on a PDA, but I can't use CD&S Modul when I'm opening a new Mobile project.
    Thank you for your answer!
    Sincerely yours,
    Jenő Kocsis
    Does it have to any transfer function? Or is it some limitations
    Besides which, my opinion is that Express VIs Carthage must be destroyed deleted
    (Sorry no Labview "brag list" so far)

  • JPA - How can I use the table's default Date types? e.g. CURRENT_TIME

    Once again, can't find an answer anwhere.
    I would like to know if/how one can use the default date/time/datetime types as declared for the target table when attempting to persist an entity having these fields set as null.
    create table item
         item_id INTEGER NOT NULL PRIMARY KEY DEFAULT AUTOINCREMENT,
         date_created DATETIME NOT NULL DEFAULT NOW(*),
         date_updated DATETIME NOT NULL DEFAULT NOW(*),
    );Now how can I get the above table to work when attempting to em.persist(myItem) whereby dateCreated and dateUpdated are both null?

    I should also mention that TopLink has always supported the ability to retrieve the current time from the database for use in optimistic locking. The TimestampLockingPolicy offers the ability to configure the next value being retrieved from the database instead of using the local time from the JVM. Our extended optimistic locking configuration does not currently support setting this option but it could be done using a descriptor customizer which can be configured in your persistence unit properties.
    Using optimistic locking may be a good solution for the last modified date since it will also ensure that you do not corrupt the database if someone else has incremented this value since your last read.
    Doug

  • How can i disable the internal speakers without voiding the warranty?

    The students here annoy other students trying to study, I have made an extension for the headphone so that it is mounted under the monitor, facing the front and hot glued the headphone jack to the back, but the students ripped out the extension and threw it away so that they could play very awful music and annoy everyone.
    How can I disable the internal speakers on our imacs without voiding warranty? There has to be a way!
    Thanks-

    Have you considered corporal punishment? One instructor I had in high school, when he had detention duty, played classical music an operas all during detention. He was quite "evil". He would have some slow "sleepy" music going for a bit, then it would throw in something to wake every one up like the 1812 Overture or something, and repeat this a few times...and have the music loud enough to prevent talking. Many detention-ees thought that was "cruel and unusual punishment." (LOL)
    But to your question. Since opening the case would normally void the warranty (unless you can find a empathetic Apple technician), what I would suggest is a "sleeve". Imagine some sheet metal and form it into a rectangular tube. The tube would closely follow the shape of the iMac covering all the cable ports. Then bolt the tube and iMac to the table. (Or at the very least, bolt the tube to the iMac.) Basically, make it so that there little room between the tube and iMac, that no one could access the ports without removing the tube. You'll also need to secure the cables to the tube so that no one can just pull out the cables, yet leave enough slack to allow for removal of the tube for maintenance. Even if the metal is not a full tube, but the Mac and metal is bolted to the table in such a way as to prevent access to the ports could be sufficient deterrent. If metal is not possible, then perhaps plastic or wood.
    I realize that is requires some work, and there is a drawback as pranksters could start dropping stuff inside the tube. Perhaps just have a clear plastic "wall" preventing all physical access to the Mac. Only a USB extension cable for the keyboard/mouse. Use Remote Disk sharing to mount CDs, if necessary.
    Some thoughts, anyway. Good luck!

  • How can I use the Rownum/Customized SQL query in a Mapping?

    Hi,
    * I need to use a Rownum for populating one of the target field? How to create a mapping with Rownum?
    * How can I use an Dual table in OWB mapping?
    * Can I write Customized SQL query in OWB? How can I achieve this in a Mapping?
    Thanks in Advance
    Kishan

    Hi Niels,
    As I'm sure you know, the conundrum is that Reports doesn't know how many total pages there will be in the report until it is all done formatting, which is too late for your needs. So, one classical solution to this problem is to run the report twice, storing the total number of pages in the database using a format trigger, and throwing away the output from the first run when you don't know the total number of pages.
    Alternatively, you could define a report layout so that the number of pages in the output is completely predictable based upon, say, the number of rows in the main query. E.g., set a limit of one, two, ... rows per page, and then you'll know how many pages there will be simply because you can count the rows in a separate query.
    Hope this helps...
    regards,
    Stewart

  • How can I use the field "Sales Order" on derivation?

    Dear All.
    This is about PA characteristic derivation.
    I want to change the characteristic value "Sales Order (KAUFN)" by derivation.
    But I cannot select the characteristic field on target field.
    The field "Sales order(KAUFN)" doesn't exist there.
    Why? How can I use the field "Sales Order" on derivation?
    Y.C.Bae

    Hi Bae,
    in order to be able to choose fields KAUFN (for sales order) and KDPOS
    (for sales order item) as target fields of derivation step 'enhancement'
    you have to modify the coding of subroutine EXIT  GET_ALLOWED_TARGETS
    in program RKEDRCOPA like this:
        NAME-IDENTIFIER = 'CO-PA'.
        NAME-TABNAME = FIELDTAB_ENTRY-TABNAME.
        NAME-FIELDNAME = FIELDTAB_ENTRY-FIELDNAME.
        IF FIELDTAB_ENTRY-USGFL CA 'DUV'
    BEGIN OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KAUFN'
             OR FIELDTAB_ENTRY-FIELDNAME = 'KDPOS'
    END   OF INSERTION *****
             OR FIELDTAB_ENTRY-FIELDNAME = 'KNDNR'
             OR FIELDTAB_ENTRY-FIELDNAME = 'ARTNR'
    Actually sales order number and sales order item shouldn't be changed
    by derivation (therefore they are no valid target fields in standard)
    but if you need to fill them within an enhancement this modification
    will help you to define them as valid target fields. But this is just
    the technical frame so far; the logic from which table you'd like to
    derive the sales order number correctly depends on your implementation
    of the enhancement! I just want to ask you to be rather careful with
    the implementation of the exit so that the sales order number isn't
    changed in cases that shouldn't be concerned.
    Regards,
    Abhisek

  • How can utilize/use  the extended space in system.img ?

    Hello Guru's
    In Oracle VM , How can utilize/use the extended space in system.img ?
    a) Increased the system.img size using the following command:
    # dd if=/dev/zero bs=1M count=12960 >> /OVS/running_pool/18_test1/System.img
    b) Verified the added size of system.img file at OVS server.
    # ls -lh System.img
    -rw-r--r-- 1 root root 19G Feb 9 20:58 System.img
    c) Started GVM and additional size/memory is not shown ?
    # df -m
    Filesystem 1M-blocks Used Available Use% Mounted on
    /dev/xvda2 3984 2292 1652 59% /
    /dev/xvda1 92 12 75 14% /boot
    tmpfs 512 0 512 0% /dev/shm
    + Tried working with resizefs , resize2fs , cmd did not work.
    (GVM is created using Oracle provided template)
    + am i missing anything ?
    Oracle VM Setup Detail:
    oracle-logos-4.9.17-7ovs
    enterprise-linux-ovs-5-0.17
    ovs-release-2.2-0.17
    ovs-utils-1.0-33
    kernel-ovs-2.6.18-128.2.1.4.9.el5
    ovs-agent-2.3-29
    Thanks in advance for your help.
    Best Regards
    Basu

    I am not positive what you did is going to work, but it seems like you did the equivalent of imaging a small disk on a bigger disk. In that case, the first thing to do is update the partition table with fdisk. Start with fdisk -l in the vm for general information about the disk. Hopefully, the additional space will show. Then, work with fdisk to use the extra space. The easiest is to add a partition, then a file system on it. It is also possible to expand the last partition (you might have to delete it first), then expand what is on it (may be RAID, LVM, or the file system), layer by layer. As usual with fdisk, you run the risk of thrashing it all, so you may want to practice on a copy first. Obviously, the extra space can only be added to the last partition of the small disk.
    If the situation is more complex, you may have to boot a VM with both the small disk and the big disk at the same time. If you boot the VM off of an iso DVD image, you can then shell out, then run fdisk to partition the big disk the way you want, then use dd to copy the partitions you want in the order you want from the small disk. I am pretty sure not all combinations will work, but you get the idea. You can then take the small disk out, and boot off of the big disk.
    Come to think of it, you might just be better off with adding more space as a second virtual disk. You would then be free to partition/format it the way you want without messing with the first disk. Linux is so good with disk management, so many options.
    As a general statement, though, I like to put some distance between the high level file systems and the low level disk partitions, so I use LVM (Logical Volume Manager).
    Best of luck, keep us posted.

  • How can we use the SDXC PORT ?

    Hi,
    Im intending to buy a Macbook pro 15" and i wonder how can i use the SDXC to boot my future macbook.
    I heard there is out there some cards to make it boot faster. I am not talking here about sd camera cards.
    And do you think i made the right choice by choosing the 15" 2.2 ghz i7 ?
    Thank you

    fane_j wrote:
    There's only one way to make your "mac faster and use it every day"—replace the internal disk drive with an SSD, or replace the internal SSD with a bigger and faster SSD.
    Disk I/O has alwas been the main bottleneck of all computers. So you either make it occur faster or you reduce de times it needs to occur.
    In the "faster" section, the issues I have with SSDs are several:
    Their price still needs to go down way more. The cost per MB of SSD-based storage is still vastly greater than that of HDDs. Yes, if you compute in extreme environments like karting down Baja or skydiving off the Himalayas, a ruggedized SSD is great, but most of us mortals live in the safe confines of a homey office.
    The size of SSDs has to expand much more. Yes, they are inching up to the 500GB size, but HDDs are at 1TB and promise to break that barrier before the year is out.
    If you purchase your SSD preinstalled in your Mac, you will be paying a big premium, compared to marketplace SSDs, even those from the same maker but not Apple-branded. This also applies to RAM.
    If you put in a non-Apple-branded SSD, Lion will not enable TRIM support by default and you will have to go "under the hood" to enable it. Without TRIM, you will not get the full performance and durability benefit of an SSD.
    Might be me, but I prefer to stick with HDDs for now, just making sure they are of 7200RPM spindle speed.
    In the "reduce" section, must point out that Lion is a 64-bit beast. Meaning that all data structures are twice the size of previous 32-bit cats. Regardless of "minimum" specs, 4GB RAM is the new practical minimum and 8GB makes the fat cat much happier. But buying RAM from Apple is not a financially wise decision; an 8GB upgrade from reputable vendors can be had for around $40, in stark comparison to the $200 premium charged by the Apple store. For the same $200 or a bit less, you can get a 16GB upgrade instead, not officially sanctioned but that works just fine with the latest model Macs. In this case, I don't think the OP will need as much, but it is something to take under consideration. The extra RAM will drastically reduce the disk-based paging that the memory management carries out, thereby minimizing that bottleneck.

  • How can i update the ADRT table REMARK field

    How can i update the ADRT table REMARK field
    by using only function modules or BAPI's not by direct update's
    please help me
    i need it urgently

    Hi,
    you can try this code:
        SELECT SINGLE * FROM KNA1 WHERE KUNNR = wa_kunnr.
        IF sy-subrc = 0.
          CLEAR adrct.
          SELECT SINGLE * FROM adrct WHERE addrnumber = kna1-adrnr.
          IF sy-subrc = 0.
            adrct-remark = wa_remark.
            MODIFY adrct.
          ENDIF.
        ENDIF
    best regards,
    Thangesh

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • How can I use the print module to print different size images on one large "canvas"?

    How can I use the print module to print different size images on one large "canvas"? An example would be in Photoshop, go to file>new, and create the size paper I want, and move images of different sizes onto it.
    I was thinking the print module would do this automatically for me.

    You can't, at present. It's been a requested feature, so we'll see if it shows up in a future version, but it's not there at present.

  • How can I use the QR codes with my iPad 2. do I need to download first an app ?

    How can I use the/read the QR codes with my iPad 2 ? Do I need to download an app ?

    Yes.  There are quite a few available for free in the app store

  • I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV?

    I have an Apple MacBook Pro with 2 USB ports and a MiniDisplay Port. I also have an HDTV with a HDMI port. How can I use the TV as a display without any tethering wires between my computer and the TV? I have a MiniDisplay Port to VGA adapter, but there are two issues with it: The new display doesn't have a VGA port, and even if it did, I wouldn't want to have my mac constantly attached to the display by a cable. I was looking for a way to use the TV as a display without any wires. Is there some type of bluetooth setup I could use? Please let me know if you have any suggestions.

    As I wrote above, I think you should look into the Apple TV yourself. The best place to find information about what it can and can't do and to ask your own specific questions is probably in the Apple TV forum, here:
    https://discussions.apple.com/community/appletv/appletv

Maybe you are looking for