Blocking some fields from entering in summary block in enter query mode

Hi ,
I have a data block where in some fileds have to be dynamically allowed to enter and some are not based on
a particular condition. The problem is whenever the forms enters enter query mode, all the fileds in the block are updateble. Even maually I tried to set/unset the property in forms using set_item_property, but the enter query mode was trying to overiride it and making updateble.
Please suggest a solution for this.
Thanks in advance.
Thanks,
Lohith

Try the below code
IF  :SYSTEM.MODE='ENTER-QUERY' THEN
SET_BLOCK_PROPERTY('BLOCKNAME',INSERT_ALLOWED,PROPERTY_TRUE);
SET_BLOCK_PROPERTY('BLOCKNAME',UPDATE_ALLOWED,PROPERTY_TRUE);
SET_BLOCK_PROPERTY('BLOCKNAME',DELETE_ALLOWED,PROPERTY_TRUE);
you can set the item here too by using the below code
SET_ITEM_PROPERTY('BLOCK.ITEM_NAME',INSERT_ALLOWED,PROPERTY_TRUE);
SET_ITEM_PROPERTY('BLOCK.ITEM_NAME',UPDATE_ALLOWED,PROPERTY_TRUE);Regards
Moazam
Edited by: Moazam Shareef on Oct 6, 2010 6:10 AM

