Clean programming

dear all,
my problem to implement a dynamic programming.
What is to do?
More details here in this two points:
I have here an ITAB which is DYNAMIC!!!
loop at ITAB assigning <fs_wa>
1)  Here I have to get the table keys of the ITAB
2) I have to search with the primaery key values in the same table ITAB. 
endloop.
how I have to point 2. Is there any method or fuba in sap standard?
thank you very much
Moderator message: please use more descriptive subject lines for your posts.
Edited by: Thomas Zloch on Jun 18, 2011 11:03 AM

When you say this ITAB is dynamic, it means generic (e.g. TYPE ANY)?
Have a look at [Field Symbols|http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/frameset.htm].
You dont need to know column name:
DATA: BEGIN OF LINE,
        COL1 TYPE I VALUE '11',
        COL2 TYPE I VALUE '22',
        COL3 TYPE I VALUE '33'.
DATA: END OF LINE.
DATA: COMP(5) VALUE 'COL3'.
FIELD-SYMBOLS: <F1> TYPE ANY,
               <F2> TYPE ANY,
               <F3> TYPE ANY.
ASSIGN LINE TO <F1>.
ASSIGN COMP TO <F2>.
DO 3 TIMES.
  ASSIGN COMPONENT SY-INDEX OF STRUCTURE <F1> TO <F3>.
  WRITE <F3>.
ENDDO.
ASSIGN COMPONENT <F2> OF STRUCTURE <F1> TO <F3>.
WRITE / <F3>.
OR
TABLES sbook.
DATA: name1(20) TYPE c VALUE 'SBOOK-FLDATE',
      name2(20) TYPE c VALUE 'NAME1'.
FIELD-SYMBOLS <fs> TYPE ANY.
ASSIGN TABLE FIELD (name1) TO <fs>.
WRITE: / 'SY-SUBRC:', sy-subrc.
ASSIGN TABLE FIELD (name2) TO <fs>.
WRITE: / 'SY-SUBRC:', sy-subrc.

