Screen-Input

In my i have some 8-9 fields and a table control.....
If the user hits the save button, i want all fields and table control to be input disabled.
can i do that without looping screen and making every field input disabled....

You can disable the Fields of the table control by using the Structure of the Table control.
See the link below, it contains the detail of the structure of the table control. You can disable the fields using the SCREEN table.You can see the structure during debugging. That will be helpful to understand the logic to be implemented.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac9f35c111d1829f0000e829fbfe/content.htm
Regards,
Abhishek

Similar Messages

  • How i can show the selection screen input field in the top of page in alv

    hi ,
              how i can show the selection screen input field in the top of page in alv  grid output.
    tell me the process

    Hi,
    excample from my program:
    FORM topof_page.
      DATA: l_it_header   TYPE TABLE OF slis_listheader WITH HEADER LINE,
            l_info        LIKE l_it_header-info.
      DATA: l_it_textpool TYPE TABLE OF textpool WITH HEADER LINE.
      DATA: l_key LIKE l_it_textpool-key.
      READ TEXTPOOL c_repid INTO l_it_textpool LANGUAGE sy-langu.
      DEFINE m_selinfo.
        if not &1 is initial.
          clear l_it_header.
          l_it_header-typ   = 'S'.
          l_key = '&1'.
          translate l_key to upper case.
          read table l_it_textpool with key key = l_key.
          if sy-subrc = 0.
            shift l_it_textpool-entry left deleting leading space.
            l_it_header-key = l_it_textpool-entry  .
          endif.
          loop at &1.
            case &1-option.
              when 'EQ'
                or 'BT'
                or 'CP'.
                write &1-low to l_it_header-info.
              when others.
                write &1-low to l_it_header-info.
                concatenate &1-option
                            l_it_header-info
                       into l_it_header-info
                       separated by space.
            endcase.
            if not &1-high is initial.
              write &1-high to l_info left-justified.
              concatenate l_it_header-info
                          l_info
                     into l_it_header-info
                     separated by space.
            endif.
            if &1-sign = 'E'.
              concatenate ']'
                          l_it_header-info
                     into l_it_header-info.
            endif.
            append l_it_header.
            clear: l_it_header-key,
                   l_it_header-info.
          endloop.
        endif.
      END-OF-DEFINITION.
      m_selinfo: s_trmdat,
                 s_trmext,
                 s_trmint,
                 s_fkdat,
                 s_delno,
                 s_vbeln,
                 s_deact,
                 s_kdmat.
      CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
           EXPORTING
                it_list_commentary = l_it_header[].
    ENDFORM.
    I hope, this will help you.
    Regards
    Nicole

  • Dell XPS Laptop Touch Screen Inputs Interpreted as Panning Photoshop CS6

    I have been working with Adobe Illustrator for a little while now and decided that I would like to try Photoshop for digital art.  I downloaded the 30 day trial version of Adobe Illustrator CS 6 about three days ago and noticed immediately that touching my laptop’s touch screen will only allow me to pan using the Hand Tool in Photoshop. I have never had this problem in Adobe Illustrator, as using the touch screen acts just as if I were clicking the left mouse button and dragging the cursor around the screen. I have a Dell XPS 15 - L502X laptop with an integrated touch screen (the entire 15” screen is Multi-touch sensitive).  It is running N-Trig DuoSense Digitizer with the latest drivers.  Is there some simple setting change that can be done within Photoshop CS6 to make it recognize a touch screen input as a normal left click and thus allow me to draw on it using the pen, pencil, or paintbrush tool?  I find it quite odd that I have no problems with this in Illustrator CS6.  Could it be that this tablet-like touch screen input is restricted on the trial version?  I am interested in buying Photoshop so I can use it whenever I’d like for longer than the 30 day trial allows, but I certainly don’t want to buy it if I cannot use my stylus on the touch screen to draw.  Any help is much appreciated!
    Here is a link to a youtube video that I put up showing the problem.  The first program shown in the video is Adobe Illustrator CS6 using the Paintbrush tool.  The second program shown is Adobe Photosop CS6 using the pencil tool.  I draw the line in Ps using the mouse pad and then attempt to draw (still using the pencil tool) on the touch screen yielding only scrolling with the hand tool.  http://www.youtube.com/watch?v=Zd1NOBway4o
    Uhhh yah. Here's my system specs copy pasted right from PhotoShop. 
    Adobe Photoshop Version: 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00) x64
    Operating System: Windows 7 64-bit
    Version: 6.1 Service Pack 1
    System architecture: Intel CPU Family:6, Model:10, Stepping:7 with MMX, SSE Integer, SSE FP, SSE2, SSE3, SSE4.1, SSE4.2, HyperThreading
    Physical processor count: 2
    Logical processor count: 4
    Processor speed: 2494 MHz
    Built-in memory: 8086 MB
    Free memory: 4677 MB
    Memory available to Photoshop: 7156 MB
    Memory used by Photoshop: 60 %
    Image tile size: 128K
    Image cache levels: 4
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Normal
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: NVIDIA Corporation
    Video Card Renderer: GeForce GT 540M/PCI/SSE2
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 768, right: 1366
    Video Card Number: 2
    Video Card: Intel(R) HD Graphics Family
    OpenCL Unavailable
    Driver Version: 8.15.10.2455
    Driver Date: 20110719000000.000000-000
    Video Card Driver: igdumd64.dll,igd10umd64.dll,igd10umd64.dll,igdumdx32,igd10umd32,igd10umd32
    Video Mode: 1366 x 768 x 4294967296 colors
    Video Card Caption: Intel(R) HD Graphics Family
    Video Card Memory: 2048 MB
    Video Rect Texture Size: 16384
    Video Card Number: 1
    Video Card: NVIDIA GeForce GT 540M
    OpenCL Unavailable
    Driver Version: 8.17.12.8577
    Driver Date: 20111103000000.000000-000
    Video Card Driver: nvd3dumx.dll,nvwgf2umx.dll,nvwgf2umx.dll,nvd3dum,nvwgf2um,nvwgf2um
    Video Mode:
    Video Card Caption: NVIDIA GeForce GT 540M
    Video Card Memory: 2048 MB
    Video Rect Texture Size: 16384
    Serial number: Tryout Version
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\
    Temporary file path: C:\Users\Ryan\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      C:\, 911.9G, 762.5G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6 (64 Bit)\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2012/06/05-15:16:32   66.507768   66.507768
       adbeape.dll   Adobe APE 2012/01/25-10:04:55   66.1025012   66.1025012
       AdobeLinguistic.dll   Adobe Linguisitc Library   6.0.0  
       AdobeOwl.dll   Adobe Owl 2012/06/26-12:17:19   4.0.95   66.510504
       AdobePDFL.dll   PDFL 2011/12/12-16:12:37   66.419471   66.419471
       AdobePIP.dll   Adobe Product Improvement Program   6.0.0.1654  
       AdobeXMP.dll   Adobe XMP Core 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPFiles.dll   Adobe XMP Files 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPScript.dll   Adobe XMP Script 2012/02/06-14:56:27   66.145661   66.145661
       adobe_caps.dll   Adobe CAPS   6,0,29,0  
       AGM.dll   AGM 2012/06/05-15:16:32   66.507768   66.507768
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56  
       aif_core.dll   AIF   3.0   62.490293
       aif_ocl.dll   AIF   3.0   62.490293
       aif_ogl.dll   AIF   3.0   62.490293
       amtlib.dll   AMTLib (64 Bit)   6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00)   1.000000
       ARE.dll   ARE 2012/06/05-15:16:32   66.507768   66.507768
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830   66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2012/06/05-15:16:32   66.507768   66.507768
       BIBUtils.dll   BIBUtils 2012/06/05-15:16:32   66.507768   66.507768
       boost_date_time.dll   DVA Product   6.0.0  
       boost_signals.dll   DVA Product   6.0.0  
       boost_system.dll   DVA Product   6.0.0  
       boost_threads.dll   DVA Product   6.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.0.5.19287   2.0.5.19287
       CoolType.dll   CoolType 2012/06/05-15:16:32   66.507768   66.507768
       data_flow.dll   AIF   3.0   62.490293
       dvaaudiodevice.dll   DVA Product   6.0.0  
       dvacore.dll   DVA Product   6.0.0  
       dvamarshal.dll   DVA Product   6.0.0  
       dvamediatypes.dll   DVA Product   6.0.0  
       dvaplayer.dll   DVA Product   6.0.0  
       dvatransport.dll   DVA Product   6.0.0  
       dvaunittesting.dll   DVA Product   6.0.0  
       dynamiclink.dll   DVA Product   6.0.0  
       ExtendScript.dll   ExtendScript 2011/12/14-15:08:46   66.490082   66.490082
       FileInfo.dll   Adobe XMP FileInfo 2012/01/17-15:11:19   66.145433   66.145433
       filter_graph.dll   AIF   3.0   62.490293
       hydra_filters.dll   AIF   3.0   62.490293
       icucnv40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       icudt40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       image_compiler.dll   AIF   3.0   62.490293
       image_flow.dll   AIF   3.0   62.490293
       image_runtime.dll   AIF   3.0   62.490293
       JP2KLib.dll   JP2KLib 2011/12/12-16:12:37   66.236923   66.236923
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1640  
       mediacoreif.dll   DVA Product   6.0.0  
       MPS.dll   MPS 2012/02/03-10:33:13   66.495174   66.495174
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS6   CS6  
       Plugin.dll   Adobe Photoshop CS6   CS6  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (64 bit)   3.0.0.383  
       PSArt.dll   Adobe Photoshop CS6   CS6  
       PSViews.dll   Adobe Photoshop CS6   CS6  
       SCCore.dll   ScCore 2011/12/14-15:08:46   66.490082   66.490082
       ScriptUIFlex.dll   ScriptUIFlex 2011/12/14-15:08:46   66.490082   66.490082
       tbb.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   6.0.0.24
       WRServices.dll   WRServices Friday January 27 2012 13:22:12   Build 0.17112   0.17112
       wu3d.dll   U3D Writer   9.3.0.113  
    Required plug-ins:
       3D Studio 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Accented Edges 13.0
       Adaptive Wide Angle 13.0
       ADM 3.11x01
       Angled Strokes 13.0
       Average 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Bas Relief 13.0
       BMP 13.0
       Camera Raw 7.0
       Chalk & Charcoal 13.0
       Charcoal 13.0
       Chrome 13.0
       Cineon 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Collada 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Color Halftone 13.0
       Colored Pencil 13.0
       CompuServe GIF 13.0
       Conté Crayon 13.0
       Craquelure 13.0
       Crop and Straighten Photos 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Crop and Straighten Photos Filter 13.0
       Crosshatch 13.0
       Crystallize 13.0
       Cutout 13.0
       Dark Strokes 13.0
       De-Interlace 13.0
       Dicom 13.0
       Difference Clouds 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Diffuse Glow 13.0
       Displace 13.0
       Dry Brush 13.0
       Eazel Acquire 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Embed Watermark 4.0
       Entropy 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Extrude 13.0
       FastCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Fibers 13.0
       Film Grain 13.0
       Filter Gallery 13.0
       Flash 3D 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Fresco 13.0
       Glass 13.0
       Glowing Edges 13.0
       Google Earth 4 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Grain 13.0
       Graphic Pen 13.0
       Halftone Pattern 13.0
       HDRMergeUI 13.0
       IFF Format 13.0
       Ink Outlines 13.0
       JPEG 2000 13.0
       Kurtosis 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Lens Blur 13.0
       Lens Correction 13.0
       Lens Flare 13.0
       Liquify 13.0
       Matlab Operation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Maximum 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Mean 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Measurement Core 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Median 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Mezzotint 13.0
       Minimum 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       MMXCore Routines 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Mosaic Tiles 13.0
       Multiprocessor Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Neon Glow 13.0
       Note Paper 13.0
       NTSC Colors 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Ocean Ripple 13.0
       Oil Paint 13.0
       OpenEXR 13.0
       Paint Daubs 13.0
       Palette Knife 13.0
       Patchwork 13.0
       Paths to Illustrator 13.0
       PCX 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Photocopy 13.0
       Photoshop 3D Engine 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Picture Package Filter 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Pinch 13.0
       Pixar 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Plaster 13.0
       Plastic Wrap 13.0
       PNG 13.0
       Pointillize 13.0
       Polar Coordinates 13.0
       Portable Bit Map 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Poster Edges 13.0
       Radial Blur 13.0
       Radiance 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Range 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Read Watermark 4.0
       Reticulation 13.0
       Ripple 13.0
       Rough Pastels 13.0
       Save for Web 13.0
       ScriptingSupport 13.0.1
       Shear 13.0
       Skewness 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Smart Blur 13.0
       Smudge Stick 13.0
       Solarize 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Spatter 13.0
       Spherize 13.0
       Sponge 13.0
       Sprayed Strokes 13.0
       Stained Glass 13.0
       Stamp 13.0
       Standard Deviation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Sumi-e 13.0
       Summation 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Targa 13.0
       Texturizer 13.0
       Tiles 13.0
       Torn Edges 13.0
       Twirl 13.0
       U3D 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Underpainting 13.0
       Vanishing Point 13.0
       Variance 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Variations 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Water Paper 13.0
       Watercolor 13.0
       Wave 13.0
       Wavefront|OBJ 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       WIA Support 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       Wind 13.0
       Wireless Bitmap 13.0.1 (13.0.1 20120808.r.519 2012/08/08:21:00:00)
       ZigZag 13.0
    Optional and third party plug-ins: NONE
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE

    I have this exact same problem, though I have a touchscreen monitor for my PC rather than a laptop. This is a bit awkward, but until I find a real solution, this works just fine: when you want to use the touch screen for CS6, hold down the mouse button. You may have to use the mouse to tap the tools you want, but at least there's a temporary solution.

  • Screen input not getting cleared

    Hi All,
    I got a peculiar problem,
    In my dialog screen(ztcode), i have make a field input enable based on machine and position(Ztable). Now my problem is, when this field gets input enabled im getting some value with this(some 30.12), i really dont know where it is comming from. Even i have cleared this field before endmodule (last stmt in PBO).
    Now this looks strange when i jus change my code to screen-input = 0 without anyother modification, its coming disabled with value cleared (0.000). I need to get the value cleared when the input is on. Kindly let me know how to solve this.      
    if zmach = 'TCE1' and zpos = '01'.   
    loop at screen.                      
    if screen-name = 'BASE_QTY'.         
    screen-input = 1.                    
    endif.                               
    modify screen.                       
    endloop.                             
    endif.                               
    cleart base_qty.
    endmodule.
    Plz its urgent.
    Will reward u definetly .
    Regards,
    Senthil

    Hi,
    Check in the debugging of when is this getting populated..
    Steps
    /h in the command field..Switch on the debugging..
    Create a watch point on the field BASE_QTY.
    Then press F8..It will stop where the field is getting modified..
    Thanks,
    Naren

  • Disable Screen-Input for checkbox in report selection screen.

    I have defined one Selection Screen parameter as follows:
    PARAMETERS: CCCDoc as CHECKBOX USER-COMMAND check DEFAULT 'X'.
    Now, When Selection Screen comes up I want to have this check box greyed out. I tried this code but is not working for me. What differently should I be doing?
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF SCREEN-NAME = CCCDoc.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Please advise.
    - Rohit.

    geeee
    I tried everything except capitalizing it. Even had tried quotes.
    Guess sometimes you do need someone to make it work for you
    Thanks Guys...Most appreciated.
    PS: Sorry aRs I wasnt able to award you both 10 pts...I tried. Thanks all the same.
    Message was edited by:
            rohit singh

  • Change screen input in table control

    Hi Expert Abapers,
    Hope everybody is in good health and state.
    Well my problem is that i am taking data in itab in a table control and i want to display the data in it only.
    only if we select and line and click modify, 2 fields of it should be enabled for writing.
    here's the code but is not working,
    case OK_CODE.
    WHEN 'EDIT'.
    IF MARK = 'X'.
    LOOP AT SCREEN.
    IF SCREEN-NAME <> 'ITAB-CHQ_NO' OR SCREEN-NAME <> 'ITAB-DD_NO'.
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    Pls suggest as to where am I wrong.
    Regards , Neetu

    Hi Neetu,
    Try to assign fields to a group , the fields which u don't want to be editable keep
    it in single group for eg, 'GP1'. And now write the code like this
    LOOP AT SCREEN.
    IF SCREEN-GROUP EQ 'GP1'
    SCREEN-INPUT = '0'.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Regards ,
    Vivek

  • To display the user login details in selection-screen( input screen )

    HI Experts,
    I have a requirement.
    Assume there is a report on travel details. Report access has been given to all in the organization based on authorization level.
    Before excecuting the report, in the selection-screen(input screen) itself I need to display the login user details.
    suppose user A belongs to ITS-business unit and user B-belongs to RDS-business unit and Industry group-Multi markets.
    so when User B logs into production system and try to access the report, in the selection screen, i need to display like
    user-id-- XXXX          Business Unit---RDS             and IG -
    Multi Markets 
    how to achieve this? User details will vary based on login.
    Regards,
    Praveen

    check this
    REPORT  Z_demo.
    *& Function Modules:  HR_GET_EMPLOYEE_DATA
    *&                    HR_IMAGE_EXISTS
    *&                    SCMS_DOC_URL_READ
    *&                    HR_IMAGE_RESET
    *& Class & Methods :  CL_GUI_DOCKING_CONTAINER
    *&                    CL_GUI_PICTURE->SET_POSITION
    *&                    CL_GUI_PICTURE->SET_DISPLAY_MODE
    *&                    CL_GUI_PICTURE->DISPLAY_MODE_FIT
    *&                    CL_GUI_PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
    *REPORT  ZEMPLOYEE.
    TABLES: PA0001, PERSON.
    *----------------------Declaration for Image------------------------*
    DATA: DOCKING_CONT TYPE REF TO CL_GUI_DOCKING_CONTAINER, " Custom Container
          PICTURE TYPE REF TO CL_GUI_PICTURE.
    *--------------------Declaration of Internal table------------------*
    DATA: ITAB_EMPDATA LIKE TABLE OF PERSON.
    DATA: ITAB_DATA LIKE TABLE OF PERSON WITH HEADER LINE.
    DATA:  P_CONNECT_INFO LIKE TABLE OF TOAV0 WITH HEADER LINE.
    DATA:  P_DOCUMENT_TYPE LIKE TOAV0-RESERVE.
    DATA:  URL(255) TYPE C.
    DATA:  HANDLE TYPE I.
    DATA:  PPERNR TYPE PA0001-PERNR.
    *----------------------Start of Selection Screen----------------------*
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE text-099.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN COMMENT 40(25) TEXT-010  .
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-002 FOR FIELD PERNR.
    PARAMETERS PERNR TYPE PA0001-PERNR.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-008 FOR FIELD ENAME.
    PARAMETERS ENAME TYPE PA0001-ENAME.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-003 FOR FIELD PERSG.
    PARAMETERS PERSG TYPE PA0001-PERSG.
    SELECTION-SCREEN COMMENT 45(15) TEXT-009 FOR FIELD WERKS.
    PARAMETERS WERKS TYPE PA0001-WERKS.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-004 FOR FIELD PERSK.
    PARAMETERS PERSK TYPE PA0001-PERSK.
    SELECTION-SCREEN COMMENT 45(15) TEXT-005 FOR FIELD KOSTL.
    PARAMETERS KOSTL TYPE PA0001-KOSTL.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-006 FOR FIELD ORGEH.
    PARAMETERS ORGEH TYPE PA0001-ORGEH.
    PARAMETERS ORGEHTXT TYPE PERSON-ORGEH_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 20(15) TEXT-007 FOR FIELD PLANS.
    PARAMETERS PLANS TYPE PA0001-PLANS.
    PARAMETERS PLANSTXT TYPE PERSON-PLANS_TXT .
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN SKIP 2.
    SELECTION-SCREEN END OF BLOCK B1.
    *AT SELECTION-SCREEN OUTPUT.
    AT SELECTION-SCREEN OUTPUT .
      LOOP AT SCREEN.
        IF SCREEN-NAME = 'ENAME'
        OR SCREEN-NAME = 'PERSG'
        OR SCREEN-NAME = 'PERSK'
        OR SCREEN-NAME = 'KOSTL'
        OR SCREEN-NAME = 'WERKS'
        OR SCREEN-NAME = 'ORGEH'
        OR SCREEN-NAME = 'PLANS'
        OR SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-INPUT = '0'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    LOOP AT SCREEN.
        IF SCREEN-NAME = 'ORGEHTXT'
        OR SCREEN-NAME = 'PLANSTXT'.
          SCREEN-OUTPUT = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    PERFORM GET_PIC.
    *AT SELECTION-SCREEN .
    AT SELECTION-SCREEN .
      PPERNR = PERNR.
      CALL FUNCTION 'HR_GET_EMPLOYEE_DATA'
        EXPORTING
          PERSON_ID             = PPERNR
          SELECTION_BEGIN       = SY-DATUM
          SELECTION_END         = SY-DATUM
        IMPORTING
          PERSONAL_DATA         = ITAB_DATA
        EXCEPTIONS
          PERSON_NOT_FOUND      = 1
          NO_ACTIVE_INTEGRATION = 2
          OTHERS                = 3.
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      ENAME = ITAB_DATA-ENAME.
      PERSG = ITAB_DATA-PERSG.
      PERSK = ITAB_DATA-PERSK.
      ORGEH = ITAB_DATA-ORGEH.
      PLANS = ITAB_DATA-PLANS.
      KOSTL = ITAB_DATA-KOSTL.
      WERKS = ITAB_DATA-WERKS.
      ORGEHTXT = ITAB_DATA-ORGEH_TXT.
      PLANSTXT = ITAB_DATA-PLANS_TXT.
    *Function Module To check Existance of Image
      CALL FUNCTION 'HR_IMAGE_EXISTS'
        EXPORTING
          P_PERNR        = PPERNR
        IMPORTING
          P_CONNECT_INFO = P_CONNECT_INFO
        EXCEPTIONS
          OTHERS         = 2.
         P_DOCUMENT_TYPE = P_CONNECT_INFO-RESERVE.
    *Function Module To Get the URL of Image
      CALL FUNCTION 'SCMS_DOC_URL_READ'
        EXPORTING
          STOR_CAT    = SPACE
          CREP_ID     = P_CONNECT_INFO-ARCHIV_ID
          DOC_ID      = P_CONNECT_INFO-ARC_DOC_ID
          COMP_ID     = 'DATA'
          DP_URL_ONLY = 'X'
        IMPORTING
          URL         = URL
        EXCEPTIONS
          OTHERS      = 10.
      IF SY-SUBRC <> 0.
      ENDIF.
    *Method To load Image from URL
      CALL METHOD PICTURE->LOAD_PICTURE_FROM_URL_ASYNC
        EXPORTING
          URL = URL.
      IF SY-SUBRC NE 0.
      ENDIF.
      IF PPERNR NE PERNR.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    *& Form Get_Pic
    FORM GET_PIC.
      DATA: REPID LIKE SY-REPID.
      REPID = SY-REPID.
      IF PICTURE IS INITIAL.
    *Object To Create the Custom Container
        CREATE OBJECT PICTURE
          EXPORTING
            PARENT = DOCKING_CONT.
        CHECK SY-SUBRC = 0.
    *Method To Set Position of Image
        CALL METHOD PICTURE->SET_POSITION
          EXPORTING
            HEIGHT = 47
            LEFT   = 610
            TOP    = 25
            WIDTH  = 70.
    *Method To Set Display Mode Fit to Container
        CALL METHOD PICTURE->SET_DISPLAY_MODE
          EXPORTING
            DISPLAY_MODE = CL_GUI_PICTURE=>DISPLAY_MODE_FIT.
      ELSE.
    *Function Module To Reset Image
        CALL FUNCTION 'HR_IMAGE_RESET'
          EXPORTING
            HANDLE         = HANDLE
          EXCEPTIONS
            INVALID_HANDLE = 1
            OTHERS         = 2.
        IF SY-SUBRC <> 0.
        ENDIF.
      ENDIF.
    ENDFORM. "Get_pic

  • HT201412 Touch screen input not responsive.

    Touch screen input not responsive. Cannot slide to power off. Appear message "iCloud Backup: This ipad hasn't been backed up in 2 week. Backups happen when this ipad is plugged in, locked, and connected to wi-fi" Touch OK but nothing change. Does follow instruction but nothing works

    Thank you for your help.
    I did all of trouble shooting procedures but it did not work.
    I called Apple Care and explained what kind of problem i had and they booked me up with Genius Bar @ Apple Retail Store.
    I went to them last Saturday and they replace my troubled iPhone with the new.
    they said it is very rare problem reported so far and i could be the first few ones.
    it was no hassle and they all were very kindly listened to me.
    anyway, problem solved with replacement and i was lucky to have back up for iPhone.
    Anyone has same problem, call 800-MY-IPHONE and book yourself to nearest Genius Bar to get your iPhone served or replaced.
    thanks

  • Making a field on screen input enabled or disabled

    Dear Friends,
    Please suggest how can I make a field on my dialog-program screen input enabled or disabled through coding. I understand that the same can be done by setting screen parameters but i wish to do that through programming only.
    Regards,
    Alok.

    Hi Alok,
           A field can Enabled or Disabled by setting its attributes.
    As it is a element placed on screen and modify the screen  you need to modify the screen table.
    loop at screen.
    screen-group1 = 'SC1'.
    Enable:
    if screen-name = 'PA_MATNR':
      screen-input = '1'.
      screen-output = '0'.
    modify screen.
    endif.
    DISABLE:
    if screen-name = 'PA_MATNR':
      screen-input = '0'.
      screen-output = '1'.
    modify screen.
    endif.
    endloop.   
    Some more Info :
    1  --- Active
    1 --- Input
    1 --- Output
    0 --- Invisible
    Screen field is displayed, even if Invisible is set statically.
    Field contents are displayed.
    Ready for input, even if Input is not set statically. However, not ready for input if the Output only is set statically.
    1
    1
    0
    0
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Field contents are not displayed.
    Ready for input, even if Input is not set statically.
    1
    0
    1
    0
    Screen field is displayed, even if Invisible is set statically.
    Field contents are displayed.
    Not ready for input, even if Input is set statically.
    1
    0
    0
    0
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Field contents are not displayed.
    Not ready for input, even if Input is set statically.
    1
    1
    1
    1
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Field contents are not displayed.
    Ready for input, even if Input is not set statically. User input is masked by asterisks (*).
    1
    1
    0
    1
    Screen field is displayed, even if Invisible is set statically, except when Output only is set statically.
    Output is masked by asterisks (*).
    Ready for input, even if Input is not set statically. User input is masked by asterisks (*).
    1
    0
    1
    1
    Screen field inactive.
    Screen field is not displayed, regardless of the static attributes.
    0
    0
    0
    1
    Screen field inactive.
    Screen field is not displayed, regardless of the static attributes.
    Br,
    Laxmi

  • Va02 screen input first save it has to update the data base table

    I am working on VA02.
    For only one user(delivery block)should be block and when we are changing in sales order document for that user it has to update the VBAK table.
    for second save i'm able to updating but i want to update at first save only.
    thanks,
    sree.

    I want to update the DB table VBAK. and the user exit is:
    here is my coding: my requirement is to block a field i.e LIFSK in va02 and after saving that and i have checked vbak table then in lifsk the blocked db is updated IN TABLE CONTENTS.LATER IF I SAVE IT ANOTHER TIME WITHOUT ANY MODIFICATIONS THE FIELD IS NOT UPDATED.
    now the problem is with updation .i have blocked the field.
    Please help me  its urgent
    FORM USEREXIT_MOVE_FIELD_TO_VBAK.
    tables: knkk.
    if not vbak-kunnr is initial.
      if vbak-auart NE 'ZFD' and
         vbak-auart NE 'ZCR2' and
         vbak-auart NE 'ZRE' and
         vbak-auart NE 'ZSD'.
        select single * from KNKK
          where  KUNNR = vbak-kunnr
          and    KKBER = '8000'.
          if sy-subrc = 0.
            clear vbak-LIFSK.
          ENDIF.
          IF NOT SY-UNAME = 'FINCOMM1' AND SY-TCODE = 'VA02'.
              SELECT SINGLE LIFSK FROM VBAK INTO LIFSK1 WHERE VBELN = VBAK-VBELN.
               IF LIFSK1 NE ' '.
                  vbak-LIFSK = ' '.
               ELSEif vbak-auart eq 'ZCR2'.
                      vbak-LIFSK = 'Z1'.
                  ELSE.
                      vbak-LIFSK = 'Z6'.
               endif.
             if sy-tcode eq 'VA02' . "added on 22/05/2008
            if screen-name = 'VBAK-LIFSK'.
                  screen-input = 1.
                  modify screen.
                  update vbak.
            endif.
      ENDIF.
          ENDIF.
      endif.
    endif.
      if sy-tcode eq 'VA02' AND sy-uname NE 'FINCOMM1'. "added on 22/05/2008
            if screen-name = 'VBAK-LIFSK'.
              screen-input = 1.
                  modify screen.
                  update vbak.
            endif.
    endif.
    endform.
    Thanks,
    sri.

  • Selection-Screen input

    Hi all,
    i'm working on report.
    on selection screen i need to display month field i,e i need to take month from these fields
    GSV01,GSV02,GSV03,GSV04,GSV05.....
    if 01 means month should be april,
      02 means month should be may,...
    how to do this...
    regards
    Suprith

    PARAMETERS : p_quan like  ---- ,
                 P_MONTH LIKE ----- modif id MQ1.
    initialization.
    loop at screen.
    IF SCREEN-GROUP1 = 'MQ1'.
            SCREEN-INTENSIFIED = '1'.
            SCREEN-ACTIVE      = 1.
            SCREEN-DISPLAY_3D  = '1'.
            SCREEN-INPUT       = '0'.
            MODIFY SCREEN.
    endif.
    endloop.
    at selection-screen.
    at selection-screen output.
    loop at screen.
    IF SCREEN-GROUP1 = 'MQ1'.
            SCREEN-INTENSIFIED = '1'.
            SCREEN-ACTIVE      = 1.
            SCREEN-DISPLAY_3D  = '1'.
            SCREEN-INPUT       = '0'.
            MODIFY SCREEN.
    endif.
    endloop.
    CASE P_QUAN:
         0:
    P_MONTH = 'APRIL'.
    ----------SO ON.
    Hope it is helpful.
    Rhea.

  • SELECTION SCREEN INPUTS FROZEN

    Hi Guru's
                 I have prepared a web dynpro java application using standard bapi. I have used 'tray' under which selection fields and output table is created. However, after deployment selection screen input area becomes read only that is it freezes. Please help me asap.

    Hi,
    You might be trying to display your output in the table.
    1. Check that you have binded proper values to the table datasource.
    2. Check the size of the node binded to the table.
    You can write this line to know the size of the output node returned after executing the RFC.
    wdComponentAPI.getMessageManager().reportSuccess(wdContext.node<nodename>().size()+"");
    If the size is 0 that means that your BAPI is not returning anything.
    Regards,
    Murtuza

  • How can we restrict the sub-screen input field for particluar country?

    Hi all i am having infotype 21 maintained with custom fields for sub-screen 200.
    Out of that custom fields(City , District) They restricted city field not to appear for australian employees.
    and district is sucesfully appearing .
    They have written logic in the sub-screen 200 in PBO.this is reflecting in alll sub-types of 21(alomst 20 subtypes)
    module abc_output.
    If T001P-MOLGA = 'australia'.
    if screen name = 'city'.
    screen-input = 'OFF'.
    screen-invisible = 'ON'.
    endif.
    endif.
    Now the requirement is that this logic should be modified such that this city should appear in 7 sub-type instead of district.
    what should be written can any one guide please .
    regards
    sas

    Hi we can do in this way.
    If T001P-MOLGA = 'australia'
    if p00021-subty ne '7'.
    if screen name = 'city'.
    screen-input = 'OFF'.
    screen-invisible = 'ON'.
    endif.
    endif.
    if p0021-subty = '7'.
    if screen name = 'district'.
    screen-input = 'OFF'.
    endif.
    endif.
    Thanks and closing the thread
    regards
    sas

  • Problem at Control Table (Screen-input)

    hi guys,
    I create a Grid (Control Table using the Wizard) from a Internal Table, I need to set Values of the GRID like Screen-input = '0'. or Screen-output = '1'.;
    I try to change screen-ACTIVE, screen-INPUT, screen-OUTPUT and screen-INVISIBLE, but make no changes at screen.
    I have other GRID at screen and that changes normally;
    Here the code to change that: (PBO)
    LOOP AT SCREEN.
    if screen-name = 'TI_UNIT-UNIT'.
    screen-INPUT = '0'.
    MODIFY SCREEN.
    endif.
    ENDLOOP.
    Regards,
    Allan Cristian

    My problem was at Screen Logic:
      LOOP AT ti_unit WITH CONTROL tc_unit_9000
               CURSOR tc_unit_9000-current_line.
        MODULE update_9000_unit.
      ENDLOOP.
      MODULE update_unit.
    I was executing the loop at screen at module update_9000_unit in loop...
    I create other module and put the code in...
    and work's fine...
    Allan Cristian
    Edited by: Allan Cristian on Jan 25, 2008 11:22 AM

  • How to use dynamic selection screen inputs in main program

    hi all,
      its a report where in it calls one dynamic selection screen( user need to enter the parameters here) after that i need to use those inputs for some check, can any buddy help how to use/ get that input parameters into main program.
    regards,
    vara..

    Hi,
    i think u have created that dynamic selection screen in seperate program and calling to ur main program.instead of that u just create that synamic selection screen program as include program and include it in ur main program.
    or u need to use set/get parameter id concept.
    rgds,
    bharat.

  • Need to retain the screen input after user clicks BACK

    Hi,
    I have a report program in HR, using LDB "PNP" and Report category : PSSPCDOC.
    After the program is executed and the report is displayed on screen, if the user clicks the BACK button (F3), the selection screen is displayed with initial values. The input values provided by the user previously get lost.
    I debugged and it seems that the memory gets cleared everytime the BACK button is clicked.
    But i want to retain the user inputs on the selection screen if the user clicks the BACK button because the user wants to change some selection inputs not all.
    I am new to HR module, please let me know how to solve this issue.

    Hi,
    In your screen in the application bar,the right most button  is a coloured monitor kind of icon, next to the Help icon (which is a white question mark in a yellow circle) ,click on this monitor icon ,then under the  Local Data tab there is a History Block, select radio button History ON.
    I hope it helps.
    Regards,
    Shraddha

