Disabling fields in subscreen

Hi,
I have a main screen '9970' and subscreen '7300'.
The subscreen '7300' is also a subscreen of some other screen say '9000'.
Now I need to disable the fields of '7300' only when it is called from the main screen '9970'. When i disable in fields in PBO of subscreen , then it will be disabled in screen '9000' also.
Is there any way to disable fields of subscreen from the main screen '9970'.
I tried the following in PBO of main screen
LOOP AT SCREEN.
If Screen-name = 'SCRAREA1'.
            SCREEN-INPUT = '0'.
      MODIFY SCREEN.
      ENDLOOP.
ENDLOOP.
ps: call subscreen SCRAREA1 using <prog-name> <screen-no>
SCRAREA1 is the name of the subscreen area.
But the above code is not capturing the subscreen area name at all..
Anyone please suggest..
Thanks
Hemalatha

Hi,
In The main screen 9000 and 9970 pass the screen number to a global variable before calling subscreen 7300.
In PBO of 7300 chek the variable to know if it has been called from the desired main screen say 9970. If yes disable it and pass another indicator say dibale  = X.
Return to main screen.
In the PBO of the Main screen check the variable DISABLE and grayout the fields you want.
IMPORTANT.
If you are doing CALL SCREEN 7300 from 9000.And then a LEAVE TO SCREEN from 7300 after processing, you will not go to the PBO of 9000. Control will execute the flow logic of 9000 after the CALL SCREEN statement.
Let me know if any issues.
Thanks,
Vivekanand

