Introduction to Programming Logic Using C++

I am taking an online introduction to programming class using C++ builder. I need to find a C++ compiler to download. This is a beginning course and I am definitely a beginner.

rinda ran wrote:
Downloaded Eclipse for C++
I won't get into a debate about the relative merits of Xcode vs. Eclipse. I can definitely tell you that there are many people here on these forums who will be happy to help with programming on a Mac. Few, if any, of them use Eclipse. Eclipse is primarily for Java and very few people use it for C++ on any platform.
I will be using this for an online class and need to save my finished assignments and e-mail them. Do I need to save my work in any different way so it can be read on a pc?
Typically you will submit a zip file containing your source code and output results. Your professor may want to actually run your code to verify that it really works. You had better make sure it will run on the platform that the professor is testing it on. If you stick to standard C++, you should be fine.

Similar Messages

  • Question on program logic using SKC1A

    Account -     Using SAKNR and selected company code (BUKRS) get alternative account using table SKB1
    Description - To be obtained from SKA1 using account number found above in chart of accounts  CEFR
    Carry-forward debit - UMSAV
    Debit period from 1 to n - ii=01 to pp UMiiS
    Credit period from 1 to n - ii=01 to pp UMiiH
    In order to obtain this text file, an ABAP program should be written. The extraction program should use structure SKC1A to obtain data and use the following selections:
    BUKRS : Company code
    SAKNR : no selection
    GJAHR : Fiscal Year
    GSBER : no selection
    CURTP : 10 (can be hardcoded and displayed)
    HWAER : EUR (can be hard-coded and displayed)
    Period : pp (from 01 to special period 13)
    I wrote the program using the function 'FOR_ALL_SKC1A'. I have attached it below.
    after the final specs came from the user, this following line was included
    An example of the use of this structure can be found in program RFSSLD00
    I looked at the program RFSSLD00 and it's logic is nowhere near mine. It uses a statement GET SKC1A. after looking at this program,
    I am not I have the program coded correctly based on the specs.
    can somebody let me know if I am doing this correctly or if I need to mirror my program after the RFSSLD00.
    *& Report  ZFI_FR_ETAFI
    REPORT  ZFI_FR_ETAFI.
      TABLES
    TABLES:
        skat.    "G/L Account Master Record (Chart of Accounts: Description)
      TYPES
    TYPES:  BEGIN OF ty_skat,
            saknr TYPE skat-saknr, "Account Number
            txt50 TYPE skat-txt50, "account Description
            END OF ty_skat.
      DATA
    data: begin of itab occurs 0,
          filler1(5)      TYPE C,
          account(6)      TYPE C,
          filler2(4)      TYPE C,
          description(35) TYPE c,
          filler3(39)     TYPE c,
          carryfwdamt(21) TYPE c,
          filler4(70)     TYPE c,
          totdeb(18)      TYPE c,
          filler5(63)     TYPE c,
          totcred(18)     TYPE c,
          end of itab.
    data: iskc1a  TYPE TABLE          of skc1a   with header line.
    data: it_skat TYPE STANDARD TABLE OF ty_skat with header line.
    data: w_totcred   like skc1a-um01s.
    data: w_totdeb    like skc1a-um01s.
    data: w_cramount  like skc1a-um01s.
    data: w_dbamount  like skc1a-um01s.
    *SELECT-OPTIONS:
    PARAMETERS                                                           *
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-001.
    PARAMETERS: p_ktopl TYPE skat-ktopl    OBLIGATORY,
                p_bukrs TYPE skb1-bukrs    OBLIGATORY,
                p_year  TYPE payr-gjahr    OBLIGATORY,
                p_poper TYPE bkpf-monat    OBLIGATORY.
    SELECTION-SCREEN END   OF BLOCK b1.
    *START-OF-SELECTION                                                    *
    START-OF-SELECTION.
    SELECT saknr txt50
      FROM skat INTO TABLE it_skat
    WHERE ktopl = p_ktopl.
    loop at it_skat.
      CLEAR iskc1a. REFRESH iskc1a.
      call function 'FOR_ALL_SKC1A'
        exporting
          xbukrs = p_bukrs
          xsaknr = it_skat-saknr
        tables
          xskc1a = iskc1a
        exceptions
          key_incomplete = 1
          not_authorized = 2
          not_found      = 3.
    loop at iskc1a.
        if iskc1a-gjahr = p_year.
          w_cramount = 0.
          w_dbamount = 0.
          w_totcred  = 0.
          w_totdeb   = 0.
          do p_poper times
            varying w_cramount from iskc1a-um01s next iskc1a-um02s.
            w_totcred = w_totcred + w_cramount.
          enddo.
          do p_poper times
            varying w_dbamount from iskc1a-um01h next iskc1a-um02h.
            w_totdeb  = w_totdeb  + w_dbamount.
         enddo.
        if it_skat-saknr(4) = '0000'.
          itab-account      = it_skat-saknr+4.
        else.
          itab-account      = it_skat-saknr.
        endif.
        itab-description  = it_skat-txt50.
        itab-carryfwdamt  = iskc1a-umsav.
        shift itab-carryfwdamt right deleting trailing space.
        itab-totdeb       = w_totdeb.
        shift itab-totdeb right deleting trailing space.
        itab-totcred      = w_totcred.
        shift itab-totcred right deleting trailing space.
        if itab-carryfwdamt <> 0 or
           itab-totdeb      <> 0 or
           itab-totcred     <> 0.
            append itab.
         endif.
       endif.
      endloop.
    endloop.
    call function 'GUI_DOWNLOAD'
      exporting
        filename = 'C:\ETAFI.txt'
      tables
        data_tab = itab
      EXCEPTIONS
         file_write_error                = 1
         no_batch                        = 2
         gui_refuse_filetransfer         = 3
         invalid_type                    = 4
         no_authority                    = 5
         unknown_error                   = 6
         header_not_allowed              = 7
         separator_not_allowed           = 8
         filesize_not_allowed            = 9
         header_too_long                 = 10
         dp_error_create                 = 11
         dp_error_send                   = 12
         dp_error_write                  = 13
         unknown_dp_error                = 14
         access_denied                   = 15
         dp_out_of_memory                = 16
         disk_full                       = 17
         dp_timeout                      = 18
         file_not_found                  = 19
         dataprovider_exception          = 20
         control_flush_error             = 21
         OTHERS                          = 22.
    IF sy-subrc <> 0.
       write: / ' process unsuccessful'.
    ELSE.
       write: / 'process successful'.
    ENDIF.
    *END-OF-SELECTION                                                      *

    That program uses a logical database to get the data.  This is why it looks different.  Don't worry, as long as you can verify the data against something else, you can do it the way that you are.  Personally, I never use logical databases. 
    REgards,
    Rich Heilman

  • What are the programming language used in adobe livecycle development?

    hi friends,
                    I am a fresher.I woundered what adobe has done in livecycle import option.so i want to know wht is the programming language used and how they read graphical fields like line,circle.

    Programatically, Java is the language used to implement business logic that would plug into LiveCycle.  I believe you can use C# for older versions.  However, that information is irrelevant to your problem.
    That being said, it's typically not advisable to be modifying PDF files generated by different applications (iText, Adobe LiveCycle, etc.).  While both documents may render out as "PDF", they will not be created internally in the same manner.  I would advise that it may be easy to add PDF files generated by other applications as attachments, they are not going to be easily handled unless you address each specific document in a custom manner.

  • Can't run any program that uses Adobe Air

    I have updated Adobe air to the latest.  Now when I run a program that uses Air the Adobe Air Updater launches and that is as far as I get.  I then have to force quit the Updater and the program I ran (ie SVBuilder Pro).
    Here is the log.
    Process:         Adobe AIR Application Installer [1235]
    Path:            /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
    Identifier:      com.adobe.air.ApplicationInstaller
    Version:         3.2 (3.2.0.2070)
    Code Type:       X86 (Native)
    Parent Process:  launchd [119]
    Date/Time:       2012-05-17 08:51:09.582 -0700
    OS Version:      Mac OS X 10.7.4 (11E53)
    Report Version:  9
    Interval Since Last Report:          64 sec
    Crashes Since Last Report:           1
    Per-App Interval Since Last Report:  43 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      D6C68B2A-1467-4C5E-B5C2-1D4CF4AB8A0A
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
    VM Regions Near 0:
    --> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
        __TEXT                 0000000000001000-0000000000007000 [   24K] r-x/rwx SM=COW  /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
    Application Specific Information:
    objc[1235]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   WebKit.dylib                            0x0aad1c4b WebKitGetAPI + 639261
    1   WebKit.dylib                            0x0aabf63f WebKitGetAPI + 563985
    2   WebKit.dylib                            0x0aabf01c WebKitGetAPI + 562414
    3   WebKit.dylib                            0x0aadbe19 WebKitGetAPI + 680683
    4   WebKit.dylib                            0x0aadd219 WebKitGetAPI + 685803
    5   WebKit.dylib                            0x0ae25cf6 WebKitGetAPI + 4129224
    6   WebKit.dylib                            0x0ae239b5 WebKitGetAPI + 4120199
    7   WebKit.dylib                            0x0aa35aed 0xaa30000 + 23277
    8   com.adobe.AIR                           0x02f81440 FREGetObjectAsBool + 17964
    9   com.adobe.AIR                           0x02f8153a FREGetObjectAsBool + 18214
    10  com.adobe.AIR                           0x028cc5c2 0x27a5000 + 1209794
    11  com.adobe.AIR                           0x028bda7b 0x27a5000 + 1149563
    12  com.adobe.AIR                           0x028be2a9 0x27a5000 + 1151657
    13  com.adobe.AIR                           0x028ad5ea 0x27a5000 + 1082858
    14  com.apple.Foundation                    0x926e7df1 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49
    15  com.apple.CoreFoundation                0x97747903 ___CFXNotificationPost_block_invoke_1 + 275
    16  com.apple.CoreFoundation                0x97712688 _CFXNotificationPost + 2776
    17  com.apple.Foundation                    0x926d2fde -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
    18  com.apple.Foundation                    0x926e8272 -[NSNotificationCenter postNotificationName:object:] + 55
    19  com.apple.AppKit                        0x92b9b02e -[NSApplication terminate:] + 2311
    20  com.apple.Foundation                    0x926dc792 __NSFireDelayedPerform + 615
    21  com.apple.CoreFoundation                0x9771f2a6 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22
    22  com.apple.CoreFoundation                0x9771ec37 __CFRunLoopDoTimer + 743
    23  com.apple.CoreFoundation                0x976fdcd0 __CFRunLoopRun + 1888
    24  com.apple.CoreFoundation                0x976fd1dc CFRunLoopRunSpecific + 332
    25  com.apple.CoreFoundation                0x976fd088 CFRunLoopRunInMode + 120
    26  com.apple.HIToolbox                     0x9ae20723 RunCurrentEventLoopInMode + 318
    27  com.apple.HIToolbox                     0x9ae27a8b ReceiveNextEventCommon + 381
    28  com.apple.HIToolbox                     0x9ae278fa BlockUntilNextEventMatchingListInMode + 88
    29  com.apple.AppKit                        0x92b940d8 _DPSNextEvent + 678
    30  com.apple.AppKit                        0x92b93942 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    31  com.apple.AppKit                        0x92b8fcb1 -[NSApplication run] + 911
    32  com.adobe.AIR                           0x027add0a 0x27a5000 + 36106
    33  com.adobe.AIR                           0x027adef7 0x27a5000 + 36599
    34  com.apple.CoreFoundation                0x9775cd11 -[NSObject performSelector:withObject:] + 65
    35  com.adobe.air.ApplicationInstaller          0x00002f93 start + 2567
    36  com.adobe.air.ApplicationInstaller          0x000025c1 start + 53
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x9a21490a kevent + 10
    1   libdispatch.dylib                       0x978e9e10 _dispatch_mgr_invoke + 969
    2   libdispatch.dylib                       0x978e885f _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib                  0x9a21383e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97e3ae21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x97deb42c pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.AIR                           0x02d43e65 0x27a5000 + 5893733
    4   com.adobe.AIR                           0x02b7ffbd 0x27a5000 + 4042685
    5   com.adobe.AIR                           0x02d43f7f 0x27a5000 + 5894015
    6   com.adobe.AIR                           0x02d43ff9 0x27a5000 + 5894137
    7   com.adobe.AIR                           0x02d44094 0x27a5000 + 5894292
    8   libsystem_c.dylib                       0x97e36ed9 _pthread_start + 335
    9   libsystem_c.dylib                       0x97e3a6de thread_start + 34
    Thread 3:
    0   libsystem_kernel.dylib                  0x9a21383e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97e3ae21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x97deb42c pthread_cond_wait$UNIX2003 + 71
    3   com.adobe.AIR                           0x02d43e65 0x27a5000 + 5893733
    4   com.adobe.AIR                           0x02b7ffbd 0x27a5000 + 4042685
    5   com.adobe.AIR                           0x02d43f7f 0x27a5000 + 5894015
    6   com.adobe.AIR                           0x02d43ff9 0x27a5000 + 5894137
    7   com.adobe.AIR                           0x02d44094 0x27a5000 + 5894292
    8   libsystem_c.dylib                       0x97e36ed9 _pthread_start + 335
    9   libsystem_c.dylib                       0x97e3a6de thread_start + 34
    Thread 4:
    0   libsystem_kernel.dylib                  0x9a211c22 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x9a2111f6 mach_msg + 70
    2   com.apple.CoreFoundation                0x976f49da __CFRunLoopServiceMachPort + 170
    3   com.apple.CoreFoundation                0x976fdb04 __CFRunLoopRun + 1428
    4   com.apple.CoreFoundation                0x976fd1dc CFRunLoopRunSpecific + 332
    5   com.apple.CoreFoundation                0x976fd088 CFRunLoopRunInMode + 120
    6   com.apple.CoreMediaIO                   0x9ca78ba2 CMIO::DAL::RunLoop::OwnThread(void*) + 160
    7   com.apple.CoreMediaIO                   0x9ca6e70d CAPThread::Entry(CAPThread*) + 123
    8   libsystem_c.dylib                       0x97e36ed9 _pthread_start + 335
    9   libsystem_c.dylib                       0x97e3a6de thread_start + 34
    Thread 5:: com.apple.NSURLConnectionLoader
    0   libsystem_kernel.dylib                  0x9a211c22 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x9a2111f6 mach_msg + 70
    2   com.apple.CoreFoundation                0x976f49da __CFRunLoopServiceMachPort + 170
    3   com.apple.CoreFoundation                0x976fdb04 __CFRunLoopRun + 1428
    4   com.apple.CoreFoundation                0x976fd1dc CFRunLoopRunSpecific + 332
    5   com.apple.CoreFoundation                0x976fd088 CFRunLoopRunInMode + 120
    6   com.apple.Foundation                    0x9273c0c4 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 378
    7   com.apple.Foundation                    0x9272fe25 -[NSThread main] + 45
    8   com.apple.Foundation                    0x9272fdd5 __NSThread__main__ + 1582
    9   libsystem_c.dylib                       0x97e36ed9 _pthread_start + 335
    10  libsystem_c.dylib                       0x97e3a6de thread_start + 34
    Thread 6:: com.apple.CFSocket.private
    0   libsystem_kernel.dylib                  0x9a213b42 __select + 10
    1   com.apple.CoreFoundation                0x9774be15 __CFSocketManager + 1557
    2   libsystem_c.dylib                       0x97e36ed9 _pthread_start + 335
    3   libsystem_c.dylib                       0x97e3a6de thread_start + 34
    Thread 7:: JavaScriptCore: FastMalloc scavenger
    0   libsystem_kernel.dylib                  0x9a21383e __psynch_cvwait + 10
    1   libsystem_c.dylib                       0x97e3ae21 _pthread_cond_wait + 827
    2   libsystem_c.dylib                       0x97deb42c pthread_cond_wait$UNIX2003 + 71
    3   WebKit.dylib                            0x0ab8bda3 WebKitGetAPI + 1401461
    4   WebKit.dylib                            0x0ab8be11 WebKitGetAPI + 1401571
    5   libsystem_c.dylib                       0x97e36ed9 _pthread_start + 335
    6   libsystem_c.dylib                       0x97e3a6de thread_start + 34
    Thread 8:
    0   libsystem_kernel.dylib                  0x9a21402e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x97e38ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x97e3a6fe start_wqthread + 30
    Thread 9:
    0   libsystem_kernel.dylib                  0x9a21402e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x97e38ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x97e3a6fe start_wqthread + 30
    Thread 10:
    0   libsystem_kernel.dylib                  0x9a21402e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x97e38ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x97e3a6fe start_wqthread + 30
    Thread 0 crashed with X86 Thread State (32-bit):
      eax: 0x00000000  ebx: 0x0aad1b51  ecx: 0x087722f8  edx: 0xbfffde6c
      edi: 0x0b0b1000  esi: 0x0b0b4f00  ebp: 0xbfffde48  esp: 0xbfffddd0
       ss: 0x00000023  efl: 0x00010246  eip: 0x0aad1c4b   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
      cr2: 0x00000000
    Logical CPU: 0
    Binary Images:
        0x1000 -     0x6ff7 +com.adobe.air.ApplicationInstaller (3.2 - 3.2.0.2070) <8C7B28C9-BC04-C150-3F97-A6D89200D6B1> /Applications/Utilities/Adobe AIR Application Installer.app/Contents/MacOS/Adobe AIR Application Installer
       0xc2000 -    0xc6ffb  com.apple.audio.AudioIPCPlugIn (1.2.2 - 1.2.2) <E6982BB2-BEC8-3232-989D-B3D5B26AE0DF> /System/Library/Extensions/AudioIPCDriver.kext/Contents/Resources/AudioIPCPlugIn.bundle/C ontents/MacOS/AudioIPCPlugIn
       0xcb000 -    0xd0fff  com.apple.audio.AppleHDAHALPlugIn (2.2.0 - 2.2.0f3) <BAD1E0E6-10E6-342C-BEB8-B1706F0CE2CF> /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Conten ts/MacOS/AppleHDAHALPlugIn
      0x700000 -   0x729ffb  com.apple.cmio.DAL.VDC_4 (212.0 - 3199.1.1) <B2B073CA-4445-35FA-ACAC-7E9073F2571F> /System/Library/Frameworks/CoreMediaIO.framework/Resources/VDC.plugin/Contents/MacOS/VDC
      0x733000 -   0x793ff7  com.apple.CMIOQTUnits (212.0 - 3199.1.1) <87E1A270-B03E-3FC7-A18A-EF4209557352> /System/Library/Frameworks/CoreMediaIO.framework/Resources/QuickTimeUnits/CMIOQTUnits.bun dle/Contents/MacOS/CMIOQTUnits
      0x7a3000 -   0x7d3ff7  com.apple.FWAVC (201.47 - 47) <A9CB622C-67BB-3258-829A-66EDAFAAC3A7> /System/Library/PrivateFrameworks/FWAVC.framework/Versions/A/FWAVC
    0x27a5000 -  0x391afc7 +com.adobe.AIR (??? - 3.2.0.2070) <7EBAA6F0-794A-DE37-D04D-942F7073DE61> /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Adobe AIR
    0x55d9000 -  0x5612ff3  com.apple.QuickTimeFireWireDV.component (7.7.1 - 2330) <8C6BCE18-BB4B-3507-AF89-433E582DB4F0> /System/Library/QuickTime/QuickTimeFireWireDV.component/Contents/MacOS/QuickTimeFireWireD V
    0x561d000 -  0x5627fff  com.apple.IOFWDVComponents (2.0.7 - 2.0.7) <811CF4D6-15B2-3EDA-B026-5E4B28C0F742> /System/Library/Components/IOFWDVComponents.component/Contents/MacOS/IOFWDVComponents
    0x5632000 -  0x565aff3  com.apple.QuickTimeIIDCDigitizer (7.7.1 - 2330) <906183BF-A075-32AC-9121-03B80EA62E34> /System/Library/QuickTime/QuickTimeIIDCDigitizer.component/Contents/MacOS/QuickTimeIIDCDi gitizer
    0x5662000 -  0x56b1fff  com.apple.QuickTimeUSBVDCDigitizer (2.7.5 - 2.7.5) <FB8955F5-FB96-3D3E-9BD4-5A5952C902A8> /System/Library/QuickTime/QuickTimeUSBVDCDigitizer.component/Contents/MacOS/QuickTimeUSBV DCDigitizer
    0x56cf000 -  0x583cffb  GLEngine (??? - ???) <D73F1031-6DD3-38EB-966B-7A2C9F17F023> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
    0x5870000 -  0x5967ffb  libGLProgrammability.dylib (??? - ???) <FA509930-D201-372B-B787-18CBD8477D06> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dyl ib
    0x598b000 -  0x59b8ff8  GLRendererFloat (??? - ???) <70ADE58D-B399-3279-9774-2D5929D5FCB1> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFl oat
    0x5f40000 -  0x5f44ffb  libFontRegistryUI.dylib (??? - ???) <D57C050B-411F-3481-BFFA-775EDCAA1D37> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/ATS.framework/Resourc es/libFontRegistryUI.dylib
    0x7ed4000 -  0x8174fe7  com.apple.ATIRadeonX2000GLDriver (7.18.18 - 7.1.8) <A9F04AD5-F55B-3D26-8C7C-C90AFCF7394A> /System/Library/Extensions/ATIRadeonX2000GLDriver.bundle/Contents/MacOS/ATIRadeonX2000GLD river
    0xaa30000 -  0xb02ffeb +WebKit.dylib (??? - ???) <27589148-B9D5-FBC0-5E5A-6D3897DE86D6> /Library/Frameworks/Adobe AIR.framework/Versions/1.0/Resources/WebKit.dylib
    0x8fe6f000 - 0x8fea1aa7  dyld (195.6 - ???) <3A866A34-4CDD-35A4-B26E-F145B05F3644> /usr/lib/dyld
    0x90005000 - 0x900a1fef  com.apple.ink.framework (1.4 - 110) <1A3E2916-60C1-3AC1-86BF-202F6567B228> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/ A/Ink
    0x900a2000 - 0x900a2fff  com.apple.audio.units.AudioUnit (1.7.2 - 1.7.2) <2E71E880-25D1-3210-8D26-21EC47ED810C> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x902ea000 - 0x902f5ffc  com.apple.NetAuth (1.0 - 3.0) <C07853C0-AF32-3633-9CEF-2480860C12C5> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x9030f000 - 0x9030ffff  com.apple.Accelerate (1.7 - Accelerate 1.7) <4192CE7A-BCE0-3D3C-AAF7-6F1B3C607386> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x90310000 - 0x9042efec  com.apple.vImage (5.1 - 5.1) <7757F253-B281-3612-89D4-F2B04061CBE1> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Ve rsions/A/vImage
    0x9042f000 - 0x906dcff3  com.apple.JavaScriptCore (7534.56 - 7534.56.6) <94C4DC32-FE6B-3D5C-93B5-75753F38A0C0> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
    0x906ff000 - 0x90704ffd  libGFXShared.dylib (??? - ???) <1CA9B41B-2C61-38F8-ABAC-1D5511478F5C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x90705000 - 0x9072effe  com.apple.opencl (1.50.69 - 1.50.69) <2601993F-F3B3-3737-91AE-4A5795C52CD5> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x90735000 - 0x90793fff  com.apple.coreui (1.2.2 - 165.10) <C6B099D6-7F02-3971-99B9-E415308959CF> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x907c9000 - 0x90824ff3  com.apple.Symbolication (1.3 - 91) <4D12D2EC-5010-3958-A205-9A67E972C76A> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x90825000 - 0x90aaafe3  com.apple.QuickTime (7.7.1 - 2330) <060B6A47-FC15-3D38-8EFB-FCF38680510B> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
    0x90aab000 - 0x90aafffd  IOSurface (??? - ???) <EDDBEE65-1EB8-33A7-9972-E361A3508234> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x90ab0000 - 0x90ab0fff  com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <22997C20-BEB7-301D-86C5-5BFB3B06D212> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/vecLib
    0x90ae4000 - 0x90fc0ff6  libBLAS.dylib (??? - ???) <134ABFC6-F29E-3DC5-8E57-E13CB6EF7B41> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libBLAS.dylib
    0x90fc1000 - 0x90fe9ff7  libxslt.1.dylib (3.24.0 - compatibility 3.0.0) <AB530FB2-8BD1-3328-95E8-CF449F0429CA> /usr/lib/libxslt.1.dylib
    0x90fea000 - 0x91067ffe  com.apple.PDFKit (2.6.3 - 2.6.3) <780A5EE1-48CB-3B80-BBDF-1081512BA0DC> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/Versio ns/A/PDFKit
    0x9109a000 - 0x9109bfff  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <B04592B1-0924-3422-82FF-976B339DF567> /usr/lib/system/libsystem_blocks.dylib
    0x9109c000 - 0x91194ff7  libFontParser.dylib (??? - ???) <1A0DA421-62B2-3AA7-9F62-0E01C1887D09> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libFontParser.dylib
    0x91195000 - 0x91285ff1  libiconv.2.dylib (7.0.0 - compatibility 7.0.0) <9E5F86A3-8405-3774-9E0C-3A074273C96D> /usr/lib/libiconv.2.dylib
    0x9133d000 - 0x91396fff  com.apple.HIServices (1.21 - ???) <5F4D3797-32E2-3709-85F4-4B56515A17D7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices .framework/Versions/A/HIServices
    0x91397000 - 0x9139affb  com.apple.help (1.3.2 - 42) <DDCEBA10-5CDE-3ED2-A52F-5CD5A0632CA2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions /A/Help
    0x9139b000 - 0x913a5ff2  com.apple.audio.SoundManager (3.9.4.1 - 3.9.4.1) <2A089CE8-9760-3F0F-B77D-29A78940EA17> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/V ersions/A/CarbonSound
    0x913a6000 - 0x9155aff3  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <6AD14A51-AEA8-3732-B07B-DEA37577E13A> /usr/lib/libicucore.A.dylib
    0x915a7000 - 0x915acff7  libmacho.dylib (800.0.0 - compatibility 1.0.0) <56A34E97-518E-307E-8218-C5D43A33EE34> /usr/lib/system/libmacho.dylib
    0x915c6000 - 0x915c7fff  com.apple.TrustEvaluationAgent (2.0 - 1) <4BB39578-2F5E-3A50-AD59-9C0AB99472EB> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluati onAgent
    0x915d7000 - 0x915dbff7  com.apple.OpenDirectory (10.7 - 146) <4986A382-8FEF-3392-8CE9-CF6A5EE4E365> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x91659000 - 0x9173cff7  libcrypto.0.9.8.dylib (44.0.0 - compatibility 0.9.8) <BD913D3B-388D-33AE-AA5E-4810C743C28F> /usr/lib/libcrypto.0.9.8.dylib
    0x9173d000 - 0x91740ff9  libCGXType.A.dylib (600.0.0 - compatibility 64.0.0) <1211BEEB-31C9-3A5D-9E71-10FC4A541D1E> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/Resources/libCGXType.A.dylib
    0x91741000 - 0x91a43fff  com.apple.CoreServices.CarbonCore (960.24 - 960.24) <9692D838-85A5-32C1-B7FB-7C141FFC2557> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framew ork/Versions/A/CarbonCore
    0x91b44000 - 0x91b46ff9  com.apple.securityhi (4.0 - 1) <BD367302-73C3-32F4-8080-E389AE89E434> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Ve rsions/A/SecurityHI
    0x91b47000 - 0x921c2fe5  com.apple.CoreAUC (6.16.11 - 6.16.11) <E52E2D54-138B-3F44-AA2C-309FB876DF6A> /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC
    0x921ed000 - 0x9224fffb  com.apple.datadetectorscore (3.0 - 179.4) <3A418498-C189-37A1-9B86-F0ECB33AD91C> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCor e
    0x92250000 - 0x92272ff8  com.apple.PerformanceAnalysis (1.11 - 11) <453463FF-7C42-3526-8C96-A9971EE07154> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAna lysis
    0x922a7000 - 0x9230bfff  com.apple.framework.IOKit (2.0 - ???) <88D60E59-430D-35B8-B1E9-F5138301AEF9> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x9230c000 - 0x9257fffb  com.apple.CoreImage (7.98 - 1.0.1) <EDC91BA1-673D-3B47-BFD5-BBF11C36EE6A> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework /Versions/A/CoreImage
    0x9258d000 - 0x9261afe7  libvMisc.dylib (325.4.0 - compatibility 1.0.0) <F2A8BBA3-6431-3CED-8CD3-0953410B6F96> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libvMisc.dylib
    0x92627000 - 0x926b4ff7  com.apple.CoreText (220.20.0 - ???) <0C3EDD4F-6112-353A-8A3A-8D630182C22A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.f ramework/Versions/A/CoreText
    0x926b5000 - 0x926cffff  com.apple.Kerberos (1.0 - 1) <D7920A1C-FEC4-3460-8DD0-D02491578CBB> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x926d0000 - 0x929daff3  com.apple.Foundation (6.7.2 - 833.25) <4C52ED74-A1FD-3087-A2E1-035AB3CF9610> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x929e6000 - 0x929e8ffb  libRadiance.dylib (??? - ???) <4721057E-5A1F-3083-911B-200ED1CE7678> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libRadiance.dylib
    0x92a78000 - 0x92aeefff  com.apple.Metadata (10.7.0 - 627.32) <650EE880-1488-3DC6-963B-F3D6E043FFDC> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framewor k/Versions/A/Metadata
    0x92aef000 - 0x92b11ffe  com.apple.framework.familycontrols (3.0 - 300) <5BCCDDC2-AFAC-3290-AEEF-23B2664CA11F> /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls
    0x92b12000 - 0x92b61ffb  com.apple.AppleVAFramework (5.0.14 - 5.0.14) <7FF10781-5418-37BB-A6B3-1606DA82CBFF> /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA
    0x92b6d000 - 0x92b89ff5  com.apple.GenerationalStorage (1.0 - 126.1) <E622F823-7D98-3D13-9C3D-7EA482567394> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalSt orage
    0x92b8a000 - 0x9361fff6  com.apple.AppKit (6.7.3 - 1138.47) <D8CD06D7-F18C-39BE-BC68-B343F87F0469> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x93679000 - 0x9369cfff  com.apple.CoreVideo (1.7 - 70.3) <4234C11C-E8E9-309A-9465-27D6D7458895> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x9369d000 - 0x93b12ff7  FaceCoreLight (1.4.7 - compatibility 1.0.0) <3E2BF587-5168-3FC5-9D8D-183A9C7C1DED> /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight
    0x93b13000 - 0x93b13ffe  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <7F0E8EE2-9E8F-366F-9988-E2F119DB9A82> /usr/lib/system/libkeymgr.dylib
    0x93b14000 - 0x93b39ff9  libJPEG.dylib (??? - ???) <743578F6-8C0C-39CC-9F15-3A01E1616EAE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libJPEG.dylib
    0x93b3a000 - 0x93bc4ffb  com.apple.SearchKit (1.4.0 - 1.4.0) <CF074082-64AB-3A1F-831E-582DF1667827> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framewo rk/Versions/A/SearchKit
    0x93bc5000 - 0x93bd3fff  com.apple.opengl (1.7.7 - 1.7.7) <2D362F15-5EA6-37B6-9BCB-58F2C599ACDA> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x93bd4000 - 0x93bd5fff  liblangid.dylib (??? - ???) <C8C204E9-1785-3785-BBD7-22D59493B98B> /usr/lib/liblangid.dylib
    0x93c5a000 - 0x93c6fff7  com.apple.ImageCapture (7.0.1 - 7.0.1) <1C8933A9-C7C6-36E9-9D8B-0EF08ACA3315> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/ Versions/A/ImageCapture
    0x93f50000 - 0x93f50fff  com.apple.Cocoa (6.6 - ???) <650273EF-1ABC-334E-B745-B75AF028F9F4> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x93f93000 - 0x93f9bfff  com.apple.DiskArbitration (2.4.1 - 2.4.1) <28D5D8B5-14E8-3DA1-9085-B9BC96835ACF> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x93fe4000 - 0x94d34ffb  com.apple.QuickTimeComponents.component (7.7.1 - 2330) <91F3ABCA-3BB8-3B01-AA3F-37B3D798755A> /System/Library/QuickTime/QuickTimeComponents.component/Contents/MacOS/QuickTimeComponent s
    0x94d35000 - 0x94d3cffd  com.apple.NetFS (4.0 - 4.0) <D0D59145-D211-3E7C-9062-35A2833FA99B> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x94d3d000 - 0x94e0dffb  com.apple.ImageIO.framework (3.1.2 - 3.1.2) <94798A2B-4C7A-30EA-9920-283451BDB9FA> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/ImageIO
    0x94e0e000 - 0x94e11ffd  libCoreVMClient.dylib (??? - ???) <361CCFAF-8565-383F-915F-0B059C793E42> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x94e53000 - 0x94e57fff  com.apple.CommonPanels (1.2.5 - 94) <3A988595-DE53-34ED-9367-C9A737E2AF38> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/ Versions/A/CommonPanels
    0x94ea3000 - 0x94ee0ff7  libcups.2.dylib (2.9.0 - compatibility 2.0.0) <1C757924-4E54-3522-A885-99795EA10228> /usr/lib/libcups.2.dylib
    0x94ee1000 - 0x94f46ff7  libvDSP.dylib (325.4.0 - compatibility 1.0.0) <4B4B32D2-4F66-3B0D-BD61-FA8429FF8507> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libvDSP.dylib
    0x94f47000 - 0x9502ffff  libxml2.2.dylib (10.3.0 - compatibility 10.0.0) <1841196F-68B5-309F-8ED1-6714B1DFEC83> /usr/lib/libxml2.2.dylib
    0x95030000 - 0x95043ff8  com.apple.MultitouchSupport.framework (231.4 - 231.4) <083F7787-4C3B-31DA-B5BB-1993D9A9723D> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSuppor t
    0x9504b000 - 0x9508bff7  libauto.dylib (??? - ???) <984C81BE-FA1C-3228-8F7E-2965E7E5EB85> /usr/lib/libauto.dylib
    0x9508c000 - 0x9509dfff  libbsm.0.dylib (??? - ???) <54ACF696-87C6-3652-808A-17BE7275C230> /usr/lib/libbsm.0.dylib
    0x950d2000 - 0x95115ffd  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <4BA1F5F1-F0A2-3FEB-BB62-F514DCBB3725> /usr/lib/system/libcommonCrypto.dylib
    0x95118000 - 0x9514ffef  com.apple.DebugSymbols (2.1 - 87) <EB951B78-31A5-379F-AFA1-B5C9A7BB3D23> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x9526f000 - 0x952ccffb  com.apple.htmlrendering (76 - 1.1.4) <743C2943-40BC-36FB-A45C-3421A394F081> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework /Versions/A/HTMLRendering
    0x952cd000 - 0x953deff7  libJP2.dylib (??? - ???) <845C74F4-1074-3983-945F-EB669538CAA9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libJP2.dylib
    0x953df000 - 0x953dfff0  com.apple.ApplicationServices (41 - 41) <BED33E1D-C95C-3654-9A3A-0CB3607F9F10> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x953ee000 - 0x957f0ff6  libLAPACK.dylib (??? - ???) <00BE0221-8564-3F87-9F6B-8A910CF2F141> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Ve rsions/A/libLAPACK.dylib
    0x9582a000 - 0x958c0ff7  com.apple.LaunchServices (480.33 - 480.33) <5A4BF529-391E-3987-940E-287ACE56078A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.fr amework/Versions/A/LaunchServices
    0x958c1000 - 0x959d1fe7  libsqlite3.dylib (9.6.0 - compatibility 9.0.0) <34E1E3CC-7B6A-3B37-8D07-1258D11E16CB> /usr/lib/libsqlite3.dylib
    0x95b6b000 - 0x95b79fff  libz.1.dylib (1.2.5 - compatibility 1.0.0) <E73A4025-835C-3F73-9853-B08606E892DB> /usr/lib/libz.1.dylib
    0x95b7a000 - 0x95ca6ff9  com.apple.CFNetwork (520.4.3 - 520.4.3) <E9E315D4-CE22-3715-BED2-BB95AD5E10E8> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framewo rk/Versions/A/CFNetwork
    0x95ca7000 - 0x95caefff  com.apple.agl (3.2.0 - AGL-3.2.0) <ED5A5B8A-0014-3897-951F-628391333256> /System/Library/Frameworks/AGL.framework/Versions/A/AGL
    0x95caf000 - 0x95ec9ff7  com.apple.imageKit (2.1.2 - 1.0) <0A14D083-5217-3180-A354-A5FDC754E3FC> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Vers ions/A/ImageKit
    0x9690f000 - 0x9690ffff  com.apple.Carbon (153 - 153) <6FF98F0F-2CDE-3888-A304-4ED447D24CE3> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x96910000 - 0x96960ff8  libTIFF.dylib (??? - ???) <4DC2025D-15E7-35CA-B7C5-9F73B26C8B53> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libTIFF.dylib
    0x96961000 - 0x969a3ff7  com.apple.CoreMedia (1.0 - 705.78) <D88AC852-8844-3B73-81C8-DF605F00AB40> /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
    0x969a4000 - 0x969b4ff7  libCRFSuite.dylib (??? - ???) <CE616EF3-756A-355A-95AD-3472A876BEB9> /usr/lib/libCRFSuite.dylib
    0x969b5000 - 0x96a8cff3  com.apple.avfoundation (2.0 - 180.40) <B906D052-D92D-3D35-BF59-F6D0AE692EC2> /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
    0x96a8d000 - 0x973b759b  com.apple.CoreGraphics (1.600.0 - ???) <62026E0C-E30F-3FF0-B0F6-6A2D270B20BF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/CoreGraphics
    0x973b8000 - 0x975b0ff7  com.apple.CoreData (104.1 - 358.14) <C1730963-F75D-3338-B65F-D50235538B28> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x975b1000 - 0x975ceff3  com.apple.openscripting (1.3.3 - ???) <33713C0B-B7D5-37AA-87DB-2727FDCC8007> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework /Versions/A/OpenScripting
    0x975d1000 - 0x97658fff  com.apple.print.framework.PrintCore (7.1 - 366.3) <EEC03CAB-7F79-3931-87FE-4DF0B767BF47> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore. framework/Versions/A/PrintCore
    0x97685000 - 0x9768cff7  libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <47DB9E1B-A7D1-3818-A747-382B2C5D9E1B> /usr/lib/system/libsystem_notify.dylib
    0x9769b000 - 0x976a3ff3  libunwind.dylib (30.0.0 - compatibility 1.0.0) <E8DA8CEC-12D6-3C8D-B2E2-5D567C8F3CB5> /usr/lib/system/libunwind.dylib
    0x976bd000 - 0x976c1ff3  libsystem_network.dylib (??? - ???) <62EBADDA-FC72-3275-AAB3-5EDD949FEFAF> /usr/lib/system/libsystem_network.dylib
    0x976c2000 - 0x97899fe7  com.apple.CoreFoundation (6.7.2 - 635.21) <4D1D2BAF-1332-32DF-A81B-7E79D4F0A6CB> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x978e5000 - 0x978e6ff7  libsystem_sandbox.dylib (??? - ???) <EBC6ED6B-7D94-32A9-A718-BB9EDA1732C9> /usr/lib/system/libsystem_sandbox.dylib
    0x978e7000 - 0x978f5fff  libdispatch.dylib (187.9.0 - compatibility 1.0.0) <2F918480-12C8-3F22-9B1A-9B2D76F6F4F5> /usr/lib/system/libdispatch.dylib
    0x978f6000 - 0x978ffff3  com.apple.CommonAuth (2.2 - 2.0) <C3FD6EC2-8EB3-38FB-BBB7-05009CA49024> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x97900000 - 0x97951ff9  com.apple.ScalableUserInterface (1.0 - 1) <C3FA7E40-0213-3ABC-A006-2CB00B6A7EAB> /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterfa ce.framework/Versions/A/ScalableUserInterface
    0x97952000 - 0x9799bff7  libGLU.dylib (??? - ???) <5EE0B644-FAD6-3E3C-A380-9B0CDA0B6432> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x9799c000 - 0x979edff9  com.apple.QuickLookFramework (3.2 - 500.16) <725FAE01-1597-38C7-841D-D9D83358921E> /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook
    0x97a19000 - 0x97a24ffb  com.apple.speech.recognition.framework (4.0.21 - 4.0.21) <A1764D2F-EB84-33DC-9ED5-CDA3B468FF3E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.frame work/Versions/A/SpeechRecognition
    0x97a25000 - 0x97a50fff  com.apple.GSS (2.2 - 2.0) <2C468B23-FA87-30B5-B9A6-8C5D1373AA30> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x97a51000 - 0x97a6dffc  libPng.dylib (??? - ???) <75F41C08-E187-354C-8115-79387F57FC2C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libPng.dylib
    0x97a6e000 - 0x97b31fff  com.apple.CoreServices.OSServices (478.46 - 478.46) <F2063FC8-2BE1-3B97-98AF-8796B0D4BE58> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framew ork/Versions/A/OSServices
    0x97b32000 - 0x97b7aff7  com.apple.SystemConfiguration (1.11.3 - 1.11) <68B92FEA-F754-3E7E-B5E6-D512E26144E7> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x97b80000 - 0x97bbcffa  libGLImage.dylib (??? - ???) <504E7865-571E-38B4-A84A-D7B513AC84F5> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x97bbd000 - 0x97c2cfff  com.apple.Heimdal (2.2 - 2.0) <2E1B8779-36D4-3C62-A67E-0034D77D7707> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x97dda000 - 0x97ea5fff  libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <52421B00-79C8-3727-94DE-62F6820B9C31> /usr/lib/system/libsystem_c.dylib
    0x97eb4000 - 0x982a8ffb  com.apple.VideoToolbox (1.0 - 705.78) <BE955448-F79F-3136-A4AF-6EDBAFEDD9C2> /System/Library/PrivateFrameworks/VideoToolbox.framework/Versions/A/VideoToolbox
    0x982a9000 - 0x98340ff3  com.apple.securityfoundation (5.0 - 55116) <EB53CEF7-4836-39FD-B012-6BC122ED4CE9> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x98341000 - 0x98341fff  com.apple.quartzframework (1.5 - 1.5) <EF66BF08-620E-3D11-87D4-35D0B0CD1F6D> /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x98457000 - 0x98457fff  libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <7EFAD88C-AFBC-3D48-BE14-60B8EACC68D7> /usr/lib/system/libdnsinfo.dylib
    0x9848b000 - 0x98494ffc  com.apple.DisplayServicesFW (2.5.4 - 323.3) <820C4B45-814A-3101-A1FA-044CA6D2FBC8> /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices
    0x98ec7000 - 0x98f19ff3  com.apple.ImageCaptureCore (3.0.3 - 3.0.3) <9C6A4134-0D1D-323F-BD07-1D88D258A7B4> /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore
    0x99037000 - 0x9903aff7  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <7F6C14CC-0169-3F1B-B89C-372F67F1F3B5> /usr/lib/system/libcompiler_rt.dylib
    0x9903b000 - 0x99046ff3  libCSync.A.dylib (600.0.0 - compatibility 64.0.0) <EDA0F56F-CB2C-30BB-940D-C6A25B73C717> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/Resources/libCSync.A.dylib
    0x99047000 - 0x99099ff7  libFontRegistry.dylib (??? - ???) <96E9602C-DFD3-3021-8090-60228CC80D26> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/Resources/libFontRegistry.dylib
    0x990f4000 - 0x990faffd  com.apple.CommerceCore (1.0 - 17) <71641C17-1CA7-3AC9-974E-AAC9EB641035> /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCor e.framework/Versions/A/CommerceCore
    0x99159000 - 0x99183ff1  com.apple.CoreServicesInternal (113.17 - 113.17) <41979516-2F26-3707-A6CA-7A95A1B0D963> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesI nternal
    0x99386000 - 0x993b4fe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <30189C33-6ADD-3142-83F3-6114B1FC152E> /usr/lib/libSystem.B.dylib
    0x993b5000 - 0x993b8fff  com.apple.AppleSystemInfo (1.0 - 1) <D2F60873-ECB1-30A8-A02E-E772F969116E> /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo
    0x9940a000 - 0x9940bffd  libCVMSPluginSupport.dylib (??? - ???) <22B85645-AA98-372B-BB55-55DCCF0EC716> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dyl ib
    0x996bf000 - 0x99a05fff  com.apple.MediaToolbox (1.0 - 705.78) <E6990E4A-B562-3051-86A6-B39E040BF766> /System/Library/PrivateFrameworks/MediaToolbox.framework/Versions/A/MediaToolbox
    0x99a06000 - 0x99b15fff  com.apple.DesktopServices (1.6.3 - 1.6.3) <18CAAA9E-7065-3FF7-ACFE-CDB60E5426A2> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopService sPriv
    0x99b1e000 - 0x99b54ff7  com.apple.AE (527.7 - 527.7) <7BAFBF18-3997-3656-9823-FD3B455056A4> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Vers ions/A/AE
    0x9a1f9000 - 0x9a1faff0  libunc.dylib (24.0.0 - compatibility 1.0.0) <BCD277D0-4271-3E96-A4A2-85669DBEE2E2> /usr/lib/system/libunc.dylib
    0x9a1fb000 - 0x9a219ff7  libsystem_kernel.dylib (1699.26.8 - compatibility 1.0.0) <3705DE40-E00F-3E37-ADB0-D4AE5F9950F5> /usr/lib/system/libsystem_kernel.dylib
    0x9a243000 - 0x9a281fff  libRIP.A.dylib (600.0.0 - compatibility 64.0.0) <19174EC0-DE0F-38EA-B5F3-7580E84677DD> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphi cs.framework/Versions/A/Resources/libRIP.A.dylib
    0x9a452000 - 0x9a472ff7  com.apple.RemoteViewServices (1.4 - 44.1) <1F831750-1E77-3013-B1A6-0DF528623790> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServi ces
    0x9a478000 - 0x9a73bfff  com.apple.security (7.0 - 55148.1) <77754898-4FCD-3CA3-9339-F1058C852806> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x9a73c000 - 0x9a73dfff  libDiagnosticMessagesClient.dylib (??? - ???) <DB3889C2-2FC2-3087-A2A2-4C319455E35C> /usr/lib/libDiagnosticMessagesClient.dylib
    0x9a73e000 - 0x9a816ff6  com.apple.QuickLookUIFramework (3.2 - 500.16) <1598FDEB-8F90-3D42-AAA1-CD227F3C16BF> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/V ersions/A/QuickLookUI
    0x9a817000 - 0x9a81fff3  liblaunch.dylib (392.38.0 - compatibility 1.0.0) <D7F6E875-263A-37B5-B403-53F76710538C> /usr/lib/system/liblaunch.dylib
    0x9a820000 - 0x9a829fff  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <FEB5330E-AD5D-37A0-8AB2-0820F311A2C8> /usr/lib/libc++abi.dylib
    0x9a82a000 - 0x9a82bff7  libquarantine.dylib (36.6.0 - compatibility 1.0.0) <600909D9-BD75-386E-8D3E-7CBD29079DF3> /usr/lib/system/libquarantine.dylib
    0x9ad0c000 - 0x9ad17ffe  libbz2.1.0.dylib (1.0.5 - compatibility 1.0.0) <4A7FCD28-9C09-3120-980A-BDF6EDFAAC62> /usr/lib/libbz2.1.0.dylib
    0x9ad18000 - 0x9ad25fff  libGL.dylib (??? - ???) <30E6DED6-0213-3A3B-B2B3-310E33301CCB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x9ad39000 - 0x9adb4ffb  com.apple.ApplicationServices.ATS (317.11.0 - ???) <42238C8B-C93F-3369-A500-EC0F10EB2C80> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framew ork/Versions/A/ATS
    0x9adb5000 - 0x9ae1dff7  libc++.1.dylib (28.1.0 - compatibility 1.0.0) <FE3304C5-C000-3DA0-9E53-0E4CA074B73B> /usr/lib/libc++.1.dylib
    0x9ae1e000 - 0x9b164ff3  com.apple.HIToolbox (1.9 - ???) <409E6397-0DCB-3431-9CCC-368317C62545> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Ver sions/A/HIToolbox
    0x9b16c000 - 0x9b177fff  libkxld.dylib (??? - ???) <D8ED88D0-7153-3514-9927-AF15A12261A5> /usr/lib/system/libkxld.dylib
    0x9b178000 - 0x9b180ff5  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <A1BFC320-616A-30AA-A41E-29D7904FC4C7> /usr/lib/system/libcopyfile.dylib
    0x9b181000 - 0x9b1e3ff3  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <266CE9B3-526A-3C41-BA58-7AE66A3B15FD> /usr/lib/libstdc++.6.dylib
    0x9b1e4000 - 0x9b1e7ff7  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <69357047-7BE0-3360-A36D-000F55E39336> /usr/lib/system/libmathCommon.A.dylib
    0x9b1e8000 - 0x9b20effb  com.apple.quartzfilters (1.7.0 - 1.7.0) <9C8F1F3D-D570-3F5C-9B31-5B5B82161CDE> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters.framework /Versions/A/QuartzFilters
    0x9b33e000 - 0x9b33eff2  com.apple.CoreServices (53 - 53) <7CB7AA95-D5A7-366A-BB8A-035AA9E582F8> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x9b33f000 - 0x9b36eff7  libsystem_info.dylib (??? - ???) <37640811-445B-3BB7-9934-A7C99848250D> /usr/lib/system/libsystem_info.dylib
    0x9b467000 - 0x9b477fff  com.apple.LangAnalysis (1.7.0 - 1.7.0) <6D6F0C9D-2EEA-3578-AF3D-E2A09BCECAF3> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalys is.framework/Versions/A/LangAnalysis
    0x9b478000 - 0x9b4a2ff0  libpcre.0.dylib (1.1.0 - compatibility 1.0.0) <5CAA1478-97E0-31EA-8F50-BF09D665DD84> /usr/lib/libpcre.0.dylib
    0x9b600000 - 0x9b640ff7  com.apple.NavigationServices (3.7 - 193) <16A8BCC8-7343-3A90-88B3-AAA334DF615F> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.fram ework/Versions/A/NavigationServices
    0x9b641000 - 0x9b7a3ffb  com.apple.QuartzCore (1.7 - 270.4) <6BC84C60-1003-3008-ABE4-779EF7B4F524> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x9bc80000 - 0x9bcaeff7  com.apple.DictionaryServices (1.2.1 - 158.2) <DA16A8B2-F359-345A-BAF7-8E6A5A0741A1> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryService s.framework/Versions/A/DictionaryServices
    0x9bcb3000 - 0x9bd57fff  com.apple.QD (3.40 - ???) <3881BEC6-0908-3073-BA44-346356E1CDF9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framewo rk/Versions/A/QD
    0x9bd5a000 - 0x9beacfff  com.apple.audio.toolbox.AudioToolbox (1.7.2 - 1.7.2) <E369AC9E-F548-3DF6-B320-9D09E486070E> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x9bef2000 - 0x9bf08ffe  libxpc.dylib (77.19.0 - compatibility 1.0.0) <0585AA94-F4FD-32C1-B586-22E7184B781A> /usr/lib/system/libxpc.dylib
    0x9bf09000 - 0x9bf0dfff  libGIF.dylib (??? - ???) <A6F1ACAE-7B9B-3B3F-A54A-ED4004EA1D85> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.fr amework/Versions/A/Resources/libGIF.dylib
    0x9bf0e000 - 0x9bf10ff7  libdyld.dylib (195.5.0 - compatibility 1.0.0) <637660EA-8D12-3B79-B644-041FEADC9C33> /usr/lib/system/libdyld.dylib
    0x9bf11000 - 0x9c073fff  com.apple.QTKit (7.7.1 - 2330) <DD58823D-D3E7-31CB-9DF9-ACB981F5A744> /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit
    0x9c074000 - 0x9c07affb  com.apple.print.framework.Print (7.4 - 247.3) <CB075EEE-FA1F-345C-A1B5-1AB266FC73A1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Version s/A/Print
    0x9c07b000 - 0x9c098fff  libresolv.9.dylib (46.1.0 - compatibility 1.0.0) <2870320A-28DA-3B44-9D82-D56E0036F6BB> /usr/lib/libresolv.9.dylib
    0x9c099000 - 0x9c0aefff  com.apple.speech.synthesis.framework (4.0.74 - 4.0.74) <92AADDB0-BADF-3B00-8941-B8390EDC931B> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynt hesis.framework/Versions/A/SpeechSynthesis
    0x9c0af000 - 0x9c0dcff9  com.apple.securityinterface (5.0 - 55022.4) <B59D9B2A-7FB8-32EC-B8D9-6D4DE76508F7> /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInterface
    0x9c0dd000 - 0x9c0e1ffa  libcache.dylib (47.0.0 - compatibility 1.0.0) <98A82BC5-0DD9-3212-9CAE-35A77278EEB6> /usr/lib/system/libcache.dylib
    0x9c0e2000 - 0x9c0f0ff7  libxar-nossl.dylib (??? - ???) <5BF4DA8E-C319-354A-967E-A0C725DC8BA3> /usr/lib/libxar-nossl.dylib
    0x9c0f1000 - 0x9c0f2ff4  libremovefile.dylib (21.1.0 - compatibility 1.0.0) <6DE3FDC7-0BE0-3791-B6F5-C15422A8AFB8> /usr/lib/system/libremovefile.dylib
    0x9c0f3000 - 0x9c1b3ffb  com.apple.ColorSync (4.7.4 - 4.7.4) <0A68AF35-15DF-3A0A-9B17-70CE2A106A6C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync. framework/Versions/A/ColorSync
    0x9c1b4000 - 0x9c56effb  com.apple.SceneKit (125.3 - 125.4) <48806882-FE04-36A5-83A1-A0D2F2FA03F9> /System/Library/PrivateFrameworks/SceneKit.framework/Versions/A/SceneKit
    0x9c580000 - 0x9c580fff  com.apple.vecLib (3.7 - vecLib 3.7) <8CCF99BF-A4B7-3C01-9219-B83D2AE5F82A> /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x9c581000 - 0x9c598ff8  com.apple.CoreMediaAuthoring (2.0 - 891) <69D569FD-670C-3BD0-94BF-7A8954AA2953> /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreMediaAuthor ing
    0x9c656000 - 0x9c6ceff8  com.apple.CorePDF (3.1 - 3.1) <0074267B-F74A-30FC-8508-A14C821F0771> /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF
    0x9c6cf000 - 0x9c6d6ff9  libsystem_dnssd.dylib (??? - ???) <D3A766FC-C409-3A57-ADE4-94B7688E1C7E> /usr/lib/system/libsystem_dnssd.dylib
    0x9c738000 - 0x9c73bffc  libpam.2.dylib (3.0.0 - compatibility 3.0.0) <6FFDBD60-5EC6-3EFA-996B-EE030443C16C> /usr/lib/libpam.2.dylib
    0x9ca6c000 - 0x9cabeffb  com.apple.CoreMediaIO (212.0 - 3199.1.1) <BBC14F4C-2748-3583-85E3-EF3A1F249370> /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO
    0x9cabf000 - 0x9cce8ffb  com.apple.QuartzComposer (5.0 - 236.7) <1504F5A4-FF1A-365E-9E01-30410C561C2C> /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framewor k/Versions/A/QuartzComposer
    0x9ccf3000 - 0x9cd07ff7  com.apple.CFOpenDirectory (10.7 - 144) <665CDF77-F0C9-3AFF-8CF8-64257268B7DD> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory. framework/Versions/A/CFOpenDirectory
    0x9cd0b000 - 0x9cde1aab  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <2E272DCA-38A0-3530-BBF4-47AE678D20D4> /usr/lib/libobjc.A.dylib
    0x9ce62000 - 0x9ced6fff  com.apple.CoreSymbolication (2.2 - 73.2) <FA9305CA-FB9B-3646-8C41-FF8DF15AB2C1> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolicatio n
    0x9ced7000 - 0x9cf38ffb  com.apple.audio.CoreAudio (4.0.2 - 4.0.2) <E617857C-D870-3E2D-BA13-3732DD1BC15E> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    External Modification Summary:
      Calls made by other processes targeting this process:
        task_for_pid: 2
        thread_create: 0
        thread_set_state: 0
      Calls made by this process:
        task_for_pid: 0
        thread_create: 0
        thread_set_state: 0
      Calls made by all processes on this machine:
        task_for_pid: 3190
        thread_create: 1
        thread_set_state: 0
    VM Region Summary:
    ReadOnly portion of Libraries: Total=207.1M resident=172.0M(83%) swapped_out_or_unallocated=35.1M(17%)
    Writable regions: Total=96.6M written=13.8M(14%) resident=33.8M(35%) swapped_out=0K(0%) unallocated=62.8M(65%)
    REGION TYPE                      VIRTUAL
    ===========                      =======
    ATS (font support)                 32.0M
    ATS (font support) (reserved)         4K        reserved VM address space (unallocated)
    CG backing stores                   224K
    CG image                              4K
    CG raster data                       64K
    CG shared images                   3448K
    CoreGraphics                          8K
    CoreServices                       4948K
    IOKit                               168K
    MALLOC                             27.5M
    MALLOC guard page                    32K
    Memory tag=240                     5652K
    Memory tag=242                       12K
    Memory tag=249                      156K
    SQLite page cache                   192K
    Stack                              68.6M
    VM_ALLOCATE                        28.7M
    __CI_BITMAP                          80K
    __DATA                             12.2M
    __DATA/__OBJC                       144K
    __IMAGE                             528K
    __IMPORT                              4K
    __LINKEDIT                         42.8M
    __OBJC                             2452K
    __OBJC/__DATA                       176K
    __PAGEZERO                            4K
    __TEXT                            164.3M
    __UNICODE                           732K
    mapped file                       113.6M
    shared memory                       312K
    shared pmap                        7120K
    ===========                      =======
    TOTAL                             515.5M
    TOTAL, minus reserved VM space    515.5M
    System Profile:
    Model: iMac10,1, BootROM IM101.00CC.B00, 2 processors, Intel Core 2 Duo, 3.33 GHz, 8 GB, SMC 1.52f9
    Graphics: ATI Radeon HD 4670, ATI Radeon HD 4670, PCIe, 256 MB
    Memory Module: BANK 0/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
    Memory Module: BANK 1/DIMM0, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
    Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
    Memory Module: BANK 1/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533642465238432D47372020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x8F), Atheros 9280: 4.0.64.8-P2P
    Bluetooth: Version 4.0.5f11, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: Hitachi HDS5C1010CLA382, 1 TB
    Serial ATA Device: PIONEER DVD-RW  DVRTS09
    USB Device: hub_device, 0x050d  (Belkin Corporation), 0x0234, 0x24300000 / 3
    USB Device: exernal hd, 0x059b  (Iomega Corporation), 0x0370, 0x24340000 / 4
    USB Device: Built-in iSight, apple_vendor_id, 0x8502, 0x24400000 / 2
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0x26500000 / 2
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0x06110000 / 5

    Thanks for the crash log  It looks like you have AIR 3.2 installed.  Could you try updating to 3.3 and generate another log?
    http://get.adobe.com/air

  • Hr programming - logical database - macro

    Hi everyone !
    I use pnp logical database.
    Now how the program familiar the macro RP-PROVIDE-FROM-FIRST
    from table trmac ? ?
    i know that macro can be familiar from the program between lines:
    define .......
    end-of-definition.
    someone can explain to me ?

    Hi
    See this sample program for using the LDB PNP and the MAcros
    report zporgr0030
           line-size 193
           line-count 60(1)
           no standard page heading
           message-id zndc.
    Database Tables
    tables:    pernr,    " Logical PNP
               t001p,    " Personnel Subarea
               t005t,    " Country Descriptions
               t500p,    " Personnel Area
               t501,     " Employee Group
               t503k,    " Employee Subgroup
               csks,     " Cost Centers
               cskt,     " Cost Center Texts
               t513c,    " Job (Previous) Texts
               t513s,    " Job Titles
               t517t,    " Edn Est.Text
               t518b,    " Discipline Text
               t519t,    " Certificate Text
               t528t,    " Positions Texts
               t538t,    " Unit Text
               pa0003.   " Payroll Status
    infotypes:
               0000,   " Actions
               0001,   " Organizational Assignment
               0002,   " Personal Data
               0007,   " Planned working time
               0008,   " Payroll Data
               0022,   " Education Data
               0023,   " Previous Employer data
               0025,   " Performance Appraisal Data
               0041,   " Date Spcifications
               2001.   " Absences
    Declaration of Internal Tables
    Internal Table for Personal Data
    data: begin of pers_tab occurs 0,
            pernr like pa0001-pernr,      " Personal Number
            ename like pa0001-ename,      " Employee Name
            trfgr like pa0008-trfgr,      " Grade
            natio like pa0002-natio,      " Nationality
            hdate like pa0041-dat01,      " Hire Date
            gbdat like pa0002-gbdat,      " Birth Date
            plans like pa0001-plans,      " Position
            werks like pa0001-werks,      " Pers.Area
            kostl like pa0001-kostl,      " Cost Center
            ctext(40),                    " Cost Center Text
            ptext(25),                    " Position Text
            ntext(15),                    " Nation Text
            name1(23),                    " Location
          end of pers_tab.
    Internal Table for Payroll Data
    data: begin of pay_tab occurs 0,
            pernr like pa0008-pernr,      " Personal Number
            waers like pbwla-waers,       " Grade
            basic like pa0008-bet01,      " Basic Pay
            hra_allow like pa0008-bet01,  " Housing Allowance
            sup_allow like pa0008-bet01,  " Supp. Allowance
            soc_allow like pa0008-bet01,  " Social Allowance
            chl_allow like pa0008-bet01,  " Child Allowance
            fix_allow like pa0008-bet01,  " Fixed Overtime
            ra_allow  like pa0008-bet01,  " RA Allowance
            per_allow like pa0008-bet01,  " Perform. Allowance
            pen_allow like pa0008-bet01,  " Pension Allowance
            oth_allow like pa0008-bet01,  " Other Allowances
            tot_allow like pa0008-bet01,  " Total Allowances
          end of pay_tab.
    Internal Table for Educational Data
    data: begin of edn_tab occurs 0,
            pernr like pa0022-pernr,      " Personal Number
            ausbi like pa0022-ausbi,      " Discipline Name
            slart like pa0022-slart,      " Edn Establishment
            insti like pa0022-insti,      " Institute
            sland like pa0022-sland,      " Country
            slabs like pa0022-slabs,      " Certificate
            anzkl like pa0022-anzkl,      " Duration
            anzeh like pa0022-anzeh,      " Unit for Duration
            atext like t518b-atext,       " Discipline Text
            stext like t517t-stext,       " Edn Est.Text
            landx like t005t-landx,       " Country Text
            ctext like t519t-stext,       " Certificate Text
            etext like t538t-etext,       " Unit Text
          end of edn_tab.
    Internal Table for Previous Employment Data
    data: begin of pemp_tab occurs 0,
            pernr like pa0023-pernr,      " Personal Number
            arbgb like pa0023-arbgb,      " Previous Employer
            begda like pa0023-begda,      " Start Date
            endda like pa0023-endda,      " End Date
            taete like pa0023-taete,      " Last Position
            land1 like pa0023-land1,      " Country
            stltx like t513s-stltx,       " Position Text
            landx like t005t-landx,       " Country Text
          end of pemp_tab.
    Internal Table for Job History Data
    data: begin of job_tab occurs 0,
            pernr like pa0001-pernr,      " Personal Number
            begda like pa0001-begda,      " Promotion Date
            plans like pa0001-plans,      " Position
            stell like pa0001-stell,      " Job Key
            stltx like t513s-stltx,       " Job Text
            ptext like t528t-plstx,       " Position Text
          end of job_tab.
    Internal Table for Performance Appraisal Data
    data: begin of app_tab occurs 0,
            pernr like pa0001-pernr,       " Personal Number
            year(4) type     c,            " Current Year
            appr(35) type    c,            " C Y Appraisal
           year1(4) type    c,            " Last Year
           appr1(35) type   c,            " Last Year Appraisal
           year2(4) type    c,
           appr2(35) type   c,
           year3(4) type    c,
           appr3(35) type   c,
           year4(4) type    c,
           appr4(35) type   c,
          end of app_tab.
    Internal Table for Performance Appraisal Data
    data: begin of app1_tab occurs 0,
            year(4) type     c,            " Year
            appr(35) type    c,            " Appraisal
          end of app1_tab.
    Internal Table to get the Payroll Amounts
    data  wage_tab like pbwla occurs 0 with header line.
    Internal table for retreiving Employee Appraisals
    data  app_in_tab  like hrsobid occurs 0 with header line .
    data  app_out_tab like hrpe_profa  occurs 0 with header line .
    Declaration of Variables
    data : v_year(4)  type c,
           v_ayear(4) type c,
           v_cyear(4) type c,
           v_year1(4) type c,
           v_year2(4) type c,
           v_year3(4) type c,
           v_year4(4) type c,
           v_year5(4) type c,
           v_year6(4) type c,
           v_mon(2)   type c,
           v_date2  like sy-datum,
           v_date3  like sy-datum,
           v_date   like sy-datum,
           v_date1  like sy-datum.
    Declaration of Constants
    constants : c_x       type c value 'X',              " Sign
                c_pernr(8) type n value '00000000',      " Pernr
                c_p   like hrp1007-otype  value 'P',     " Object Type
                c_01  like hrp1001-plvar  value '01',    " Version
                c_val1(2) type c value '31',             " Date Type
                c_val2(2) type c value '12',             " Date Type
                c_val    like p0041-dar01 value '01',    " Date Type
                c_1      like pernr-persg value '1',     " Emp Group
                c_type   like hrp1001-otype  value 'S',  " Object Type
                c_date1  like sy-datum value '18000101', " Date
                c_date2  like sy-datum value '99991231', " Date
                c_lga01 like pa0008-lga01 value '0101',  " Wage Type
                c_lga02 like pa0008-lga01 value '0102',  " Wage Type
                c_lga03 like pa0008-lga01 value '0103',  " Wage Type
                c_lga04 like pa0008-lga01 value '0105',  " Wage Type
                c_lga05 like pa0008-lga01 value '0109',  " Wage Type
                c_lga06 like pa0008-lga01 value '0110',  " Wage Type
                c_lga07 like pa0008-lga01 value '0114',  " Wage Type
                c_lga08 like pa0008-lga01 value '0116',  " Wage Type
                c_lga09 like pa0008-lga01 value '0267',  " Wage Type
                c_kokrs  like cskt-kokrs value '1000'.   " Controlling Area
    Selection Screen
    selection-screen begin of block b1 with frame title text-003.
    selection-screen begin of line.
    selection-screen comment 1(33)   text-060.
    parameters: r_all radiobutton group rb1.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(33)   text-020.
    parameters: r_per radiobutton group rb1.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(33)   text-021.
    parameters: r_pay radiobutton group rb1.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(33)   text-022.
    parameters: r_edn radiobutton group rb1.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(33)   text-023.
    parameters: r_pemp radiobutton group rb1.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(33)   text-024.
    parameters: r_job radiobutton group rb1.
    selection-screen end of line.
    selection-screen begin of line.
    selection-screen comment 1(33)   text-025.
    parameters: r_app radiobutton group rb1.
    selection-screen end of line.
    selection-screen end of block b1.
    At selection-screen
    at selection-screen.
    Validate the Selection Screen fields
      perform validate_screen.
    Start-of-Selection
    start-of-selection.
    Selection of Period
      perform get_period.
    Get PERNR from LDB
    get pernr.
      if pernr-persg eq c_1 or pernr-pernr ne c_pernr.
        if r_all eq c_x.
    Get the Personal data from PA0001,PA0002, PA0008, PA0041
          perform get_pers_data.
    Get the Payroll data from PA0008
          perform get_pay_data.
    Get the Education data from PA0022
          perform get_edn_data.
    Get the Previous Employment data from PA0023
          perform get_pemp_data.
    Get the Job History data
          perform get_job_data.
    Get the Performance Appraisal data
          perform get_app_data.
        elseif r_per eq c_x.
    Get the Personal data from PA0001,PA0002, PA0008, PA0041
          perform get_pers_data.
        elseif r_pay eq c_x.
    Get the Payroll data from PA0008
          perform get_pay_data.
        elseif r_edn eq c_x.
    Get the Education data from PA0022
          perform get_edn_data.
        elseif r_pemp eq c_x.
    Get the Previous Employment data from PA0023
          perform get_pemp_data.
        elseif r_job eq c_x.
    Get the Job History data
          perform get_job_data.
        elseif r_app eq c_x.
    Get the Performance Appraisal data
          perform get_app_data.
        endif.
      endif.
    Top-of-page
    top-of-page.
    Write the Report and Column Headings
      perform top_of_page.
    End-of-Page
    end-of-page.
      perform end_of_page.
    End-of-Selection
    end-of-selection.
    Display the Output Report.
      perform display_report.
    Form-Routines
    *&      Form  validate_screen
    Validation of selection Screen fields
    form validate_screen.
    Validation of Personnel Number
      clear pa0003.
      if not pnppernr[] is initial.
        select pernr
        from pa0003 up to 1 rows
          into pa0003-pernr
          where pernr in pnppernr.
        endselect.
        if sy-subrc <> 0.
          message e999 with 'Incorrect Personnel Number Entered'(001).
        endif.
      endif.
    Validation of Cost Center
      clear csks.
      if not pnpkostl[] is initial.
        select single kostl
          into csks-kostl
          from csks
          where kostl in pnpkostl.
        if sy-subrc <> 0.
          message e999 with 'Invalid Cost Center'(002).
        endif.
      endif.
    Validation of Personnel Area
      clear t500p.
      if not pnpwerks[] is initial.
        select persa
        from t500p up to 1 rows
          into t500p-persa
          where persa in pnpwerks.
        endselect.
        if sy-subrc <> 0.
          message e999 with 'Incorrect Personnel Area Entered'(004).
        endif.
      endif.
    Validation of Personnel Sub Area
      clear t001p.
      if not pnpbtrtl[] is initial.
        select btrtl
        from t001p up to 1 rows
          into t001p-btrtl
          where btrtl in pnpbtrtl.
        endselect.
        if sy-subrc <> 0.
          message e999 with 'Incorrect Personnel Sub Area Entered'(005).
        endif.
      endif.
    Validation of Employee Group
      clear t501.
      if not pnppersg[] is initial.
        select persg
        from t501 up to 1 rows
          into t501-persg
          where persg in pnppersg.
        endselect.
        if sy-subrc <> 0.
          message e999 with 'Incorrect Employee Group Entered'(006).
        endif.
      endif.
    Validation of Employee Sub Group
      clear t503k.
      if not pnppersk[] is initial.
        select persk
        from t503k up to 1 rows
          into t503k-persk
          where persk in pnppersk.
        endselect.
        if sy-subrc <> 0.
          message e999 with 'Incorrect Employee Sub Group Entered'(007).
        endif.
      endif.
    endform.                  "validate_screen
    *&      Form  get_period
    Get the Correct Period based on Selection screen selection
    form get_period.
      clear: v_year,v_mon, v_date, v_date1.
      v_year = sy-datum+0(4).
      v_mon  = sy-datum+4(2).
      if pnptimr1 = c_x.      " Current Date
        pnpbegda = sy-datum.
        pnpendda = sy-datum.
      elseif pnptimr2 = c_x.  " Current Month
        concatenate v_year v_mon c_val into v_date.
        concatenate v_year v_mon c_val1 into v_date1.
        pnpbegda = v_date.
        pnpendda = v_date1.
      elseif pnptimr3 = c_x.  " Current Year
        concatenate v_year c_val c_val into v_date.
        concatenate v_year c_val2 c_val1 into v_date1.
        pnpbegda = v_date.
        pnpendda = v_date1.
      elseif pnptimr4 = c_x.  " Upto Today
        pnpbegda = c_date1.
        pnpendda = sy-datum.
      elseif pnptimr5 = c_x.  " From Today
        pnpbegda = sy-datum.
        pnpendda = c_date2.
      else.
        if ( pnpbegda is initial and pnpendda is initial ).
          pnpbegda = c_date1.
          pnpendda = c_date2.
        elseif pnpbegda is initial and not pnpendda is initial.
          pnpbegda = c_date1.
          pnpendda = pnpendda.
        elseif not ( pnpbegda is initial and pnpendda is initial ).
          pnpbegda = pnpbegda.
          pnpendda = pnpendda.
        endif.
      endif.
    endform.              "get_period
    *&      Form  get_pers_data
    Get the Personal Data from PA0001,PA0002,PA0008, PA0041
    form get_pers_data.
    Get data from Respective Infotypes
      rp_provide_from_last p0001 space pnpbegda pnpendda.
      rp_provide_from_last p0002 space pnpbegda pnpendda.
      rp_provide_from_last p0008 space pnpbegda pnpendda.
      rp_provide_from_last p0041 space pnpbegda pnpendda.
      pers_tab-pernr    = p0001-pernr.
      pers_tab-ename    = p0001-ename.
      pers_tab-werks    = p0001-werks.
      pers_tab-plans    = p0001-plans.
      pers_tab-kostl    = p0001-kostl.
      pers_tab-gbdat    = p0002-gbdat.
      pers_tab-trfgr    = p0008-trfgr.
    Get the Engaged Date
      read table p0041 with key dar01 = c_val.
      if sy-subrc = 0.
        pers_tab-hdate = p0041-dat01.
      endif.
    Get the Cost Center Text
      clear cskt-ltext.
      select single ltext into cskt-ltext from cskt
              where spras = sy-langu and
                    kokrs = c_kokrs and
                    kostl = p0001-kostl.
      if sy-subrc = 0.
        pers_tab-ctext = cskt-ltext.
      endif.
    Get the Position Text
      clear t528t-plstx.
      select single plstx into t528t-plstx from t528t
              where plans = p0001-plans and
                    otype = c_type and
                    sprsl = sy-langu.
      if sy-subrc = 0.
        pers_tab-ptext = t528t-plstx.
      endif.
    Get the Nationality
      clear t005t-natio.
      select single natio into t005t-natio from t005t
              where spras = sy-langu and
                    land1 = p0002-natio.
      if sy-subrc = 0.
        pers_tab-ntext = t005t-natio.
      endif.
    Get the Location (Personal Area) Text
      clear t500p-name1.
      select single name1 into t500p-name1 from t500p
              where persa = p0001-werks.
      if sy-subrc = 0.
        pers_tab-name1 = t500p-name1.
      endif.
      append pers_tab.
      clear pers_tab.
      sort pers_tab by pernr.
    endform.          "get_pers_data
    *&      Form  get_pay_data
    Get the Payroll Data from Infotype 0008
    form get_pay_data.
    Get the Payroll data from Respective Infotypes
      rp_provide_from_last p0008 space pnpbegda pnpendda.
      pay_tab-pernr    = pernr-pernr.
      call function 'RP_FILL_WAGE_TYPE_TABLE_EXT'
        exporting
         appli                              = 'E'
         begda                              = p0008-begda
         endda                              = p0008-endda
         infty                              = '0008'
         objps                              = '  '
         tclas                              = 'A'
         pernr                              = pernr-pernr
         seqnr                              = '   '
         subty                              = '0   '
         dlspl                              = 'X'
         msgflg                             = ''
         nordct                             = ''
        tables
          pp0001                             = p0001
          pp0007                             = p0007
          pp0008                             = p0008
          ppbwla                             = wage_tab
      PP0230                             =
      PP0014                             =
      PP0015                             =
      PP0052                             =
    EXCEPTIONS
      ERROR_AT_INDIRECT_EVALUATION       = 1
      OTHERS                             = 2
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
      loop at wage_tab.
        pay_tab-waers = wage_tab-waers.
        case wage_tab-lgart.
          when c_lga01.
            pay_tab-basic = wage_tab-betrg.
          when c_lga02.
            pay_tab-sup_allow = wage_tab-betrg.
          when c_lga03.
            pay_tab-hra_allow = wage_tab-betrg.
          when c_lga04.
            pay_tab-chl_allow = wage_tab-betrg.
          when c_lga05.
            pay_tab-soc_allow = wage_tab-betrg.
          when c_lga06.
            pay_tab-fix_allow = wage_tab-betrg.
          when c_lga07.
            pay_tab-ra_allow = wage_tab-betrg.
          when c_lga08.
            pay_tab-per_allow = wage_tab-betrg.
          when c_lga09.
            pay_tab-pen_allow = wage_tab-betrg.
          when others.
            pay_tab-oth_allow = pay_tab-oth_allow + wage_tab-betrg.
        endcase.
        pay_tab-tot_allow = pay_tab-basic + pay_tab-sup_allow +
                            pay_tab-hra_allow + pay_tab-chl_allow +
                            pay_tab-soc_allow + pay_tab-fix_allow +
                            pay_tab-ra_allow + pay_tab-per_allow +
                            pay_tab-oth_allow - pay_tab-pen_allow.
      endloop.
      append pay_tab.
      clear  pay_tab.
    endform.          "get_pay_data
    *&      Form  get_edn_data
    Get the Education Data from Infotype 0022
    form get_edn_data.
    Get the Education data from Respective Infotypes
      loop at p0022 where pernr = pernr-pernr.
        edn_tab-pernr    = pernr-pernr.
        edn_tab-ausbi    = p0022-ausbi.
        edn_tab-slart    = p0022-slart.
        edn_tab-insti    = p0022-insti.
        edn_tab-sland    = p0022-sland.
        edn_tab-slabs    = p0022-slabs.
        edn_tab-anzkl    = p0022-anzkl.
        edn_tab-anzeh    = p0022-anzeh.
    Get the Discipline Text
        clear t518b-atext.
        select single atext into t518b-atext from t518b
                where langu = sy-langu and
                      ausbi = p0022-ausbi.
        if sy-subrc = 0.
          edn_tab-atext = t518b-atext.
        endif.
    Get the Edn Establishment Text
        clear t517t-stext.
        select single stext into t517t-stext from t517t
                where slart = p0022-slart and
                      sprsl = sy-langu.
        if sy-subrc = 0.
          edn_tab-stext = t517t-stext.
        endif.
    Get the Certificate Text
        clear t519t-stext.
        select single stext into t519t-stext from t519t
                where slabs = p0022-slabs and
                      sprsl = sy-langu.
        if sy-subrc = 0.
          edn_tab-ctext = t519t-stext.
        endif.
    Get the Unit Text
        clear t538t-etext.
        select single etext into t538t-etext from t538t
                where zeinh = p0022-anzeh and
                      sprsl = sy-langu.
        if sy-subrc = 0.
          edn_tab-etext = t538t-etext.
        endif.
    Get the Country Description
        clear t005t-landx.
        select single landx into t005t-landx from t005t
                where spras = sy-langu and
                      land1 = p0022-sland.
        if sy-subrc = 0.
          edn_tab-landx = t005t-landx.
        endif.
        append edn_tab.
        clear edn_tab.
      endloop.
    endform.              "edn_data
    *&      Form  get_pemp_data
    Get the Previous Employment Data from Infotype 0023
    form get_pemp_data.
    Get the Previous Employment data from Respective Infotypes
      loop at p0023 where pernr = pernr-pernr.
        pemp_tab-pernr    = pernr-pernr.
        pemp_tab-arbgb    = p0023-arbgb.
        pemp_tab-begda    = p0023-begda.
        pemp_tab-endda    = p0023-endda.
        pemp_tab-taete    = p0023-taete.
        pemp_tab-land1    = p0023-land1.
    Get the Last Job Text
        clear t513c-ltext.
        select single ltext into t513c-ltext from t513c
                where taete = pemp_tab-taete and
                      spras = sy-langu.
        if sy-subrc = 0.
          pemp_tab-stltx = t513c-ltext.
        endif.
    Get the Country Description
        clear t005t-landx.
        select single landx into t005t-landx from t005t
                where spras = sy-langu and
                      land1 = pemp_tab-land1.
        if sy-subrc = 0.
          pemp_tab-landx = t005t-landx.
        endif.
        append pemp_tab.
        clear pemp_tab.
      endloop.
      sort pemp_tab by pernr.
    endform.              "pemp_data
    *&      Form  get_job_data
    Get the Job History Data from Infotype
    form get_job_data.
    Get the Job History data from Respective Infotypes
      loop at p0001 where pernr = pernr-pernr.
        job_tab-pernr    = pernr-pernr.
        job_tab-begda    = p0001-begda.
        job_tab-plans    = p0001-plans.
        job_tab-stell    = p0001-stell.
    Get the Last Job Text
        clear t513s-stltx.
        select single stltx into t513s-stltx from t513s
                where stell = job_tab-stell and
                      sprsl = sy-langu.
        if sy-subrc = 0.
          job_tab-stltx = t513s-stltx.
        endif.
    Get the Position Text
        clear t528t-plstx.
        select single plstx into t528t-plstx from t528t
                where plans = job_tab-plans and
                      otype = c_type and
                      sprsl = sy-langu.
        if sy-subrc = 0.
          job_tab-ptext = t528t-plstx.
        endif.
        append job_tab.
        clear  job_tab.
      endloop.
      sort job_tab by pernr.
    endform.          "get_job_data
    *&      Form  get_app_data
    Get the Performance Appraisal Data from Infotype
    form get_app_data.
      clear: v_cyear, v_year1, v_year2, v_year3, v_year4,
             v_year5, v_year6, v_ayear, v_date2, v_date3.
      v_cyear = sy-datum+0(4) - 1.
      v_year1 = v_cyear - 1.
      v_year2 = v_cyear - 2.
      v_year3 = v_cyear - 3.
      v_year4 = v_cyear - 4.
      v_year5 = v_cyear - 5.
      v_year6 = v_cyear - 6.
      concatenate v_cyear c_date2+4(4) into v_date2.
      concatenate v_year6 c_date1+4(4) into v_date3.
      clear: app_in_tab, app_out_tab.
      refresh: app_in_tab, app_out_tab.
      app_in_tab-plvar = c_01.
      app_in_tab-otype = c_p.
      app_in_tab-sobid = pernr-pernr.
      append app_in_tab.
    Get Appraisals data from Respective Infotypes
      call function 'RHPA_APPRAISEES_APP_READ'
       exporting
         begda               =   v_date3
         endda               =   v_date2
      WITH_STEXT          = 'X'
      WITH_ADD_INFO       = 'X'
        tables
          appraisees          = app_in_tab
          appraisals          = app_out_tab
       exceptions
         no_authority        = 1
         undefined           = 2
         others              = 3
      if sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
      sort app_out_tab  by sobid vbegd vendd appraisal_adate descending .
      delete adjacent duplicates from app_out_tab
                comparing  sobid vbegd vendd.
      loop at app_out_tab where appraisal_histo = 'X' .
        condense app_out_tab-appraisal_result.
        app1_tab-year = app_out_tab-vendd+0(4).
        app1_tab-appr = app_out_tab-appraisal_result_text.
        append app1_tab.
        clear app1_tab.
      endloop.
      sort app1_tab by year descending.
      loop at app1_tab.
        app_tab-pernr    = pernr-pernr.
        move-corresponding  app1_tab to app_tab.
        append app_tab.
        clear: app1_tab, app_tab.
      endloop.
      refresh app1_tab.
      sort app_tab by pernr.
      delete app_tab where year = ' ' and appr = ' ' .
    endform.          "get_app_data
    *&      Form  top_of_page
    Write the Report and Column Headings
    form top_of_page.
      skip.
      format color col_heading on.
      if r_all eq c_x.
        write: /1(193) 'NATIONAL DRILLING COMPANY'(009) centered,
               /1(193) 'Employee Details Report'(066) centered.
      elseif r_per eq c_x.
        write: /1(193) 'NATIONAL DRILLING COMPANY'(009) centered,
               /1(193) 'Employee Details - Personal Data'(010)
                                                centered.
      elseif r_pay eq c_x.
        write: /1(172) 'NATIONAL DRILLING COMPANY'(009) centered,
               /1(172) 'Employee Details - Payroll Data'(027)
                                                centered.
      elseif r_edn eq c_x.
        write: /1(172) 'NATIONAL DRILLING COMPANY'(009) centered,
               /1(172) 'Employee Details - Education Data'(028)
                                                centered.
      elseif r_pemp eq c_x.
        write: /1(97) 'NATIONAL DRILLING COMPANY'(009) centered,
              /1(97) 'Employee Details - Previous Employment Data'(029)
                                                centered.
      elseif r_job eq c_x.
        write: /1(75) 'NATIONAL DRILLING COMPANY'(009) centered,
              /1(75) 'Employee Details - Job History Data'(030)
                                                centered.
      elseif r_app eq c_x.
        write: /1(192) 'NATIONAL DRILLING COMPANY'(009) centered,
              /1(192) 'Employee Details - Performance Appraisal Data'(031)
                                                centered.
      endif.
      format color off.
      if pnptimr1 = c_x.      " Current Date
        write: /2 'Period From     :'(008), sy-datum,
                         'To:'(019), sy-datum.
      elseif pnptimr2 = c_x.  " Current Month
        write: /2 'Period From     :'(008), v_date, 'To:'(019), v_date1.
      elseif pnptimr3 = c_x.  " Current Year
        write: /2 'Period From     :'(008), v_date, 'To:'(019), v_date1.
      elseif pnptimr4 = c_x.  " Upto Today
        write: /2 'Period From     :'(008), c_date1, 'To:'(019), sy-datum.
      elseif pnptimr5 = c_x.  " From Today
        write: /2 'Period From     :'(008), sy-datum, 'To:'(019), c_date2.
      else.
        if ( pnpbegda is initial and pnpendda is initial ).
          write: /2 'Period From     :'(008), c_date1, 'To:'(019), c_date2.
        elseif pnpbegda is initial and not pnpendda is initial.
          write: /2 'Period From     :'(008), c_date1, 'To:'(019), pnpendda.
        elseif not ( pnpbegda is initial and pnpendda is initial ).
          write: /2 'Period From     :'(008), pnpbegda,
                   'To:'(019), pnpendda.
        endif.
      endif.
      if not ( r_pemp eq c_x or r_job eq c_x ).
        write: 140 'Report Run Date:'(073), sy-datum.
        if not pnpkostl[] is initial.
          if pnpkostl-high is initial.
            write: /2 'Cost Center     :'(074), pnpkostl-low,
                  125 'Time           :'(075), sy-uzeit.
          else.
            write: /2 'Cost Center From:'(076), pnpkostl-low+7(3),
                                      'To:'(019), pnpkostl-high,
                  140 'Time           :'(075), sy-uzeit.
          endif.
        else.
          write: /140  'Time           :'(075), sy-uzeit.
        endif.
        if not pnppernr[] is initial.
          if pnppernr-high is initial.
            write: /2 'Personal Number :'(077), pnppernr-low,
                   140 'User           :'(078), sy-uname.
          else.
            write: /2 'Personal No.From:'(079),  pnppernr-low,
                                      'To:'(019), pnppernr-high,
                   140 'User           :'(078), sy-uname.
          endif.
        else.
          write: /140 'User           :'(078), sy-uname.
        endif.
        write: /140 'Page No        :'(080), sy-pagno.
      else.
        write: 48 'Report Run Date:'(073), sy-datum.
        if not pnpkostl[] is initial.
          if pnpkostl-high is initial.
            write: /2 'Cost Center     :'(074), pnpkostl-low,
                  48 'Time           :'(075), sy-uzeit.
          else.
            write: /2 'Cost Center From:'(076), pnpkostl-low+7(3),
                                      'To:'(019), pnpkostl-high,
                  48 'Time           :'(075), sy-uzeit.
          endif.
        else.
          write: /48  'Time           :'(075), sy-uzeit.
        endif.
        if not pnppernr[] is initial.
          if pnppernr-high is initial.
            write: /2 'Personal Number :'(077), pnppernr-low,
                   48 'User           :'(078), sy-uname.
          else.
            write: /2 'Personal No.From:'(079),  pnppernr-low,
                                      'To:'(019), pnppernr-high,
                   48 'User           :'(078), sy-uname.
          endif.
        else.
          write: /48 'User           :'(078), sy-uname.
        endif.
        write: /48 'Page No        :'(080), sy-pagno.
      endif.
      skip.
      if r_per eq c_x.
        write /1(193) sy-uline.
        format color col_heading on.
        write:/1 sy-vline,  2(10) 'Employee #'(011),
              12 sy-vline, 13(40) 'Name'(012) centered,
              53 sy-vline, 54(8)  'Grade'(013) centered,
              62 sy-vline, 63(15) 'Nationality'(017) centered,
              78 sy-vline, 79(10) 'Eng.Date'(014) centered,
              89 sy-vline, 90(10) 'Birth Date'(016) centered,
             100 sy-vline,101(25) 'Location'(026) centered,
             126 sy-vline,127(25) 'Position'(015) centered,
             152 sy-vline,153(40) 'Division'(018) centered,
             193 sy-vline.
        format color off.
        write /1(193) sy-uline.
      elseif r_pay eq c_x.
        write /1(188) sy-uline.
        format color col_heading on.
        write:/1 sy-vline,  2(10) 'Employee #'(011),
              12 sy-vline, 13(15) 'Basic'(033) centered,
              28 sy-vline, 29(15) 'Housing Allow.'(034) centered,
              44 sy-vline, 45(15) 'Sup.Allow.'(035) centered,
              60 sy-vline, 61(15) 'Social Allow.'(036) centered,
              76 sy-vline, 77(15) 'Child Allow.'(037) centered,
              92 sy-vline, 93(15) 'Fixed Overtime'(038) centered,
             108 sy-vline,109(15) 'R.A.Allow.'(041) centered,
             124 sy-vline,125(15) 'Perform.Allow.'(039) centered,
             140 sy-vline,141(15) 'Pension.Allow.'(059) centered,
             156 sy-vline,157(15) 'Others'(040) centered,
             172 sy-vline,173(15) 'Total'(042) centered,
             188 sy-vline.
        format color off.
        write /1(188) sy-uline.
      elseif r_edn eq c_x.
        write /1(172) sy-uline.
        format color col_heading on.
        write:/1 sy-vline,  2(10) 'Employee #'(011),
              12 sy-vline, 13(25) 'Discipline'(043) centered,
              38 sy-vline, 39(20) 'Edu.Establishment'(044) centered,
              59 sy-vline, 60(45) 'Institute'(045) centered,
             105 sy-vline,106(15) 'Country'(046) centered,
             121 sy-vline,122(30) 'Certificate'(047) centered,
             152 sy-vline,153(19) 'Duration of Course'(048) centered,
             172 sy-vline.
        format color off.
        write /1(172) sy-uline.
      elseif r_pemp eq c_x.
        write /1(97) sy-uline.
        format color col_heading on.
        write:/1 sy-vline, 12 sy-vline,
              33 sy-vline, 34(21) 'Employment Period'(055) centered,
              55 sy-vline, 81 sy-vline,
              97 sy-vline.
        write:/1 sy-vline,  2(10) 'Employee #'(011),
              12 sy-vline, 13(20) 'Employer'(049) centered,
              33 sy-vline, 34(10) 'From'(050) centered,
              44 sy-vline, 45(10) 'To'(051) centered,
              55 sy-vline, 56(25) 'Last Position'(052) centered,
              81 sy-vline, 82(15) 'Country'(053) centered,
              97 sy-vline.
        format color off.
        write /1(97) sy-uline.
      elseif r_job eq c_x.
        write /1(75) sy-uline.
        format color col_heading on.
        write:/1 sy-vline,
              12 sy-vline,13(10) 'Date of'(054) centered,
              23 sy-vline,49 sy-vline,
              75 sy-vline.
        write:/1 sy-vline,2(10)  'Employee #'(011),
              12 sy-vline,13(10) 'Upgrading/'(058) centered,
              23 sy-vline,24(25) 'Position'(015) centered,
              49 sy-vline,50(25) 'Job'(056) centered,
              75 sy-vline.
        write:/1 sy-vline, 12 sy-vline,
              13(10) 'Promotion'(057) centered,
              23 sy-vline, 49 sy-vline,
              75 sy-vline.
        format color off.
        write /1(75) sy-uline.
      elseif r_app eq c_x.
        format color col_heading on.
         write: /1 sy-vline,2(56) sy-uline, 58 sy-vline,
                /1 sy-vline, 2(56) text-025 centered color 3, 58 sy-vline.
         write /1(58) sy-uline.
         format color col_heading on.
         write:/1 sy-vline,  2(10) 'Employee #'(011),
               12 sy-vline, 13(4)  'Year'(067),
               17 sy-vline, 18(40) 'Appraisal Text'(068) centered,
               58 sy-vline.
        format color off.
        write /1(58) sy-uline.
      endif.
    endform.               "top_of_page
    *&      Form  end_of_page
    Write the Page footers
    form end_of_page.
      if r_per eq c_x.
        write : /(193) sy-uline.
      elseif r_pay eq c_x.
        write : /(188) sy-uline.
      elseif r_edn eq c_x.
        write : /(172) sy-uline.
      elseif r_pemp eq c_x.
        write /1(97) sy-uline.
      elseif r_job eq c_x.
        write /1(75) sy-uline.
      elseif r_app eq c_x.
        write /1(217) sy-uline.
      endif.
    endform.               "end_of_page
    *&      Form  Display_report
    Write the Report Output
    form display_report.
      if r_all eq c_x.
        if pers_tab[] is initial.
          message i999 with
           'No Personal Data found'(061).
        else.
          write: /1 sy-vline,2(51) sy-uline, 53 sy-vline,
                 /1 sy-vline, 2(50) text-020 centered color 3, 53 sy-vline.
          write /1(193) sy-uline.
          format color col_heading on.
          write:/1 sy-vline,  2(10) 'Employee #'(011),
                12 sy-vline, 13(40) 'Name'(012) centered,
                53 sy-vline, 54(8)  'Grade'(013) centered,
                62 sy-vline, 63(15) 'Nationality'(017) centered,
                78 sy-vline, 79(10) 'Eng.Date'(014) centered,
                89 sy-vline, 90(10) 'Birth Date'(016) centered,
               100 sy-vline,101(25) 'Location'(026) centered,
               126 sy-vline,127(25) 'Position'(015) centered,
               152 sy-vline,153(40) 'Division'(018) centered,
               193 sy-vline.
          format color off.
          write /1(193) sy-uline.
          sort pers_tab by pernr.
          loop at pers_tab.
            format color col_normal.
            write:/1 sy-vline,  2(10) pers_tab-pernr,
                  12 sy-vline, 13(40) pers_tab-ename,
                  53 sy-vline, 56(6)  pers_tab-trfgr,
                  62 sy-vline, 63(15) pers_tab-ntext,
                  78 sy-vline, 79(10) pers_tab-hdate,
                  89 sy-vline, 90(10) pers_tab-gbdat,
                 100 sy-vline,101(25) pers_tab-name1,
                 126 sy-vline,127(25) pers_tab-ptext,
                 152 sy-vline,153(40) pers_tab-ctext,
                 193 sy-vline.
          endloop.
          write /1(193) sy-uline.
        endif.
        skip 3.
        if pay_tab[] is initial.
          message i999 with
           'No Standard Pay Data found'(062).
        else.
          write: /1 sy-vline,2(42) sy-uline, 44 sy-vline,
                 /1 sy-vline, 2(42) text-021 centered color 3, 44 sy-vline.
          format color col_heading on.
          write /1(188) sy-uline.
          write:/1 sy-vline,  2(10) 'Employee #'(011),
                12 sy-vline, 13(15) 'Basic'(033) centered,
                28 sy-vline, 29(15) 'Housing Allow.'(034) centered,
                44 sy-vline, 45(15) 'Sup.Allow.'(035) centered,
                60 sy-vline, 61(15) 'Social Allow.'(036) centered,
                76 sy-vline, 77(15) 'Child Allow.'(037) centered,
                92 sy-vline, 93(15) 'Fixed Overtime'(038) centered,
               108 sy-vline,109(15) 'R.A.Allow.'(041) centered,
               124 sy-vline,125(15) 'Perform.Allow.'(039) centered,
               140 sy-vline,141(15) 'Pension.Allow.'(059) centered,
               156 sy-vline,157(15) 'Others'(040) centered,
               172 sy-vline,173(15) 'Total'(042) centered,
               188 sy-vline.
          format color off.
          write /1(188) sy-uline.
          sort pay_tab by pernr.
          loop at pay_tab.
            format color col_normal.
            write:/1 sy-vline,  2(10) pay_tab-pernr,
                  12 sy-vline,
                  13(15) pay_tab-basic currency pay_tab-waers no-zero,
                  28 sy-vline,
                  29(15) pay_tab-hra_allow currency pay_tab-waers no-zero,
                  44 sy-vline,
                  45(15) pay_tab-sup_allow currency pay_tab-waers no-zero,
                  60 sy-vline,
                  61(15) pay_tab-soc_allow currency pay_tab-waers no-zero,
                  76 sy-vline,
                  77(15) pay_tab-chl_allow currency pay_tab-waers no-zero,
                  92 sy-vline,
                  93(15) pay_tab-fix_allow currency pay_tab-waers no-zero,
                 108 sy-vline,
                 109(15) pay_tab-ra_allow currency pay_tab-waers no-zero,
                 124 sy-vline,
                 125(15) pay_tab-per_allow currency pay_tab-waers no-zero,
                 140 sy-vline.
            pay_tab-pen_allow = pay_tab-pen_allow * -1.
            write: 141(15) pay_tab-pen_allow currency pay_tab-waers no-zero,
                   156 sy-vline,
                   157(15) pay_tab-oth_allow currency pay_tab-waers no-zero,
                   172 sy-vline,
                   173(15) pay_tab-tot_allow currency pay_tab-waers no-zero,
                   188 sy-vline.
          endloop.
          write /1(188) sy-uline.
        endif.
        skip 3.
        if edn_tab[] is in

  • Program/Logic behind the Copy functionality in SE38 Transaction

    Hi,
    In SE38 by using the copy option, Program along with sub-objects can be copied to another object.
    Please let me know the Program/Logic behind that functionality.
    Also let me know is there any option in SAP to copy program from one system to another system.
    Thanks,
    Madhuri.

    Hi Madhuri
    This is tha Program logic behind copying object thru se38
    where p_operation would have the value 'COPY'' in it.
      DATA: l_request TYPE REF TO cl_wb_request,
            l_wb_todo_request TYPE REF TO cl_wb_request,
            l_object_name TYPE seu_objkey,
            l_object_type TYPE seu_objtyp,
            l_program_state TYPE REF TO cl_wb_program_state.
      IF trdir-subc = 'I'.
        l_object_type = swbm_c_type_prg_include.
        CALL METHOD cl_wb_object_type=>get_concatenated_key_from_id
          EXPORTING
            p_key_component1 = space
            p_key_component2 = rs38m-programm
            p_external_id    = l_object_type
          RECEIVING
            p_key            = l_object_name.
      ELSE.
        l_object_type = swbm_c_type_prg_source.
        l_object_name = rs38m-programm.
      ENDIF.
      CREATE OBJECT l_program_state.
      CREATE OBJECT l_request
          EXPORTING p_object_type =  l_object_type
                    p_object_name = l_object_name
                    p_operation   = p_operation
                    p_object_state = l_program_state .
      CALL METHOD
        wb_pgeditor_initial_screen->mngr->request_tool_access
        EXPORTING
          p_wb_request      = l_request
        IMPORTING
          p_wb_todo_request = l_wb_todo_request
        EXCEPTIONS
          action_cancelled  = 1
          no_tool_found     = 2.
      IF sy-subrc NE 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ELSE.
        EXIT.
      ENDIF.

  • Programming Logic required for pulling the records for past month /week

    Hi All
    I need help in the SQL programming logic.
    Oracle Database Version: 10.2.0.3.0
    Requirement
    In a data warehouse environment, I need to programme for weekly and monthly automated batch jobs to insert the data from Data_tbl to Reporting_tbl for generating reports. Tables descriptions are given below.
    Table1 - Data_tbl (Source table –this table gets updated everyday).
    Record_dt     first_name     last_name
    Table2 - Reporting_tbl_(Target table)
    Cycle_dt     first_name     last_name
    1. Monthly Report
    In the SQL Query, I have where clause condition—
    Where Record_dt >=’01-nov-08’ and record_dt<=’30-nov-08’
    Using the above condition in development, I am pulling the data from source table for the past month data. This will be repeated every month and it should be automated.
    i.e., if I run this report any time in dec 2008, it should pick records of dates from Nov 01st to Nov 30th 2008. if I run this report any time in Jan 2009, it should pick records of dates from Dec 01st to Dec 31st 2008.
    Date Values should be assigned for past month. Value of Cycle_dt in target table should be end date of past month like 30-nov-2008, 31-dec-2008.
    2. Weekly Report
    In the SQL Query, I have where clause condition—
    Where Record_dt >=’01-dec-08’ and record_dt<=’07-dec-08’
    Here week start day is Monday and end day is Sunday.
    If I run the report between Dec 08th to Dec 14th , it should pull records of dates from Dec 01st to Dec 07th 2008.
    On Dec 15th, it should pick from Dec 08th to Dec 14th.
    Value of Cycle_dt in target table should be end date of past week like 07-Dec-2008, 14-Dec-2008.
    Please help me with the logics for both Monthly and Weekly reports.
    Thanks

    Hi,
    For the monthly report, instead of
    Where Record_dt >=’01-nov-08’ and record_dt<=’30-nov-08’say:
    Where   Record_dt >= TRUNC (ADD_MONTHS (SYSDATE, -1), 'MM')
    and     record_dt <  TRUNC (SYSDATE, 'MM')SYSDATE is the current DATE.
    TRUNC (SYSDATE, 'MM') is the beginning of the current month. (Notice the condition above is less than this date, not equal to it.)
    ADD_MONTHS (STSDATE, -1) is a date exactly one month ago, therefore it is in the previous month.
    For the weekly report, instead of:
    Where Record_dt >=’01-dec-08’ and record_dt<=’07-dec-08’say
    Where   Record_dt >= TRUNC (SYSDATE - 7, 'IW')
    and     record_dt <  TRUNC (SYSDATE, 'IW')TRUNC (dt, 'IW') is the beginning of the ISO week (Monday-Sunday) that contains dt. Again, notice the end condition is strictly less than the beginning of the current week.

  • ABAP Objects: Introduction to Programming SAP Applications

    Hi, does anybody knows any tutorial that would explain me how to install and make available in my SAP installation the examples and database that comes with this book ABAP Objects: Introduction to Programming SAP Applications
    The point is that i couldn't install the version of SAP BASIS that came with the book ( it was SAPmini BASIS 4.6D) on my Windows XP. Instead, i've installed Mini WAS 6.20 with Front-End 6.40 and i'd like to use it while studying the same book.
    any ideas?
    sorry, may be it could sound obviuos for some of you, but i'm complete SAP virgin

    Not sure if this data generator is available in 6.20 or now.  SAPBC_TOOLS_GENERATOR_NEW  Run this program to generate the data for the FLIGHT tables.
    Then you should check out the example programs which start with BCALV*   and also check out transaction code DWDM.
    Regards,
    Rich Heilman

  • Problem with programming logic in code

    I have hit a programming logic problem. What I wanted is for my main program to create a jDialog according to user's choice selection from a jOptionPane and the code in the main body to stop running and rather wait for the user to select the option in the jDialog and then go back to running the main code body but somehow my program doesn't work that way. Anyone have any ideas how to fix it ?
    Object[] obj = {"Specific Date","Month/Year"};
                String input = (String) JOptionPane.showInputDialog(this,"Choose the following ways to select a date.","Select Date",JOptionPane.INFORMATION_MESSAGE,null,obj,obj[0]);
                if(input.equals("Specific Date")){
                    jDialog1.setSize(400,250);
                    jDialog1.setVisible(true);
                    //while(option!=1){
                    //System.out.println("waiting");
                    if(option==1){
                        System.out.println("Year: "+chosenYear);
                        //break;
                        data.append("<H1>Other Day / Month / Year Record</H1>");
                        data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                        System.out.println("breaking out soon...");
                } else if(input.equals("Month/Year")){
                    jDialog2.setSize(300,200);
                    jDialog2.setVisible(true);
                    //while(option!=1){
                    //System.out.println("waiting");
                    if(option==1){
                        System.out.println("Year: "+chosenYear);
                        //break;
                        data.append("<H1>Other Day / Month / Year Record</H1>");
                        data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                        System.out.println("breaking out soon...");
    //            data.append("<H1>Other Day / Month / Year Record</H1>");
    //            data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                System.out.println("break executed...");As you can see...I was originally thinking to use a while loop but it failed so I commented it out. I have been stuck in this programming logic of waiting for the user to choose an option form the jDialog before continuning in the main body. The jDialogs are already initiatized and both jDialogs would set the 'option' variable which has been init earlier on (the code is really too long to be placed here to '1' when it is ready for the program to resume to run the main body of the codes as you can see.
    So anyone have any ideas how to get it solved ?
    I do need a solution fast because these codes have a deadline in 2 weeks time.
    null

    Here's the entire code for this java class.
    * ExportRecord.java
    * Created on September 7, 2007, 2:03 PM
    package lkgaccount;
    import java.util.ArrayList;
    import java.util.Calendar;
    import javax.swing.*;
    import java.awt.*;
    import java.io.*;
    * @author  Owner
    public class ExportRecord extends javax.swing.JInternalFrame {
        export exp = new export();
        String filepath = "";
        File toFile;
        StringBuffer data;
        HTMLBrowser htmlbrowser;
        int subOption = 0;
        int chosenDay;
        int chosenMonth;
        String chosenMth;
        int chosenYear;
        CodeManager cm = new CodeManager();
        /** Creates new form ExportRecord */
        public ExportRecord() {
            initComponents();
        /** This method is called from within the constructor to
         * initialize the form.
         * WARNING: Do NOT modify this code. The content of this method is
         * always regenerated by the Form Editor.
        // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
        private void initComponents() {
            jDialog1 = new javax.swing.JDialog();
            jPanel2 = new javax.swing.JPanel();
            jButton6 = new javax.swing.JButton();
            jLabel6 = new javax.swing.JLabel();
            jCalendar1 = new com.toedter.calendar.JCalendar();
            jDialog2 = new javax.swing.JDialog();
            jPanel4 = new javax.swing.JPanel();
            jButton10 = new javax.swing.JButton();
            jLabel7 = new javax.swing.JLabel();
            jComboBox2 = new javax.swing.JComboBox();
            jSpinner1 = new javax.swing.JSpinner();
            jLabel8 = new javax.swing.JLabel();
            jLabel1 = new javax.swing.JLabel();
            jComboBox1 = new javax.swing.JComboBox();
            jButton1 = new javax.swing.JButton();
            jLabel2 = new javax.swing.JLabel();
            jTextField1 = new javax.swing.JTextField();
            jLabel3 = new javax.swing.JLabel();
            jTextField2 = new javax.swing.JTextField();
            jButton2 = new javax.swing.JButton();
            jLabel4 = new javax.swing.JLabel();
            jTextField3 = new javax.swing.JTextField();
            jLabel5 = new javax.swing.JLabel();
            jPanel1 = new javax.swing.JPanel();
            jButton5 = new javax.swing.JButton();
            jButton4 = new javax.swing.JButton();
            jButton3 = new javax.swing.JButton();
            jDialog1.setTitle("Search By Date");
            jPanel2.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true), "Search By: Date ", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11)));
            jButton6.setText("Submit");
            jButton6.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton6ActionPerformed(evt);
            jLabel6.setText("Date Parameter:");
            javax.swing.GroupLayout jPanel2Layout = new javax.swing.GroupLayout(jPanel2);
            jPanel2.setLayout(jPanel2Layout);
            jPanel2Layout.setHorizontalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addContainerGap()
                    .addComponent(jLabel6)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jCalendar1, javax.swing.GroupLayout.PREFERRED_SIZE, 228, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addContainerGap(javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, jPanel2Layout.createSequentialGroup()
                    .addContainerGap(255, Short.MAX_VALUE)
                    .addComponent(jButton6)
                    .addContainerGap())
            jPanel2Layout.setVerticalGroup(
                jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel2Layout.createSequentialGroup()
                    .addGroup(jPanel2Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addComponent(jLabel6)
                        .addComponent(jCalendar1, javax.swing.GroupLayout.PREFERRED_SIZE, 137, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 8, Short.MAX_VALUE)
                    .addComponent(jButton6)
                    .addContainerGap())
            jDialog1.getContentPane().add(jPanel2, java.awt.BorderLayout.CENTER);
            jPanel4.setBorder(javax.swing.BorderFactory.createTitledBorder(new javax.swing.border.LineBorder(new java.awt.Color(0, 0, 0), 1, true), "Search By: Month/Year", javax.swing.border.TitledBorder.DEFAULT_JUSTIFICATION, javax.swing.border.TitledBorder.DEFAULT_POSITION, new java.awt.Font("Tahoma", 1, 11)));
            jButton10.setText("Submit");
            jButton10.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton10ActionPerformed(evt);
            jLabel7.setText("Month: ");
            jComboBox2.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December", "*" }));
            jLabel8.setText(" Year:    ");
            javax.swing.GroupLayout jPanel4Layout = new javax.swing.GroupLayout(jPanel4);
            jPanel4.setLayout(jPanel4Layout);
            jPanel4Layout.setHorizontalGroup(
                jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel4Layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(jPanel4Layout.createSequentialGroup()
                            .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                .addComponent(jLabel7)
                                .addComponent(jLabel8, javax.swing.GroupLayout.DEFAULT_SIZE, 51, Short.MAX_VALUE))
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(jSpinner1)
                                .addComponent(jComboBox2, 0, 167, Short.MAX_VALUE)))
                        .addComponent(jButton10, javax.swing.GroupLayout.Alignment.TRAILING))
                    .addContainerGap())
            jPanel4Layout.setVerticalGroup(
                jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(jPanel4Layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel7)
                        .addComponent(jComboBox2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(jPanel4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jSpinner1, javax.swing.GroupLayout.PREFERRED_SIZE, 20, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jLabel8))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(jButton10)
                    .addContainerGap())
            jDialog2.getContentPane().add(jPanel4, java.awt.BorderLayout.CENTER);
            setTitle("Export Record");
            jLabel1.setText("Export by: ");
            jComboBox1.setModel(new javax.swing.DefaultComboBoxModel(new String[] { "Daily Record", "Current Month's Record", "Current Year's Record", "Other Day / Month / Year Record", "Supplier Names", "All Account Records" }));
            jButton1.setText("Close");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
            jLabel2.setText("Export as: ");
            jTextField1.setEditable(false);
            jTextField1.setText(".html");
            jLabel3.setText("Save to: ");
            jButton2.setText("...");
            jButton2.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton2ActionPerformed(evt);
            jLabel4.setText("File Name: ");
            jLabel5.setText("( do not add a file extension behind )");
            jButton5.setText("Clear");
            jButton5.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton5ActionPerformed(evt);
            jPanel1.add(jButton5);
            jButton4.setText("Preview");
            jButton4.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton4ActionPerformed(evt);
            jPanel1.add(jButton4);
            jButton3.setText("Export");
            jButton3.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton3ActionPerformed(evt);
            jPanel1.add(jButton3);
            javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
            getContentPane().setLayout(layout);
            layout.setHorizontalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(layout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                            .addContainerGap()
                            .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                    .addComponent(jLabel1)
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addComponent(jComboBox1, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                                .addGroup(javax.swing.GroupLayout.Alignment.LEADING, layout.createSequentialGroup()
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                                        .addComponent(jLabel3)
                                        .addComponent(jLabel2)
                                        .addComponent(jLabel4))
                                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                                        .addComponent(jTextField2, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                                        .addComponent(jTextField1)
                                        .addComponent(jTextField3, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE)
                                        .addComponent(jLabel5, javax.swing.GroupLayout.DEFAULT_SIZE, 191, Short.MAX_VALUE))))))
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                        .addGroup(layout.createSequentialGroup()
                            .addGap(12, 12, 12)
                            .addComponent(jButton1))
                        .addGroup(layout.createSequentialGroup()
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(jButton2, javax.swing.GroupLayout.PREFERRED_SIZE, 19, javax.swing.GroupLayout.PREFERRED_SIZE)))
                    .addContainerGap())
            layout.setVerticalGroup(
                layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                .addGroup(layout.createSequentialGroup()
                    .addContainerGap()
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel1)
                        .addComponent(jComboBox1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel2)
                        .addComponent(jTextField1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jTextField2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addComponent(jButton2)
                        .addComponent(jLabel3))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                        .addComponent(jLabel4)
                        .addComponent(jTextField3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jLabel5)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                    .addComponent(jPanel1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 21, Short.MAX_VALUE)
                    .addComponent(jButton1)
                    .addContainerGap())
            pack();
        }// </editor-fold>//GEN-END:initComponents
        private void jButton10ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton10ActionPerformed
    // TODO add your handling code here:
            String mth = (String)jComboBox2.getSelectedItem();
            Integer yr = (Integer)jSpinner1.getValue();
            subOption = 2;
            chosenMth = mth;
            chosenYear = (int)yr;
        }//GEN-LAST:event_jButton10ActionPerformed
        private void jButton6ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton6ActionPerformed
    // TODO add your handling code here:
            Calendar calendar = jCalendar1.getCalendar();
            int day = calendar.get(Calendar.DATE);
            int month = calendar.get(Calendar.MONTH);
            int year = calendar.get(Calendar.YEAR);
            month ++;
            System.out.println("calendar: "+day+"/"+month+"/"+year);
            subOption = 1;
            chosenDay = day;
            chosenMonth = month;
            chosenYear = year;
        }//GEN-LAST:event_jButton6ActionPerformed
        private void jButton3ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton3ActionPerformed
    // TODO add your handling code here:
            int index = jComboBox1.getSelectedIndex();
            String folderExt = jTextField2.getText();
            String fileName = jTextField3.getText();
            String urlpath = folderExt+"\\"+fileName+".html";
            System.out.println(urlpath);
            if(folderExt.equals("")||fileName.equals("")){
                JOptionPane.showMessageDialog(this,"Please specific which folder and the name of the file you want to save your exported documents.","Folder and file not specified",JOptionPane.INFORMATION_MESSAGE);
            } else{
                toFile = new File(urlpath);
                if(toFile.exists()){
                    JOptionPane.showMessageDialog(this,urlpath+" has already existed. Please enter a new file name. ","File Exist",JOptionPane.WARNING_MESSAGE);
                data = new StringBuffer();
                data = getData(data,index,fileName);
                exp.writeHTML(data,toFile);
                if(htmlbrowser!=null){
                    htmlbrowser.dispose();
                    htmlbrowser = new HTMLBrowser("file:/"+urlpath);
                    htmlbrowser.setVisible(true);
                } else{
                    htmlbrowser = new HTMLBrowser("file:/"+urlpath);
                    htmlbrowser.setVisible(true);
        }//GEN-LAST:event_jButton3ActionPerformed
        private void jButton4ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton4ActionPerformed
    // TODO add your handling code here:
            int index = jComboBox1.getSelectedIndex();
            toFile = new File("C:\\Documents and Settings\\Owner\\LKGAccount\\dist\\preview.html");
            if(toFile.exists()){
            data = new StringBuffer();
            data = getData(data,index,"Preview");
            exp.writeHTML(data,toFile);
            if(htmlbrowser!=null){
                htmlbrowser.dispose();
                htmlbrowser = new HTMLBrowser("file:/C:\\Documents and Settings\\Owner\\LKGAccount\\dist\\preview.html");
                htmlbrowser.setVisible(true);
            } else{
                htmlbrowser = new HTMLBrowser("file:/C:\\Documents and Settings\\Owner\\LKGAccount\\dist\\preview.html");
                htmlbrowser.setVisible(true);
        }//GEN-LAST:event_jButton4ActionPerformed
        private void jButton5ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton5ActionPerformed
    // TODO add your handling code here:
            jComboBox1.setSelectedIndex(0);
            jTextField2.setText("");
            jTextField3.setText("");
        }//GEN-LAST:event_jButton5ActionPerformed
        private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton1ActionPerformed
    // TODO add your handling code here:
            this.dispose();
        }//GEN-LAST:event_jButton1ActionPerformed
        private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_jButton2ActionPerformed
    // TODO add your handling code here:
            JFileChooser chooser = new JFileChooser();
            chooser.setFileSelectionMode(JFileChooser.DIRECTORIES_ONLY);
            int returnVal = chooser.showOpenDialog(this);
            if(returnVal == JFileChooser.APPROVE_OPTION) {
                filepath = chooser.getSelectedFile().getAbsolutePath();
            jTextField2.setText(filepath);
        }//GEN-LAST:event_jButton2ActionPerformed
        public StringBuffer getData(StringBuffer data, int option, String filename){
            ArrayList aList = new ArrayList();
            Date date = new Date();
            int todayDay = date.getDay();
            int todayMonth = date.getMonth();
            int todayYear = date.getYear();
            data.append("<html>");
            data.append("<head>");
            data.append("<title>Lim Kim Guan Accounting Record: "+filename+"</title>");
            data.append("</head>");
            data.append("<body>");
            if(option==0){
                data.append("<H1>Daily Record</H1>");
                data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                aList = cm.searchByDate(todayDay,todayMonth,todayYear);
                if(aList==null||aList.isEmpty()){
                    data.append("<p><center><b>There is no data transaction for today.</b></center></p>");
                } else{
                    data.append("<center><table border=\"1\">");
                    data.append("<tr>");
                    data.append("<td colspan=\"7\"><center><b>Accounting Records</b></center></td>");
                    data.append("</tr>");
                    data.append("<tr>");
                    data.append("<td><center><B>Acct ID</B></center></td>");
                    data.append("<td><center><B>Supplier Name</B></center></td>");
                    data.append("<td><center><B>Invoice #</B></center></td>");
                    data.append("<td><center><B>Original $ before GST</B></center></td>");
                    data.append("<td><center><B>GST(%)</B></center></td>");
                    data.append("<td><center><B>$ after GST</B></center></td>");
                    data.append("<td><center><B>Date</B></center></td>");
                    data.append("</tr>");
                    for(int i=0;i<aList.size();i++){
                        account acct = (account)aList.get(i);
                        if(acct != null) {
                            data.append("<tr>");
                            data.append("<td>"+Integer.toString(acct.getId())+"</td>");
                            data.append("<td>"+acct.getSupplierName()+"</td>");
                            data.append("<td>"+acct.getInvoiceid()+"</td>");
                            data.append("<td>"+Double.toString(acct.getBeforeGST$())+"</td>");
                            data.append("<td>"+Integer.toString(acct.getGst())+"</td>");
                            data.append("<td>"+Double.toString(acct.getAfterGST$())+"</td>");
                            data.append("<td>"+acct.getDay()+" / "+acct.getMonth()+" / "+acct.getYear()+"</td>");
                            data.append("</tr>");
                    data.append("</table></center>");
            } else if(option==1){
                data.append("<H1>Current Month's Record</H1>");
                data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                aList = cm.searchByIntMonthYear(todayMonth,todayYear);
                if(aList==null||aList.isEmpty()){
                    data.append("<p><center><b>There is no data transaction for current month.</b></center></p>");
                } else{
                    data.append("<center><table border=\"1\">");
                    data.append("<tr>");
                    data.append("<td colspan=\"7\"><center><b>Accounting Records</b></center></td>");
                    data.append("</tr>");
                    data.append("<tr>");
                    data.append("<td><center><B>Acct ID</B></center></td>");
                    data.append("<td><center><B>Supplier Name</B></center></td>");
                    data.append("<td><center><B>Invoice #</B></center></td>");
                    data.append("<td><center><B>Original $ before GST</B></center></td>");
                    data.append("<td><center><B>GST(%)</B></center></td>");
                    data.append("<td><center><B>$ after GST</B></center></td>");
                    data.append("<td><center><B>Date</B></center></td>");
                    data.append("</tr>");
                    for(int i=0;i<aList.size();i++){
                        account acct = (account)aList.get(i);
                        if(acct != null) {
                            data.append("<tr>");
                            data.append("<td>"+Integer.toString(acct.getId())+"</td>");
                            data.append("<td>"+acct.getSupplierName()+"</td>");
                            data.append("<td>"+acct.getInvoiceid()+"</td>");
                            data.append("<td>"+Double.toString(acct.getBeforeGST$())+"</td>");
                            data.append("<td>"+Integer.toString(acct.getGst())+"</td>");
                            data.append("<td>"+Double.toString(acct.getAfterGST$())+"</td>");
                            data.append("<td>"+acct.getDay()+" / "+acct.getMonth()+" / "+acct.getYear()+"</td>");
                            data.append("</tr>");
                    data.append("</table></center>");
            } else if(option==2){
                data.append("<H1>Current Year's Record</H1>");
                data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                aList = cm.searchByMonthYear("*",todayYear);
                if(aList==null||aList.isEmpty()){
                    data.append("<p><center><b>There is no data transaction for today.</b></center></p>");
                } else{
                    data.append("<center><table border=\"1\">");
                    data.append("<tr>");
                    data.append("<td colspan=\"7\"><center><b>Accounting Records</b></center></td>");
                    data.append("</tr>");
                    data.append("<tr>");
                    data.append("<td><center><B>Acct ID</B></center></td>");
                    data.append("<td><center><B>Supplier Name</B></center></td>");
                    data.append("<td><center><B>Invoice #</B></center></td>");
                    data.append("<td><center><B>Original $ before GST</B></center></td>");
                    data.append("<td><center><B>GST(%)</B></center></td>");
                    data.append("<td><center><B>$ after GST</B></center></td>");
                    data.append("<td><center><B>Date</B></center></td>");
                    data.append("</tr>");
                    for(int i=0;i<aList.size();i++){
                        account acct = (account)aList.get(i);
                        if(acct != null) {
                            data.append("<tr>");
                            data.append("<td>"+Integer.toString(acct.getId())+"</td>");
                            data.append("<td>"+acct.getSupplierName()+"</td>");
                            data.append("<td>"+acct.getInvoiceid()+"</td>");
                            data.append("<td>"+Double.toString(acct.getBeforeGST$())+"</td>");
                            data.append("<td>"+Integer.toString(acct.getGst())+"</td>");
                            data.append("<td>"+Double.toString(acct.getAfterGST$())+"</td>");
                            data.append("<td>"+acct.getDay()+" / "+acct.getMonth()+" / "+acct.getYear()+"</td>");
                            data.append("</tr>");
                    data.append("</table></center>");
            } else if(option==3){
                data.append("<H1>Other Day / Month / Year Record</H1>");
                data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                Object[] obj = {"Specific Date","Month/Year"};
                String input = (String) JOptionPane.showInputDialog(this,"Choose the following ways to select a date.","Select Date",JOptionPane.INFORMATION_MESSAGE,null,obj,obj[0]);
                if(input.equals("Specific Date")){
                    jDialog1.setSize(400,250);
                    jDialog1.setVisible(true);
                    while(true){
                        System.out.println("waiting");
                        if(subOption==1){
                            System.out.println("Year: "+chosenYear);
                            break;
                } else if(input.equals("Month/Year")){
                    jDialog2.setSize(300,200);
                    jDialog2.setVisible(true);
                    while(true){
                        System.out.println("waiting");
                        if(subOption==2){
                            System.out.println("Year: "+chosenYear);
                            break;
                System.out.println("break executed...");      
            } else if(option==4){
                data.append("<H1>Supplier Names</H1>");
                data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                aList = cm.getCompanyList();
                if(aList==null||aList.isEmpty()){
                    data.append("<p><center><b>There is no data transaction for today.</b></center></p>");
                } else{
                    data.append("<center><table border=\"1\">");
                    data.append("<tr>");
                    data.append("<td colspan=\"1\"><center><b>Supplier Names</b></center></td>");
                    data.append("</tr>");
                    for(int i=0;i<aList.size();i++){
                        String result = (String)aList.get(i);
                        if(result != null||result.isEmpty()) {
                            data.append("<tr>");
                            data.append("<td>"+result+"</td>");
                            data.append("</tr>");
                    data.append("</table></center>");
            } else if(option==5){
                data.append("<H1>All Account Records</H1>");
                data.append("<p>Date: "+todayDay+"/"+todayMonth+"/"+todayYear+"</p><br>");
                aList = cm.getAccountRecords();
                if(aList==null||aList.isEmpty()){
                    data.append("<p><b>There is no data transaction for today.</b></p>");
                } else{
                    data.append("<center><table border=\"1\">");
                    data.append("<tr>");
                    data.append("<td colspan=\"7\"><center><b>Accounting Records</b></center></td>");
                    data.append("</tr>");
                    data.append("<tr>");
                    data.append("<td                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            

  • Java for Introduction to Programming

    I know this is a Java forum, but I would like your opinions on this. Does Java make a good language for an Introduction to Programming course at a university? I know some do so. Is it good to try to teach programming concepts using an object-oriented language like Java, or is it better done with a structured language first, like Turbo Pascal or a language that can be both object-oriented or structured like Python? Is it good to teach programming for a virtual machine as the first platform, or would that confuse first-year students?

    I would have to place my opinion against Java (or any OO language) as an introduction to programming. There are many reasons, but I still feel that people grounded in good CS/programming experience make better use of OO principles than those who are not previously grounded. Yes, it is hard to move a procedural background to an OO methodology, but who says one needs to start procedurally? I've seen professional Java code from individuals who have /only/ learned OO as their first language/platform and though they much better understand the OO concepts, their actual implemementation of such concepts still needs much refining.
    At the end of the day and in my opinion a computer is just data-in and data-out, data-out being multiplied, aggregated, valued. In my opinion beginning programmers should be taught text/data processing tools and techniques. This is way-OT to the Java forum, but the best programmers I've ever personally seen came from years of Unix basics. I know it sounds absurd, but in those who understand the basic Unix tools, understand what a pipe is, who can take data and awk, sed, sort, and uniq it have foundations in workload management (pipe=queue), action/event concepts that touch procedures/methods (awk), pattern matching and transformation (sed), sorting/ordering/distincting (sort and uniq); utilizing operating systems semi-directly and being able to understand the concept of processes, IPC, bottom-up design, etc. Granted this is a potentially lowsy and incomplete example, but my point is still the same.
    I think introducing Java, or C++, or lisp, or even C at such an early stage /in my opinion/ does not always yield the best knowledge-base for any student.

  • Integration of PLC(programming logic unit) in SAP

    i'm facing problem with this, our client is using PLC (programming logic unit) for there manufacturing ,so with out third part tool how can we integrate in SAP plz any one can help

    kishore.
    i am just throwing ideas now, its impossible to debug over forum. 
    go ahead and just check all switches between qa and prod in OOAC, confirm they are all the same,
    check OOSB - check that the user profile is in both environments, with same dates, and eval paths (display objects).
    DFCON = 1 means Deny 99999999, but Evaluate Organizational Unit (if available).  Check if there are any differences in IT0001 of the org unit ids, in production perphas Org unit ID is not filled on the record where position is = 99999999. 
    in general your team should review this link:  http://help.sap.com/saphelp_47x200/helpdata/en/56/db5bc71a64c94f9f2e3cb63e14c867/content.htm
    review orgpd switch as well: 
    http://help.sap.com/saphelp_47x200/helpdata/en/c7/4aba3b3bf00152e10000000a114084/content.htm
    review how org key works (different than org ID previously mentioned):
    http://help.sap.com/saphelp_47x200/helpdata/en/7f/1a7d3c8015d10ee10000000a11405a/frameset.htm
    run this in both qa and production.  check transaction oosb after as well. 
    1) Call program RHBAUS02 for uploading Table T77UU and enter users.
    2) Call program RHBAUUS00 for generating an index for structural authorization profile

  • Programming logic

    I want help in one programming logic.For that I make small example ,so that can explain clearly.
    public class Mainclass //(situated in package view)
    public s0,s1;
    public void runFunction()
    ...some coding and proceedings
    s0="Hi";s1"Hello";
    ......some coding
    public MainRunner
    public static void main(String a[])
    Mainclass m=new Mainclass();
    m.runFunction();
    public MainUser (situated in package Master)
    public static void main(String a[])
    Mainclass m=new Mainclass();
    System.out.println("S0:"+s0+" S1:"+s1); //should print S0:Hi S1:Hello, but printing S0:null S1:null
    In this ,I first run the MainRunner and then MainUser after compiling the classes and expect that print command of MainUser would give me -S0:Hi S1:Hello as result ,but it is yielding the null values for s0 & s1.
    What should I do in this to get hi for s0 and hello for s1.

    hi friend, plz follow the code. I think this code may be suitable for u r requirements...
    class MainUser
         public String s0,s1;
         MainUser()//Here i am using Constructor
              s0="Hi";s1="Hello";
    public class C extends MainUser
         public static void main(String a[])
              MainUser m=new MainUser();
              System.out.println("S0:"+m.s0+" S1:"+m.s1);
                        (OR)
    class MainUser
         static String s0,s1;//Here i am declaring variables as Static
         public void runFunction()
              s0="Hi";s1="Hello";
    class B extends MainUser
         public B()//Contructor
              MainUser m=new MainUser();
              m.runFunction();
    public class C extends B
         public static void main(String a[])
              B b=new B();//when i am creating new Object b then it will call B constructor
              System.out.println("S0:"+b.s0+" S1:"+b.s1);
    byeeeee

  • Finding of  predefined (ALV Reports , BDC Programs ,ALVReports using OOps )

    Hi All
      How to Finding of  predefined (ALV Reports , BDC Programs ,ALVReports using  OOps ) and how to know particular include prog is holing specific logic & how to re-use that includes & Perform .
    Thanks in Adv
    Rgds
    Rafi .V

    Hi,
    Refer this link for ALV oops.
    Re: ALV HELP
    Thanks,
    Anitha

  • Update the data into the ZTABLE fields thru program logic ..?

    hi all,
    i have ZTABLE1,ZTABLE2,ZTABLE3, and this tables like ALV grids using object methods.
    in the same table fields now i wanted to update the data into the ZTABLE fields thru program logic .
    could anyone please help me ....
    please provide if anyone of have any program logic that would be helpfull to me.
    thanks in advance...
    srinivas....

    Hi Srinivas,
      The following statements are used to upload the data into custom tables.
    1. Modify
    2. Update
    3. Insert
    if you are using OO ALV, you should enable the 'SAVE' button in the main toolbar. if the user press the save button, then you should upload the data to the custom table.
    please find the example code, in this example 'PERFORM F_SAVE_DATA'(here i gave the message only, you write your own logic here) is used to save the data in custom table.
    Report Program: ZB_ALVOOPS_TEST
    Line:-----
    REPORT  ZB_ALVOOPS_TEST MESSAGE-ID ZCR_MESSAGES.
    Top Include - Global Data Declaration                        *
    INCLUDE ZB_ALVOOPS_TEST_TOP.
    SEL Include - Selection Screen                               *
    INCLUDE ZB_ALVOOPS_TEST_SEL.
    AT SELECTION SCREEN                                          *
    Initialization Event                                         *
    INITIALIZATION.
    Initialize Screen Number.
      PERFORM F_INITIALIZE.
    Initialize Field Catalog for ALV Grid.
      PERFORM F_INITIALIZE_GRID.
    END-OF-SELECTION.
    Call Display Screen                                          *
      CALL SCREEN 9000.
    Event Handler - Class Definition and Implementation          *
      INCLUDE ZB_ALVOOPS_TEST_CL01.
    PBO Event - Module Implementation                            *
      INCLUDE ZB_ALVOOPS_TEST_PBO.
    PAI Event - Module Implementation                            *
      INCLUDE ZB_ALVOOPS_TEST_PAI.
    Subroutine Include                                           *
      INCLUDE ZB_ALVOOPS_TEST_F01.
    Include: ZB_ALVOOPS_TEST_TOP
    Line:-------
    Type Declaration For Internal Tables                         *
    Collection Data
    TYPES: BEGIN OF TY_MARA                                                    ,
             MATNR         TYPE  MATNR                                         ,  "  Material
             VPSTA         TYPE  VPSTA                                         ,  "  Maintenance status of complete material
             MTART         TYPE  MTART                                         ,  "  Material Type
             MBRSH         TYPE  MBRSH                                         ,  "  Industry Sector
             MATKL         TYPE  MATKL                                         ,  "  Material Group
             BISMT         TYPE  BISMT                                         ,  "  Old material number
             MEINS         TYPE  MEINS                                         ,  "  Base Unit of Measure
             BSTME         TYPE  BSTME                                         ,  "  Order unit
             BRGEW         TYPE  BRGEW                                         ,  "  Gross weight
             MAKTX         TYPE  MAKTX                                         ,  "  Material Description
             ROWCOLOR      TYPE  CHAR4                                         ,  "  Row Color
           END OF TY_MARA                                                      .
    Flag                                                         *
    DATA: FG_REFRESH  TYPE  XFLD                                               ,  "  Used to Refresh ALV
          FG_SAVE     TYPE  XFLD                                               .  "  Data Saved Or Not.
    Internal Table Declaration                                   *
    DATA: IT_MARA              TYPE  STANDARD TABLE OF TY_MARA                 ,  "  Internal table for Material
          WA_MARA              TYPE  TY_MARA                                   .  "  Workarea for Material
    Variable Declaration For General Constants                   *
    CONSTANTS: C_SCREEN_SELECT      TYPE  SYDYNNR         VALUE '9001'         ,  "  Selection Screen Number
               C_SCREEN_SELECT_NIL  TYPE  SYDYNNR         VALUE '9002'         ,  "  Empty Screen Number
               C_STATUS9000         TYPE  CHAR10          VALUE 'STATUS9000'   ,  "  PF-Status
               C_TITLEBAR           TYPE  CHAR4           VALUE '9000'         ,  "  Title Bar
               C_ISSUE_CONTAINER    TYPE  SCRFNAME        VALUE 'WORKCONTAINER',  "  Container Name (Screen Painter)
               C_BUTTON_TYPE        TYPE  CHAR1           VALUE '3'            ,  "  Button Type
               C_EXECUTE            TYPE  CHAR4           VALUE 'SELE'         ,  "  Functions 'SELE'    -> Execute
               C_BACK               TYPE  CHAR4           VALUE 'BACK'         ,  "  Functions 'BACK'    -> Back to main screen
               C_ENTER              TYPE  CHAR5           VALUE 'ENTER'        ,  "  Functions 'ENTER'   -> No Action
               C_SEL01              TYPE  CHAR5           VALUE 'SEL01'        ,  "  Functions 'SEL01'   -> Toggle Function
               C_SAVE               TYPE  CHAR4           VALUE 'SAVE'         ,  "  Functions 'SAVE'    -> Save Function
               C_REFRESH            TYPE  CHAR7           VALUE 'REFRESH'      ,  "  Functions 'REFRESH' -> Clear and Fres All objects
               C_ADD_MI             TYPE  CHAR6           VALUE 'ADD_MI'       ,  "  Functions 'ADD_MI'  -> Add New Media Issue
               C_TRUE               TYPE  CHAR1           VALUE 'X'            ,  "  Set X value
               C_REQUIRED           TYPE  CHAR1           VALUE '1'            ,  "  Un-Confirmed Qty field obligatory or not.
               C_INPUT              TYPE  CHAR1           VALUE '0'            ,  "  Reason field should not be input.
               C_ALV_SAVE           TYPE  CHAR1           VALUE 'A'            ,  "  ALV
               C_ERROR              TYPE  CHAR1           VALUE 'E'            ,  "  Error Type
               C_SIGN               TYPE  CHAR1           VALUE 'I'            ,  "  Sign
               C_OPTION             TYPE  CHAR2           VALUE 'EQ'           ,  "  Option.
               C_COMMIT_WAIT        TYPE  CHAR1           VALUE '5'            ,  "  Waiting to update in DB
               C_TABNAME            TYPE  CHAR1           VALUE '1'            ,  "  Parameter (ALV)
               C_CANCEL             TYPE  CHAR1           VALUE 'N'            ,  "  Cancel
               C_YES                TYPE  CHAR1           VALUE 'J'            .  "  Yes.
    Variable Declaration For Container and ALV Grid              *
    DATA: OBJ_CUST_CONTAINER  TYPE  REF TO  CL_GUI_CUSTOM_CONTAINER            ,  "  Container Class
          OBJ_CUST_GRID       TYPE  REF TO  CL_GUI_ALV_GRID                    .  "  ALV  Grid Class
    Field Catalog Declaration For Container and ALV Grid         *
    DATA: IT_FIELDCAT  TYPE  LVC_T_FCAT                                        ,  "  Field Catalog
          IT_EXCLUDE   TYPE  UI_FUNCTIONS                                      ,  "  Standard Function Exclude from ALV
          WA_FIELDCAT  TYPE  LVC_S_FCAT                                        ,  "  For Field Catalog
          WA_LAYOUT    TYPE  LVC_S_LAYO                                        .  "  ALV Layout
    Global Variable Declaration                                  *
    DATA: OK_CODE                  TYPE  SY-UCOMM                              ,  "  OK CODE ( Screen Attribute Don't Change the var.name)
          G_SAVE_CODE              TYPE  SY-UCOMM                              ,  "  OK CODE
          G_ANSWER                 TYPE  CHAR1                                 ,  "  OK or Cancel.
          G_SELECTION_DYNNR        TYPE  SYDYNNR                               ,  "  Screen Number
          G_ERROR_TEXT             TYPE  CHAR128                               ,  "  Error Text
          G_SELECTION_TOGGLE_TEXT  TYPE  CHAR50                                ,  "  Toggle Text, Value: Hide Selection, Show Selection
          G_MATNR                  TYPE  MATNR                                 ,  "  Material
          G_SMATNR                 TYPE  MATNR                                 ,  "  Material
          G_SMTART                 TYPE  MTART                                 .  "  Material Type
    Include: ZB_ALVOOPS_TEST_SEL
    Line:-------
    Selection Screen
    SELECTION-SCREEN BEGIN OF SCREEN 9001 AS SUBSCREEN                           .
    SELECTION-SCREEN BEGIN OF BLOCK SELECTION WITH FRAME TITLE TEXT-001          .
    SELECT-OPTIONS: S_MATNR  FOR G_SMATNR                                        ,  "  Material
                    S_MTART  FOR G_SMTART                                        .  "  Material Type
    SELECTION-SCREEN   END OF BLOCK SELECTION                                    .
    SELECTION-SCREEN   END OF SCREEN 9001                                        .
    Empty Selection
    SELECTION-SCREEN BEGIN OF SCREEN 9002 AS SUBSCREEN                           .
    SELECTION-SCREEN BEGIN OF BLOCK SELECTION_NIL WITH FRAME TITLE TEXT-002      .
    Nil
    SELECTION-SCREEN   END OF BLOCK SELECTION_NIL                                .
    SELECTION-SCREEN   END OF SCREEN 9002                                        .
    Include: ZB_ALVOOPS_TEST_CL01
    Line:-------
    CLASS lcl_event_handler DEFINITION                                  *
    Event Handler Class Definition                                      *
    CLASS LCL_EVENT_HANDLER DEFINITION.
      PUBLIC SECTION.
        METHODS:
        HANDLER_TOOLBAR      FOR EVENT TOOLBAR OF CL_GUI_ALV_GRID
                                 IMPORTING  E_OBJECT E_INTERACTIVE     ,
        HANDLER_USER_COMMAND FOR EVENT USER_COMMAND OF CL_GUI_ALV_GRID
                                 IMPORTING E_UCOMM                     .
    ENDCLASS.                    "lcl_event_handler DEFINITION
    CLASS lcl_event_handler IMPLEMENTATION                              *
    Event Class Implementation.                                         *
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
    Toolbar -----Create 'Add Issue' button
      METHOD HANDLER_TOOLBAR.
        DATA:  L_WA_TOOLBAR  TYPE  STB_BUTTON.                                          "  Toolbar
        CLEAR: L_WA_TOOLBAR.
    Button Type
        L_WA_TOOLBAR-BUTN_TYPE  =  C_BUTTON_TYPE   .            "  3.
        APPEND L_WA_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
    Add Issue Button.
        CLEAR: L_WA_TOOLBAR.
        L_WA_TOOLBAR-FUNCTION   =  'ADD_MI'   .                                         "  'ADD_MI'   .
        L_WA_TOOLBAR-ICON       =  'ICON_CREATE'.
        L_WA_TOOLBAR-QUICKINFO  =  'CREATE'   .                                         "  'Add Issue'.
        L_WA_TOOLBAR-TEXT       =  'CREATE'   .                                         "  'Add Issue'.
        L_WA_TOOLBAR-DISABLED   =  ''.
        APPEND L_WA_TOOLBAR TO E_OBJECT->MT_TOOLBAR.
        CLEAR: L_WA_TOOLBAR.
      ENDMETHOD.                    "handler_toolbar
    User Actions Events-- Handle 'Add Issue' Button Click.
      METHOD HANDLER_USER_COMMAND.
        CASE E_UCOMM.
    Add Issue Button.
          WHEN C_ADD_MI.
            IF NOT G_MATNR IS INITIAL.
              FG_REFRESH  =  C_TRUE.
              PERFORM F_ADD_MEDIAISSUE.
            ENDIF.
        ENDCASE.
    Refresh Control
        CALL METHOD CL_GUI_CFW=>FLUSH
          EXCEPTIONS
            CNTL_SYSTEM_ERROR = 1
            CNTL_ERROR        = 2
            OTHERS            = 3.
    Handle Exceptions
        IF SY-SUBRC <> 0.
          CASE SY-SUBRC.
            WHEN 1.
              G_ERROR_TEXT = TEXT-026.                                        "  'Control System Error'.
            WHEN 2.
              G_ERROR_TEXT = TEXT-027.                                        "  'Control CL_GUI_CFW Has Raised Error'.
          ENDCASE.
            MESSAGE G_ERROR_TEXT TYPE 'E'.
        ENDIF.
    Refresh Alv Grid.
        PERFORM F_REFRESH_GRID.
      ENDMETHOD.                    "handler_user_command
    ENDCLASS.                    "lcl_event_handler IMPLEMENTATION
    Object Ref. Event Class.
    DATA: OBJ_EVENT_HANDLER TYPE REF TO LCL_EVENT_HANDLER.
    Include: ZB_ALVOOPS_TEST_PBO
    Line:----
    Module  STATUS_9000  OUTPUT                                        *
    Set PF-Status                                                      *
    MODULE STATUS_9000 OUTPUT.
    PF Status
      SET PF-STATUS C_STATUS9000  .
      SET TITLEBAR  C_TITLEBAR    .
    ENDMODULE.                 " STATUS_9000  OUTPUT
    Module  Create_Alvgrid  OUTPUT                                     *
    Create Or Refresh ALV Grid                                         *
    MODULE CREATE_ALVGRID OUTPUT.
      PERFORM F_PROCESS_ALV .
      PERFORM F_REFRESH_GRID.
    ENDMODULE.                 " create_alvgrid  OUTPUT
    Include: ZB_ALVOOPS_TEST_PAI
    Line:----
    Module  exit_command  INPUT                                        *
    Exit Command ( Cancel and Exit )                                   *
    MODULE EXIT_COMMAND INPUT.
      LEAVE PROGRAM.
    ENDMODULE.                 " exit_command  INPUT
    Module  user_command_9000  INPUT                                   *
    User Command - Process toolbar Events                              *
    MODULE USER_COMMAND_9000 INPUT.
    Take an Action based on user Input
      G_SAVE_CODE = OK_CODE.
      CLEAR OK_CODE.
      CASE G_SAVE_CODE.
    Back
        WHEN C_BACK .
    Raise the Confirmation Message When User not saved the data.
          IF FG_SAVE = C_YES.
            PERFORM F_EXITCHECK CHANGING G_ANSWER .
            IF G_ANSWER = C_YES.
              PERFORM F_SAVE_DATA.
            ELSE.
              CLEAR G_SAVE_CODE.
            ENDIF.
            CLEAR: FG_SAVE.
          ENDIF.
          LEAVE PROGRAM.
    Enter
        WHEN C_ENTER.
    Execute ( F8 )
        WHEN C_EXECUTE .
          IF IT_MARA IS INITIAL.
            PERFORM F_SELECTMATERIAL.
          ENDIF.
    Toggle Button
        WHEN C_SEL01.
          PERFORM F_TOGGLE_SELECTION_SCREEN.                                  " USING ok_code.
    SAVE  ( CTRL+S )
        WHEN C_SAVE.
          IF NOT G_MATNR IS INITIAL.
            PERFORM F_SAVE_DATA.
            CLEAR: G_MATNR.
          ENDIF.
    New Entry ( CTRL+F1 )
        WHEN C_REFRESH.
          PERFORM F_REFRESH_DATA.
      ENDCASE.
    ENDMODULE.                 " user_command_9000  INPUT
    Include: ZB_ALVOOPS_TEST_F01
    Line:----
    Form  f_toggle_selection_screen                                    *
    Toggle Function - Hide Selection / Show Selection                  *
    FORM F_TOGGLE_SELECTION_SCREEN.
    Toggle Function
      IF G_SELECTION_DYNNR = C_SCREEN_SELECT.
        G_SELECTION_DYNNR = C_SCREEN_SELECT_NIL.
        G_SELECTION_TOGGLE_TEXT = TEXT-902.
      ELSE.
        G_SELECTION_DYNNR = C_SCREEN_SELECT.
        G_SELECTION_TOGGLE_TEXT = TEXT-901.
      ENDIF.
    ENDFORM.                    " f_toggle_selection_screen
    Form  f_initialize
    Initialize Screen Number and Text
    FORM F_INITIALIZE .
    Initialize Screen Number
      G_SELECTION_DYNNR      = C_SCREEN_SELECT.
      G_SELECTION_TOGGLE_TEXT = TEXT-901.
    ENDFORM.                    "f_initialize
    Form  f_selectmaterial                                           *
    FORM F_SELECTMATERIAL .
    Select the data from Mara Table
      SELECT A~MATNR
             A~VPSTA
             A~MTART
             A~MBRSH
             A~MATKL
             A~BISMT
             A~MEINS
             A~BSTME
             A~BRGEW
             B~MAKTX
        INTO TABLE IT_MARA
        FROM MARA AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
       WHERE A~MATNR IN S_MATNR
         AND A~MTART IN S_MTART
         AND B~SPRAS = 'EN'.
      IF SY-SUBRC = 0.
        FG_REFRESH  =  C_TRUE.
        FG_SAVE     =  C_YES .
        G_MATNR     =  C_TRUE.
        LOOP AT IT_MARA INTO WA_MARA WHERE BRGEW >= 200.
          WA_MARA-ROWCOLOR  =  'C310'.
          MODIFY IT_MARA FROM WA_MARA.
        ENDLOOP.
      ELSE.
        MESSAGE 'No data Found' TYPE 'E'.
      ENDIF.
    ENDFORM.                    " f_selectmaterial
    Form  f_initialize_grid                                            *
    Initialize Field Catalog.                                          *
    FORM F_INITIALIZE_GRID .
      field catalog
      PERFORM F_ATTRFCAT USING :
                       'MATNR'  '1' '0'   TEXT-005       '15' '0' 'X' ' ' ' ',
                       'VPSTA'  '1' '1'   TEXT-006       '15' '0' 'X' ' ' ' ',
                       'MTART'  '1' '2'   TEXT-007       '15' '0' ' ' ' ' ' ',
                       'MBRSH'  '1' '3'   TEXT-008       '15' '0' ' ' ' ' ' ',
                       'MATKL'  '1' '4'   TEXT-009       '15' '0' ' ' 'X' ' ',
                       'BISMT'  '1' '5'   TEXT-010       '15' '0' ' ' ' ' ' ',
                       'MEINS'  '1' '6'   TEXT-011       '15' '0' ' ' ' ' ' ',
                       'BSTME'  '1' '7'   TEXT-012       '15' '0' ' ' ' ' ' ',
                       'MAKTX'  '1' '8'   TEXT-013       '15' '0' ' ' ' ' 'C711',
                       'BRGEW'  '1' '9'   TEXT-014       '15' '0' ' ' ' ' ' '.
    Set Editable Fields in ALV.
      PERFORM F_SETEDIT_FIELDS CHANGING IT_FIELDCAT.
    ENDFORM.                    "f_initialize_grid
    Form  f_setedit_fields                                             *
    Set Editable Fields in ALV                                         *
    C_IT_FIELDCAT  <--  Field Catalog                                  *
    FORM F_SETEDIT_FIELDS  CHANGING C_IT_FIELDCAT TYPE LVC_T_FCAT.
    Local Variable Declaration.
      DATA: LS_FIELDCAT LIKE LINE OF C_IT_FIELDCAT.                           "  Field Catalog
    Create Editable Fields.
      LOOP AT C_IT_FIELDCAT INTO LS_FIELDCAT.
        CASE LS_FIELDCAT-FIELDNAME.
          WHEN 'BRGEW'.
            LS_FIELDCAT-EDIT = C_TRUE.
          WHEN 'MAKTX'.
            LS_FIELDCAT-EDIT = C_TRUE.
        ENDCASE.
        MODIFY C_IT_FIELDCAT FROM LS_FIELDCAT.
      ENDLOOP.
    ENDFORM.                    " f_setedit_fields
    Form  f_attrfcat                                                   *
    Update Field Catalog Internal Table                                *
    U_FIELDNAME     -->  Field Name                                    *
    U_ROW_POS       -->  Row Position                                  *
    U_COL_POS       -->  Column Position                               *
    U_SELTEXT_L     -->  Display Column Heading                        *
    U_OUTPUTLEN     -->  Heading Output Length                         *
    U_DECIMALS_OUT  -->  Number of decimal places in output            *
    U_KEY           -->  Key in ALV Display                            *
    U_FIX           -->  Existence of fixed values                     *
    FORM F_ATTRFCAT USING
                        U_FIELDNAME    TYPE  SLIS_FIELDNAME
                        U_ROW_POS      TYPE  SYCUROW
                        U_COL_POS      TYPE  SYCUCOL
                        U_SELTEXT_L    TYPE  SCRTEXT_L
                        U_OUTPUTLEN    TYPE  OUTPUTLEN
                        U_DECIMALS_OUT TYPE  CHAR1
                        U_KEY          TYPE  CHAR1
                        U_FIX          TYPE  VALEXI
                        U_COL_COLOR    TYPE  LVC_EMPHSZ.
    Update field catalog.
      WA_FIELDCAT-FIELDNAME    = U_FIELDNAME.
      WA_FIELDCAT-ROW_POS      = U_ROW_POS.
      WA_FIELDCAT-COL_POS      = U_COL_POS.
      WA_FIELDCAT-COLTEXT      = U_SELTEXT_L.
      WA_FIELDCAT-SELTEXT      = U_SELTEXT_L.
      WA_FIELDCAT-OUTPUTLEN    = U_OUTPUTLEN.
      WA_FIELDCAT-DECIMALS_O   = U_DECIMALS_OUT.
      WA_FIELDCAT-KEY          = U_KEY.
      WA_FIELDCAT-VALEXI       = U_FIX.
      WA_FIELDCAT-EMPHASIZE    = U_COL_COLOR.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    "ATTR_FCAT
    Form  f_refresh_data                                               *
    Clear All the objects used in the program ( Data Related )         *
    FORM F_REFRESH_DATA .
    Clear All the Objects Used in Our Program.
      CLEAR: S_MATNR      ,
             S_MTART      ,
             IT_MARA      ,
             OK_CODE      ,
             FG_REFRESH   ,
             FG_SAVE      ,
             G_SAVE_CODE  ,
             G_MATNR      .
      FREE:  S_MATNR      ,
             S_MTART      ,
             IT_MARA      ,
             OK_CODE      ,
             FG_REFRESH   ,
             FG_SAVE      ,
             G_SAVE_CODE  ,
             G_MATNR      .
    Refresh Alv.
      FG_REFRESH  =  C_TRUE.
    ENDFORM.                    " f_refresh_data
    Form  f_process_alv                                                *
    1. Create Custom Container                                         *
    2. Create ALV Grid                                                 *
    3. Exclude Standard Functions                                      *
    4. Display the ALV                                                 *
    5. Register the Events.                                            *
    FORM F_PROCESS_ALV .
    Display ALV
    Custom Container
      IF OBJ_CUST_CONTAINER IS INITIAL.
        CREATE OBJECT OBJ_CUST_CONTAINER
          EXPORTING
            CONTAINER_NAME = C_ISSUE_CONTAINER.
    ALV Grid
        IF OBJ_CUST_GRID IS INITIAL.
          CREATE OBJECT OBJ_CUST_GRID
            EXPORTING
              I_PARENT = OBJ_CUST_CONTAINER.
        ENDIF.
    Exclude Standard Functions
        PERFORM F_EXCLUDETOOLBAR USING OBJ_CUST_GRID
                              CHANGING IT_EXCLUDE.
    Layout.
        WA_LAYOUT-CWIDTH_OPT  =  C_TRUE.
        WA_LAYOUT-INFO_FNAME  =  'ROWCOLOR'.
    ALV Grid Display
        CALL METHOD OBJ_CUST_GRID->SET_TABLE_FOR_FIRST_DISPLAY
          EXPORTING
           IS_LAYOUT            = WA_LAYOUT
            IT_TOOLBAR_EXCLUDING = IT_EXCLUDE
            I_SAVE               = C_ALV_SAVE
          CHANGING
            IT_FIELDCATALOG      = IT_FIELDCAT[]
            IT_OUTTAB            = IT_MARA.
      ENDIF.
    Register Editable ALV Events
      CALL METHOD OBJ_CUST_GRID->REGISTER_EDIT_EVENT
        EXPORTING
          I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED
        EXCEPTIONS
          ERROR      = 1
          OTHERS     = 2.
    *Create Object for Custom Event Handler Class if the ref. object is
    *initial.
      IF OBJ_EVENT_HANDLER IS INITIAL.
        CREATE OBJECT OBJ_EVENT_HANDLER.
      ENDIF.
    Register Events
      SET HANDLER: OBJ_EVENT_HANDLER->HANDLER_TOOLBAR       FOR
      OBJ_CUST_GRID,
                   OBJ_EVENT_HANDLER->HANDLER_USER_COMMAND  FOR
                   OBJ_CUST_GRID.
    Set Toolbar
      CALL METHOD OBJ_CUST_GRID->SET_TOOLBAR_INTERACTIVE.
    ENDFORM.                    " f_process_alv
    Form  f_excludetoolbar                                             *
    Exclude Standard Functions from ALV                                *
    U_OBJ_CUST_GRID  -->  Instant for CL_GUI_ALV_GRID                  *
    C_IT_EXCLUDE     <--  Internal table for Exclude                   *
    FORM F_EXCLUDETOOLBAR  USING  U_OBJ_CUST_GRID  TYPE REF TO CL_GUI_ALV_GRID
                        CHANGING  C_IT_EXCLUDE     TYPE UI_FUNCTIONS.
    Exclude Standard Functions
      CLEAR: C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_CHECK              TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_REFRESH            TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_COPY           TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_COPY_ROW       TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_CUT            TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_DELETE_ROW     TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_APPEND_ROW     TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_INSERT_ROW     TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_MOVE_ROW       TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_PASTE          TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_PASTE_NEW_ROW  TO  C_IT_EXCLUDE.
      APPEND U_OBJ_CUST_GRID->MC_FC_LOC_UNDO           TO  C_IT_EXCLUDE.
    ENDFORM.                    " f_excludetoolbar
    Form  f_create_returnrequest                                       *
    Create Return Request based on the Work container ( ALV Grid Data) *
    FORM F_CREATE_RETURNREQUEST.
    Message to save
    ENDFORM.                    " f_create_returnrequest
    Form  f_add_mediaissue                                             *
    Create New Media Issue if the user click 'ADD ISSUE' Button.       *
    1. Get the Input From User                                         *
    2. Get Total Delivery and Return Quantity                          *
    3. Append to Final internal table                                  *
    FORM F_ADD_MEDIAISSUE .
    Local Variable Declaration.
      MESSAGE 'Add Button Clicked' TYPE 'I'.
    ENDFORM.                    " f_add_mediaissue
    Form  f_refresh_grid                                               *
    Refresh ALV Grid                                                   *
    FORM F_REFRESH_GRID .
    Refresh ALV Grid.
      IF FG_REFRESH IS NOT INITIAL.
        CALL METHOD OBJ_CUST_GRID->REFRESH_TABLE_DISPLAY.
        CLEAR: FG_REFRESH.
      ENDIF.
    ENDFORM.                    " f_refresh_grid
    Form  f_getcollectissue                                            *
    FORM F_GETCOLLECTISSUE .
    Collection Plan Data
    ENDFORM.                    " f_getcollectissue
    Form  f_perpare_final                                              *
    FORM F_PERPARE_FINAL .
    Perpare Final Internal table
    ENDFORM.                    " f_perpare_final
    Form  f_validate_data                                              *
    FORM F_VALIDATE_DATA.
    Message if any data validation.
    ENDFORM.                    " f_validate_data
    Form  f_modify_final                                               *
    Update Actual Delivery Qty and Return Qty in Final Internal table  *
    Form  f_save_data                                                  *
    Save the Data When User Click 'Save' Button                        *
    FORM F_SAVE_DATA .
    Message
      MESSAGE 'Save Button Clicked' TYPE 'I'.
    ENDFORM.                    "f_save_data
    Form  f_exitcheck                                                  *
    When User Exit from the Transaction then Raise Confirmation message*
    C_ANSWER  <--  OK or Cancel.                                       *
    FORM F_EXITCHECK  CHANGING C_ANSWER TYPE CHAR1.
    Security Check.
      C_ANSWER  =  C_CANCEL.
      CALL FUNCTION 'POPUP_TO_CONFIRM_DATA_LOSS'
        EXPORTING
          TITEL  = TEXT-039
        IMPORTING
          ANSWER = C_ANSWER.
    ENDFORM.                    "f_exitcheck
    Screen Numer : 9000
    Line:------
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_9000.
      CALL SUBSCREEN: SELECTIONSCREEN INCLUDING SY-CPROG G_SELECTION_DYNNR.
      MODULE CREATE_ALVGRID.
    PROCESS AFTER INPUT.
      MODULE EXIT_COMMAND AT EXIT-COMMAND.
      CALL SUBSCREEN: SELECTIONSCREEN.
      MODULE USER_COMMAND_9000.
    pls reward if it is useful

  • When I close Photoshop CS6, the following message appears: "Could not save Preferences because the file is locked, you do not have necessary access permissions, or another program is using the file.

    When I quit Photoshop CS6, the following message appears:
    " Could not save Preferences because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the ‘Get Info’ command in the Finder to ensure the file is unlocked and you have permission to access the file. If the problem persists, save the document to a different file or duplicate it in the Finder."
    If I try to change the Workspace in PS6 from Essentials to any other Workspace, the following messsage appears:
    "Could not apply the workspace because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the ‘Get Info’ command in the Finder to ensure the file is unlocked and you have permission to access the file. If the problem persists, save the document to a different file or duplicate it in the Finder."
    I have checked the Sharing and Permissions section of the "Get Info" panel accessed from the Finder and I have set Read and Write Privileges for my user account for Photoshop CS6. System and Admin are also set to Read and Write.
    I have a MacBook Pro with OS X Version 10.9.5 and have all available updates for Photoshop CS6, Lightroom 5 and Bridge CS6.
    I tried uninstalling the program and downloading it again and reinstalling, but nothing changed.
    Can you help?
    Thanks,
    cjpnm

    You may get better help in Photoshop General Discussion
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll
    If FINDER means Mac, read below (and try to give more information when asking a question)
    Mac 10.9.3 workaround https://forums.adobe.com/thread/1489922
    Enable Mac Root User https://forums.adobe.com/thread/1156604
    -more Root User http://forums.adobe.com/thread/879931
    -and more root user http://forums.adobe.com/thread/940869?tstart=0

Maybe you are looking for