Selection screen when regarding from other program

Hi all
i am passing one input to selection screen of zreport from my module pool program.
I have to enter another input at the selection screen as one input is retrieved from module pool.
my problem,
the user can still change the input that has been retrieved from module pool which i don't want to change.
You can say that to remove that field from selection screen but the problem is that sometimes the zreport is run directly in that case the user
has to enter two input fields in selection screen.
Is there a way that when i come to zreport from module pool the field for which i am bringing value from module pool can be greyed out.
pls let me know the solution.
Thanks

Sure,  all you need to do is set up a selection-screen flag,  then you can set this flag when SUBMITing the program,  then check this flag and then turn the field to output only.  HEre is what I mean.
report zrich_0001.
parameters: p_fld1(10) type c,
            p_fld2(10) type c.
parameters: p_flg type c no-display.
at selection-screen.
  if p_flg = 'X'.
     loop at screen.
        if screen-name = 'P_FLD2'.
           screen-input = '0'.
           modify screen.
        endif.
    endloop.
  endif.
See here that P_FLG is the flag which is NO-DISPLAY,  when it is "X", we will deactivate the P_FLD2.  So when you submit it,  set the flag.
  submit zrich_0001 via selection-screen
            with p_fld1 = 'Value1'
            with p_fld2 = 'Value2'
            with p_flg  = 'X'.
Regards,
Rich Heilman

