Greyed out fields not triggering ON CHAIN-REQUEST

Hi Guys,
I have a text box on a screen with input not possible (greyed box). But the value of that text box can be changed by clicking a button in the same screen. Now, I wrote a code to give a pop-up upon exiting the screen, if the user didn't save the data. I got this fuctionality using keyword ON CHAIN-REQUEST.
But it is getting triggered, if the user changes the value on the white text box. But I changed the value of greyed text box using the button on the screen. For that, ON CHAIN-REQUEST is not getting triggered. Please help me out to solve this problem.
PROCESS AFTER INPUT.
  CHAIN.
    FIELD: zmm_spa_item-uptby_tc, " Greyed text box
           zmm_spa_item-rmrk1_tc,
           zmm_spa_item-rmrk2_tc,
           zmm_spa_item-rmrk3_tc,
           zmm_spa_item-rmrk4_tc.
    MODULE get_changed_data ON CHAIN-REQUEST.
  ENDCHAIN.
  MODULE user_command_2300.
MODULE get_changed_data INPUT.
  DATA: lv_answer TYPE c .
  CALL FUNCTION 'POPUP_TO_CONFIRM'
    EXPORTING
      titlebar       = 'Exit Review'
      text_question  = 'Do you wish to save your data?'
      text_button_1  = 'Yes'
      text_button_2  = 'No'
    IMPORTING
      answer         = lv_answer
    EXCEPTIONS
      text_not_found = 1
      OTHERS         = 2.
  IF lv_answer EQ '1'.
    MODIFY zmm_spa_header FROM zmm_spa_header.
    MODIFY zmm_spa_item FROM zmm_spa_item.
    IF sy-subrc EQ 0.
      MESSAGE s001 WITH 'Saved'.
    ENDIF.
  ELSEIF lv_answer EQ 'A'.
    CLEAR ok_code.
    LEAVE SCREEN.
  ENDIF.
ENDMODULE.                 " GET_CHANGED_DATA  INPUT
Regards,
Yasin.

Hi,
Try using the following
  CHAIN.
    FIELD: zmm_spa_item-uptby_tc, " Greyed text box
           zmm_spa_item-rmrk1_tc,
           zmm_spa_item-rmrk2_tc,
           zmm_spa_item-rmrk3_tc,
           zmm_spa_item-rmrk4_tc.
    MODULE get_changed_data ON CHAIN-INPUT. "CHAIN-REQUEST.
  ENDCHAIN.
Or take a flag in the User Command of button where you are making this field Grey
if that flag is = 'X' or Check sy-datar
Then call the Function Module POP UP
Cheerz
Ram

