Log in/out of finder using terminal

This is a rather odd one:
Is it possible to log out of one account and log in to another in the finder using terminal?

Assuming that you are exchanging passwordless keys in ssh, then the assumption account to account security is not a primary concern. If this is true, then you could use AppleScript to automate the change of user and then launch processes as that user. While crude:
Run this as user1 logged into the Finder:
tell application "Terminal"
activate
tell application "System Events" to keystroke "su user2"
tell application "System Events" to key code 36
delay 1
tell application "System Events" to keystroke "a"
tell application "System Events" to key code 36
delay 1
tell application "System Events" to keystroke "/Applications/Calculator.app/Contents/MacOS/Calculator &"
tell application "System Events" to key code 36
end tell
That will activate Terminal, drop the text su user1 into the command prompt, commit the Enter key, wait a second, pass the user's password to stdin, and commit Enter key again. Then the final command is to send the string path to the application executable. That will launch the applications (Calculator shown above - replace with path the QT Broadcaster) and release the shell so you can do additional scripts as the alternate user.
By the way, have you looked into Podcast Producer? It sounds like you are doing more live streams so it may not be for you, but figured I'd ask.
Hope this helps
This gets you

Similar Messages

  • TS3376 if I change my iCloud password it will log me out of "find my Mac" on a lost device?

    My laptop was stolen. I do not want the thief having access to my notes, email, and other iCloud info. From my understanding, if I change my iCloud password it will log me out of those accounts. But my question is: will "find my Mac" no longer work since I'm logging out?

    It does not log out of all of devices, but when the user tries to use an app that is tied to your ID, it will sync with immediately sync to the Cloud, since you have a new password, a message popup will appear asking for the new one. But before that the lock from Find My iPhone will leave the phone unusable.
    I'm explaining this because if the user who stole your iPhone and “is not connected” to wi-fi, a computer or using cellular data, there's no way to send that request until the device is requesting data from iCloud.

  • My iMac keeps logging me out as I use it

    I am trying to download Mountain Lion on my new iMac, and my computer keeps logging me out even while I am using it.

    Just now I received an unxpected restart and kernal panic:
    Interval Since Last Panic Report:  109576 sec
    Panics Since Last Report:          1
    Anonymous UUID:                    E446DB8C-2DF5-4A69-1E6C-C171F1D2B9F5
    Sun Sep 30 10:49:26 2012
    panic(cpu 0 caller 0xffffff802f6b7bd5): Kernel trap at 0xffffff802f643ca1, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0xffffffc042663298, CR3: 0x0000000031f4a000, CR4: 0x00000000000606e0
    RAX: 0x0000000000000000, RBX: 0x0000000000000000, RCX: 0x0000000009000000, RDX: 0xffffff8032799260
    RSP: 0xffffff8120ac3c90, RBP: 0xffffff8120ac3cc0, RSI: 0xffffff8120ac3d68, RDI: 0xffffff8032799250
    R8:  0x0000000000000004, R9:  0x00000000fe2eeaa6, R10: 0x00000000fffffffc, R11: 0x00000000fe2eeaa6
    R12: 0xffffffc042663290, R13: 0xffffff8032799250, R14: 0xffffff8120ac3d68, R15: 0xffffff7fafdae058
    RFL: 0x0000000000010286, RIP: 0xffffff802f643ca1, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0xffffffc042663298, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff8120ac3930 : 0xffffff802f61d626
    0xffffff8120ac39a0 : 0xffffff802f6b7bd5
    0xffffff8120ac3b70 : 0xffffff802f6ce4ed
    0xffffff8120ac3b90 : 0xffffff802f643ca1
    0xffffff8120ac3cc0 : 0xffffff802f6435d2
    0xffffff8120ac3da0 : 0xffffff802f6245ed
    0xffffff8120ac3dd0 : 0xffffff802f9efeb4
    0xffffff8120ac3df0 : 0xffffff802f9eff35
    0xffffff8120ac3e10 : 0xffffff7fafd6c2c5
    0xffffff8120ac3e40 : 0xffffff7fafd703e2
    0xffffff8120ac3e70 : 0xffffff7fafd6c4e5
    0xffffff8120ac3eb0 : 0xffffff802fa3b928
    0xffffff8120ac3f40 : 0xffffff802fa36d85
    0xffffff8120ac3f60 : 0xffffff802f63dcde
    0xffffff8120ac3fb0 : 0xffffff802f6b26b7
          Kernel Extensions in backtrace:
             com.apple.iokit.IOFireWireFamily(4.5.5)[BFC15D10-EE0B-342D-9C00-8BF529DFAA6C]@0 xffffff7fafd68000->0xffffff7fafddafff
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    12C54
    Kernel version:
    Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64
    Kernel UUID: 69A5853F-375A-3EF4-9247-478FD0247333
    Kernel slide:     0x000000002f400000
    Kernel text base: 0xffffff802f600000
    System model name: iMac12,1 (Mac-942B5BF58194151B)
    System uptime in nanoseconds: 3116826480850
    last loaded kext at 64670969768: com.apple.driver.AppleBluetoothMultitouch          75.15 (addr 0xffffff7fb1284000, size 77824)
    last unloaded kext at 126526793810: com.apple.driver.AppleUSBUHCI          5.2.5 (addr 0xffffff7faff17000, size 65536)
    loaded kexts:
    com.apple.driver.AppleBluetoothMultitouch          75.15
    com.apple.driver.AppleHWSensor          1.9.5d0
    com.apple.iokit.IOBluetoothSerialManager          4.0.9f33
    com.apple.driver.AudioAUUC          1.60
    com.apple.filesystems.autofs          3.0
    com.apple.driver.AGPM          100.12.69
    com.apple.driver.AppleMikeyHIDDriver          122
    com.apple.driver.AppleHDA          2.3.1f2
    com.apple.driver.AppleUpstreamUserClient          3.5.10
    com.apple.kext.AMDFramebuffer          8.0.0
    com.apple.iokit.BroadcomBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.iokit.IOUserEthernet          1.0.0d1
    com.apple.driver.AppleMikeyDriver          2.3.1f2
    com.apple.driver.AppleBacklight          170.2.3
    com.apple.driver.AppleSMCPDRC          1.0.0
    com.apple.Dont_Steal_Mac_OS_X          7.0.0
    com.apple.driver.AppleLPC          1.6.0
    com.apple.driver.ACPI_SMC_PlatformPlugin          1.0.0
    com.apple.driver.AppleSMCLMU          2.0.2d0
    com.apple.AMDRadeonAccelerator          1.0.0
    com.apple.driver.ApplePolicyControl          3.2.11
    com.apple.driver.AppleMCCSControl          1.0.33
    com.apple.driver.AppleIntelHD3000Graphics          8.0.0
    com.apple.driver.AppleIntelSNBGraphicsFB          8.0.0
    com.apple.driver.AppleIRController          320.15
    com.apple.iokit.SCSITaskUserClient          3.5.1
    com.apple.driver.AppleUSBCardReader          3.1.0
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless          1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib          1.0.0d1
    com.apple.BootCache          34
    com.apple.driver.XsanFilter          404
    com.apple.iokit.IOAHCIBlockStorage          2.2.2
    com.apple.driver.AppleUSBHub          5.2.5
    com.apple.driver.AirPort.Atheros40          600.70.23
    com.apple.iokit.AppleBCM5701Ethernet          3.2.5b3
    com.apple.driver.AppleAHCIPort          2.4.1
    com.apple.driver.AppleFWOHCI          4.9.6
    com.apple.driver.AppleUSBEHCI          5.4.0
    com.apple.driver.AppleEFINVRAM          1.6.1
    com.apple.driver.AppleACPIButtons          1.6
    com.apple.driver.AppleRTC          1.5
    com.apple.driver.AppleHPET          1.7
    com.apple.driver.AppleSMBIOS          1.9
    com.apple.driver.AppleACPIEC          1.6
    com.apple.driver.AppleAPIC          1.6
    com.apple.driver.AppleIntelCPUPowerManagementClient          196.0.0
    com.apple.nke.applicationfirewall          4.0.39
    com.apple.security.quarantine          2
    com.apple.driver.AppleIntelCPUPowerManagement          196.0.0
    com.apple.driver.AppleMultitouchDriver          235.28
    com.apple.driver.AppleBluetoothHIDKeyboard          165.5
    com.apple.driver.IOBluetoothHIDDriver          4.0.9f33
    com.apple.driver.AppleHIDKeyboard          165.5
    com.apple.iokit.IOSerialFamily          10.0.6
    com.apple.kext.triggers          1.0
    com.apple.driver.DspFuncLib          2.3.1f2
    com.apple.iokit.IOAudioFamily          1.8.9fc10
    com.apple.kext.OSvKernDSPLib          1.6
    com.apple.iokit.AppleBluetoothHCIControllerUSBTransport          4.0.9f33
    com.apple.iokit.IOSurface          86.0.3
    com.apple.iokit.IOFireWireIP          2.2.5
    com.apple.driver.AppleBacklightExpert          1.0.4
    com.apple.iokit.IOBluetoothFamily          4.0.9f33
    com.apple.driver.AppleSMBusPCI          1.0.10d0
    com.apple.driver.IOPlatformPluginLegacy          1.0.0
    com.apple.driver.IOPlatformPluginFamily          5.2.0d16
    com.apple.driver.AppleHDAController          2.3.1f2
    com.apple.iokit.IOHDAFamily          2.3.1f2
    com.apple.driver.AppleThunderboltEDMSink          1.1.8
    com.apple.driver.AppleThunderboltEDMSource          1.1.8
    com.apple.driver.AppleSMC          3.1.4d2
    com.apple.iokit.IOAcceleratorFamily          19.0.26
    com.apple.driver.AppleGraphicsControl          3.2.11
    com.apple.driver.AppleSMBusController          1.0.10d0
    com.apple.kext.AMD6000Controller          8.0.0
    com.apple.kext.AMDSupport          8.0.0
    com.apple.iokit.IONDRVSupport          2.3.5
    com.apple.iokit.IOGraphicsFamily          2.3.5
    com.apple.driver.AppleThunderboltDPOutAdapter          1.8.5
    com.apple.driver.AppleThunderboltDPInAdapter          1.8.5
    com.apple.driver.AppleThunderboltDPAdapterFamily          1.8.5
    com.apple.driver.AppleThunderboltPCIDownAdapter          1.2.5
    com.apple.iokit.IOSCSIMultimediaCommandsDevice          3.5.1
    com.apple.iokit.IOBDStorageFamily          1.7
    com.apple.iokit.IODVDStorageFamily          1.7.1
    com.apple.iokit.IOCDStorageFamily          1.7.1
    com.apple.iokit.IOUSBHIDDriver          5.2.5
    com.apple.iokit.IOAHCISerialATAPI          2.5.0
    com.apple.iokit.IOSCSIBlockCommandsDevice          3.5.1
    com.apple.iokit.IOUSBMassStorageClass          3.5.0
    com.apple.iokit.IOSCSIArchitectureModelFamily          3.5.1
    com.apple.driver.AppleUSBMergeNub          5.2.5
    com.apple.driver.AppleUSBComposite          5.2.5
    com.apple.driver.AppleThunderboltNHI          1.6.0
    com.apple.iokit.IOThunderboltFamily          2.1.1
    com.apple.iokit.IOUSBUserClient          5.2.5
    com.apple.iokit.IO80211Family          500.15
    com.apple.iokit.IOEthernetAVBController          1.0.2b1
    com.apple.iokit.IONetworkingFamily          3.0
    com.apple.iokit.IOAHCIFamily          2.2.1
    com.apple.iokit.IOFireWireFamily          4.5.5
    com.apple.iokit.IOUSBFamily          5.4.0
    com.apple.driver.AppleEFIRuntime          1.6.1
    com.apple.iokit.IOHIDFamily          1.8.0
    com.apple.iokit.IOSMBusFamily          1.1
    com.apple.security.sandbox          220
    com.apple.kext.AppleMatch          1.0.0d1
    com.apple.security.TMSafetyNet          7
    com.apple.driver.DiskImages          344
    com.apple.iokit.IOStorageFamily          1.8
    com.apple.driver.AppleKeyStore          28.21
    com.apple.driver.AppleACPIPlatform          1.6
    com.apple.iokit.IOPCIFamily          2.7.1
    com.apple.iokit.IOACPIFamily          1.4
    com.apple.kec.corecrypto          1.0
    Model: iMac12,1, BootROM IM121.0047.B1F, 4 processors, Intel Core i5, 2.5 GHz, 8 GB, SMC 1.71f22
    Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 512 MB
    Memory Module: BANK 0/DIMM1, 4 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353237334448302D4348392020
    Memory Module: BANK 1/DIMM1, 4 GB, DDR3, 1333 MHz, 0x80CE, 0x4D34373142353237334448302D4348392020
    AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x9A), Atheros 9380: 4.0.70.23-P2P
    Bluetooth: Version 4.0.9f33 10885, 2 service, 18 devices, 1 incoming serial ports
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: ST3500418AS, 500.11 GB
    Serial ATA Device: HL-DT-STDVDRW  GA32N
    USB Device: FaceTime HD Camera (Built-in), apple_vendor_id, 0x850b, 0xfa200000 / 3
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfa100000 / 2
    USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0xfa110000 / 4
    USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8215, 0xfa111000 / 5
    USB Device: hub_device, 0x0424  (SMSC), 0x2514, 0xfd100000 / 2
    USB Device: Internal Memory Card Reader, apple_vendor_id, 0x8403, 0xfd110000 / 4
    USB Device: IR Receiver, apple_vendor_id, 0x8242, 0xfd120000 / 3

  • My ipad logs me out when I use email for work

    My iPad logs me out when I email for work. I have to log back on. This happened all night as it was very frustrating. Has this happened to anyone? What can I do to fix this problem?

    Here it is 2012 and I too have this problem with games, Safari and email. It just loggs me off after about 10 to 20 min. This all started with the last OS update. Why has no one responded??

  • Can I log out from my Mac using Terminal.app?

    Is there a command I can issue in Terminal.app to log myself out? I'm just looking for a command-line equivalent of Apple >> Log Out. I would like to script this action so I can add it to my dock. Thanks.

    Hi--
    I wasn't able to find a way to completely log out via the Terminal (i.e., quit all apps and go back to the login window), though I did find a way to suspend the current login session (your apps are still running when you come back, much like with fast user switching):
    <pre class="command">/System/Library/CoreServices/Menu Extras/User.menu/Contents/Resources/CGSession -suspend</pre>
    You can also log out via AppleScript:
    <pre class="command">tell application "System Events" to log out</pre>
    Just save it as an application and put it on your Dock. I didn't do much testing, though, so I don't know if it'll quit your apps for you cleanly. Basically, I just got to the point where the dialog came up and left it at that.
    charlie

  • Hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,but i can't find  my data which i have saved on mac.please help me out in this matter.

    hey,i forgot my login password,so i changed the password by using terminal command(reset password).now i have new user name with new password,
    but i can't find  my data which i have saved on mac.the storage is showing data used and free space on the disk
    please help me out in this matter.

    How did you change your user name?
    resetpassword wouldn't have done it. If you managed to create a new user, then your data is still in the old account.

  • I bought a used iPod and they were previously signed onto their iCloud. I have been wanting to change it but I have not been able to sign out of the previous account because I cannot sign out of "Find My iPod Touch". How am I able to log that off?

    I bought a used iPod and they were previously signed onto their iCloud account. I have been wanting to change it but I have not been able to sign out of the previous account because I cannot sign out of "Find My iPod Touch" due to not knowing the password. How am I able to shut that off and log into my own account?

    You can't.  This is a security feature to prevent the resale of stolen iOS devices.  You need to contact the seller and have him/her remove it from their iCloud account.  Or return and get your money back.  See: Find My iPhone Activation Lock - Apple Support

  • HT201365 Hello, someone stole my sons IPhone today in his gym class. I have the find my iphone app on my phone BUT he is not a listed device. I went into his itunes account and downloaded the app under his account. Now I just need to figure out how to use

    Hello, someone stole my sons IPhone today in his gym class. I have the "find my iphone app" on my phone BUT he is not a listed device. I went into his itunes account and downloaded the "find my iphone app" app under his account. When I try to log into "find my iphone" under his name on my device I get an error msg involving icloud......he is MUCH better at this stuff then I am BUT he is in school and now I  need to figure out how to use the "find my iphone app". PLEASE HELP

    It doesn't matter whick account you use to download the app.
    You have to sign into the app (or iCloud.com from a web browser on your computer) with his Apple ID & password.
    Find My iPhone will only work if it was enabled in the iCloud settings on the device and it was powered on with a connection to the internet

  • Macbook pro keeps logging me out after using migration assistant

    Hello All,
    I have a Macbook pro (bought it two years ago). It used to shut down automatically. Took it to Apple after backing up using time machine. They installed a fresh OS on it and took everything else out. I made a dummy account and no more shut downs happend so I migrated my old account over using MA. Now all my accounts are there but as soon as I log in, it logs me out !!! no error message.
    Help would be appreciated.
    Bahram 

    gogeta2006 wrote:
    i have a macbook pro and just recently after a shutdown, it now keeps logging me out right after i sign into my mac. I tried disk repair, file permissions repair and safe mode and none fixed/ nor safe mode got me inside my mac.
    I want to save some files I have on there but can't because I cannot log in.
    How were you able to run a disk repair? Did you do that from an install disc?
    Can you boot into "single-user" mode? If so there are some commands you can run that will allow you to look into logs files, where you might find the reason for your problem.

  • I just download and install itunes 10.5 and it worked good the first days but since yesterday it crashed up, and everytime i start it it crashes again and logged me out each time. it can´t acces my itunes account. I´m using snow leopard the last version.

    I just download and install itunes 10.5 and it worked good the first days but since yesterday it crashed up, and everytime i start it it crashes again and logged me out each time. it can´t acces my itunes account. I´m using snow leopard the last version. What can i do to solve this problem and and continue using my itunes normally?

    Try doing it in a WIndows Safe mode - Restart computer and hit F8 key right after your see BIOS check and choose "Safe mode with networking"
    Do the SFC /SCANNOW again.
    If that does not work, whilst in safe mode, download Free Malwarebyte software from CNET's Download.com.  Install, update virus definition then perform a full scan.  Remove if it did find some viruses or trojans.  Restart computer.
    Back to regular windows, do the SFC /SCANNOW again.
    If that doesnot work, check to see if your Hard drive has errors or bad sectors
    GO START BUTTON /COMPUTER, right mouse click OS (C:) and choose "Properties"
    Choose "Tools" tab and under error checking, click "Check Now".
    Make sure "Scan for and attempt recovery of bad sectors" is checked and click start.
    Restart windows will perform the above task to fix errors  This may take hours depends on how big is your Hard Drive
    Good Luck!!.

  • How to find out the Transactions used per month & the USER who used that

    Hi,
    1)How to find out the Transactions used per month & the USER who used that?
    2)and can i get the above same for minimum 20 month?
    System : SAP- Enterprise Core Component.

    You can use my program...
    *& Report  Z_ABAP_TCODE_MONITOR
    *****&  Program Type          : Report                                 *
    *****&  Title                 : Z_ABAP_TCODE_MONITOR                   *
    *****&  Transaction code      : ZTCODE_USAGE                           *
    *****&  Developer name        : Shailendra Kolakaluri                  *
    *****&  Deveopment start date : 26 th Dec 2011                         *
    *****&  Development Package   : ZDEV                                   *
    *****&  Transport No          : DEVK906086                                       *
    *****&  Program Description   : This program is to display
    *List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    *& Modification history
    REPORT  Z_ABAP_TCODE_MONITOR.
    *& List all tcodes executed during previous day.
    *& Show the number of users executing tcodes
    TYPE-POOLS : slis.
    DATA: ind TYPE i,
          fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          layout TYPE slis_layout_alv,
          variant TYPE disvariant,
          events  TYPE slis_t_event WITH HEADER LINE,
          heading TYPE slis_t_listheader WITH HEADER LINE.
    *REPORT  z_report_usage.
    TYPES: BEGIN OF zusertcode,
      date   TYPE swncdatum,
      user   TYPE swncuname,
      mandt     TYPE swncmandt,
      tcode     TYPE swnctcode,
      report TYPE swncreportname,
      count     TYPE swncshcnt,
    END OF zusertcode.
    *data   : date type n.
    DATA: t_usertcode  TYPE swnc_t_aggusertcode,
          wa_usertcode TYPE swncaggusertcode,
          wa           TYPE zusertcode,
          t_ut         TYPE STANDARD TABLE OF zusertcode,
          wa_result    TYPE zusertcode,
          t_result     TYPE STANDARD TABLE OF zusertcode.
    PARAMETER: month TYPE dats DEFAULT sy-datum.
    *PARAMETER: date TYPE dats.
    *select-options : username for wa_usertcode-account.
    START-OF-SELECTION.
    PERFORM get_data.
    PERFORM get_fieldcatalog.
      PERFORM set_layout.
    PERFORM get_event.
    PERFORM get_comment.
      PERFORM display_data.
    FORM get_data .
    *date = sy-datum - 2 .
    After start-of-selection add this line (parameter Month required 01 as day).
      concatenate month+0(6) '01' into month.
      CALL FUNCTION 'SWNC_COLLECTOR_GET_AGGREGATES'
        EXPORTING
          component     = 'TOTAL'
          ASSIGNDSYS    = 'DEV'
          periodtype    = 'M'
          periodstrt    = month
        TABLES
          usertcode     = t_usertcode
        EXCEPTIONS
          no_data_found = 1
          OTHERS        = 2.
      wa-date  = month.
    *wa-date  = date.
      wa-mandt = sy-mandt.
    wa_usertcode-account = username.
      LOOP AT t_usertcode INTO wa_usertcode.
        wa-user = wa_usertcode-account.
        IF wa_usertcode-entry_id+72 = 'T'.
          wa-tcode  = wa_usertcode-entry_id.
          wa-report = space.
        ELSE.
          wa-tcode  = space.
          wa-report = wa_usertcode-entry_id.
        ENDIF.
        COLLECT wa INTO t_ut.
      ENDLOOP.
      SORT t_ut BY report ASCENDING.
      CLEAR: wa, wa_result.
    endform.
    FORM get_fieldcatalog .
    fcat-tabname     = 't_ut'.
    fcat-fieldname   = 'DATE'.
    fcat-seltext_l   = 'Date'.
    fcat-key         = 'X'.
    APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'MANDT'.
      fcat-seltext_l   = 'Client'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'USER'.
      fcat-seltext_l   = 'User Name'.
      fcat-key         = 'X'.
      APPEND fcat.
      CLEAR fcat.
      fcat-tabname     = 't_ut'.
      fcat-fieldname   = 'TCODE'.
      fcat-seltext_l   = 'Transaction Code'.
      fcat-key         = 'X'.
      APPEND fcat.
    ENDFORM.
    *&      Form  SET_LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM set_layout .
      layout-colwidth_optimize = 'X'.
    ENDFORM.                    " SET_LAYOUT
    *&      Form  GET_EVENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_event .
    events-name = slis_ev_top_of_page.
    events-form = 'TOP_OF_PAGE'.
    APPEND events.
    *ENDFORM.                    " GET_EVENT
    **&      Form  GET_COMMENT
          text
    -->  p1        text
    <--  p2        text
    *FORM get_comment .
    DATA: text(30).
    text = 'Billing Report'.
    heading-typ = 'H'.
    heading-info = text.
    APPEND heading.
    *ENDFORM.                    " GET_COMMENT
    **&      Form  top_of_page
          text
    -->  p1        text
    <--  p2        text
    *FORM top_of_page .
    CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
       EXPORTING
         it_list_commentary       = heading[]
      I_LOGO                   =
      I_END_OF_LIST_GRID       =
    *ENDFORM.                    " top_of_page
    *&      Form  DISPLAY_DATA
          text
    -->  p1        text
    <--  p2        text
    FORM display_data .
      sort t_ut[].
    DELETE ADJACENT DUPLICATES FROM t_ut[] COMPARING ALL FIELDS.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program = sy-cprog
          is_layout          = layout
          it_fieldcat        = fcat[]
          i_save             = 'A'
          is_variant         = variant
          it_events          = events[]
        TABLES
          t_outtab           = t_ut
        EXCEPTIONS
          program_error      = 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.
    ENDFORM.                    " DISPLAY_DATA

  • How do i find out who is using my interent on iMac, How do i find out who is using my interent on iMac

    How can i find out who is using my internet connection on other devices, i have tried internet preferences, but it dont tell me who is connected to internet.

    That has nothing to do with OS X or your iMac, if you think someone has been using your Internet connection then you need to turn on the security on your WI-FI router. Please look in the owners manual of your router for instructions.

  • After trying to change permissions on my computer so others on my network can access files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal

    After trying to change permissions on my computer so others on my network can grab files, my external Hard Drive has a lock on it and I can't access files. I've tried repairing permissions, logging in under another Administrator account, using Terminal to fix the problem, downloaded BatChmod but nothing works… Any other suggestions? I have an Imac running OS10.6.8.

    There is suddenly a lock icon on my external backup drive!
    Custom Permissions

  • I was using my iphone 4s and then the app started to not work and then my phone blocked and then when i go on home most of my apps disappeared including my settings so i cant restore with out disabling find my iphone on settings

    I was using my iphone 4s and then the app started to not work and then my phone blocked and then when i go on home most of my apps disappeared including my settings so i cant restore with out disabling find my iphone on settings please help me asap thankyou so much

    Log in to icloud.com on a web browser with your Apple ID and disable FMiP there.

  • How to find out query name using Elements of the query builder.

    Hi SDNers,
    how to find out query name using Elements of the query .
    thanks,
    satyaa

    Hi,
    For having a look at the relation between BEx tables,check the link below:
    http://wiki.sdn.sap.com/wiki/display/BI/ExploretherelationbetweenBEx+Tables
    -Vikram

Maybe you are looking for

  • Issue with Master and child relationship,viewlink

    Hi Frnds, In one of our custom pages we have Master child relationship between Invoice lines and their distributions. Things work absolutely fine when total no of distributions(say 10) are equal to max no of distributions that can be shown on 1st pag

  • Photos are covering text

    First timer here, I created a page and it looked great, but my photo was covering the links at the top. So I went back in and moved it down just a little and all of a sudden the text that had been on the photo was gone. I found it underneath, but I c

  • Storing/Editing Word Documents in Forms 6i

    Has anyone done this in 6i ? Apparently, the only solution is to write some JavaBeans. Has anyone done this and are there any samples that would allow us to do this other than the samples on Technet as unfortunately they do not help much. It seems as

  • Customer registration form won't display in testing environment.

    Hi everyone, I am using DWCS3 with the free version of MAMP. I have put a customer registration form together and have just started to add the php $mailSent code. In design view everything seems to be o.k the three gold shields are displayed at the t

  • Enabling a push button in query mode only

    Hello!! How do you enable a push button only in query mode? Do I need to write some code? If so can anybody help?