Similar Messages

  • How to disable save button on selection screen (1000) run from other report

    Hi Experts,
    Can any one let me know how to disable save button on selection screen (1000) run from other report.
    Say I am running from report R1 which submits report R2, but the save button should be disabled on
    report R2(selection screen 100).
    Thanks in advance.
    Regards
    RP.

    Hi RPReddy16 ,
    Try this:
    DATA :BEGIN OF t_extab occurs 0,
                     fcode like rsmpe-func,
                 END OF t_extab.
    REFRESH T_EXTAB.
    MOVE 'SAVE' TO T_EXTAB-FCODE.
    APPEND T_EXTAB.
    CLEAR T_EXTAB.
    SET PF-STATUS 'STATUS' EXCLUDING T_EXTAB.
    Regards,
    José

  • To transfer Selection Screen field value from a program to another Program

    Hello,
    Program Z_ABC having Select Option Field XYZ.
    I need to transfer all the values entered on Selection Option Field XYZ  to another Program Dialog Z_DIALOG.

    Hi,
    Try to use the function module 'RS_REFRESH_FROM_SELECTOPTIONS'.
    For ex:
    CALL FUNCTION 'RS_REFRESH_FROM_SELECTOPTIONS'
           EXPORTING
                curr_report     = sy-repid
           TABLES
                selection_table = it_soptions
           EXCEPTIONS
                not_found       = 1
                no_report       = 2
                OTHERS          = 3.
      IF sy-subrc <> 0.
        EXIT.
      ENDIF.
    SUBMIT riaufk20 WITH dy_selm = 'D'
                      WITH SELECTION-TABLE it_soptions
                      AND RETURN.
    Hope it solves your issue.
    Regards,
    Chenthamarai.

  • Firefox remains as the topmost screen when I open other programs, so I can't see them unless I shrink Firefox. How to fix?

    Above says it all--I would like the program I click on from the tray to BE ON TOP. This problem doesn't happen with other browsers. Windows 7 professional.

    Please upgrade to Firefox 36.0.1
    Start '''[https://support.mozilla.org/en-US/kb/troubleshoot-firefox-issues-using-safe-mode Firefox in Safe Mode]''' {web Link} by holding down the '''<Shift><br> ''(Mac Options)'' ''' key, and then starting Firefox. Is the problem still there?

  • Firefox wont open webpage when linked from another program

    When linking from other programs, a new firefox window will open, but displaying a blank page instead of loading the page. I checked for firefox being the default web browser, but I cant figure out what other options may be important. It actually started happening when upgrading to Ubuntu Natty, did not happen when using ff 4.0.1 on maverick. Any Ideas? Thanks for the help.

    First and foremost, please update Firefox to '''3.6.17''' by clicking '''Help'''| '''Check For Updates'''.
    The reason for this is because there was a security breach at Comodo which is an SSL certificate provider recently whereby a number of fraudulent certificates were inadvertently issued. These allow a hacker to impersonate any site including online banking and the Firefox version you're running at the moment will not warn you that the site is a fake. The fraudulent certificates were blacklisted in v3.6.17 and beyond.<br><br>
    See also: http://blogs.comodo.com/it-security/data-security/the-recent-ra-compromise/<br><br>
    As regards your problem, you may have a corrupt '''places.sqlite''' file.
    Please see: http://kb.mozillazine.org/Locked_or_damaged_places.sqlite<br><br>
    and [[Error loading web sites]]

  • I am dual booting my mackbook pro with windows 7 64 bit. Yesterday it started locking up at the disk drive selections screen, when you hold down the "option" butting when powering on. I have been searching all morning, and so far nothing. Thanks. :)

    Hey folks,
    I have been using bootcamp for months now with windows 7 64 bit, and its been fine, yesterday while I was rebooting to do some gaming, at the hard drive selection screen when you boot holding the "options" butting down, it locks up when I select the windows drive and just sits there for ever. It doesn't throw an error, it boots fine into Lion.
    I searched all morning and didn't find anything, was hoping that someone might have an idea.
    Thanks in advance

    Search again. Microsoft has tips on what to do and Windows has a number of features
    system restore points
    automatic system repair using the Win7 DVD
    system restore image creation
    Just like you would with OS X Lion and Lion Recovery and Repair
    Use WinClone 3 www.twocanoes.com $20 to make an image just like you would with Disk Utility Restore or Carbon Copy Cloner
    rollback to last known good boot check point
    rollback a driver or program or any changes
    clean out temp files
    clean registry
    chkdsk
    https://discussions.apple.com/people/The%20hatter?view=bookmarks

  • Restrict selection screen when using logical Database(HR ABAP)

    Hi,
          I'm using <b>PNP</b> logical Database in my  
          report program. I want to restrict the deafult
          selection screen.
          Pls suggest me if knows.
    Kind regards,
    - Selva

    if you don't use the NODE or TABLE statement pnp selection screen will not come.
    other wise use screen number 900 which have fever fields and you can make the invisible using
    loop at screen.
    endloop.
    Regards,
    Wasim Ahmed

  • Firefox does not appear on screen when started from the start menu, but task manager says the process is running

    Firefox does not appear on screen when started from the start menu or the shortcuts, but task manager says the process is running.

    No - I get the message basically saying "Can't run program while Firefox is running. Please close down Firefox & try again".
    I rebooted my computer and it all works now - but that's weird it was happening before. Kinda weirded out that it happened at all.
    To avoid that happening again, I still wanna know what to do to avoid it or fix it for next time. Thanks

  • TS1363 my iphone 4 doesnt show up in itunes. it is also locked on the 'connect to itunes screen' when unplugged from the computer. help me!

    my iphone 4 doesnt show up in itunes. it is also locked on the 'connect to itunes screen' when unplugged from the computer. help me!

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • X200 with OCZ ssd blue screens when booting from docking station

    The x200 blue screens when booting from the docking station. If I take the laptop out of the docking station to boot and then dock once booted the laptop is fine.
    The issue started happening when you I upgraded the laptop form xp to windows 7 and installed an OCZ vertex 2 solid state drive.
    I have tried updating the firmware on the ssd using this utility
    http://support.lenovo.com/en_US/detail.page?LegacyDocID=MIGR-69806
    The program showed that my ssd was running firmware version 1.29 and did not need to be updated.
    I have also tried updating the x200 to the latest BIOS. Nothing seems to work.
    Any ideas or suggestions are greatly appreciated.
    Solved!
    Go to Solution.

    you need to modify a registry value before going from AHCI to IDE. (or viceversa).
    http://www.ocztechnologyforum.com/forum/showthread.php?69682-Change-from-IDE-to-AHCI-after-Installat... 

  • Line Breaks missing in captions from other programs...

    I've spent the last few hours searching around, and I've been unable to find any solution to a weird thing I noticed.
    I've recently purchased LR 3.4.1 and when I imported a handful of older pics that had had the captions set using Bridge, the line breaks were now gone.
    I then went to Bridge and tested it, and sure enough, it can read line breaks from LR, but the opposite doesn't seem to be true. As part of my work, I get a bunch of photos that other photogs have shot and added captions to via Bridge, but I can't seem to find any check box or setting on how to get LR to read the line breaks.
    Any one have any advice on how to get LR to read line breaks from other programs? I'd hate to have to go through and re-caption each and every single photo, especially when adding the older ones into LR to use it as a DAM.
    Thanks!

    This is a long-standing, annoying bug in Windows LR that has been acknowledged by Adobe:
    http://feedback.photoshop.com/photoshop_family/topics/newline_bug_in_caption_text
    Please go to the feedback site and vote for that issue to get fixed.
    It is just a display problem in LR -- the line breaks in the metadata are preserved, and if you enter line breaks in the metadata, they are preserved too.

  • Firefox 3.6 doesn't open links clicked from other programs (IM, etc.,)

    Whenever I try to open a link from either my IM or an IRC program like mIRC it won't open in firefox. I have to copy and paste the link.

    I now have FireFox 32.0.2 no joy. I have loaded ThunderBrowse which took care of Thunderbird but still can't load links from other programs. I fixed this before (other backups, I crashed my windows C drive and have been trying to restore), but can't remember how. I think it required reloading IE (I had deleted IE on my latest restore), but I have now done that with no joy.
    When I click on a link from another program, nothing happens, and when I right click and am offered "open in browser" nothing happens, and when offered " copy browser link" it doesn't copy.
    I tried resetting FireFox, no joy.
    Noticed control panel "set program access" doesn't hold, always goes back to custom, and defaults to "uses default browser"!
    Please help!

  • Links from other programs won't open in Firefox

    This has been asked a number of times before, but none of the answers worked for me. I have Firefox 26.0 (the most stable for me) and Thunderbird 24.6.0. After a computer crash and reloading both programs, I first noticed the problem with links from Thunderbird, both clicking and right clicking with "open in browser". But then I remembered trying to open help in MS word and Frontpage which are supposed to open from the internet.
    I have checked that Firefox is the default browser, changed the file (none) file transfer protocol, then deleted it, etc. Nothing helps.

    I now have FireFox 32.0.2 no joy. I have loaded ThunderBrowse which took care of Thunderbird but still can't load links from other programs. I fixed this before (other backups, I crashed my windows C drive and have been trying to restore), but can't remember how. I think it required reloading IE (I had deleted IE on my latest restore), but I have now done that with no joy.
    When I click on a link from another program, nothing happens, and when I right click and am offered "open in browser" nothing happens, and when offered " copy browser link" it doesn't copy.
    I tried resetting FireFox, no joy.
    Noticed control panel "set program access" doesn't hold, always goes back to custom, and defaults to "uses default browser"!
    Please help!

  • I can't paste text from other programs

    For some strange reason, PE12 wont let me past text from other programs and Idk why?!

    What happens when you try? Any error message?

  • Outlook 2010 paste from other programs not working.

    Hi,
    Win 7 SP1 x86 w latest patches. Win lang. ENG
    Outlook 2010 SP1 x86 w latest patches. Office lang. ENG
    Regional (date/time and so on) settings EE (Estonia)
    I have about 6 users with same conditions.
    When I'm trying to copy - paste from other programs like IE9, Word, Excel I'm unable to paste into Outlook message body.
    It just wont paste.
    Typically, Outlook shows me "thniking circle" for a millisecond or rarely just hangs.
    There are some exceptions:
    1. I'm able to paste into To: field
    2. I'm able to paste into Subject: field
    3. I'm able to paste even into body if I copied text from Notepad.
    4. I'm able to paste into body when I copied text from another email.
    Additional information:
    Outlook default message format "Plain text" (Rich text, HTML - does'nt matter)
    What I'v tried so far and results:
    1. Repair Office installation trough "Programs and features" - NO LUCK
    2. Changed default paste behaviour from other programs to "keep text only" - NO LUCK
    3. Used SAFE MODE - this helps, paste SEEMS WORKING correctly. Based on my knowledge, SAFE mode mainly disables Add-ins. OK.
    Disabled all Add-ins in normal mode so Outlook shows that "No Active Application Add-Ins" - NO LUCK
    So, I'm out of ideas. I think that this problem starts after installing Office 2010 SP1
    I don't want to uninstall SP1 because for me it's not a solution (SP1 won't dissapear from the list of updates), ok.. agree, it may be
    temporary solution but at the end of the day, there must be something else.
    Any ideas?
    rgds Sven

    Rename normailemail.dotm to .old when Outlook is closed and see if it works now.
    You can find the file here;
    C:\Users\%username%\AppData\Roaming\Microsoft\Templates
    Robert Sparnaaij
    [MVP-Outlook]
    Outlook guides and more: HowTo-Outlook.com
    Outlook Quick Tips: MSOutlook.info
    Thanx, NormalEmail.dotm did not do anything for me but the renaming the Normal.dotm in the same folder did the trick for me. I can paste links again into outlook :)
    Win7 SP1 and Outlook 2010 32bit

Maybe you are looking for