Similar Messages

  • How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?

    How do you grey out/disable fields under a radio button if another radio button is selected in Adobe Acrobat XI Pro?
    I’m creating a form where the user has three options to make a payment.
    1. charge to my credit card
    2. charge associated costs to bank account
    3. By cheque or money order
    My Problem is, under each option, there are required fields that has to be filled out. So if the user picks the first option, charge to my credit card, they would fill out the required fields (credit card number, expiration date etc.). But when they click submit button to submit the form, it won’t let them, because there are required fields under the second option. Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it. So what I'm trying to do is this: If the user selects the radio button for option 1, the other two options are greyed out/disabled. And if the user holds down the shift key and clicks radio button for option one again, it unchecks the radio button and the other two options are available again. Is there a way to grey out or disable the two other payment options when the other one is picked. I’m assuming I will have to use javascript, but what would the coding be and which field do I write it under?
    Thanks in advance guys

    You will have to use custom JavaScript to access the various properties of the field object.
    The radio button group has a value. When no button is selected that value is "Off". When an individual button has been selected the value for the group will be the option or export value for that individual button.
    Once you have determined the button selected, then you will know the form fields that need to be made required. You use JavaScript to access those fields and change the "read only" property to false, and set the "required" property to true. For the fields associated with the other options, those fields should be reset, made read only, and have the "required" property set to false.
    Disabling (graying-out) Form Fields
    >> Also, I have the radio buttons for the three options setup so that if the user holds the shift key and clicks a radio button, it unchecks it.
    Radio button in a PDF do not work that way. Only check boxes can be unchecked by clicking on one that has been checked.
    If you plan the coding for the Mouse UP action to test for all possible options and code for each of those options you should have what you want.
    If you want actual code you need to provide a lot more details.
    It is even possible to perform some credit card and bank routing number validations with JavaScript and some check digit formulas.

  • How to disable fields in Table control???

    Hi
    How to disable fields in Table control??? I want to disable particular row in table control when enter datas are correct.lets take as example ME41 or ME51 table control.
    Can anyone tell how to do disable in this table control
    Points will be rewarded if its helpful.
    Thanks
    senthil

    If you want to disable the row then you can use
    in pbo module create a module in side loop,
    loop at itab with control tc.
    module change_screen.
    endloop.
    in module,,,,,
    loop at screen.
    if condition.
    screen-input = 0.
    modify screen.
    endif.
    endloop.
    Regards
    Vijay

  • Using Javascript to disable field "Planned"

    Hi every one,
    I want to use javascript to disable "Planned" checkbox in Project Server 2013 because we want that user can not see this planned time and be confused with the Project Server's automatic changes for the planned time.
    <script type="text/javascript">
    document.getElementById("Ribbon.ContextualTabs.MyWork.Home.ShowHide.PlannedWork-Medium-checkbox").checked = false;
    </script>
    I found this code in this subject :
    http://social.technet.microsoft.com/Forums/projectserver/en-US/0beeed2d-bebc-4217-981a-41b1252c7cc2/disable-field-planned-in-timesheet?forum=projectserver2010general
    But I don't understand where to use it. If i create a custom webpart with this code, I've got a null exception when the page is loading.
    So, can you help me ? Maybe I need to use it in an other file ?

    Hi Patmol6,
    Basically, to add javascript to a PDP (or timesheet page for instance), 
    edit the page
    add the content editor webpart
    set it as hidden
    copy paste the code
    Note that you can also point from the content editor webpart to a js file embedding the javascript code
    Here are few examples (some are in PS2007, but the process is similar): 
    http://epmsource.com/tag/content-editor-webpart/
    http://badalratra.wordpress.com/2013/05/04/how-to-disable-pdp-custom-fields-using-javascript/
    http://badalratra.wordpress.com/2013/02/03/javascript-code-to-add-custom-descriptions-underneath-project-field-on-the-pdp-page/
    http://epmcorner.wordpress.com/tag/content-editor-web-part/
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Why I cannot process a disabled field when using htmldb_item

    I have a report that has this in the select statement
    case when c.sec_lic_status in (1,2,7,505,1002,1004,1005) then
    htmldb_item.text(2,sum( distinct a.fee_variable),8,20)
    else
    htmldb_item.text(2,sum( distinct a.fee_variable),8,20,'disabled')
    end "Quantity 1"
    The above shows correctly. If there are 2 records one field is disable and the other is enabled.
    I have a process that fires on submit - after Computations and Validations. But the records don't changed when updating the enabled one.
    In debugging and writing to a file using the UTL_FILE package, I'm able to pinpoint that the disable fields are the problem.
    Is there a trick on manually processing disabled fields?
    I've found that when I uncheck the show box in the report, I cannot use the fields either. This is not a problem, just another comment.
    My main problem is what do I have to do to manually process a disabled field.
    Thanks for your help, comments, pointers, or anything that could help me or give me ideas.
    juan

    Juan - HTML items with the disabled attribute are not POSTed with the form so your after-submit processes never see them. Try 'readonly="readonly"' instead. Others may be able to suggest how to also give those cells a greyed-out appearance.
    Scott

  • How can i do to add custom field in subscreen bidder

    Hi experts,
    I am working on SRM 7.0 with rfx-Bid invitation and in this version of srm the BAdI BBP_CUF_BADI are no longer used. Then, i know that if i want add fields in rfx header i will use the structure INCL_EEW_PD_HEADER_CSF_BID and other structure for Shopping cart, Purchase order etc. But, i need add fields in subscreen Bidder in bid invitation and i do not know how can i do that.
    could anybody tell me something about this?
    Best regards
    Manuel

    Hi,
    you can add a field in a table through Append Structure,that it shoud not populated in screen Find Any user exit is avilable
    Regards,
    Phani

  • Need to Disable field in Table maintenance generator

    Hi Frds,
    I have created a custom table .But i stuck at one point. In the TMG one field is User ID and next field is filled with Full name of this User ID(made it noneditable). To get user name i implement '01' event in TMG. and its working fine. But when i change the user ID in the row ramdamly the user name is not updated. its because Event not trigger.
    Please help me by giving valuable suggestion either of two query.
    1) When any row field value get change. Which TMG event trigger and capture the changed row
    2) How can i make field disable once it get filled and saved.
    Thanks
    Imran

    Hi,
         When you create any entry in TMG event get occurred is 05 and if you are changing any row content than you have to use 01. And if you want to disable fields ,double click on overview screen number which is you have given when you created TMG and than it opens flow logic of screen than click on Element List tab and uncheck the fields which you wants dsiable in input column as i am attaching screenshot have a look at it.
    in this user ID is unchecked.
    Regards,
    Shahezad

  • How to set a value to a disabled field in an B1 screen ?

    Hi,
    Can anyone tell me how to set a value to a disabled field in an existing screen.
    For example , I want to set a value to the Paid/Credited field in the Sales - A/R Invoice screen, which is a disabled field.
    I tried setting the field as enabled but it throws an error.
    Thanks in advance
    Mina

    It depends on the business process required for generating the invoice.  (What is this process just now?)
    I can think on quite a few ideas, but can't be sure if any of them will match your specific requirements.  I'll list a few here and see if any of them might work, or at least generate some new ideas for you. (Unfortunately you can't change an existing payment object to add an invoice to it at a later date, nor is the reconciliation process exposed through the SDK.  This limits your options a bit.)
    1) Is there a need for a separate delivery and invoice?  Would skipping the delivery process and using the standard Invoice + Payment screen work for you?  Stock would be issued, invoice created and payment matched directly to invoice without any work.
    2) This might apply if the invoice is simply a one for one match with the delivery.  Rather than just generate a payment in the delivery screen, generate the invoice and a payment at the same time.  The standard invoice screen will then show it as paid.  You can control the dates on the invoice raised through DI code.
    3) Where do you write the Paid Amount to?  How is it not available in the invoice screen?  Put it somewhere accessible and write it to the user field.
    John.

  • Disable field highlighting?

    Good Morning,
    Working on a form that will be distributed to a number of users.  The form utilizes a lot of scripts to highlight fields that require attention.  The form works/shows well when the preset "highlight fields" is turned off (currently done manually).
    Is it possible to disable field highlighting using a script or by changing the preferences so that when the document is opened, the form fields are not highlighted?  During testing, the "highlight fields" option is turned on by default on other users machines.  I searched on the Internet and came across the following:
    Layout: Ready event
    app.runtimeHighlight = False
    Can this be used and if so, where would it be entered (hopefully not in every field).
    Thanks

    Thanks for the response.
    Form is created using Adobe Acrobat 9.  I put the code in the page properties of the the first page of the document as an action.  Doesn't seem to work.
    Any other suggestions?

  • How to disable field Order quantity

    Hi everyone
    I want to disable field item order quantity at line item level on the transaction VA02, can anybody help me on this?
    im using the user exit MV45AFZZ to make other modifications in the program, can i use the same user exit or any other alternative?

    The logic that you need to place should be something similar to below:
    IF SY-TCODE = 'VA02' AND SCREEN-NAME = 'RV45A-KWMENG'.
       SCREEN-INPUT = 0.
    ENIF.
    Hope this helps.
    Kind Regards
    Eswar

  • The Adobe Forms was created with Disable Fields!

    Hi All,
    I am new in Adode Interactive Forms ABAP.  I am trying to implement a simple scenario using Web Services published by RFC on ABAP side and simple form with one field  MATNR to bring a Description MARKT, and button to call the Web Services.  I configured ADS on Server, installed  Adobe LifeCycle 8 and SAP GUI 7.1.  I created the  Adobe Form and it was actived.
    My issue is,  when a run the program  to generate a PDF, using the FMu2019s 'FP_JOB_OPEN'
    , 'FP_FUNCTION_MODULE_NAME', CALL FUNCTION i_funcname, the Adobe Forms was created with disables fields. I canu2019t fill it and canu2019t press the button to call WS on ECC.
    Could you help me?
    Thank you!
    Fábio Ferri
    SAP Consultant Netweaver

    Hi fabio,
    When you say the example ran successfully is it without any error messages..?
    Did you check in spool "SP01" if there something sitting out there.
    To my understanding PDF rendring is dependent in 2 aspects.
    1) the output device type you select (this should be a PDF enabled printer)
    2) Programatically if you say it should go to a printer or spool.
    Just try with FP_TEST_00 either in sfp or SE38 and try both print preview and print.
    in print priview it should display the PDF on the screen.
    In print it should display as success message and in spool it should have the corresponding PDF. if both are working fine then the ADS and output device config are correct and it all depends on how do you handle the PDF output.
    Just try the above approach and post the results,
    Cheers,

  • Disabling fields on initialization of form 8.2

    Hi,
    I am new to LiveCycle Designer 8.2 and I am trying to disable fields on initializing a form. If there is already a discussion about this or a how-to could someone point me there. I am having problem finding documentation on this.
    Also I am confused on how to embed scripts into xfa doc. The Adobe documentation is confusing to me. Is there another FAQ or how-to for that aswell
    Thank you for the help

    You can set the initial state of an object in the object palette. Put focus on the object, and under the Object palette their is a value tab. On the Value tab their is a Type dropdown, you can set its initial state there.
    Scripts are tied to an object. Again put focus on the object. Open the script editor (Window/Scrip Editor or simply hit Cntrl-Shift F5). It will appear between the toolbars and the drawing palette. Now you are ready to script against the object that has focus. Choose an event (top left) where you want your script to run, choose a language (typically javascript) and leave the Run At parameter as client. All script for that event will be automatically written into the template for you when you save. You can change events and your script will disappear. All that means is that there is no script on th eevent that you are looking at. In the event dropdown, if there is an * beside an event that signifies that there is code on that event.
    Hope that helps

  • Disabling fields on initialization of form

    Hi,
    I am new to LivcCycle Designer and I am trying to disable fields on initializing a form. If there is already a discussion about this or a how-to could someone point me there. I am having problem finding documentation on this.
    Thank you for the help

    all you need is....
    this.access = "protected".
    this is a JavaScript code try using in initialize event of the field that you want to disable.

  • Disabling Field Disables the Entire Form

    I am trying to disable fields in the 'User Library.xml' form depending on who logs in; unfortunately the code below disables the whole form.
    Any pointers on how to get out of this logjam?
    <Field name='global.login_desc'>
    <Display class='Text'>
    <Property name='title' value='Login Description'/>
    </Display>
    <Disable>
    <eq>
    <block name="loggedinuseraccountid">
    <invoke name='getUser'>
    <rule name='EndUserRuleLibrary:getCallerSession'/>
    </invoke>
    </block>
    <s>Administrator</s>
    </eq>
    </Disable>
    </Field>

    A little javascript should do it.
    function switchForm(form,flag){
      inputs = form.elements;
      for(i=0;i<inputs.length;i++){
        inputs.disabled = flag;
    }No need to go to the server for this one.                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Disabling field in co11n using shd0

    Hello Experts,
    I have disabled some fields in co11n using SHD0 tcode, For this i created one variant and also create request for that one, It is working absolutely fine on development server as i created on development server, Now i was trying to check that one on quality server, For this i asked my basis guy to transport my request on quality serevr, now when I am trying to check on quality server it is showing that variant.... but not showing disabled field in co11n........
    Is there any one plz guide me how i can disabled field on quality server........ after changing on development server.......
    Waiting for a positive reply.....
    Thanks......

    hi
    See, I gave transaction variant name and then click on display to check that one  screen where i disbled field, Quality server  is nt showing that screen........

Maybe you are looking for