Maybe you are looking for

  • Oracle Client 11g on Windows 2008 64 bit ASP Connection Problems

    Hi, I'm trying to set up my old ASP applications on a new web server. I've moved from a windows 2003 server to 2008 64 bit. I've installed the Oracle Client 11g 64 bit drives and if I create a new ODBC connection tat works fine. But IIS will not conn

  • File Download Open/Save Dialog

    I'm trying to enhance an existing Flex 2 application. The application communicates with a web application via HTTPService. The Flex application can upload files from the user's local hard drive to the web application where they are ultimately stored

  • How do I get Adobe Camera Raw (ACR) support for my new Canon EOS 7D mkii.

    I purchased the new Canon EOS 7D mkii in early November. I tried opening the raw files in both the latest Creative Cloud versions of Photoshop and Lightroom. I found that Adobe Camera Raw, both the current versions and ACR 8.7 beta/release candidate,

  • Fontbook question - viewing by date added?

    Can you view fonts in the order they were added in Fontbook? I added a few dozen fonts and now my CS apps are running super slow. I'm guessing one or more of the fonts is messed up, but I can't remember what I added!!

  • Laptop cannot see airport express

    I have three laptops on my home network.  Two can see my airport express, one cannot.  I have the airport express set to join my home network automatically.  I am only using airport express to be able to listen to my itunes music through my home ster