Similar Messages

  • Grey out field

    hi,
    i wanna grey out field account assignment group in the header of billing document.
    Right now when im creating billing (VF01) before posting, it can be changed, we wanna these field cant be changed.
    Do we need user exit to do that or is there config ..??
    many thanks ya
    Alia

    These are different technique used for such requirement. All of them may or may not be applicable. Under SPRO, there are screen controls/field groups for data entry.
    In your case, i think, userexit or transaction variant will be more appropriate.

  • Help, I can't sync any music to my iPhone 5s or iPad 2 ! :( it says it's finished sync but the music is greyed out and not on my devices.. I've tried unchecking the music and doing it manually. Nothing works. I took it to Apple store Robina no help..

    Help, I can't sync any music to my iPhone 5s or iPad 2 ! it says it's finished sync but the music is greyed out and not on my devices.. I've tried unchecking the music and doing it manually. Nothing works. I took it to Apple store Robina no help..

    So I have found a common denominator to this phenomenon. After having the same problem, I started to recopy my playlist of 500+ songs in groups of 10-20, 30+, 75+, and then over a 100+. Any music I have purchased from iTunes won't copy, but everything else did. Unsure if I made a playlist called "Purchased" at some point or this is an iTunes default, I also noticed it had some of the songs contained in my other playlist and was showing on my iPhone. Regardless of what I did such as dragging music from that playlist to the other and clearing songs from that playlist, I removed it altogether from the iPhone itself vs. doing through iTunes. After that, music copied fine to my playlist.
    So, my theory is that iTunes is getting tripped up on purchased tracks already showing on the phone and all songs are showing grayed out/dotted circle because iTunes can't resolve the conflict with purchased tracks.
    Hope this makes sense and is helpful.

  • How do I share a new project on imovie if the export option is greyed out and not an option?

    how do I share a new project on imovie if the export option is greyed out and not an option?

    nicoleking wrote:
    ... I heard that if you bring in your old iPhone, they will give you a new one with some kind of fee, but I don't know how that works.
    https://discussions.apple.com/message/22920500

  • All Agents Greyed Out or Not Monitored

    Hello,
    I am running SCOM 2012 R2.  All of my clients were re-imaged (Over 500) during the summer.  Each image that was created had the SCOM 2012 R2 Agent installed.  The images were installed on all of my clients.  Now, most of the clients are
    listed as greyed out or not monitored.  The server has Event Log entries of the following:
    Operations Manager has received a connection from a system running an older version of Operations Manager
    None of my clients are running an older version of the agent.  What's also new is that I cannot tell if my clients are turned on or not.  The clients that are green are always green.  Even when they are powered off, they are never grey
    in the console.  Even after I ping them or refresh.  They always stay green.  Any help would be appreciated.

    Hello,
    I deleted the Health Service State folder and I modified the DB so they are remotely manageable.  Now I am trying a repair.  But what I dont understand is why the healthy clients do not show when they are turned off?  They normally go from
    green to grey.  I've tried a ping and a refresh and I cannot get them to go grey.

  • My new filters tree flames and picture frame are greyed out and not available?

    my new filters tree flames and picture frame are greyed out and not available. what do I need to do?

    It's likely that your graphics card/GPU does not support the new feature. If you are using an older video card or an integrated graphics card that is not new like the Intel Iris or Iris pro than that is likely the reason.

  • I have purchased & downloaded Adobe 6 (standalone,not CC}  Panorama and HDR are greyed out and not useable?  Appreciate any words of wisdom

    i have purchased & downloaded Adobe 6 (standalone,not CC}  Panorama and HDR are greyed out and not useable?  Appreciate any words of wisdom

    Your parental controls are likely restricting you:  Settings>General>Restrictions, then toggle to "ALL" on shows/movies etc

  • Our Mini IPad shows a window box that states we have not backed up our I cloud in 9 weeks. Plug in with internet service.  That screen is froze. When you hit connect it does nothing. I tired to shut down, but power off button is greyed out so not an optio

    Our I-Pad has never connected with our wireless internet from since we got it. Our laptop connects just fine and we have a strong signal.  We now have a locked screen stated that I-cloud has not been backed up in 9 weeks. Plug into internet?  However when you click the button to try to get to the internet it does nothing. The power off button is greyed out so not an option to shut down. Just froze on that screen?
    Any help would be greatly appreciated:)
    Thank you in advance.

    Try this.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Greyed out fields to be enabled in delivery schedule tab of ME21N & ME22N

    Hi Gurus,
    I need to make two fields in PO create and change tcode, to be made editable as they are greyed out for particular document type and item category combination. Please refer screenshots below:
    Standard Order:
    Framework Order:
    I tried settings in 'Define Screen Layout at Document Level' for that field selection as well as in Edit system settings at the item detail level...but still the fields are in disabled mode only. Any help in this regard??
    Thanks in advance...

    Hello Pramod,
    As AKPT has pointed out, FO type documents are used for a broad framework type scenario, where most of the details are unknown at the time of releasing the PO.
    The system by default allows standard, limit (B) and service (D) for such POs.
    If you are trying to change the item category during creation (and not after the PO has history) please look at this IMG -> MM -> Purchasing -> Define Doc types -> Framework order FO -> Allowed Item categories.
    I don't think delivery schedules are allowed for FO type orders.

  • Greyed out fields in xRPM

    Hi, I am doing assesment of xRPM. I have integrated the PS module in backend with xRPM. Now while uploading the data from backend I am getting the following fields as greyed out:
    Application-
    Application system--
    Kindly let me know what changes are required in backend or frontend to nake these fields active.
    Regards
    Mohit

    These are the system fields and can not be activated at front end.
    Enjoy SAP………..

  • Sign Document is greyed out, option not available

    I am trying to sign a form I have filled out digitally, all fields are open including signature block but the Sign Document under tools is greyed out. the form's title includes "(SECURED)" after .pdf.  is there a security setting I need to remove?  Here is a link to form i am filling out www.dtic.mil/whs/directives/infomgt/forms/eforms/dd2853.pdf
    using Acrobat X

    The fields in the signature area are not digital signature fields, but rather are normal text fields, so it's intended for you to type your name. If the form did have digital signature fields you would be able to sign them. The type of security that they've applied does not permit you to create new digital signature fields, which is why Sign Document is greyed-out.

  • Signature greyed out, Singing not alllowed

    I am trying to add a signature to a PDF document but the whole I Need To Sign section has been greyed out.
    When I checked the security properties, it says that signing is not allowed. How do I change this??
    I am using adobe reader XI on windows 8.1 64 bit. I have tried the same document on three different laptops and I keep getting the same issue! When I try to sign other documents, it works just fine.
    Any ideas?
    Here is a link to the form I am trying to fill out.
    http://www.cic.gc.ca/english/pdf/kits/forms/IMM5645E.PDF

    If I were to guess, I would say they do not want you to use a digital signature. They want you to print it, sign it and mail it back. I only say that because they went through the trouble of adding all of those form fields but they didn't add a signature field. I can only assume that is intentional.

  • My submit button on my PDF form is greyed out (will not work) after posting link to PDF on my WordPress website. It works in Acrobat Reader just fine.

    This is where you can see the form as clicked through to from the WordPress website page:
    http://pinetreeplayers.com/ptp_new/wp-content/uploads/2014/12/submit-a-play.pdf
    The PDF file was created in Acrobat 11, with a submit button. The submit button is actioned to send the form via email. It works perfectly by itself if the form is opened in Acrobat Reader, but once I upload the PDF to my WordPress site the submit button is greyed out, and will not complete the action to send on-click.
    How can I fix this please - can anyone offer advice?

    Yes. They need to download Reader and then disable Google Chrome's internal PDF viewer and enable Adobe Reader.
    FireFox should also be configured to use Adobe Reader and not the internal PDF viewer.
    The internal viewers are created to process PDF documents by not including the features and code to process PDF forms.

  • HT1473 I have always imported my cds into iTunes using one step called 'joining cd tracks' which is done under the "Advanced" drop down menu. I then went on with the process. Half way through the process today the "join tracks' choice greyed out. Not avai

    I have always imported my cds (including books) into iTunes using one step called "join cd tracks" which is under the "Advanced" menu. Never a problem. But today I was importing a 10 disc book and on the 7th disc all of a sudden the choice to join cd tracks was greyed out. I have tried it with other discs. No luck. How can I get to this option again. I was not doing anything different so don't know what took away this choice. Can anyone help me?

    Thought it had worked but soon found out it had not.
    after further days of trying finally, solved it for me Yesterday.
    turned off notifications when locked, and bingo, wow.
    i have not turned off iCloud but location services are also off.
    best thing to do I found was keep checking your usage, settings, general, usage, and flip down to bottom, if the standby and usage are similar there is a problem, if there is a big difference then all is ok. Just keep turning things off and on until the difference is very apparent.
    something on my phone was keeping the phone alive even when turned off, and I think this was the phone repeatedly trying to update continually.
    to me this is definitely down to the iOS, my wife has exactly same phone and iOS but hers doesn't have any problem and the battery lasts for days.
    the guy at the Genius Bar told me to restore the phone via iTunes, not iCloud. This is because iCloud remembers the exact info from your phone and simply reinstates it when you restore, and this includes the iOS too.
    when I get home from holidays that's what I'll do, or wait for iOS 8 in few weeks. But I'm so pleased I finally made it work, I was beginning to think ditch the phone and buy Samsung.
    anyway anyone out there please try my final solution and let me know if it works for you?

  • HT1766 Choose File Devices Back up is greyed out and not an option?

    i smashed the screen on my 5s ... i got a new one... File > Devices > Back up does not seem to be an option when i plug in my iphone with the cracked screen..... so i tried to plug in my smashed one to back it up and transfer using my itunes that i just upgraded to latest 11.3 on my macbook pro and its saying 'do you want to set this iphone up as a new phone' or 'backup from some backup in 2012??? i dont want to do either.. i just want to back up my current iph 5s with the smashed screen so i can put the backup onto my new 5s??!!!... i have read many forums and tried to get info off the apple sites but some say it will erase everything and some say it wont... but im scared to go ahead with the setup as new iphone .. bcos ive had it erase everything another time i did it wiht a previous iphone   not cool!!!  why does it have to be so confusing?

    I find that when my device is syncing then the backup is also greyed out. If I wait for the sync to finish then the Backup function works