Similar Messages

  • I used a "cleaning" program to fix registery now bookmarks won't show in the sidebar. the organized bookmarks show in the bookmarks dropdown menu.

    How can I get the bookmarks to show in the sidebar again. It is checked as always but after using a program to clean up unwanted or corrupt files, the bookmarks will not show in the sidebar.

    What cleaning program did you use?
    If you got a pop-up on a website that you were infected then you now probably have caught some malware.
    Do a malware check with a few malware scan programs.
    You need to use all programs because each detects different malware.
    Make sure that you update each program to get the latest version of the database.
    http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    http://www.superantispyware.com/ - SuperAntispyware
    http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    See also "Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked and [[Searches are redirected to another site]]

  • Since installing maverick, my c cleaner program says my operating system is not supported

    Installed Maverick.  My cleasning program says my operating system is not supported.

    Hello,
    The CCleaner Program form Priform does not support OSX Mavericks.
    I personally feel that you do not need a 3RD party cleaning software on your apple computer, due to the fact that the computer performs these tasks automatically.
    here are some links to other Apple Discussions of the same topic:
    https://discussions.apple.com/message/22934635#22934635
    Thanks,
    Matt

  • Context Menu Items Gone After Running "cleaner" program. Help...

    So with the whole Flashback/Flashfake thing I paniced (stupid on my part) ran a virus program called VirusBarrier Express and ran CCleaner (again, stupid me). Hoping I would clear off unused or harmful files I apparently in the process messed up my context menu. Items that were previously in the context menu are now gone. I did as much reading about possible fixes as I could and this is where everything stands.
    Not every item in the image  below was at the botton of the context menu, but iPack certainly was as well as various other menu items that have since dissapeared.
    While searching the internet I came across a suggestion leading me to "library/Contextual Menu Items" and when I followed that directory for both my user and system I couldn't find a Contextual Menu Items folder. There wasn't any. I've had this "missing file/folder" problem before with preference files; just a side note.
    I created the folder manually and restarted with no change at all.
    Obviously I accidentally deleted something that shouldn't have been deleted. Is there any way to get back those missing items?
    Any help is highly appriciated.

    Thank you everybody for your input and advice! I've deleted the virus software, but if I use any in the future I'll be sure to have only one installed. I initally downloaded multiple ones, but only ran one (VirusBarrier).
    I restored from a Time Machine backup with the help of Apple tech support to before I ran CCleaner (never running something like that again) and the problem fixed itself.
    I will have to be far more wary of running programs in the future. Thank you again for everybody's input and advice!
    (below is what it looked like, or kind of like, before.)

  • Cudnt open creatic cloud exe,after cleaning program now i have Creat Cloud but cant download CC or Light

    cant download  Photoshop C or Light after cleaning av ADOBE Photoshop rest on my PC,now i have Creative Cloud uon my PC but ........................

    Nobody can tell you anything without proper system info or other technical details.
    Mylenium

  • What is a good program to clean macbook pro

    do i need a anitvirus  or cleaner program. for my macbook pro.. if so which one????

    you can try OmniDiskSweeper or OnyX.

  • Cannot open Reader program, no error messages (Windows XP, SP3)

    Hello all! I am hoping someone can provide a solution to my frustration....
    Earlier this summer I was having some computer trouble. The computer was under warranty - HP came out and changed the memory and system board.
    I have not been having any issues except for ONE thing - I cannot open Adobe Reader to view PDF files. Any PDF files on my system show the Adobe icon, but when clicking on a PDF file or the application itself, nothing happens. The hourly glass shows up briefly and then goes away, but otherwise, nothing.
    Temporarily, I got by using another PDF reader. Unfortunately, some of our business systems only work with Adobe, so getting Adobe to work is now critical.
    What I have tried (with no luck):
    1) Uninstalled Reader, did a system search to remove all Reader files, re-installed latest version
    2) Searched the Adobe community and other internet sites for help - tried a Microsoft fix, Adobe cleaner program, went into the Program Files menu to accept the user agreement, etc.
    3) Installed earlier verions (9.5, and then 7.0)
    Any other ideas? I called back HP, and they tried to be helpful but said it was a software issues since all other programs were running successfully. They suggested I re-install the operating system!
    Thank you for your help.
    -Marcus

    My Laptop Specification :-  2GB RAM  ,Dual Core Processer ,300 GB Hard Disk ,Windows XP-SP3
    I would recommend adding 4 GB more, you need at least 4GB-6GB for R12 only (not including the OS).
    Please see if (RW-50004 Installing EBS 12.1.1 Failed At 53 % During OH Registration (Doc ID 1592143.1)) helps.
    Thanks,
    Hussein

  • Proxy Settings Re-Appear after Reboot in Registry Post Malware Clean (Windows 8.1 x64)

    Hey Guys - 
    My main system at home hosts many different things for me.  Because I'm an idiot and had protection disabled, I caught some malware which I cleaned off soon
    afterwards.  The malware was listed as Trojan.Generic.KD or something similar.  It had enabled Proxy and set it to 127.0.0.1:58054.  I ran Malwarebytes, Spybot, then ExecuteIt to clean the malware off and currently the scans from all 3 apps
    come back clean.  I also had to manually disable proxy via IE settings.
    I have one specific app which for whatever reason will use Proxy settings if they are there over anything else and doesn't offer and configuration to disable it.
     Even though proxy is disabled (and cleared) in IE, this app still doesn't work and I still seemingly get redirected to ads in Chrome sometimes.  The log file of the app showed it was trying to connect through 127.0.0.1:58054.  The thing is,
    IE Settings still show Proxy disabled!
    The Issue
    I checked many things are read a few articles to try to fix this including different Windows 8.1 settings, local Group Policy, startup items, checking Run keys
    in HKLM and HKCU for "out of place" entries, and more.  Finally, I opened the registry and did s keyword search for ":58054" and found one key with it.  I cleared out all of the data and set the EnableProxy string from "1"
    to "0", rebooted, and tried again but the app still failed with the same log message.  I went back into the registry and found out that the strings I changed had all been changed back!  Below is the key / strings I'm talking about which
    are located in HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings.  It's odd because I usually deal with HKLM and HKCU and don't think I've ever worked in ".DEFAULT" on any system ever before.
    I know that a full OS re-install is suggested - and I actually do it every 3-4 months religiously - but - I currently don't have the time for the full day it
    takes to perform due to how many things it hosts.
    Any ideas on how I can get this to stop coming back after each restart until I can perform the re-install?  Below are the system specs.  Thanks!
    System Specs
    - Intel i7-3770k / 16gb RAM
    - x3 partitions  256gb SSD for OS & Apps  /  24tb Disk Pool for Storage  /  500gb Hybrid drive for App installs
    - Windows 8.1 Update 1 x64 (Fully Patched)
    Thanks again!
    Ben K.

    Hi,
    .default is the profile for the Local System account and is an alias for
    HKEY_USERS\S-1-5-18, Consequently, settings in HKEY_USERS\.Default are used by programs and services that run as Local System.
    In addition to HKEY_USERS\.DEFAULT\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings, please also check HKEY_USERS\S-1-5-18\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings and HKCU\Software\Microsoft\Windows\CurrentVersion\Internet
    Settings, make sure all proxy server disabled, then press F5 to refresh registry, check the application, if the issue disappears, the the registry entry is the culprit. Then please reboot the PC, if the issue appears again, the virus is not cleared in your
    system. In this case, please try other virus clean program if possible, meanwhile, check if there're unknown software installed in your system.
    Yolanda Zhu
    TechNet Community Support

  • Programs failing to quit & system to shut down

    My Mac has been slowing down, with programs (especially Photoshop, Firefox) failing to close down and sometimes the system fails to shut down, I just get coloured spinning wheel forever. Also Time Machine fails to find the backup disk even though it is on the desktop. After failing to shut down the computer takes an age to start up and I have to turn the backup disk off and on as the icon has disappeared.
    I noticed high cpu usage from mds and mdworker so I've reindexed Spotlight via Terminal and waiting to see if this helps. I also ran Etrecheck and there seems to be stuff there that needs sorting, hoping someone can help me interpret it.
    EtreCheck version: 2.1.5 (108)
    Report generated 2 January 2015 23:30:07 GMT
    Click the [Support] links for help with non-Apple products.
    Click the [Details] links for more information about that line.
    Click the [Adware] links for help removing adware.
    Hardware Information: ℹ️
        Mac Pro (Mid 2010) (Verified)
        Mac Pro - model: MacPro5,1
        1 2.8 GHz Quad-Core Intel Xeon CPU: 4-core
        4 GB RAM
            DIMM 1
                1 GB DDR3 ECC 1066 MHz ok
            DIMM 2
                1 GB DDR3 ECC 1066 MHz ok
            DIMM 3
                1 GB DDR3 ECC 1066 MHz ok
            DIMM 4
                1 GB DDR3 ECC 1066 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en2: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 5770 - VRAM: 1024 MB
            SyncMaster 1680 x 1050 @ 60 Hz
            spdisplays_display_connector
            spdisplays_display_connector
    System Software: ℹ️
        Mac OS X 10.6.8 (10K549) - Uptime: 7:46:26
    Disk Information: ℹ️
        HL-DT-ST DVD-RW GH61N
        WDC WD1001FALS-41Y6A0 disk0 : (931.51 GB)
            - (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 782.76 GB (509.45 GB free)
            BOOTCAMP (disk0s3) /Volumes/BOOTCAMP : 217.10 GB (177.60 GB free)
    USB Information: ℹ️
        Lexmark International Lexmark C544
        Apple, Inc. Keyboard Hub
            Apple Inc. Apple Keyboard
        Griffin Technology, Inc iMic USB audio system
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
    Firewire Information: ℹ️
        Formac Elektronik GmbH Formac Disk Maxi 800mbit - 800mbit max
            - (disk1s1) <not mounted> : 210 MB
            Time Machine FW (disk1s2) /Volumes/Time Machine FW : 749.81 GB (60.62 GB free)
    Kernel Extensions: ℹ️
            /Applications/Transmit.app
        [not loaded]    com.panic.TransmitDisk.transmitdiskfs (4.0.0 - SDK 10.6) [Support]
            /Library/Application Support/Roxio
        [not loaded]    com.roxio.TDIXController (1.1) [Support]
            /System/Library/Extensions
        [loaded]    com.sophos.kext.sav (9.2.0 - SDK 10.8) [Support]
        [loaded]    com.sophos.nke.swi (9.2.0 - SDK 10.8) [Support]
    Startup Items: ℹ️
        ColdFusion8: Path: /Library/StartupItems/ColdFusion8
        MySQLCOM: Path: /Library/StartupItems/MySQLCOM
        Startup items are obsolete in OS X Yosemite
    Problem System Launch Daemons: ℹ️
        [not loaded]    org.samba.winbindd.plist [Support]
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [loaded]    com.adobe.CS4ServiceManager.plist [Support]
        [loaded]    com.adobe.CS5ServiceManager.plist [Support]
        [running]    com.sophos.uiserver.plist [Support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Support]
        [invalid?]    com.adobe.SwitchBoard.plist [Support]
        [loaded]    com.adobe.versioncueCS4.plist [Support]
        [loaded]    com.barebones.authd.plist [Support]
        [running]    com.sophos.common.servicemanager.plist [Support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist [Support]
        [loaded]    com.adobe.ARM.[...].plist [Support]
        [loaded]    com.google.keystone.agent.plist [Support]
        [loaded]    com.macpaw.CleanMyMac.helperTool.plist [Support]
        [loaded]    com.macpaw.CleanMyMac.trashSizeWatcher.plist [Support]
        [loaded]    com.macpaw.CleanMyMac.volumeWatcher.plist [Support]
    User Login Items: ℹ️
        Suitcase Fusion 3    Application (/Applications/Suitcase Fusion 3.app)
    Internet Plug-ins: ℹ️
        JavaAppletPlugin: Version: 13.9.8 - SDK 10.6 Check version
        FlashPlayer-10.6: Version: 16.0.0.235 - SDK 10.6 [Support]
        QuickTime Plugin: Version: 7.6.6
        Flash Player: Version: 16.0.0.235 - SDK 10.6 [Support]
        AdobePDFViewer: Version: 9.5.5 [Support]
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Support]
        iPhotoPhotocast: Version: 7.0 - SDK 10.7
    Audio Plug-ins: ℹ️
        iSightAudio: Version: 7.6.6
    3rd Party Preference Panes: ℹ️
        Adobe Version Cue CS4  [Support]
        Flash Player  [Support]
        MacFUSE  [Support]
        MySQL  [Support]
    Time Machine: ℹ️
        Time Machine information requires OS X 10.7 "Lion" or later.
    Top Processes by CPU: ℹ️
             3%    mds
             2%    activitymonitord
             2%    mdworker32
             1%    firefox
             1%    WindowServer
    Top Processes by Memory: ℹ️
        597 MB    firefox
        292 MB    InterCheck
        289 MB    mds
        180 MB    SophosScanD
        146 MB    SophosAntiVirus
    Virtual Memory Information: ℹ️
        171 MB    Free RAM
        2.20 GB    Active RAM
        1.40 GB    Inactive RAM
        520 MB    Wired RAM
        64.90 GB    Page-ins
        633 MB    Page-outs
    Diagnostics Information: ℹ️
        Jan 2, 2015, 03:44:16 PM    Self test - passed
        Dec 31, 2014, 03:19:43 PM    /Users/[redacted]/Library/Logs/DiagnosticReports/Adobe Photoshop CS5_2014-12-31-151943_[redacted].crash

    Un-install Sophos and CleanMyMac. Neither are needed.
    You do not need to use cleaning programs. They can destroy your computer operation as they may already have done.
    CleanMyMac - Uninstall
    CleanMyMac2 Un-install
    After un-installing, run this program to make sure you got all the pieces.
    EasyFind – Spotlight Replacement
    Sophos Un-install
    Activity Monitor – Monitor Performance Problems  
    Performance Guide
    Why is my computer slow
    Why your Mac runs slower than it should
    Things you can do to resolve slowdowns  see post by Kappy

  • Hard drive running constantly despite no material programs running

    I have an iMac that has been a home computer for about two years now. The hard drive is 1TB, which has 111 GB free. It has 4GB in memory.
    Over the past few weeks it has begun to operate very sluggish and now requires a force shut down of programs regularly because it gets too bogged down. I have noticed that firefox when open on it really has the ability to slow it down. Also, I migrated to iTunes match recently and that program seems to be very very slow now. Finally, we have a ton of pictures on the system which eats up a lot of memory and could be contributing to the problem.
    I have intermediate computer skills and have installed a memory clean program that will free up some memory on occasion when things get slow. However, over the past few days, it takes up to 15 minutes to get the computer out of this frozen state sometimes and the hard drive is moving constantly despite shutting down all programs.
    Would love to get some advise for things I can do to manage this. I don't like force closing apps because I know that can be nuclear to a mac...but it's my only option sometimes. Again, I am fairly new to mac and have basic skills, so please speak plainly and clearly with any advice.
    Thanks!

    Good, that rules that out - some of them are known to sometimes cause problems with otherwise healthy Macs.
    Have you tried running Disk Utility in the Recovery HD to see if the HD needs any repairs?
    Restart holding down Command+r and at the screen with four choices select Disk Utility. Choose Macintosh HD on the left and click on 'repair disk'. If any changes are made click on repair disk again until you get a clean pass. Restart as normal from the Apple menu once Disk Utility is finished.
    You could also try a Safe Boot which can sometimes help clear up odd issues. Restart holding the shift key until you see a grey progress bar. Once booted restart as normal from the Apple menu.

  • How to erase an icon of an erased program from  status bar ?

    I installed WD Anyhere backup to my intel base imac after I erases it with application cleaner program. But the icon of this program sticked to my status bar at the right side near time machine icon. I can not make it desappear. when you click this icon it opens a menu but nothing happens when you click choices. I need help

    Sounds like maybe it is set to open at login?
    Go to: Apple > System Preferences > Accounts > Login Items, highlight and remove the WD backup application from the list of items that will open automatically when you log in, then restart your iMac.

  • To clean my mac

    macbook pro 4GB
    S N w80500ox3atp
    i wont to clean the mac-keeper dos not install

    There are no cleaning programs for Mac that work, MacKeeper is awful, probably the worst example you could have found.
    You don't need cleaners

  • How do i clean out caches

    Hello everyone-
    I am travelling and am away from my 27" Mac *twitch*
    Anyway, I am working on some edits on my MacBook Pro and I need to clear up some space. I wanted to clear out the cache folder but wanted to be sure what to delete and what to keep before I go any further.
    Any suggestions? Tips?
    Help!
    Thanks!

    Yep, I use Time Machine, but I've never needed it to fix a problem with CleanMyMac. I take it you've had a bad experience? The link you posted above goes to a discussion where somebody used it to remove an Apple program called Aperture which likely uses shared resources. Not the smartest idea, and certainly not something I would ever do.
    From my point of view CleanMyMac is pretty good and gives me a fast way to clean out the caches and junk. It also gives me a useful way of completely removing 3rd party Apps and their junk when I want to uninstall. It probably helps to know what you're doing and to know what you're selecting to be cleaned...
    Any cleaner program can cause problems if you don't know what you or it are doing. Luckily I do.
    To Lboogie111, if you're at the stage where your MBP is running out of space and you need to clear cache files to get some space back, you're likely going to have bigger problems. It's not usually a good idea to run with your drive nearly full. It can cause all kinds of weird problems.
    I would recommend you consider upgrading your HDD to a bigger one.

  • Logs to clean

    In Mavericks, which logs can be cleaned or deleted?

    Read this:
    http://linuxdev.dk/blog/log-rotation-mac
    Short version:
    Go to the Terminal Utility and type sudo newsyslog
    (sudo means superuser do - it asks for your admin password and hides it when you type it)
    Please don't download/buy/run any "cleaner program." Simply not required on Macs.

  • Performance issue in customized program

    Hi,
    We have a performance issue in customized program.
    In this program he used do-enddo twice. I mean nested do-endo.
    How can we increase the performance.
    And when we did the code inspector it displays 9 errors 'Char. strings w/o text elements will not be translated'.
    Is there any performance issue for this error?
    Regards,
    Chandu.

    >  'Char. strings w/o text elements will not be translated'.
    > Is there any performance issue for this error?
    No, this is just not so clean programming. As for the rest, Please Read before Posting in the Performance and Tuning Forum and learn how to find out where the showstoppers really are.
    Thomas

Maybe you are looking for