Similar Messages

  • I blocked some images from myspace by mistake. How can I unblock them?

    I play a my space app called Hotties For Sale. I inadvertently blocked some images from the app. This includes operating buttons and some photos. The only info I can find is "Block images from x.myspacecdn.co... How do I get these images back? Can you help please?

    With myspace on display, click on the site identity button (for details on what that is see the [[site identity button]] article) and then on More Information. This will open up the page info dialog.
    First select the Permissions panel, make sure that "Load Images" is set to allow (selecting Use Default should also work)
    Next select the Media panel, then click on the first item in the list. Use the down arrow key to scroll through the list. If any item has the option "Block images from (domain name)" selected, de-select the option.
    This should hopefully resolve your issue, but also see [[Images or animations do not show]].
    Some add-ons can also block images, for example if you have AdBlock Plus installed, make sure that you have not accidentally created a filter to block the images.

  • How we remove some fields from SAP standard one's

    Hi,
    i am very new to SAP SD .if the client do not want some fields from standard one's how we can remove those fields.(example u take Standard sales order).

    HI, you cannot hice many fields in SAP, since they all need for something.
    try to explain this to your customer; furthermore many fields are filled form the master data so the users don't have do mind of them.
    Anyway you can alter the screens using the transaction variants: go to IMG
    Spro: SAPNetwaever->general settings->Field Display Characteristics->Configure Application Transaction Fields
    Reward if helpful
    Regards
    Roberto

  • I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    I need to add a single field from with_item table . need to write select query with reference to company code , account doc no , fiscal year

    Hi Arun ,
    Can you explain little bit more ??
    what is account doc no? 
    what are the transactions should be displayed in your output??
    -Rajesh N

  • How can i transfer some fields from one table to another using a trigger

    hi,
    i have two tables;sales and accounts.i want in my accounts form to enter salesid which is then validated and if it exists in the sales table, some fields are copied to the accounts table automatically.how do i go about this.thanx

    hi,
    the code u gave me is not running.let me explain in
    detail.i have two tables;sales and accounts in my
    database (oracle 9i).each have a corresponding form
    in the developer window.these tables are linked using
    saleid.this id is entered and saved in the
    database.when the person is paying in the cash
    office,the saleid on an invoice form is entered on
    the accounts form.it is supposed to search the sales
    table and if the ids match,some records are extracted
    from the sales table to the accounts form instead of
    the accounts clerk entering the details all over
    again.these details will be used to generate a
    receipt an then the record on the accounts form is
    saved to the database.the contents of the two tables
    are:
    sales(saleid(pk),startno,endno,quantity,amount,saledat
    e)
    accounts(receiptno(pk),saleid,startno,endno,quantity,a
    mount).
    please advice and thanks very muchWhat does it mean "not running" ?
    Sure, it is running.
    Did you tested my example ?
    And it does exactly what you need.
    You didn't provided table structures and insert statements,
    that's why i showed you the method on 2 emp- tables.
    But it is exactly, what do you need.
    Change my emp_1 on your sales,
    and my emp_2 on your accounts,
    and compare the results.
    If you cannot directly copy and paste
    and say to your teacher / chief "My homework / task is ready"
    it doesn't mean, that the solution didn't provided ...

  • Hiding some fields from ALV report

    Hi All,
    I want to know if there is way to hide certain fields in ALV for some users only and not for others?
    If I use the option NO_OUT = 'X'  it will not be displayed in the list but the user can see the in the Layout option fields but if use NO_OUT = 'X' and TECH = 'X' the field will not be in the list and in the layout also but other users will miss that field.
    If I create user specific variant, but once the user is in the report he can change the layout so certain fields cannot be hidden.
    So, is there any way to hide some fields for certain users and not for others without hard coding user ids in program and restricting the fields from display??
    Thanks in Advance.
    Sonali.

    Thank You Vijay for the reply.
    I knew that Authorization object was the final solution but before using it I wanted to find out if there was a way in the ALV report to restrict certain fields.
    Sonali.

  • Merge omitting content of some fields (from Numbers)

    I am attempting to merge Numbers cell content into multiple iterations of a Pages document.
    I am using the Merge to New Document from Edit -> Mail Merge.
    Some of the content (a text field of about 225 words) is being omitted for the first merged document but included in others.
    I have gone back through the Numbers table and made sure there are no empty cells.
    Any other suggestions?

    Thanks. In a search of this forum I did find mention of a limit on number of characters, but I think it was older, so I searched the documentation for Numbers and Pages, and could not find any reference to a character limit. I guess I was hoping that limit no longer applied.
    Silly me -- I foolishly assumed that if there were limit on the number of characters it would have appeared in the documentation, and I failed to ask the Psychic Hot Line what the designers of iWork had in their minds. Now I have a number of college scholarship applications each with several essay-type answers which must be copied and pasted by hand into the summaries.
    On the bright side, the Acrobat responses document retains the entire content of all fields from the PDF forms and I can actually access any form from the responses window, so it's just a few more hours.

  • When i hide some fields from the Editform using javascript, what will happen to the fields that hve been hidden

    I am working on an EnterpriseWiki site collection, and when users edit the page properties as follow:-
    then will get all the fields inside the EnterpriseWiki content type as follow:-
    now i want to hide all the fields except the ; Title & Name, so i edit the EditForm and i add the following script:-
    <script>
    $('#formTbl tr').filter(function ()
    return !$(".ms-standardheader", this).text().match(/Name|Title/i);
    }).remove();
    </script>
    so currently when users edit the wiki page properties they can only edit the Name & Title, because the script hide the other fields.
    My question is what will happen to the other values such as the page content, assign to , etc that have been hidden.. I test this and seems that when editing the name and title the other values will not get effected which is what i need, but not sure how
    did SharePoint handle this, i was afraid that hiding the other columns will set their values as null or empty if the user save the editform with only the title and name inside it ? can anyone adivce on this ?

    Hi John,
    From your description, my understanding is that you are worried about the values of some fields
     will been saved as empty if you hide them in EditForm.
    If you hide some fields in EditForm, it means that you could not edit them. These fields’ values will not be changed after editing Title field or Name field. When you click Save button, they will be still the values before changing the Title field or Name
    field.
    Best Regards,
    Vincent Han
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]
    i found this very critical issue with hiding the fields from the edit form, now i wrote the following script inside the edit form , to hide all the fields except the Name
    <script>
    $(document).ready(function(){
    $('#formTbl tr').filter(function () {
    return !$(".ms-standardheader", this).text().match(/Name/i); }).hide();
    $('#ctl00_ctl40_g_6c7d849e_da6b_4138_be9f_b99bde542065_ctl00_ctl02_ctl00_ctl04_c‌ ​tl00_WebPartMaintenancePageLink').hide(); });
    </script>"
    . and now if I submit the editform (which only contain the Name) all the html tables inside the wiki page content will be removed.

  • Disable or Remove some field from User Profile in Personalize iView

    Hi All,
    I have a requirement  to Disable one field and Remove one field  from User Profile in Personalize iView.
    i want to disable Activate Accessibility Feature field and Remove Language field.
    How to archive this.
    Thanks and Regards
    Trilochan

    Hi,
    You can use [Personalization|http://help.sap.com/saphelp_nw70/helpdata/en/42/ed3ce7f8593eebe10000000a1553f7/frameset.htm] to do this :
    1. logon as an admin and navigate to Portal Content > Portal Users > Standard Portal Users and open Every User Core Role
    2. right click on User Profile and select edit
    3. click on the Preview button then right click + CTRL on the iView and personalize the User Profile iView
    That's it.
    Regards,
    Pierre

  • I want to block some iMessages from appearing in my iPad

    I have my Macbook, my iPad and my iPhone set up to sync iMessages between them.  I love that.  However, there are some people whose iMessages I do not wish to have come into my iPad.
    I use my iPad at bedtime for reading and surfing.  I do not need to receive text messages from everyone when I am in bed.  However, my teen/adult children should still be able to text me if they need me.  There are many texts that can wait until morning, but my kids will always be able to have access to their parents anytime of day or night.  (I go to bed reeeeeallly early as I get up and run in the early morning).
    Do not Disturb is not working for this.  I've already tried that.
    If I block someone, it is my understanding that they will be blocked across all my devices.
    What can I do?

    Crisvett wrote:
    I bought some apps through my iPad but i want to have some of them Also in my iPhone, how can i get it?
    Some apps are iPad only, did you check?
    While at it, check also the apps version as well as what devices are supported.

  • Baris Derin blocks some pages from opening,

    I don't know what Baris Derin is. I don't want it. I just want google. It insist in wanting me to install. I don't want to do it. Sometimes when I go to a site and it then wants me to download or something like that: Baris Derin comes up and blocks me. It doesn't give me a choice of "do you want to download?" or "No thanks." What gives!!!!
    I can not print my boarding pass because of this annoying thing. So I gave in: I tried to download. Well I can't get it to work. HELPPP. Oh, yes. I'm a mac.

    Whenever I click on a link, I always get a message saying "Firefox prevented this page from redirecting to another page"
    I then have to click on the 'Allow' button, and it goes to the page I wanted. This is extremely annoying. I can't find a setting in Firefox that will fix it. I never had this problem with previous versions of Firefox, nor do I get that message when using Internet Explorer, so it's not a firewall issue.

  • Prevent/block some SQL from executing in Database

    Hi Everybody,
    we are working on oracle 10g release 1 on Linux.
    we are in the process of identifying some badly written queries.
    we identified such queries from trace. we want to trace back from where it is coming.
    since there are multi tiers in the system, we are not able to map the queries to application user and there is only one Database user and we are searching in the darkness.
    We want to prevent these queries from execution. so that somebody will get back.
    Any suggestions/ideas ?
    Thank you.

    as indicated by LC, i can find out the query again getting fired and can have a job to kill
    the session. I don't think this will work. In a n-tier environment you're probably using connection pooling, so the same session is probably used by any number of real users. Killing the session isn't go to stop the app server handing out a new connection to whoever is running these queries.
    You are looking for a technical solution to deal with what is really a political issue. You need to start talking to your users or possible the developers, depending on whether the offending SQL is an app query or a freestyle SQL*Plus type thing. If you have only a few "bad" queries then it ought to be possible to at least guess where the source is and arrange a quiet chat.
    Alternatively, just live with it until such a point as performance gets really bad. Then throw a hissy fit, take the database down and refuse to bring it back up until you get the head(s) of the offender(s) on a silver platter or the application developers put proper authentication in place. Whichever is easier.
    This is a serious problem, not from a performance point of view but from a legal perspective. I don't what your business is, or the exact situation in Brazil, but increasingly audit and compliance issues are rising up the IT agenda. People can be abusing your database in any number of ways for any sort of nefarious purpose and you have no idea who is doing what. That's bad.
    Cheers, APC

  • How to block some addons from autodownloading and self installing?

    there is an add-ons that whenever I remove it, after a while it has been installed again, I think this addons works like a malware. the name of the add-ons is "GoHD". It causes opennig a new website while I'm in another Website. It's disturbing me a lot. please help!

    ''Sriram Sk [[#answer-694817|said]]''
    <blockquote>
    Click menu button and choose addon, In the add on manager tab select Extension and appearance panel, Then Select add on you wish to Disable, Click the remove button.
    </blockquote>
    thanks Sriram Sk but as I said before I have done that to solve the problem but it didn't solved.In fact whenever I remove or disable it and then restart the firefox, at next time that I open the browser it's been installed automatically by itself however I haven't installed it by myself

  • Cannot find some fields from SAP interface (employee master data screen)

    Dear All,
    We are using SAP881 US localization. When I open OHEM table or form settings of list of employees, I can see some additional fields. E.g.
    Health insurance code
    Vacation: Current year
    Those fields I cannot see it from the interface. Can anybody tell me how to key-in those kind of information? Thanks.
    Regards,
    Yuka

    Hi
      Please Check is those fields are Active and Visible In form Settings of Employee Master Screen.....
    Regards
    Naresh.KS

  • Some fields from R/3 have automatic value help for input field on WD

    Hello,
    we have imported a Model from RFC/JCo (ABAP) with several fields. One of them is "IWAER" of SimpleType Iwaer and "Built-In-Type" string in J2EE. Though the enumeration of this type is empty, WebDynpro mystically generates a value help if the type is assignet to an ImputField. On the ABAP-side component type is IWAER with data type CUKY and in domain WAERS which has a value table TCURC (instead of fixed values in a value range).
    Where/why does WD find out that this is a currency-field and where do the values in the value selector come from?
    Best regards,
    Manuel

    Hi,
    at least for the ModelData-Connection (BAPI-Call) there is no data being transferred besides one value for each field.
    I don't know if the MetaData-Connection of JCo is able to get more information (e.g. key-value-pairs for the domain or type the field belongs to,..) than just the structure of the interface.
    -> Where and how do these EVS-values come from without doing something?
    Best regards,
    Manuel

Maybe you are looking for

  • How do I block certain websites from my computer? on all users profiles,

    i want to block miro, limewire, etc from all users on my computer? my computer only tells me how to block it on internet explorer, not firefox. any help??

  • Restore Time machine backup from a stolen computer to a different Mac Pro

    *My Mac Book Pro was stolen.* It had some Time Machine backups, but Time Machine had stopped working about 6 months before it was stolen. I had stopped using the USB drive since TM would never complete. (2 issues) 1. When I plugged in this USB backup

  • Parent Child Hierarchy for Type 2

    I have read the articles on Parent Child hierarchy setup in OBIEE 11g, however, most are based on what seems to be a current snapshot of the Employee-Manager relationship. Has anyone tried to build out a Parent-Child hierarchy/table off a Type 2 dime

  • No thumbnails in organizer Photoshop Elements 6

    My computer with Windows XP crashed and I just got it back. Before the crash, I installed element 4 and then upgraded to elements 6. The computer specialist re- installed Photoshop elements 6 upgrade but not photoshop elements 4. Now,when I open up t

  • Performance Issue while Joining two Big Tables

    Hello Experts, We've the following Scenario, wherein we need to have Sales rep associated for a Sales Order. This information is available in VBPA table with Sales Order, Sales Order Item and Partner Function being the key. NOw I'm interested in only