OOP is it impraticle?

I was perusing the Wikipedia entry for OOP and looking at a few of the criticism links. To me the arguments aer based on things that OOP supposedly says but that I don't really consider OOP.
http://en.wikipedia.org/wiki/Object_oriented_programming#Criticism
Perhaps they misunderstand OOP. Perhaps I'm not using OOP but rather some sort of bastardized hybrid. I do think that what I consider OO is not what I've read about or seen described in a lot of places. I've been influenced by the Interface concept such that I only consider OO concepts important at key 'gateways' or communication points in the program. Behind the scenes, (e.g. implementation classes) I have no problem violating OO principles because it's not part of the public API.
Those of you who feel you have used OO to it's fullest potential: do you think OO is an effective way to program? Do you think pure OO (as an academic might describe it) is realistic?

Nobody understands OO.
Relational databases had E. F. Codd, who defined the field with his articles back in the 1970's. So now there isn't any argument about whether a database system is relational or not.
Whereas OO didn't have that foundation. So dozens of people have thrown out principles that they say are part of OO. That makes it easy for people to argue about whether something is or isn't OO. As the first link in that Criticisms section says, "The lack of consistency in OO methodologies and definitions makes it nearly impossible to make any statement about OO that all OO practitioners will agree with." Of course not all OO practitioners would agree with that.
So instead of Codd, you have codswallop.
I've been writing business programs for 30 years now. And looking back on the 25 years where I knew nothing about OO, I see hardly anything where OO would have made any difference. When you're dealing with customers and inventory and taxes where all the data is in SQL databases, OO isn't particularly helpful and when you try to use it, it just gets in the way. (Our systems aren't written in COBOL but I'm indirectly supporting Duffy's sarcastic comment here.)
That's not to say OO has no place in our business. We do have places where heterogeneous things are happening and we don't need to put them in rectangular boxes, and for those things OO is extremely useful. We have business partners sending us data in various forms through various channels and various things have to be done to that data before it's put into the rectangular boxes. That's where you can make use of the levels of abstraction that OO provides, and we've had a lot of success using it there.
But pure OO? Not in our business.