Maybe you are looking for

  • Create a new Buffered Image using Raster and ColorModel

    Sorry , I crosspost this message,because no one reply. Recently,I write a programme combining C++ and Java . The C++ part create a array containing image data in form of BI_RGB and biBitCount==32. The java part create a image using Raster and ColorMo

  • 1DC thoughts + feature requests

    Hello, It has been just under a year now that I acquired the 1DC and have actually totally, completely fallen in love. Although my short little fashion run-n-gun films show my poor DP abilities, this camera is an absolute dream for a imager suchas my

  • Sculpture/CC 11

    Can I just voice my frustration at the fact that some of these softsynths don't respond to cc 11 the way ES2 does, as in, hard wired to expression, control of amplitude. Why can't they all be hard wired like that? I get so frustrated with third party

  • Selection tool - shows mouse pointer as a "cross" - what is that?

    Sorry for a dummy question, but I cannot find an answer... For some compositions, clicking on a selection tool changes mouse poiunter to a cross-like shape and i cannot select anything on the composition window. What is this? how can I get back to a

  • Where is my Skype Premium?

    I've had my Xbox One since launch day and I'm logged into Skype on the console but my account does not show my 6 month trial of Premium. It only has an option for me to sign up at $9.99 a month. I thought every Xbox One user with an Xbox Live Gold su