Essence of OOPs?

What is the Essence of OOP's?

This question is way too broad for anyone to answer it seriously here.
In short OOP or Object Oriented Programming is a technique used to write programs that are more extensible and flexable than programs written using Procedural Progamming techniques. This is done by taking advantage of a languages abilty to define arbitary data types. Most languages have int and float, etc. But some allow you to define more elaborate types like Employee and Circle. The definitions for these types are encapsulated in a Class. When you make a new instance of that class it's called an Object. So you might write int k = 15; in a Procedural Language but in Java and other OOP languages you can also write Employee e = new Employee("Jim", 10.50);. This would make an instance e of Class Employee.
Mike

Similar Messages

  • Is there a Zen to Java programming?

    As a programmer/ tech writer, I�m sort of envious of luxuries available to theoretical physicists who may contemplate such mysterious and exciting things as Heiseinberg Uncertainty Principle or wave-corpuscular dualism of elementary particles. However, are physicists the only hi-tech community that is permitted to enjoy surfing the Zen paradoxes abound in the world around? Are we computer people deprived of the like delights just because computing is so deeply rooted in Aristotelian and Boolean logic? I hardly think so. Zen (one may add Tao) logic is universal, and although we so strongly tend to employ patterns of our dreary �either-or� thinking while programming artificial things, these things, quite interestingly, happen to be not exempt from the Chaotic Beauty of the Natural World. In a word, Complexity (can one question complexity of modern computing?) ever meets Chaos. And an encounter with Chaos, paradoxically, expands our understanding of Order; or rather force us into accepting a sort of Another Order that underlies seemingly chaotic processes we observe. Further, I argue my thesis.
    Recently, I�ve pondered on tricks of object-oriented programming (OOP). Much was said about �more human-oriented� approaches available with OOP, which allow the programmer to enjoy a higher level of abstraction in comparison with traditional procedural methods that chain the poor developer down to a controlled flow of bits deep inside the machinery. Yes, as for me, systems design and programming in C++, Smalltalk and Java delivers more sense of �soaring above� than it does in COBOL. In other words, programming in Java appears to be a �more human� way of thinking. However, what do we understand saying �more human�? Here we need to be slightly technical. In essence of OOP lies the concept of object, which may be understood as an entity modeling a real world situation. One may announce that a Java programmer thinks in terms of real world proceedings, delivering his or her understanding of the processes by means of the quite abstracted technical language (code). As far, it sounds quite human, and it is so. And here again we can find, not surprisingly, the deep-rooted patterns of rational �either-or� logic. Object is thought of as static entity, and of course it is static in a technical sense. It possesses such qualities as state and behavior, changeable only within predefined limits. Also, object may be thought of as static because it represents a fixed (constant) set of variables (attributes) and subroutines (methods). Of course, objects provide only a degree of abstraction as to what we understand as a real world situation. However, at the same time they most definitely cannot be perceived as static entities because of dynamic nature of the computing process. In essence, computing is all about data processing, or performance of logical operations on variables stored in memory (the process was mathematically modeled well before the advent of computer as the famous Church-Turing Machine). More simply, there can be nothing static in computing at all, because computation is always a process. So, musing on the nature of objects in OOD&P, we encounter a highly sophisticated logical system presenting the following set of choices: (1) object is either static or dynamic, (2) object is both static and dynamic, (3) object is neither static nor dynamic. As we see, the two latter options sound absolutely Zen-like while the former characterizes the good old Western Aristotelian logic. This is the point where Complexity (of computing) meets Chaos, as it is thought of by Western mind-view, i. e. absence of logical consistency and determinism. It�s obvious that in OOP we cannot perceive object in other way than embracing an advanced sort of logic, so characteristic to Eastern thought. If we understand object as a real world entity, we are entitled to see it as a Zen entity either, which can be described only in the conformable logic system.
    [I�ve patented it as Bojenov Uncertainty Principle in OOP.  Of course, I�d be curious to hear from fellow Zen programmers and find out their opinions on the matter, via e-mail preferably.]

    You should spend some time around actual Physicists. You'd realize that a very small portion of Physics involves irrational, or imaginative thought. That instead a small portion of it is the imagination, and a larger portion is the execution to test the theorys produced my imagination. And this execution is MUCH less imaginative then anything. Alot of Physicists spend a great deal of their time programing at computer terminals making mathematical models of their data, most of them using far less conceptual models that are afforded to us computer programers these days.
    Alot of the Physics department is bent on still using Fortran. They're having a hard time getting them to convert to using C rather then Fortran, yet alone Java or C++. And I'm certain you can agree that these languages allow alot less room for imagination then does Java. You should probably work on introducing these traits you think so highly of the Physics community as having, to the physics community. And once they've fully learned to appreciate them, then maybe you can work on expanding them to the Computer Science community as well. You should realize as well that most Physicists, are also Computer Scientists.
    -Jason Thomas.

  • Which is better to use in alv functions or oops concept

    hi,
    actually some people are using function modules
    and some are using oops concept
    which one is better
    could anybody suggest
    thanks,
    kalyan

    I assume you've found TLFTextField in Flash Pro (I can't remember if Flash Builder made a TLFTextField class or not). Anyway, if you're considering using Flash Pro, here's some background on the TLFTextField class:
    This class was created primarily for backwards compatibility with Classic Text coding. If you used Flash Pro CS 4 or earlier versions, and you wrote ActionScript for your text objects, you were using TextField objects. So, when you upgraded to CS 5, and you decided to convert all your old Classic text objects to the new TLF objects, all your code would have broken were it not for TLFTextField class. TLFTextField implements the TextField API so that your existing TextField code can be used in the TLF environment.
    So, if you're an ActionScript programmer who is already comfortable programming using the TextField API, it certainly makes sense to continue doing so but using TLFTextField objects. However, if you want to take advantage of the new TLF features, the old API doesn't really give you the ability to do that. So, the TLFTextField provided a new API:
    function get textFlow():TextFlow;
    The TextFlow class is the top level class of the TLF model objects. Using that object, you can then set attributes on your text just as if you were working with TextFlow in Flash Builder. So, in essence, TLFTextField provides backwards compatibility, continued use of the familiar API set, and access to the TextFlow model class.
    Another nuance to be aware of is that if you choose to embed fonts, TLF requires the newer "DF4" (for DefineFont4, based on the SWF Tag name) vs. the older "DF3" fonts that TextField requires. For text on the stage, Flash Pro will do all the tricky work for deciding when to embed DF3 and when to embed DF4 fonts, but just be aware that mixing Classic text and TLF text when using embedded fonts can cause a "double tax" on your SWF size because it may embed the same font both as DF3 and DF4.
    Good Luck!
    Rusty

  • 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.

  • What has happened to the essence to what a phone w...

    I have been meaning to discuss this for monthsand have never got around to it. The normal land line phone work 100 percent of the time you pick it up and it works you make calls from it and you put it down when your finished.
    The mobile phone has lost what it was created for because there is to many things being added to it. I am a heavy business user. I make lots and lots of call all day long be it in my van on the hands free kit or just the handset. I have been using nokia phones for 6 years and they are starting to let the business user down greatly.
    My last phone worked fairly well the 6310i it sat in a cradle in the car kit was charged by the car kit and used the external aerial with the car kit. Besides that the battery lasted with low usage up to 10 days and also i could slip a spare battery onto the back very easily and quickly that i had sitting by my pc on charge in a cradle, the was some problems with the car kit from time to time and the pc software didn't work half the time but as a phone it was very good i made lots of calls with good reception.But the new phones have got worse i was replacing 5 business phones snd needed car kits with them and also i wanted to be able to charge the units in the vehicle while in the car kit as well as use the external aerial on the vehicle when working in remote areas of bad reception. Well do you think anyone in nokia could provide any of this, no not after hours of searching on there website and talking to idiots on customers services who refused to put me threw to someone who technically knew what i wanted. Well i could go on for hours but the best i came up with for a new business phone was the 6230i. its a nice phone but its draw backs are the battery is not easily changed, the battery does not last anything as long, the new car kits do not have an external aerial, and it crashes about once a month even though i have the latest software on it. why cant they stop messing about and design a phone for the business user that uses an external aerial, but most of all has a battery that last all the other toys have nothing to do with making phone calls there nice i do use my pc and link it with outlook and the rest but most of all i make phone calls. Come on Nokia get back the essence of what a phone is for and take control of this issue. i would gladly talk to someone in nokia's developement team if they wish to give me a call but an email might be better as the battery wont run out during the conversation.
    Looking forward to a reply.

    this is ridiculous. if you read the manual for the installation of any car kit it states what you need to do in order to have it switched on when the ignition is off. its just the same as wiring a car stereo to a switch for leaving it on all the time. if yours does not do this you can ask the installer to do it for you.
    i fail to see how nokia are complicating the issue with the 616. i agree that it does lack a charger and is the most expensive. have you ever seen a car charger? its a very discreet device, i have one myself. i plug in my phone and leave it out of sight in the car(i also have a bluetooth car kit. i put the phone in the space next to my ashtray), you could try the same thing(depending on your car) as you dont actually need the phone anywhere near you when you use the 616, as previously mentioned the screen and remote take care of all the functions you need.
    if you really need a cradle you can buy one, they are less than twenty quid . as i use more than one phone its not a good idea for me. i have one for personal and one for business, but as you have mentioned, you are a heavy business user, you may wish to invest in one. probably you could pick one up at www.nokia-accessories.co.uk.
    and on your odd comment on the desk stand, well nokia does one for the 6230i also, its called the dcv-14. not only does it charge it also provide a connection to your pc via a dku-2. you can find that on the same site i mentioned above. even though it does not charge an extra battery it does give you extra functionality, so i think the designers have done well there.
    i am not sure as to what you mean about tony blair though

  • 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.

Maybe you are looking for

  • Why do I get connection failed when logging in on app store on wireless, but Wired LAN works fine?

    I've been having the same issue as many other people. On OSX Lion with latest updates as of 3/20/2012. Tried deleting .plist files, checking keychain access and even reset keychain. I still get the error of Connection Failed when trying to download u

  • Error in XML Parsing  through Schema doc.MalformedURLException

    Hi, I need to validate xml file before parsing it through XML schema validation. My XML file and schema files are in the same directory and I need am validation it using below code. Java Code_ String rbBasePath = ConfigurationFactory.getInstance().ge

  • Payment proposal workflow

    Hi friend, <Moderator note: new question related to [this thread|custom pushbutton created in the transaction F110;. Please always ask new questions in a new thread. See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngag

  • EDI 820 used for Check processing

    We currently print our checks via a data file sent to a 3rd party.  They have informed us they can accept an EDI 820 instead of the custom format we send them now.  We use 820s for other payments so I am familiar with how that process works, but I am

  • Manipulate the browser elements in report page....

    Hi, How to manipulate the browser elements in report page? i.e hiding the field element, hiding entire row, disable or enable a particular cell(or text field) from a row, hiding value in a cell....so on. i used apex_items to create a report text fiel