Making an entire block invisible.

Hi , How to make an entire block in the selection screen invisible . I know this is done in At-selection screen output. but do not know how to code.
I have two blocks and based on condition , on of the blocks should be set to invisible . How to do this

Hi,
Please try this.
selection-screen begin of block a with frame.
parameters: a(1) default 'X' .
selection-screen end of block a .
selection-screen begin of block b with frame .
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(23) TEXT-H03 modif id det.
parameters: b(1) modif id det.
SELECTION-SCREEN END OF LINE.
selection-screen end of block b .
at selection-screen output .
if a = 'X' .
  loop at screen .
    if screen-group1 eq 'DET' .
      screen-invisible = '1' .
      screen-input = '0' .
      screen-output = '0' .
      modify screen .
    endif .
  endloop .
endif .
Regards,
Ferry Lianto

Similar Messages

  • Making one selection screen block invisible

    Hi,
    I want to make one selection-screen block invisible based on one check box value.I have built the screen as follows:
    PARAMETERS: pcheck1    TYPE char1  AS CHECKBOX.
    SELECTION-SCREEN  BEGIN OF BLOCK b2 WITH FRAME TITLE text-004.
    PARAMETERS: pproj    TYPE xxxx ,
                psproj   TYPE xxxx ,
                pobjec   TYPE xxxx .
    SELECTION-SCREEN  END OF BLOCK b2.
    based on the pcheck value I want to meke the above "SELECTION-SCREEN  BEGIN OF BLOCK b2 " invisible/visible.Can you please tell me how to do it?

    You need to set values in structure SCREEN:
    screen-invisible = '1' .
    screen-input = '0' .
    screen-output = '0' .
    for all items contained in block.
    For example:
    AT SELECTION-SCREEN OUTPUT.
      IF <condition>.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN <block_name> OR
                       <parameter1> or <parameter1_text> or
                       <parameter_N> or <parameter_N_text> .
              screen-invisible = 1.
              screen-input      = 0.
              screen-output    = 0.
            WHEN OTHERS.
          ENDCASE.
          MODIFY SCREEN.
        ENDLOOP.
    You can find names of variables which contain parameter texts using debuger.
      ELSEIF sy-tcode = 'ZEUA_EDB_EXPORT'.
        p_path = 'ZUA_EDB_EXPORT'.
      ENDIF.

  • Hi, dragging jpeg files into i-movie - the selection of jpegs is repeating certain photos and not featuring others, making the entire sequence impossible to view. PLEASE HELP!

    Hi, I have been dragging jpeg files into i-movie all week without issue. Now all of a sudden, the selection of jpegs I'm dragging is repeating certain photos and not featuring others, making the entire sequence impossible to view.
    Please help, this is urgent for a funeral tomorrow! It didnt happen with any of the other family tributes, they all worked fine.
    Many thanks,
    Ruth

    It worked! Thank you! I finally just finished about 20 minutes ago! It took over 26 hours to complete the process you described, but I stuck with it and it worked. I am glad I didn't give up or "forget it" as some might have suggested. That would have set me back until tomorrow!
    Ultimately, it turned out there were 45,910 jpgs created. No wonder it took so many hours to render/display them all. It ended up being about 10 hours before it seemed they were all rendered but the process between them displaying and being able to start really deleting them took a few hours because partly I was asleep and also partly it took forever to do anything. Any action as simple as selecting and right-clicking to Get Info, or emptying the trash, would take 20-30 minutes, a couple times longer. The clock stopped many times for 20-30 minutes at a time, a few times over 30 minutes, before catching back up. My cursor never froze which is what really kept me going, although it was a spinning beach ball for most of the time. I was never so relieved to see my regular cursor as opposed to seeing a spinning beach ball as I was early this morning after about 10 hours!
    Once I was able to open a Finder window and select all 45,900 files (I had already deleted 10 in the previous couple hours during experimenting of trying to figure out what would work best), then right-click and select to move all the files to the trash, the process of moving them to the trash took 4.5 hours. Then deleting them from the trash took a couple minutes. There were 21.4 GB!!! No wonder the whole process took 26 hours!
    mende1, thank you so much!

  • Dreamweaver auto selects/highlights entire blocks

    Whenever I'm working in Code View and click on a line in the script to begin typing, Dreamweaver automatically selects the entire block of script and I either have to double-click on the block to release it or if that doesn't work I have to double click the "Wrap Tag" button. It also does this everytime I click to another document tab. It seems like something I should be able to turn off, but I haven't been able to find the setting.
    Any ideas?

    I can't say I've experienced this problem myself, but you could try the following troubleshooting tip:
    If Dreamweaver is behaving in an odd way, it frequently means you have a corrupt personal configuration folder.
    Close Dreamweaver, locate the personal configuration folder, and rename it.
    When you restart Dreamweaver, it should create a new configuration folder with all the program defaults.  
    For details of how to find the configuration folder, see this page in the Dreamweaver FAQ.
    Nadia
    Adobe Community Expert : Dreamweaver
    Unique CSS Templates | Tutorials | SEO Articles
    http://www.DreamweaverResources.com
    Web Design & Development
    http://www.perrelink.com.au
    http://twitter.com/nadiap

  • Making an entire website out of Flash

    Hi I'm new at Flash CS3 and I'm trying to make an entire
    website out of Flash. This is the basic concept of what I am trying
    to do
    http://www.davidmurrayweddings.com/home.php.
    This person's website is kind of like what I want to do with the
    menu button and the words that just appear in the middle of the
    picture. Now I believe once I make the first page the rest will be
    easier.
    I have the Flash CS3 for Dummies but it does not seem to help
    as much unless I overlooking something. Sorry there was something
    else I was curious on making and that is a side bar where
    thumbnails of pictures are where when you bring the mouse over it
    the full picture shows up in the middle. ANY help would be greatly
    helpful thanks.

    Export from P-Pro using the MPEG2-DVD preset, and then use Encore to author your DVD
    CS5-thru-CC PPro/Encore tutorial list http://forums.adobe.com/thread/1448923 will help
    The bottom section of the link above has several Adobe links, and other information, on downloading Premiere Pro CS6 and the bundled Encore CS6, and the TWO ADDED downloads for the Encore library content, to author a DVD or BluRay... and the tutorial list includes learning how to use Encore... pay particular attention to the picture in reply 3 at this link - https://forums.adobe.com/thread/1516173 (picture first posted by Ann Bens and reposted by Stan Jones)

  • Making Portal Content Visible/Invisible at Runtime

    Hi SDNers,
    I'm having a Portal Content Hierarchy which goes till 5 levels. The hierarchy includes roles, subroles, worksets, pages etc at different levels.
    Now, the scenario is, not all the subroles should be visible to every user. I would like to make some WorkSets, Pages invisible for some user according to the specified role.
    Means if a user doesnt have authorizations to do certain operations, those Pages, WorkSets should not be visible.
    A Solution would be to prepare multiple Hierarchies according to the specified role. But those combinations are so many that I'm not feeling comfortable with the approach of making all the hierarchies statically.
    I tried to find the solution with "Portal Content Permissions" but unfortunately couldnt come up with one.
    Please let me know if anyone has any ideas for the same.
    Thanks in advance,
    Mausam

    Hi,
    Use PCDFilter, which can be used to filter role and workset content depending on the users.
    Check this for more:
    How to restrict the Users at Page level
    Greetings,
    Praveen Gudapati

  • Need to personalize the Remittance screen making 'Manual Create' Button invisible

    Dear All,
    I highly appreciate you people responding to my before questions. All are solved/clarified.
    Below is the requirement from my friend, I am trying to help him. Please suggest.
    In Receivables>Receipts>Remittance screen
    Need to disable the 'Manual Create' button, if the user selects the 'Receipt Method' field as 'XX_REC_METH1'.
    I tried just to disable the 'Manual Create' without the receipt Method condition, even that also doesnt work.
    Version : R12.1.3
    Function Name: AR_ARXRWMAI_REMITTANCES
    Form Name: ARXRWMAI
    Manual Create Button: AR_BATCHES_SUM. REMIT_MANUAL_CREATION                               <block>.<field>
    Receipt Method: AR_BATCHES_SUM.M_REMIT_RECEIPT_METHOD_NAME                            <block>.<field>
    Kindly suggest any work around.
    Thanks a lot in advance.
    Regards,
    Afzal.

    Hi Afzal,
    your question is about an eBusiness Suite form.  Our forum here (and the team that moderates it) deals with Fusion Applications questions.
    Please repost this question in one of these forums that deal with EBS:
    Technology - General Discussion
    Financials
    Thanks for your understanding.
    Regards,
    Oliver
    Fusion Apps Developer Relations
    https://blogs.oracle.com/fadevrel

  • Making border of cell  invisible in JTable

    Hi i want to make border of cell invisible in JTable
    any help appreciated
    thanks in advance

    Create a renderer with no border - http://java.sun.com/docs/books/tutorial/uiswing/components/table.html#editrender .

  • Making the mouse cursor invisible.

    I am currently in the deployment phase of software made for two touchscreen kiosks.
    When moving the applications over to these kiosks I realized that we needed to make the mouse cursor invisible.
    I have tried the
    Cursor cursor = new Cursor();// ALthough i was unable to find a cursor constant that gave me an invisible pointer.
    testFrame.setCursor(cursor);
    Any ideas how I could remove the pointer from view alltogether?

    Toolkit tk = Toolkit.getDefaultToolkit();
    Image image = tk.getImage("yourPicture.gif");
    Cursor invisibleCursor = tk.createCustomCursor(image, new Point(0,0), "invisible cursor");I usually use a 1 x 1 transparent gif.

  • CAF GP: Making an Action/CO invisible until the previous CO is complete

    Dear Experts:
    We have a scenario where we have two actions/callable objects (let's call them CO1 and CO2) in a sequential block.
    We want to make it so that when the user has completed CO1, that CO2 appears below it but NOT until after they hit "complete" of the Action.
    Is this possible? How would one go about implementing this?
    Once we figure this out, we would then like to make it so that CO2 only appears conditionally when two things are true:
    1. When the user completes CO1.
    and
    2. When another CO2 RFC returns true.
    Your input is appreciated,
    Thanks,
    -Tim

    Why don't you use Parallel Block?
    Check this document, It may help you: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/4848c8d1-0c01-0010-33b9-87a6488c48a7
    Reward points if itu2019s helpful.

  • JTree making nodes in TreeModel invisible

    I have a TreeModel that represents a database structure. I want to display that structure within a JTree. No problem so far, I just create the JTree using theTreeModel. Everything works great.
    Now, I want some nodes in the tree (tables in the structure) to not be visible to the user, but I cannot remove them from the model. I need the entire db structure intact within the model so all my processing works correctly, but there is no need for the user to be aware of the entire structure.
    Anyway, have any ideas?
    Thanks a bunch.

    Try extending DefaultMutableTreeNode and just had it
    return the count and children of the 'visible' nodes.More info... And maybe add methods getRealChildCount() and getRealChild(int i) so you can manipulate them internally.

  • Safari 5.1.10 cannot entirely block cookies?

    Hi,
    Using Safari 5.1.10 (on a MacBook Pro 10.6.8) I have not been able to stop Safari from collecting cookies.
    Even if I've selected 'always' in the 'preferences/privacy/block cookies' dialog box, they still get collected.
    On my previous MacBook/Safari this didn't happen.
    What gives?

    Yes, this is interesting in a small way.
    I blocked cookies and then went to CNN.com, 15 items listed as 'cache' appeared right away, then another 10 when I went on NYTimes.com. Some listed as 'cache, cookies'.  Going to WashingtonPost.com added another 32 items. BBC.com 47 items. NPR only one item. Seems like much of it is connected to ads.
    I closed those pages and deleted everthing except the 2 apple cookies. Went on elpais.com, which loaded one item listed as 'cookies'...  perhaps 'cache' is a rude word in Spanish so they have to call it cookie instead.
    Like I mentioned, if I blocked cookies on my earlier MacBook this stuff didn't get listed, but there was perhaps the same cacheing going on anyway.

  • Continued trouble making button hot spot invisible after click

    I posted this question a few days ago and wasnt able to come up with a solution so I'm hoping to post again and see if anyone can steer me in the right direction. I have a few buttons that use loadmovienum to load a few clips into levels. The code on each button is something similar to:
    on(release){   
    loadMovieNum("print_index.swf",1);
    printbutton._visible = false;
    webbutton._visible = false;
    illusbutton._visible = false;
    threedbutton._visible = false;
    retouchbutton._visible = false;
    But because the print_index movie slowly scrolls across the stage rather than immediately replace it, there is a moment where the button turns completely invisible after the click. Perhaps the bigger problem is that it doesnt make any of the accompanying buttons invisible like it is supposed to- only the one that is clicked. Any ideas?

    ah yes i should prob describe the scene better- its a button inside a movieclip. The movie clip makes the button appear to kinda 'float' around the screen slightly and there is a simple rollover action on the button to make it highlight once rolled over. There is an example up at www.darrenlasso.com/newindex.html
    And i dont have a tracer on any actions because ive never delved that deeply into AS so im kinda at a loss

  • Form Block Invisible at runtime

    Hi All,
    I have a problem.
    i have changed the field length to 200 to 240 .And it is the valid length i have checked with the database table length.
    But the strange thing is the block is not visible when i deployed into oracle application
    RDBMS : 10.2.0.3.0
    Oracle Applications : 11.5.10.2
    Can any one help me.
    thanks

    I have a problem.
    i have changed the field length to 200 to 240 .And it is the valid length i have checked with the database table length.
    But the strange thing is the block is not visible when i deployed into oracle application
    RDBMS : 10.2.0.3.0
    Oracle Applications : 11.5.10.2
    Can any one help me.Is this a seeded form or custom one?
    Did you use TEMPLATE.fmb?
    Was the form compiled successfully on the server? -- How do I Generate Forms in R11i or R12? [ID 742617.1]
    Thanks,
    Hussein

  • Making Subform Instances Visible/Invisible

    Hello,
          I am trying to loop through the Subform Instances of the form and trying to make them visible/invisible on the click of a Check Box. The script seem to run just fine but the values nothing happens to the subforms. The script is written on the CLICK event of check box and is as below:-
    ----- HAP_DOCUMENT.APR.HAP_DOCUMENT.Positions.DATA.CHECK_BOX::click: - (JavaScript, both) ----------
    var
    nCount = APR.HAP_DOCUMENT.T_ELEMENTS.DATA.instanceManager.count;
    //var plan_value = this.parent.PLANS.rawValue;
    var
    plan_value = this.parent.parent.parent.Storage_Form.PLANS.rawValue;
    for (var nItem = 0; nItem < nCount; nItem++) { // Begin Loop T_ELEMENTS after the Instance is created
    var sub_Tele = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"]";
    var tName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA";
    var sCount = xfa.resolveNode(tName).instanceManager.count;
    for (var sItem = 0; sItem < sCount; sItem++) { // Second Loop on T_COLL_CELL
    var fName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA";
    var tCount = xfa.resolveNode(fName).instanceManager.count;
    for (aItem = 0; aItem < tCount; aItem++){ // Third Loop on T_FIELD
    var gName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA["+ aItem +"].simpleField.VALUE_STRING";
    var lName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA["+ aItem +"].simpleField.CAPTION";
    var subName = "HAP_DOCUMENT.T_ELEMENTS.DATA["+ nItem +"].T_COLL_CELL.DATA["+ sItem +"].T_FIELD.DATA["+ aItem +"]";
    var aVal = xfa.resolveNode(gName).rawValue;
    var bVal = xfa.resolveNode(lName).rawValue;
    var subVal = xfa.resolveNode(subName).presence;
    if (bVal == "Position Number"){
    if (aVal == plan_value) {
    if ( this.rawValue == 1) {xfa.resolveNode(subName).presence
    = "visible";}
    else {xfa.resolveNode(subName).presence
    = "hidden"; }
    Is there any other way of addressing the properties of the Subform Instances? Could any please help me as to why there is no effect on the subforms?
    Regards,
    Shishir.P

    Is the form saved as dynamic? Are you getting any errors in the javascript console?
    Paul

Maybe you are looking for