Similar Messages

  • Changing color of a field after changing the data using OOPS ALV.

    Hi Experts,
    I have displayed three fields (price, no. of products and total amount) in my ALV grid using OOPS.
    Then am changing the data in either price or no. of products fields. When I click ENTER key the value in total amount changes correspondingly. Am able to achieve till this point.
    Now I have to change the color of the three fields( price, products and total amount) of the affected row alone and not the entire set of rows in the output grid.
    Please provide suggestions.
    Thanks in advance.

    Hi,
    You have to use Layout and Output data in your OO ALV. The below code is using FM you can replicate it in OO ALV
    types: begin of t_data,
             flg(3) type c,
             sty    type lvc_t_styl,
             col    type lvc_t_scol,
           end of t_data,
           t_tdata type table of t_data.
    constants: c_red type i value '255',
              c_g   type i value '1'.
    DATA: i_fcat type LVC_T_FCAT,
          s_fcat type lvc_s_fcat,
          s_lay  type lvc_s_layo,
          s_sty  type lvc_s_styl,
          s_col  type lvc_s_scol,
          i_data type t_tdata,
          s_data type t_data.
    s_lay-stylefname = 'STY'.
    s_lay-CTAB_FNAME = 'COL'.
    s_fcat-FIELDNAME = 'FLG'.
    APPEND s_fcat to i_fcat.
    CLEAR: s_data.
    s_data-flg = 'Yes'.
    s_sty-FIELDNAME = 'FLG'.
    s_sty-style = CL_GUI_ALV_GRID=>MC_STYLE_HOTSPOT.
    insert s_sty into TABLE s_data-sty.
    s_col-fname = 'FLG'.
    s_col-color-col = 6.
    s_col-color-inv = 1.
    insert s_col into table s_data-col.
    APPEND s_data to i_data.
    CLEAR: s_data.
    s_data-flg = 'No'.
    s_sty-FIELDNAME = 'FLG'.
    s_sty-style = CL_GUI_ALV_GRID=>MC_STYLE_HOTSPOT_NO.
    insert s_sty into TABLE s_data-sty.
    APPEND s_data to i_data.
    CLEAR: s_data.
    s_data-flg = 'No'.
    s_sty-FIELDNAME = 'FLG'.
    s_sty-style = CL_GUI_ALV_GRID=>MC_STYLE_HOTSPOT_NO.
    s_col-fname = 'FLG'.
    s_col-color-col = 6.
    insert s_col into table s_data-col.
    insert s_sty into TABLE s_data-sty.
    APPEND s_data to i_data.
    CLEAR: s_data.
    s_data-flg = 'Yes'.
    s_sty-FIELDNAME = 'FLG'.
    s_sty-style = CL_GUI_ALV_GRID=>MC_STYLE_HOTSPOT.
    insert s_sty into TABLE s_data-sty.
    APPEND s_data to i_data.
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
    EXPORTING
       IS_LAYOUT_LVC                     = s_lay
       IT_FIELDCAT_LVC                   = i_fcat
      TABLES
        T_OUTTAB                          = i_data
    EXCEPTIONS
       PROGRAM_ERROR                     = 1
       OTHERS                            = 2
    IF SY-SUBRC <> 0.
    ENDIF.
    Thanks,
    Kiruba

  • How to do it in ALV OOPS

    Hi
    Im using ALV OOPS.o/p I have 10 records with checkbox(at user command I have to select record selected by check box). Now on the menu bar I hav a button for "SELECT ALL". If "selected all" 10 recored will be selected. If I filter upon some criteria no. of records will be 3..Now in GUI if I select SELECT all it will display 3 records r selected, but I have to process further internally ,,,but internally 10 records are selected. So how to write code for that is after filterring 3 records r selected and I "select all"..only 3 records will be selected instead of 10?
    Part of my code like this..
    SELECT all
      CALL METHOD G_GRID->CHECK_CHANGED_DATA
        IMPORTING
          E_VALID = L_VALID.
      IF L_VALID EQ 'X'.
        LOOP AT PT_OUTTAB INTO LS_OUTTAB.
      DATA LS_CELLTAB TYPE LVC_S_STYL.
      LOOP AT PS_OUTTAB-CELLTAB INTO LS_CELLTAB.
        IF LS_CELLTAB-FIELDNAME = 'CHECKBOX'.
          IF LS_CELLTAB-STYLE EQ CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
            P_LOCKED = 'X'.
          ELSE.
            P_LOCKED = SPACE.
          ENDIF.
        ENDIF.
      ENDLOOP.
          IF L_LOCKED IS INITIAL
             AND NOT LS_OUTTAB-CHECKBOX EQ '-'.
            LS_OUTTAB-CHECKBOX = 'X'.
          ENDIF.
          MODIFY PT_OUTTAB FROM LS_OUTTAB.
        ENDLOOP.
        CALL METHOD G_GRID->REFRESH_TABLE_DISPLAY.
    ENDIF.

    Hello Kaushik
    Using method go_grid->GET_FILTERED_ENTRIES you get an index list of the filtered entries.
    DATA: lt_filtered     TYPE lvc_t_fidx,
              ld_indx        LIKE LINE OF lt_filtered.
      CALL METHOD go_grid->GET_FILTERED_ENTRIES
         IMPORTING
           ET_FILTERED_ENTRIES = lt_filtered.
      LOOP AT lt_filtered INTO ld_indx.
        READ TABLE gt_outtab INTO ls_outtab INDEX ld_indx.
      ENDLOOP.
    Regards
      Uwe

  • Oops alv report not getting displayed

    Hi experts,
    I have  REQUIREMENT WHERE I NEED TO DISPLAY THREE REPORTS USING ALAV OOPS.
    I have maintained a FM to call alv rport.
    ,I have two validations to make at to different location in report. The report needs to be displayed only after I perform two different validations.
    Issue is
    I call this ALV reprt Fm once at  :  AT SELECTION SCREEN OUTPUT
    and second time at : START OF SELECTION...
    Now I can see the ALV report ( oops with three reports in one container) very well when i call it from :  AT SECETION SCREEN OUTPUT(  Here I perform one of teh two validations which I have mentioned above...The validation performed here is of Selction screen valiudation).
    ButNow when I perform another validation at START OF SELECTIOn...here I cannot  see the ALV report...TEH screen appearing is blank...
    I am calling teh SAME OOPS ALV Function Module from both the locations...( START of SEL and AT selc O/p)..
    I have debugged teh code and checked teh feidcatalogue genration as well s output table .and also structure
    parameteers .. all of tehm are getting populated in both the cases ,,, but dont know why thye output doesnot appear in th last call..
    please help ., I am stuck up...
    TX a ton in adv...
    Regards,
    KT

    Hi Kshitija T,
    START-OF-SELECTION is processed in PAI of selection screen - as soon as all processing is done, the program flow will return, initialize your program an all of it's objects and display the selection screen again.
    I solved this by disabling the default report status EXECUTE button and used AT-SELECTION-SCREEN events.
    Regards,
    Clemens

  • GNOME Fails to start - Polkit? Main.js? - Receive 'Oops' message.

    Been using Arch for years but this is my first problem surprisingly so posting it in this Newbies section.
    I have MATE, KDE, and FLUXBOX working fine as desktop environments for years. Thought I would give GNOME a try and no matter what I've tried I cannot get it working. All I get is a sad face with an 'OOPS' message on screen. Although I am prompted to enter my WiFi password presumably from NetworkManager. None of the errors listed below turn up much on Google so I thought I'd turn to the community. Any help getting GNOME working correctly would be very much appreciated.
    -- Logs begin at Mon 2014-06-09 18:04:18 BST. --
    Jan 19 14:26:50 glow lightdm[1574]: pam_unix(lightdm-greeter:session): session opened for user lightdm by (uid=0)
    Jan 19 14:26:50 glow systemd-logind[432]: New session c4 of user lightdm.
    Jan 19 14:26:50 glow org.a11y.Bus[1582]: Activating service name='org.a11y.atspi.Registry'
    Jan 19 14:26:50 glow org.a11y.Bus[1582]: Successfully activated service 'org.a11y.atspi.Registry'
    Jan 19 14:26:50 glow org.a11y.atspi.Registry[1588]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
    Jan 19 14:26:50 glow systemd-logind[432]: Removed session c1.
    Jan 19 14:26:51 glow NetworkManager[422]: <warn> Could not get scan request result: Scan request rejected
    Jan 19 14:26:59 glow login[1524]: pam_unix(login:session): session opened for user cellardoor by LOGIN(uid=0)
    Jan 19 14:26:59 glow systemd-logind[432]: New session c5 of user cellardoor.
    Jan 19 14:26:59 glow login[1524]: LOGIN ON tty3 BY cellardoor
    Jan 19 14:27:16 glow org.a11y.Bus[1718]: Activating service name='org.a11y.atspi.Registry'
    Jan 19 14:27:16 glow org.a11y.Bus[1718]: Successfully activated service 'org.a11y.atspi.Registry'
    Jan 19 14:27:16 glow org.a11y.atspi.Registry[1725]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
    Jan 19 14:27:16 glow gnome-keyring-daemon[1735]: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
    Jan 19 14:27:16 glow gnome-session[1714]: ** Message: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
    Jan 19 14:27:16 glow gnome-session[1714]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
    Jan 19 14:27:16 glow gnome-session[1714]: GPG_AGENT_INFO=/run/user/1000/keyring/gpg:0:1
    Jan 19 14:27:16 glow gnome-session[1714]: SSH_AUTH_SOCK=/run/user/1000/keyring/ssh
    Jan 19 14:27:16 glow rtkit-daemon[833]: Successfully made thread 1753 of process 1753 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
    Jan 19 14:27:16 glow rtkit-daemon[833]: Supervising 2 threads of 2 processes of 1 users.
    Jan 19 14:27:16 glow pulseaudio[1753]: Daemon already running.
    Jan 19 14:27:16 glow dbus[425]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service'
    Jan 19 14:27:16 glow dbus[425]: [system] Successfully activated service 'org.freedesktop.hostname1'
    Jan 19 14:27:16 glow dbus[425]: [system] Activating via systemd: service name='org.freedesktop.locale1' unit='dbus-org.freedesktop.locale1.service'
    Jan 19 14:27:16 glow dbus[425]: [system] Successfully activated service 'org.freedesktop.locale1'
    Jan 19 14:27:16 glow gnome-session[1714]: (gnome-shell:1773): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found
    Jan 19 14:27:16 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/endSessionDialog.js:28
    Jan 19 14:27:16 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/main.js:15
    Jan 19 14:27:16 glow gnome-session[1714]: @<main>:1
    Jan 19 14:27:16 glow gnome-session[1714]: ** Message: Execution of main.js threw exception: JS_EvaluateScript() failed
    Jan 19 14:27:16 glow gnome-session[1714]: gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:16 glow gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:17 glow gnome-session[1714]: (gnome-shell:1790): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found
    Jan 19 14:27:17 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/endSessionDialog.js:28
    Jan 19 14:27:17 glow gnome-session[1714]: @resource:///org/gnome/shell/ui/main.js:15
    Jan 19 14:27:17 glow gnome-session[1714]: @<main>:1
    Jan 19 14:27:17 glow gnome-session[1714]: ** Message: Execution of main.js threw exception: JS_EvaluateScript() failed
    Jan 19 14:27:17 glow gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:17 glow gnome-session[1714]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    Jan 19 14:27:17 glow gnome-session[1714]: gnome-session[1714]: WARNING: App 'gnome-shell.desktop' exited with code 1
    Jan 19 14:27:17 glow gnome-session[1714]: gnome-session[1714]: WARNING: App 'gnome-shell.desktop' respawning too quickly
    Jan 19 14:27:17 glow gnome-session[1714]: Unrecoverable failure in required component gnome-shell.desktop
    Jan 19 14:27:17 glow fingerprint-polkit-agent[1806]: Got "debug" argument.
    Jan 19 14:27:17 glow fingerprint-polkit-agent[1806]: started.
    Jan 19 14:27:17 glow gnome-session[1714]: (uint32 1,)
    Jan 19 14:27:17 glow gnome-session[1714]: Entering running state
    Jan 19 14:27:17 glow gnome-session[1714]: Failed to play sound: File or data not found
    Jan 19 14:27:17 glow gnome-session[1714]: New PolkitAgentListener 0xb637a0
    Jan 19 14:27:17 glow gnome-session[1714]: Adding new listener PolkitQt1::Agent::Listener(0x7fff29d587e0) for 0xb637a0
    Jan 19 14:27:17 glow org.gnome.zeitgeist.Engine[1718]: ** (zeitgeist-datahub:1857): WARNING **: zeitgeist-datahub.vala:226: Unable to get name "org.gnome.zeitgeist.datahub" on the bus!
    Jan 19 14:27:17 glow polkitd[433]: Registered Authentication Agent for unix-session:c5 (system bus name :1.90 [/usr/lib/fingerprint-gui/fingerprint-polkit-agent -d], object path /fingerprintgui/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
    Jan 19 14:27:17 glow fingerprint-polkit-agent[1806]: Listener "/fingerprintgui/PolicyKit1/AuthenticationAgent" registered.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Auto-activating connection 'The Promised LAN'.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) starting connection 'The Promised LAN'
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) started...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> (wlp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) scheduled...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) complete.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) starting...
    Jan 19 14:27:17 glow NetworkManager[422]: <info> (wlp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0/wireless): access point 'The Promised LAN' has security, but secrets are required.
    Jan 19 14:27:17 glow NetworkManager[422]: <info> (wlp3s0): device state change: config -> need-auth (reason 'none') [50 60 0]
    Jan 19 14:27:17 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) complete.
    Jan 19 14:27:17 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
    Jan 19 14:27:17 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
    Jan 19 14:27:17 glow gnome-session[1714]: Traceback (most recent call last):
    Jan 19 14:27:17 glow gnome-session[1714]: File "<frozen importlib._bootstrap>", line 2158, in _find_spec
    Jan 19 14:27:17 glow gnome-session[1714]: AttributeError: 'DynamicImporter' object has no attribute 'find_spec'
    Jan 19 14:27:17 glow gnome-session[1714]: During handling of the above exception, another exception occurred:
    Jan 19 14:27:17 glow gnome-session[1714]: Traceback (most recent call last):
    Jan 19 14:27:17 glow gnome-session[1714]: File "/usr/share/system-config-printer/applet.py", line 45, in <module>
    Jan 19 14:27:17 glow gnome-session[1714]: from gi.repository import Notify
    Jan 19 14:27:17 glow gnome-session[1714]: File "/usr/lib/python3.4/site-packages/gi/importer.py", line 53, in find_module
    Jan 19 14:27:17 glow gnome-session[1714]: 'introspection typelib not found' % namespace)
    Jan 19 14:27:17 glow gnome-session[1714]: ImportError: cannot import name Notify, introspection typelib not found
    Jan 19 14:27:17 glow gnome-session[1714]: (nm-applet:1810): libnm-glib-CRITICAL **: nm_secret_agent_register: assertion 'priv->registered == FALSE' failed
    Jan 19 14:27:17 glow gnome-session[1714]: nm-applet-Message: No keyring secrets found for The Promised LAN/802-11-wireless-security; asking user.
    Jan 19 14:27:17 glow gnome-session[1714]: (gnome-settings-daemon:1742): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
    Jan 19 14:27:17 glow gnome-session[1714]: (gnome-settings-daemon:1742): GLib-GIO-CRITICAL **: g_dbus_proxy_call_internal: assertion 'G_IS_DBUS_PROXY (proxy)' failed
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Call to gst_discoverer_discover_uri() failed: GStreamer encountered a general stream error.
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/test.webm' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/test.webm' and mime:'video/webm'
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Failed to open file: No OLE2 signature
    Jan 19 14:27:17 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/samsungkeyforserver.pub' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/samsungkeyforserver.pub' and mime:'application/vnd.ms-publisher'
    Jan 19 14:27:18 glow org.gnome.OnlineAccounts[1718]: goa-daemon-Message: goa-daemon version 3.14.2 starting
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): tumbler-WARNING **: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.1: cannot open shared object file: No such file or directory
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): tumbler-WARNING **: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Couldn't create PopplerDocument from uri:'file:///home/cellardoor/Documents/Holiday/certificate_flight_plus_2_a.pdf', PDF document is damaged
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/Documents/Holiday/certificate_flight_plus_2_a.pdf' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/Documents/Holiday/certificate_flight_plus_2_a.pdf' and mime:'application/pdf'
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Call to gst_discoverer_discover_uri() failed: Your GStreamer installation is missing a plug-in.
    Jan 19 14:27:18 glow gnome-session[1714]: (tracker-extract:1813): Tracker-WARNING **: Task for 'file:///home/cellardoor/Documents/Java/Assignment3/evidence%20of%20testing%20and%20results%20not%20as%20expected.xcf' finished with error: Could not get any metadata for uri:'file:///home/cellardoor/Documents/Java/Assignment3/evidence%20of%20testing%20and%20results%20not%20as%20expected.xcf' and mime:'image/x-xcf'
    Jan 19 14:27:18 glow gnome-session[1714]: Destroying listener
    Jan 19 14:27:18 glow gnome-session[1714]: Removing listener PolkitQt1::Agent::Listener(0x7fff29d587e0)
    Jan 19 14:27:18 glow polkitd[433]: Unregistered Authentication Agent for unix-session:c5 (system bus name :1.90, object path /fingerprintgui/PolicyKit1/AuthenticationAgent, locale en_GB.UTF-8)
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> No agents were available for this request.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> Activation (wlp3s0) failed for connection 'The Promised LAN'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): deactivating device (reason 'none') [0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Auto-activating connection 'Security'.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) starting connection 'Security'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) scheduled...
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) started...
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: disconnected -> prepare (reason 'none') [30 40 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) scheduled...
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:1->'Hangup'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 1 of 5 (Device Prepare) complete.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) starting...
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: prepare -> config (reason 'none') [40 50 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0/wireless): access point 'Security' has security, but secrets are required.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: config -> need-auth (reason 'none') [50 60 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> Activation (wlp3s0) Stage 2 of 5 (Device Configure) complete.
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> No agents were available for this request.
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: need-auth -> failed (reason 'no-secrets') [60 120 7]
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> Activation (wlp3s0) failed for connection 'Security'
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): device state change: failed -> disconnected (reason 'none') [120 30 0]
    Jan 19 14:27:18 glow NetworkManager[422]: <info> (wlp3s0): deactivating device (reason 'none') [0]
    Jan 19 14:27:18 glow kernel: tracker-miner-f[1827]: segfault at 130000017a ip 00007f14f57cbdbe sp 00007ffff6a89330 error 4 in libgio-2.0.so.0.4200.1[7f14f5779000+16f000]
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.UDisks2VolumeMonitor disconnected from the bus; removing drives/volumes/mounts
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Cache1[1718]: (tumblerd:1887): GVFS-RemoteVolumeMonitor-WARNING **: Owner of volume monitor org.gtk.Private.MTPVolumeMonitor disconnected from the bus; removing drives/volumes/mounts
    Jan 19 14:27:18 glow NetworkManager[422]: <warn> Could not get scan request result: Scan request rejected
    Jan 19 14:27:18 glow org.a11y.Bus[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow org.gtk.vfs.Daemon[1718]: A connection to the bus can't be made
    Jan 19 14:27:18 glow org.gtk.vfs.Daemon[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.freedesktop.Tracker1[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gtk.vfs.Daemon[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.OnlineAccounts[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gtk.Private.UDisks2VolumeMonitor[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gtk.Private.MTPVolumeMonitor[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.evolution.dataserver.Sources3[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.zeitgeist.Engine[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.freedesktop.Tracker1[1718]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow org.freedesktop.Tracker1[1718]: OK
    Jan 19 14:27:18 glow ca.desrt.dconf[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: g_dbus_connection_real_closed: Remote peer vanished with error: Error receiving message: Connection reset by peer (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.zeitgeist.Engine[1718]: [14:27:18.337568 WARNING] zeitgeist-daemon.vala:449: The connection is closed
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow gnome-session[1714]: OK
    Jan 19 14:27:18 glow org.freedesktop.Telepathy.AccountManager[1718]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow org.gnome.evolution.dataserver.Calendar4[1718]: Could not connect: Connection refused
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: Error creating proxy: The connection is closed (g-io-error-quark, 18)
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: Error creating proxy: Error calling StartServiceByName for org.gtk.Private.MTPVolumeMonitor: The connection is closed (g-io-error-quark, 18)
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): GLib-GIO-CRITICAL **: Error while sending AddMatch() message: The connection is closed
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: Error creating proxy: Error calling StartServiceByName for org.gtk.vfs.Daemon: The connection is closed (g-io-error-quark, 18)
    Jan 19 14:27:18 glow gnome-session[1714]: g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
    Jan 19 14:27:18 glow gnome-session[1714]: Received signal:15->'Terminated'
    Jan 19 14:27:18 glow org.freedesktop.thumbnails.Thumbnailer1[1718]: (tumblerd:1909): tumblerd-WARNING **: Failed to start the thumbnail cache service: Another thumbnail cache service is already running
    Jan 19 14:27:18 glow gnome-session[1714]: OK
    Jan 19 14:27:18 glow systemd-coredump[1943]: Process 1827 (tracker-miner-f) of user 1000 dumped core.
    Thank you!
    Moderator edit:  Added code tags
    Last edited by ewaller (2015-01-19 15:57:10)

    Please use code tags when posting logs. From
    Jan 19 14:27:16 glow gnome-session[1714]: ** Message: couldn't access control socket: /run/user/1000/keyring/control: No such file or directory
    Jan 19 14:27:16 glow gnome-session[1714]: (gnome-shell:1773): Gjs-WARNING **: JS ERROR: Error: Requiring Polkit, version none: Typelib file for namespace 'Polkit' (any version) not found
    it seems you're missing dependencies, or they're not started for some reason. Try running GNOME via GDM, installing latter should pull in the full kitchen sink. If you want more hints, google for "gjs polkit not found".
    Last edited by Alad (2015-01-19 15:38:09)

  • I have adobe editions 4.0 and I've been trying to get library books on my kobo for over 2 hours! The book goes onto my Kobo fine, but when I try to open in on my kobo it says, "Oops! The document couldn't be opened. It's protected by ADRM and is not curre

    I have adobe editions 4.0 and I've been trying to get library books on my kobo for over 2 hours! The book goes onto my Kobo fine, but when I try to open in on my kobo it says, "Oops! The document couldn't be opened. It's protected by ADRM and is not currently authorized for use with your Adobe ID." It does it with every single book. I've never had this problem before. I've tried everything! Please help.

    same problem for me. I am using abe edition 3 as I don't think 4 can be used with kobo. Book has been downloaded to kobo but it can't be read as it is not authorised.Help please

  • Help needed Displaying ALV  Secondary list without using oops concept

    Hi Experts
    Help needed Displaying ALV  Secondary list without using oops concept.
    its urgent
    regds
    rajasekhar

    hi chk this code
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
         I_CALLBACK_PF_STATUS_SET       = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
         IS_VARIANT                     = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       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.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'Z50651_PFSTATUS' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    REPORT  Z_ALV_INTERACTIVE  MESSAGE-ID ZMSG_50651
                                    LINE-SIZE 100
                                    LINE-COUNT 60
                                    NO STANDARD PAGE HEADING.
    ******************TABLES DECLARATION*****************
    TABLES : VBAP,MARA.
    *****************TYPE POOLS**************************
    TYPE-POOLS : SLIS.
    ****************INTERNAL TABLES**********************
    DATA : BEGIN OF IT_VBAP OCCURS 0,
    VBELN LIKE VBAP-VBELN, "SALES DOCUMENT
    POSNR LIKE VBAP-POSNR, "SALES DOCUMENT ITEM
    MATNR LIKE VBAP-MATNR, "MATERIAL NUMBER
    END OF IT_VBAP.
    ****************TEMPORARY VARIABLES******************
    DATA : V_VBELN LIKE VBAP-VBELN."SALES DOCUMENT
    DATA : V_MTART LIKE MARA-MTART. "MATERIAL TYPE
    *****************FIELD CATALOG***********************
    DATA : IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
           WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
    ****************LAYOUT*******************************
    DATA : WA_LAYOUT TYPE SLIS_LAYOUT_ALV.
    ***************VARIANT*******************************
    DATA : G_VARIANT LIKE DISVARIANT.
    ****************SAVE*********************************
    DATA : G_SAVE(1) TYPE C.
    *****************EVENTS******************************
    DATA : XS_EVENTS TYPE SLIS_ALV_EVENT,
           G_EVENTS TYPE SLIS_T_EVENT.
    ******************PF STATUS**************************
    DATA : PF_STATUS TYPE SLIS_FORMNAME VALUE 'SET_PF_STATUS'.
    ******************USER COMMAND************************
    DATA : USER_COMMAND TYPE SLIS_FORMNAME VALUE 'SET_USER_COMMAND',
           R_UCOMM LIKE SY-UCOMM.
    ****************SELECTION SCREEN************************
    SELECT-OPTIONS : S_VBELN FOR VBAP-VBELN.
    ***************AT SELECTION SCREEN*********************
    AT SELECTION-SCREEN.
      PERFORM VALIDATE.
    **************START-OF-SELECTION**************************
    START-OF-SELECTION.
      PERFORM GET_DETAILS.
      PERFORM FIELDCAT.
      PERFORM LAYOUT.
      PERFORM VARIANT.
      PERFORM SAVE.
      PERFORM EVENTS.
      PERFORM ALV_DISPLAY.
    *********************FORMS*******************************************
    *&      Form  validate
          text
    -->  p1        text
    <--  p2        text
    FORM VALIDATE .
      SELECT SINGLE VBELN
                    FROM VBAP
                    INTO V_VBELN
                    WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'enter valid vbeln'.
      ENDIF.
    ENDFORM.                    " validate
    *&      Form  get_details
          text
    -->  p1        text
    <--  p2        text
    FORM GET_DETAILS .
      SELECT VBELN
             POSNR
             MATNR
             FROM VBAP
             INTO TABLE IT_VBAP
             WHERE VBELN IN S_VBELN.
      IF SY-SUBRC <> 0.
        MESSAGE E000 WITH 'no details found'.
      ENDIF.
    ENDFORM.                    " get_details
    *&      Form  fieldcat
          text
    -->  p1        text
    <--  p2        text
    FORM FIELDCAT .
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'VBELN'.
      WA_FIELDCAT-OUTPUTLEN = 10.
      WA_FIELDCAT-SELTEXT_L = 'SALES DOC'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'POSNR'.
      WA_FIELDCAT-OUTPUTLEN = 6.
      WA_FIELDCAT-SELTEXT_L = 'ITEM'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
      WA_FIELDCAT-TABNAME = 'IT_VBAP'.
      WA_FIELDCAT-FIELDNAME = 'MATNR'.
      WA_FIELDCAT-OUTPUTLEN = 18.
      WA_FIELDCAT-SELTEXT_L = 'MATERIAL NO'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR WA_FIELDCAT.
    ENDFORM.                    " fieldcat
    *&      Form  LAYOUT
          text
    -->  p1        text
    <--  p2        text
    FORM LAYOUT .
      WA_LAYOUT-ZEBRA = 'X'.
    ENDFORM.                    " LAYOUT
    *&      Form  VARIANT
          text
    -->  p1        text
    <--  p2        text
    FORM VARIANT .
      CLEAR G_VARIANT.
      G_VARIANT-REPORT = SY-REPID.
    ENDFORM.                    " VARIANT
    *&      Form  SAVE
          text
    -->  p1        text
    <--  p2        text
    FORM SAVE .
      CLEAR G_SAVE.
      G_SAVE = 'A'.
    ENDFORM.                    " SAVE
    *&      Form  EVENTS
          text
    -->  p1        text
    <--  p2        text
    FORM EVENTS .
      CLEAR XS_EVENTS.
      XS_EVENTS-NAME = SLIS_EV_TOP_OF_PAGE.
      XS_EVENTS-FORM = 'TOP_OF_PAGE'.
      APPEND XS_EVENTS TO G_EVENTS.
    ENDFORM.                    " EVENTS
    *&      Form  TOP_OF_PAGE
          text
    FORM TOP_OF_PAGE.
      WRITE :/ ' INTELLI GROUP'.
    ENDFORM.                    "TOP_OF_PAGE
    *&      Form  ALV_DISPLAY
          text
    -->  p1        text
    <--  p2        text
    FORM ALV_DISPLAY .
      CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
       EXPORTING
      I_INTERFACE_CHECK              = ' '
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                = ' '
         I_CALLBACK_PROGRAM             = SY-REPID
       I_CALLBACK_PF_STATUS_SET         = PF_STATUS
         I_CALLBACK_USER_COMMAND        = USER_COMMAND
      I_STRUCTURE_NAME               =
         IS_LAYOUT                      = WA_LAYOUT
         IT_FIELDCAT                    = IT_FIELDCAT
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
      IT_SORT                        =
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_DEFAULT                      = 'X'
         I_SAVE                         = G_SAVE
        IS_VARIANT                      = G_VARIANT
         IT_EVENTS                      = G_EVENTS
      IT_EVENT_EXIT                  =
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          T_OUTTAB                       = IT_VBAP
       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.                    " ALV_DISPLAY
    *&      Form  SET_PF_STATUS
          text
    FORM SET_PF_STATUS USING EXTAB TYPE SLIS_T_EXTAB.
      SET PF-STATUS 'STANDARD' EXCLUDING EXTAB.
    ENDFORM.                    "SET_PF_STATUS
    *&      Form  SET_USER_COMMAND
          text
    FORM SET_USER_COMMAND USING R_UCOMM
                                RS_SELFIELD TYPE SLIS_SELFIELD.
      CASE R_UCOMM.
        WHEN 'DC'.
          READ TABLE IT_VBAP INDEX RS_SELFIELD-TABINDEX.
          IF SY-SUBRC = 0.
            SELECT SINGLE MTART
                          FROM MARA
                          INTO V_MTART
                          WHERE MATNR = IT_VBAP-MATNR.
            IF SY-SUBRC <> 0.
       MESSAGE E000 WITH 'NO MATERIAL DESCRIPTION FOR SELECTED MATERIAL NO'.
            ELSE.
              WRITE :/ 'MATERIAL NO :',IT_VBAP-MATNR.
              WRITE :/ 'MATERIAL TYPE :' , V_MTART.
      SUBMIT SLIS_DUMMY WITH P_MATNR EQ IT_VBAP-MATNR
                        WITH P_MTART EQ V_MTART.
            ENDIF.
          ENDIF.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
        WHEN 'CLOSE'.
          CALL TRANSACTION 'SE38'.
      ENDCASE.
    plz reward if useful

  • How to trigger New page while using ALV with classes/oops?

    Hi All
    I am trying to print a report which has to show the data in two pages.
    I am using ALV with classes/oops.
    Though I am able to print the report but a new page is not coming. Whole of the data is coming in one single page.
    Please tell me as to how to trigger a NEW PAGE while using ALV with classes/oops.
    Please send some code samples also if available.
    Thanks in advance.
    Jerry

    using sort option you can do it. in case of grid/oo alv class ALV you can view that only in print mode/preview mode.
    in case of list you can view that directly.
    sort-fieldname = 'FIELDNAME'.
    sort-group = '*'  "triggers new page
    sort-up = 'X'.
    append sort to it_sort.

  • Regarding making hyperlink in OOPs ALV

    Please see the following ALV Code. Its based on OOPs. There is no fieldcatalog defined in the program. In the output I want to make a hotspot on the filed VBELN & want to call T.code VA03 using SET PARAMETER ID. Please help. If I would have made it through Function Modules, It could have been easier as I can modify the fieldcatalog. Please help me urgently. Points will be rewarded.
    *& Report  ZTEST_OOPS_REPT1                                            *
    REPORT  ztest_oops_rept1                        .
    Type pool for icons - used in the toolbar
    TYPE-POOLS: icon.
    TYPE-POOLS: slis.
    TABLES: vbak.
    To allow the declaration of o_event_receiver before the
    lcl_event_receiver class is defined, decale it as deferred in the
    start of the program
    CLASS lcl_event_receiver DEFINITION DEFERRED.
    G L O B A L   I N T E R N  A L   T A B L E S
    *DATA: gi_sflight TYPE STANDARD TABLE OF sflight.
    To include a traffic light and/or color a line the structure of the
    table must include fields for the traffic light and/or the color
    TYPES: BEGIN OF st_vbak.
            INCLUDE STRUCTURE vbak.
    TYPES: END OF st_vbak.
    TYPES: tt_vbak TYPE STANDARD TABLE OF st_vbak.
    DATA: gi_vbak TYPE tt_vbak.
    *declaration for fieldcatalog
    DATA: lit_fieldcat TYPE slis_t_fieldcat_alv,
        ls_fieldcat  TYPE slis_fieldcat_alv.
    G L O B A L   D A T A
    DATA: ok_code         LIKE sy-ucomm,
        Work area for internal table
          g_wa_vbak    TYPE st_vbak,
        ALV control: Layout structure
          gs_layout       TYPE lvc_s_layo.
    Declare reference variables to the ALV grid and the container
    DATA:
      go_grid             TYPE REF TO cl_gui_alv_grid,
      go_custom_container TYPE REF TO cl_gui_custom_container,
      o_event_receiver    TYPE REF TO lcl_event_receiver.
    DATA:
    Work area for screen 200
      g_screen200 LIKE vbak.
    Data for storing information about selected rows in the grid
    DATA:
    Internal table
      gi_index_rows TYPE lvc_t_row,
    Information about 1 row
      g_selected_row LIKE lvc_s_row.
                            SELECTION-SCREEN                             *
    SELECTION-SCREEN BEGIN OF BLOCK ch1 WITH FRAME.
    SELECT-OPTIONS:  s_vbeln FOR vbak-vbeln OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK ch1.
    C L A S S E S
    CLASS lcl_event_receiver DEFINITION.
      PUBLIC SECTION.
        METHODS:
         handle_toolbar FOR EVENT toolbar OF cl_gui_alv_grid
           IMPORTING
             e_object e_interactive,
         handle_user_command FOR EVENT user_command OF cl_gui_alv_grid
           IMPORTING e_ucomm.
    ENDCLASS.                    "lcl_event_receiver DEFINITION
          CLASS lcl_event_receiver IMPLEMENTATION
    CLASS lcl_event_receiver IMPLEMENTATION.
      METHOD handle_toolbar.
    Event handler method for event toolbar.
        CONSTANTS:
    Constants for button type
          c_button_normal           TYPE i VALUE 0,
          c_menu_and_default_button TYPE i VALUE 1,
          c_menu                    TYPE i VALUE 2,
          c_separator               TYPE i VALUE 3,
          c_radio_button            TYPE i VALUE 4,
          c_checkbox                TYPE i VALUE 5,
          c_menu_entry              TYPE i VALUE 6.
        DATA:
            ls_toolbar  TYPE stb_button.
      Append seperator to the normal toolbar
        CLEAR ls_toolbar.
        MOVE c_separator TO ls_toolbar-butn_type..
        APPEND ls_toolbar TO e_object->mt_toolbar.
      Append a new button that to the toolbar. Use E_OBJECT of
      event toolbar. E_OBJECT is of type CL_ALV_EVENT_TOOLBAR_SET.
      This class has one attribute MT_TOOLBAR which is of table type
      TTB_BUTTON. The structure is STB_BUTTON
        CLEAR ls_toolbar.
        MOVE 'CHANGE'        TO ls_toolbar-function.
        MOVE  icon_change    TO ls_toolbar-icon.
        MOVE 'Change flight' TO ls_toolbar-quickinfo.
        MOVE 'Change'        TO ls_toolbar-text.
        MOVE ' '             TO ls_toolbar-disabled.
        APPEND ls_toolbar    TO e_object->mt_toolbar.
      ENDMETHOD.                    "handle_toolbar
      METHOD handle_user_command.
      Handle own functions defined in the toolbar
        CASE e_ucomm.
          WHEN 'CHANGE'.
            PERFORM change_flight.
           LEAVE TO SCREEN 0.
        ENDCASE.
      ENDMETHOD.                    "handle_user_command
    ENDCLASS.                    "lcl_event_receiver IMPLEMENTATION
    S T A R T - O F - S E L E C T I O N.
    START-OF-SELECTION.
      SET SCREEN '100'.
    *&      Module  USER_COMMAND_0100  INPUT
    MODULE user_command_0100 INPUT.
      CASE ok_code.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Module  STATUS_0100  OUTPUT
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'ZTEST_ALV'.
      SET TITLEBAR 'ZTEST_ALV'.
      DATA:
      For parameter IS_VARIANT that is sued to set up options for storing
      the grid layout as a variant in method set_table_for_first_display
        l_layout TYPE disvariant,
      Utillity field
        l_lines TYPE i.
    After returning from screen 200 the line that was selected before
    going to screen 200, should be selected again. The table gi_index_rows
    was the output table from the GET_SELECTED_ROWS method in form
    CHANGE_FLIGHT
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines > 0.
        CALL METHOD go_grid->set_selected_rows
          EXPORTING
            it_index_rows = gi_index_rows.
        CALL METHOD cl_gui_cfw=>flush.
        REFRESH gi_index_rows.
      ENDIF.
    Read data and create objects
      IF go_custom_container IS INITIAL.
      Read data from datbase table
        PERFORM get_data.
      Create objects for container and ALV grid
        CREATE OBJECT go_custom_container
          EXPORTING container_name = 'ALV_CONTAINER'.
        CREATE OBJECT go_grid
          EXPORTING
            i_parent = go_custom_container.
      Create object for event_receiver class
      and set handlers
        CREATE OBJECT o_event_receiver.
        SET HANDLER o_event_receiver->handle_user_command FOR go_grid.
        SET HANDLER o_event_receiver->handle_toolbar FOR go_grid.
      Layout (Variant) for ALV grid
        l_layout-report = sy-repid. "Layout fo report
    Setup the grid layout using a variable of structure lvc_s_layo
      Set grid title
        gs_layout-grid_title = 'SALES ORDER'.
      Selection mode - Single row without buttons
      (This is the default  mode
        gs_layout-sel_mode = 'B'.  "B for single selection.
      Grid setup for first display
        CALL METHOD go_grid->set_table_for_first_display
          EXPORTING
            i_structure_name = 'VBAK'
            is_variant       = l_layout
            i_save           = 'A'
            is_layout        = gs_layout
          CHANGING
            it_outtab        = gi_vbak.
    *-- End of grid setup -
      Raise event toolbar to show the modified toolbar
        CALL METHOD go_grid->set_toolbar_interactive.
      Set focus to the grid. This is not necessary in this
      example as there is only one control on the screen
        CALL METHOD cl_gui_control=>set_focus
          EXPORTING
            control = go_grid.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
          text
    MODULE user_command_0200 INPUT.
      CASE ok_code.
        WHEN 'BACK'.
          LEAVE TO SCREEN 100.
          WHEN'SAVE'.
          PERFORM save_changes.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    *&      Form  get_data
          text
    FORM get_data.
    Read data from table VBAK
      SELECT *
        FROM vbak
        INTO TABLE gi_vbak
        WHERE vbeln IN s_vbeln.
    ENDFORM.                    " load_data_into_grid
    *&      Form  change_flight
    Reads the contents of the selected row in the grid, ans transfers
    the data to screen 200, where it can be changed and saved.
    FORM change_flight.
      DATA:l_lines TYPE i.
      REFRESH gi_index_rows.
      CLEAR   g_selected_row.
    Read index of selected rows
      CALL METHOD go_grid->get_selected_rows
        IMPORTING
          et_index_rows = gi_index_rows.
    Check if any row are selected at all. If not
    table  gi_index_rows will be empty
      DESCRIBE TABLE gi_index_rows LINES l_lines.
      IF l_lines = 0.
        CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'
          EXPORTING
            textline1 = 'You must choose a line'.
        EXIT.
      ENDIF.
    Read indexes of selected rows. In this example only one
    row can be selected as we are using gs_layout-sel_mode = 'B',
    so it is only ncessary to read the first entry in
    table gi_index_rows
      LOOP AT gi_index_rows INTO g_selected_row.
        IF sy-tabix = 1.
          READ TABLE gi_vbak INDEX g_selected_row-index
           INTO g_wa_vbak.
        ENDIF.
      ENDLOOP.
    Transfer data from the selected row to screenm 200 and show
    screen 200
      CLEAR g_screen200.
      MOVE-CORRESPONDING g_wa_vbak TO g_screen200.
      LEAVE TO SCREEN '200'.
    ENDFORM.                    " change_flight
    *&      Form  save_changes
    Changes made in screen 200 are written to the datbase table
    zsflight, and to the grid table gi_sflight, and the grid is
    updated with method refresh_table_display to display the changes
    FORM save_changes.
    Update traffic light field
    Update database table
      MODIFY vbak FROM g_screen200.
    Refresh grid
      CALL METHOD go_grid->refresh_table_display.
      CALL METHOD cl_gui_cfw=>flush.
      LEAVE TO SCREEN '100'.
    ENDFORM.                    " save_changes
    *&      Module  STATUS_0200  OUTPUT
          text
    MODULE status_0200 OUTPUT.
      SET PF-STATUS 'ZTEST_ALV'.
      SET TITLEBAR 'ZTEST_ALV'.
    ENDMODULE.                 " STATUS_0200  OUTPUT
                     " lit_fieldcat_init

    Use FM -LVC_FIELDCATALOG_MERGE to derive the field catalog for table VBAK. It will give you the field catalog. You can modify the column VBELN  by changing HOTSPOT = 'X".
    and in your code - at the method SET_TABLE_FOR....DISPLAY , you comment out the structure name and pass the modified field catalog.
    Hope it helps.

  • OOP ALV report custom control performance problem

    HI
    how to write OOP ALV report without custom control.. Actually with custom control which taking long time... and time out happens for huge selection of data..
    Regards
    Roops.

    timeout is not an alv problem. If you try to display a "huge" amount of data, any display technology will fail. Even sap programs fail, their wise solution is to ask user to restrict data to be displayed. Or reduce database selection time, or display amount. Or propose the user to download data as a spool, or output to a file on server.
    Otherwise, read some advices about how to handle timeout in [Note 25528 - Parameter rdisp/max_wprun_time|http://service.sap.com/sap/support/notes/25528].
    About your question, if you still want to try, look at [example code with alv class cl_salv_table for simple display|http://help.sap.com/saphelp_nw2004s/helpdata/en/f9/1ab54099de3726e10000000a1550b0/frameset.htm]

  • Runtime error while i add a node in ALV Tree in oops

    i am adding a node to alv tree using oop am passing a work area and when i execute it is going for a dump and it says UC_OBJECTS_NOT_CONVERTIBLE
    and the below where it is bold and italic it is where the dump is occuring
    METHOD ADD_NODE.
    FIELD-SYMBOLS: <TAB1> TYPE standard TABLE,
    <wa> type any.
    assign mt_outtab->* to <tab1>.
    insert line in outtab
    DATA: L_INDEX TYPE SY-TABIX.
    if is_outtab_line is initial.
    create initial line
    data l_dref_wa type ref to data.
    create data l_dref_wa like line of <tab1>.
    assign l_dref_wa->* to <wa>.
    l_index = 0.
    append <wa> to <Tab1>.
    else.
    APPEND IS_OUTTAB_LINE TO <TAB1>. endif.
    L_INDEX = SY-TABIX.
    add node to model
    CALL METHOD ME->ADD_MODEL_NODE
    EXPORTING
    I_RELAT_NODE_KEY = I_RELAT_NODE_KEY
    I_RELATIONSHIP = I_RELATIONSHIP
    IS_NODE_LAYOUT = IS_NODE_LAYOUT
    IT_ITEM_LAYOUT = IT_ITEM_LAYOUT
    I_NODE_TEXT = I_NODE_TEXT
    I_INDEX_OUTTAB = L_INDEX
    IMPORTING
    E_NEW_NODE_KEY = E_NEW_NODE_KEY.
    ENDMETHOD.

    HI Mohsin,
    please refer to the below ....
    might be helpful for u .....
    https://scn.sap.com/thread/2050188
    http://scn.sap.com/message/6407195
    http://r0005001.benxbrain.com/de%28bD1lbiZjPTAwMQ==%29/index.do?onInputProcessing=brai_thread&001_thread_id=1759814%20&001_temp=R3TR|PROG|RCSBI010||P01|
    Hope thiw will help ....
    Regards,
    AKS

  • OOPs ALV report Fieldcatalog Editing a currency field

    Hi all,
    I have created an OOP's ALV report. I have made one of the currency field editable. when I am changing the value in any cell and go out of the cell(or move to other cell using arrow keys or click some were in the grid) it is taking '.' after 2 digits from the right.
    for example if I take 10 it is converting to 0.10, if I take 100 it is becomnig 1.00, if I take 100.00 it is becoming 1.00. If I take 123.45 I am getting a pop up box with message "Too many decimal places"
    the fieldcatalog values are as follows
      WA_FIELDCAT-FIELDNAME   = 'ORD_VAL'.
      WA_FIELDCAT-SCRTEXT_M   = 'Ord Value'.
      WA_FIELDCAT-COL_POS     = 11.
    wa_fieldcat-no_zero     = 'X'.
      WA_FIELDCAT-OUTPUTLEN = 14.
       WA_FIELDCAT-CURRENCY  = 'INR'.
      wa_fieldcat-decimals_o = '2'.
      wa_fieldcat-no_zero = 'X'.
      WA_FIELDCAT-EDIT   = 'X'.
      APPEND WA_FIELDCAT TO IT_FIELDCAT.
      CLEAR  WA_FIELDCAT.
    Can anybody please help me. As If I edit the field it should take the values what I input.
    Thanks in Advance.

    Hi ,
    The CURR field is the currency unit field in the table ITAB.
    I am just confused with your answer. in my case the final internal table is T_CHKQTY1 shall I take that or anything else. I have taken WA_FIELDCAT-CTABNAME = 'CURR'. but the system is thrownig an error as The data object has no component with CTABNAME but there is a component called TABNAME.
    Can you please currect me.

  • Field catalog in alv with classes(OOPS)

    please refer the code below of field catalog prepared.
    this code is for preparing field catalog using ALV and OOPS.In the below field catalog, do_sum is not working.it is going to dump.
    FORM prepare_field_catalog CHANGING pt_fieldcat TYPE lvc_t_fcat.
      DATA ls_fcat TYPE lvc_s_fcat.
      ls_fcat-fieldname = 'VBELN1'.
      ls_fcat-ref_field = 'VBELN'.
      ls_fcat-ref_table = 'VBRK'.
      ls_fcat-coltext = 'Invoice No'.
      ls_fcat-seltext = 'Invoice No'.
      APPEND ls_fcat TO pt_fieldcat.
      CLEAR ls_fcat.
    ls_fcat-fieldname = 'DMBTR'.
      ls_fcat-ref_field = 'DMBTR'.
      ls_fcat-ref_table = 'BSAD'.
      ls_fcat-coltext = 'Value of Invoice'.
      ls_fcat-seltext = 'Value of Invoice'.
      ls_fcat-do_sum = 'X'.
      APPEND ls_fcat TO pt_fieldcat.
      CLEAR ls_fcat.
    ENDFORM.                    "PREPARE_FIELD_CATALOG
    I would apreciate u response.
    regards,
    veera.

    Hello Veeranjaneyulu
    I prefer to use function module <b>LVC_FIELDCATALOG_MERGE</b> to build my fieldcatalogs.
    If you need fields from different structure that is no problem. Simply call the function module for each structure and collect the result in the same itab (e.g. lt_fcat).
    Finally, you delete all fields that you do not need.
    If the order is important to you then re-order the fields:
    LOOP AT lt_fcat INTO ls_fcat.
      ls_fcat-col_pos = syst-tabix.
      MODIFY lt_fcat from ls_fcat.
    ENDLOOP.
    Regards
       Uwe

  • How to raise error message from PAI of oops ALV report

    Hi All,
    I have a requirement to raise error message form editable oops alv . After entering the data and then press SAVE button .
    Please help.
    Thanks in Advance

    HI SK,
    Write a Local class (Event Handeler) to handel the events. In Editable ALV once the user enter a value, CL_GUI_ALV_GRID will raise an event called DATA_CHANGED.
    1. Define and Implement a local class to handle that event.
    In the implementation of this class you need to get data from imported object to an internal table, then compare the same with the ALV output table.
    * Local Class to handler the events raised from the ALV Grid
    CLASS LCL_EVENT_HANDLER DEFINITION.
    PUBLIC SECTION.
    * Method to handel EDIT event, DATA_CHANGED of CL_GUI_ALV_GRID
      METHODS : ON_DATA_CHANGE FOR EVENT DATA_CHANGED OF CL_GUI_ALV_GRID
                           IMPORTING ER_DATA_CHANGED.
    ENDCLASS.
    * Event handler class Implementation
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
      METHOD ON_DATA_CHANGE.
        DATA : LT_MODIFY TYPE LVC_T_MODI,
                   LS_MODIFY TYPE LVC_S_MODI.
    * Copying changed data into intenal table from Object
        LT_MODIFY = ER_DATA_CHANGED->MT_MOD_CELLS.
    * Modifying the ouptut table with the changed values
        IF LT_MODIFY[] IS NOT INITIAL.
              *Compare the ALV Output table with LT_MODIFY
        ENDIF.
      ENDMETHOD.
    ENDCLASS.
    Then raise  a message on required condition in the same method.
    Note: To trigger the above method, you need to set event handler before displaying ALV (before calling method SET_TABLE_FOR_FIRST_DISPLAY)
    * Creating object for the Local event handler class
      CREATE OBJECT GR_HANDLER.
    * Set handler (call method of Event_handler) to handler Edit event
      SET HANDLER GR_HANDLER->ON_DATA_CHANGE FOR  GR_GRID.
    Regards,
    Vijay

  • Bold chars & increase font size in ALV Top of Page - OOPS

    Hi,
    I am using ALV OOPs to display my data.
    I am splitting the container and using top container to display headings in following way:
    data:   top TYPE REF TO cl_dd_document
      CREATE OBJECT top
        EXPORTING
          style = 'ALV_GRID'.
      lv_fontsize = cl_dd_document=>large.
    lv_text = 'HEADING'.
      CONDENSE lv_text.
      CALL METHOD top->add_text
        EXPORTING
          text         = lv_text
          fix_lines    = 'X'
          sap_fontsize = lv_fontsize         "cl_dd_document=>large
        CHANGING
          document     = cv_top.
    But the heaidng is not displayed with high font size and is similar to the text with cl_dd_document=>medium
    How can I increase font size of heading.
    Thanks!

    Hi Vasu,
    Use SAP_STYLE parameter in the method.
    Value will be HEADING or KEY.
    Regards,
    Amitava

Maybe you are looking for

  • Want to make a backup of system folder/start up disk

    I have a PowerBook 4 that just gave me a start up scare.  Things are working well again, but I realize that I need a back up plan. It is running 10.4.11 and has had several upgrades to the hard drive and os, so nothing is original and I do not have o

  • PS CS6 seems to warp vector text in 3D

    Hey, When I use the 3D tools in PS CS6, the render is 'warping' the clean lines in an odd manner - see image attached. Notice the curves on the C and O are getting points and straight lines in the top left corners? And the inside of the O is showing

  • How to go back one page to an open application (from Safari)?

    For example, if I have one of my applications open and I follow the link to open the products page, it launches Safari accordingly. However, when I have finished looking at that page, how do I close down Safari and go back to the last screen I was lo

  • SRM Sourcing Cockpit enhancement

    Gurus, We have a requirement to enhane a screen in the sourcing cockpit . The extended search screen for shopping carts needs to be enhanced for the user to be able to select multiple Purchasing groups rather than a drop down list for a selected Purc

  • Xpath help needed

    Hi all. I'm totally stuck on what should(?) be a simple problem. We are provided with an external XML file which references a local(their local) schema etc. What I'd like to do is remove or update all the attributes passed in - the file starts as <?x