How can we hide the non key field values in the sm30 display

hello experts,
I have to protect the non key field values in the sm30 display , can u help me out wat changes i have to do in the layout.

Hello Gopal,
What do you mean by 'protecting' your non-key field value?
1) You want to display it, but make it non-changeable
A - Make the field as output-only in screen, as already answered by a preivous collegue
2) You do not want to display this field at all
A - Goto the DDIC definition of the view (not possible for a table directly), and maintain the required field as a Hidden. After activating, remember to re-generate the maintenance dialogue. Also, please maintain Event 21, in case you want to access/change the value of this field in background.
3) You want to maintain special validations/checks for the field
This can be easily done by introducing your modules within the CHAIN-FIELD commands in the PAI of the generated screens.
Best Regards,
Rekha

Similar Messages

  • JPA - How to map relation with NON-KEY field.

    Hello.
    Problem with mapping is NullPointerException when calling EntityManager em.createNativeQuery:
    Table1 (Bm_Treeassoc):
    MY_ID (Primary Key)
    BOOKMARKID (-> MY_ID in Table2)
    Text
    Table2 (Bm_Bookmark):
    MY_ID ( Primary Key)
    Text
    //CLASS BmTreeassoc
    @OneToMany(targetEntity=BmBookmark.class, mappedBy="treeMaster", cascade = CascadeType.ALL, fetch = FetchType.LAZY)
         private BmTreeassoc treeMaster = null ;
    //CLASS BmBookmark
    @ManyToOne(targetEntity=BmTreeassoc.class, fetch = FetchType.LAZY, cascade = CascadeType.ALL, optional = true)
         @JoinColumn(name="MY_ID", referencedColumnName="BOOKMARKID", unique=true)     
         private ArrayList<BmBookmark> bookmarks = new ArrayList<BmBookmark>() ;
    This Leads to the exception.
    Mapping form MY_ID to MY_ID instead BOOKMARKID will not throw the exception,
    so I assume I have a problem with the KEY Field?
    Any ideas?
    Kind regards
    Frank

    OK,
    after reflecting (after maniacally trying for days).
    Here is the answer by myself:
    I do not use the mapping stuff at all no more.
    I solved my join by using a view:
    CREATE VIEW SAPDEMO.VTree
         AS SELECT t.TreeID, b.MY_ID, b.CLIENTID, b.Nickname, u.URL
         FROM SAPDEMO.BM_TreeAssoc as t
              JOIN SAPDEMO.BM_BOOKMARK as B ON t.BookmarkID = b.MY_ID
              JOIN SAPDEMO.BM_URL as U ON b.URL = u.MY_ID
    Create the entity and then do a:
    select * from VTREE where clientid=1 and treeid=446
    Works great, simple, fast.

  • How can I create a hashmap() with multiple values for the same key?

    I am trying to write an application that will us something like a Map() with multiple values but some have the same key. Is this possible?

    i had the same question. just create a List, add all the values u want to it, and then put the List into the map like u would a normal single value. e.g.
    List list = new ArrayList();
    list.add(value1);
    list.add(value2);
    map.put(key, list);
    i bet u r doing the same course as i am =)

  • To display the typ, key field,info in the top-of -page event in OO ALV

    Hi all,
    I need to display the heading and the other select option details in the top-of-page  event in ooalv.How can the key ,typ and the info of top of event  in alv grid be passed in ooalv grid display.
    Regards,
    Arpita

    Check the blog.
    TOP_OF_PAGE in ALV  Using CL_GUI_ALV_GRID
    Now you have to use the method ADD_TEXT to populate the Select options details.
    I hope you know the Function to get the selection details
    RS_REFRESH_FROM_SELECTOPTIONS,. it will give into a table. so use that table and populate the TOP_OF_PAGE uisng the class CL_DD_DOCUMENT.

  • Passing non-key field values to a form from a tree link

    I'd like to be able to link to a record form from a tree, and to pre-populate certain fields in the form from values available in the tree, even if there isn't a record matching the primary key value on the tree.
    I hope that makes sense.
    Let me fill in some more detail. I have dummy nodes in the tree, which don't correspond to data items, but to types of data items ( underneath which I have the real items ). I've made the dummy nodes a link to the form in the same way as the real items, so that when you click on the dummynode, you go to the form ( which is blank) and can create a new record. I'd like to populate the form with as much information as possible when this happens. I've tried adding the fieldname/formvalue to the link string but with no effect.
    Thanks, Mark.
    If the forum allowed screenshots to be posted I could show you what I'm trying to achieve.

    If your form items are of source database column, than it will not work. However, you may create a custom form and have no source for the items. For that, you will need to create a custom procedure to fetch, update and delete the records.
    If I understood your question properly...
    Denes Kubicek

  • From where the VBRK-STCEG field value in the invoice header gets filled.

    Hi Friends,
    I have a scenario in my client system. I have one sales organisation in Spain which sends a order to France based sales organisation. In the France based sales organisation the sales order will be created with sold to partner as the Spain sales organisation, and the delivery can happen either to same partner or sometimes to another ship to partner who is based in Spain.
    Now, my issue is whenever the France organisation creates invoice against Spain organisation for the sales order delivered, the VAT number of the customer in the VBRK-STCEG field is populated from Ship to partner's master data. The same value will be fetched into the table VEIAV-KUNDEUINR.
    In my case, I want the bill to partners VAT number to be populated in VBRK-STCEG field. How can it be done and where I need to maintain the config for this?
    Thanks
    Chandramouli

    Hello Chandramouli,
    Please find below some SAP Documentation for VAT set up in the IMG Config:
    Maintain Sales Tax Identification Number Determination
    In this IMG activity, you maintain how VAT registration numbers are determined in the sales order and billing document.
    Tax classification is included in this activity.
    Options available to assign to the Sales organization are:
    blank - according to priority rule
    A - generally from sold-to party
    B - generally from payer
    C - according to priority rule, destination country from ship-to party
    If you leave the field blank, the standard priority rule works as follows:
    1. If the payer has a VAT ID number and RG <> AG, then the tax number and tax classification are copied from the payer (in this case, the ship-to party is not relevant).
    The tax number is taken according to the 'tax country of destination'.
    2. If 1. does not apply:
    If the ship-to party has a VAT registration number and the sold-to party does not, tax number and tax classification are copied from the ship-to party.
    3. If 2. does not apply:
    Tax number and tax classification are copied from the sold-to party.
    If you enter A, tax number and tax classification are generally copied from the sold-to party.
    The tax number is copied according to the 'country of destination relevant for taxes'.
    If you enter B, tax number and tax classification are generally copied from the payer.
    The tax number is copied according to the 'country of destination relevant for taxes'.
    I hope this information is useful to you in your work.
    Best Regards
    Sitaraman

  • How can we hide the key fields of ztables in sm30 display?

    experts.. pls help me....

    Hi,
    Use events in table maintenance generator '05' and write the code.
    Go to se11-table name-utilities-table maintenance generator-extras-events in table maintenance generator . In the source code
    Put form hide.
    <code>.
    endform.
    Or.
    In SE80
    Goto Function Group
    Then click on Screen
    Then click on Element List Tab
    Below u can see list of ur fields strting with ZTT-......
    And against that u can have to uncheck the checkbox in INPUT column ......
    So that the input for the field will be disabled..... when u go in edit mode......
    Regards,
    Jagadish

  • How can i make text in a field stay within the field wrap

    I need text to wrap in the text field box, please tell me how?

    Assuming this is a web form...
    You do that by adding a field that is "Text Field (Multiline)" and sizing it appropriately. It's possible to set both a minimum and a maximum limit the number of characters in a field. If your field is sized too small, text will still be able to be entered, and will export just fine, but just might not display fully when viewing on the web or when printing the web page.
    Hope that helps,
    Brian

  • How can I get scripting access to color values in the indexed Color Table?

    Hey all,
    I'm relatively new to Photoshop scripting, but I've just finished a script that helps my fiance with some very tedious tasks related to textile design.
    The last issue that I'm having is that the image I start with is indexed and has a very specific Color Table pallete ( 2-12 colors max + black and white, so 14 max total, sometimes as few as 2 ). Part of my script, I create a number of color chips and fill them with black currently... What I'd like is to be able to get a count of the colors in the Color Table and put the actual color values as hex into an 1 dimension array, so that I fill those black chips I've made with the actual colors from the Color Table.
    ( I don't know if it makes a difference but I'm converting the image to RGB mode at some point in the script, and back to Indexed Exact ).
    Can anyone please help me do this? Needs to be compatible with CS5 and CS6 ideally.
    Thanks!!

    Cheers for that, your code works but what had thrown me was that the collections appear to be empty - so I hadn't actually tried retrieving one, I just assumed I was looking in the wrong place.
    So if I do this in my Immediate window:
     App.Current.Resources.Count
     0
    Yet when I request it, I get one:
     App.Current.Resources["TitleTextStyle"]
     {Windows.UI.Xaml.Style}
         base {Windows.UI.Xaml.DependencyObject}: {Windows.UI.Xaml.Style}
         BasedOn: {Windows.UI.Xaml.Style}
         IsSealed: false
         Setters: {Windows.UI.Xaml.SetterBaseCollection}
         TargetType: {Name = "TextBlock" FullName = "Windows.UI.Xaml.Controls.TextBlock"}
    Looking at the resources object itself, I get similar apparently empty collections:
     App.Current.Resources
     {Windows.UI.Xaml.ResourceDictionary}
         base {Windows.UI.Xaml.DependencyObject}: {Windows.UI.Xaml.ResourceDictionary}
         Count: 0
         IsReadOnly: false
         Keys: Count = 0
         MergedDictionaries: {Windows.UI.Xaml.DependencyObject}
         Source: null
         ThemeDictionaries: {Windows.UI.Xaml.ResourceDictionary}
         Values: Count = 0

  • How can we protect the  ztable non key fields data in sm30 display.

    Hi experts,
         I have created tablemaintenence generator for one z table, in sm30 user has access to enter the data.
    in that maintenence i have to protect the non key field values data  like once the user saves his data.than in the edit mode it has to show the nonkey fields data  but  dont access to edit some nonkey fields... please help

    Hi
    U need to change the screen flow generated by maintenance view generator: here go to Enviroments->Modifications->Screen; doubleclick on your screen and the system take you to screen painter.
    Here go to screen flow and in PBO add new module in order to protect the field for the old records: u can use the statament LOOP AT SCREEN./ENDLOOP to do it.
    LOOP AT SCREEN.
       IF .....
         SCREEN-INPUT = 0.
         MODIFY SCREEN.
       ENDIF.
    ENDLOOP.
    Max

  • How can I hide a field a table from SE16

    Hi all,
    I have an urgent requirement, can anyone help me? How can I hide or mask any field of a table from SE16. Also how can I restrict the user not to put a restriction on a particular field of a table so that this field should not be accessed for SQVI/SQ01.
    Awaiting for reply.
    Useful answers will be rewarded immediately with full points.
    Tnx.

    You could hide the column, by using the standard functinoality of the ALV output, you would need to hide the column, and save a default layout.  This way the next time you come into this display, the column will not be there.
    Regards,
    Rich Heilman

  • Non key field in Maintainance View

    Hi,
    I have generated a maintainance view for a Z table. I want to sort data from SM30 by means of a selection screen, for that, in the 'View Flds' tab in the maintainance view, i have entered a 'S' for which ever fields i want to filter the data on.
    When i execute the table maintainance, i am able to see only the key fields and not the non-key ones in the selection popup, though i have put a 'S' for both, the key and non-key fields.
    Can anyone please let me know how to get the non-key fields on the selection popup when i execute the maintainance view?
    Cheers,
    Raghav.

    Not possible via this functionality. A workaround was suggested by Raymond in this thread:
    Transaction code for Table Maitainence for table
    Thomas

  • Validating non key fields in table maintenance generator

    Hi,
    I ma using events for table maintenance generator event 05 ,there i want to validate non key fields ......i am throwing error message ....all the non key fields are getting in display mode ...i need them to enable to enter values ....
    please suggest
    Thanks,
    Shailaja Ainala.

    Hi Shailaja,
    Its property of error message, which makes it as non-editable.
    You can display either status or info message after validation check.
    And finally before saving (before save event) display error message, so that it invalid entries doesnt get saved.
    Thanks,
    Nisha Vengal.

  • Content Conversion without key field value

    Hi all,
    I want to do a content conversion which includes a record structure Header,1,Detail,*
    I dont have any key field value in the header nor in the detail. Can this be achived using FCC or should i go for Java.
    Rgds
    Aditya

    Hi Aditya,
    I think if u having multiple records then one shud hav key fields,
    pls check 4th point in this guide
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/troubleshooting%2bthe%2bfile%2badapter
    Also check this discussion::File Content Conversion(SenderFileadapter) fields parameters
    Thanks,

  • How can I hide or make visible the fields at the order and at the delivery?

    How can I hide or make visible the fields at the order and at the delivery?
    Thanks in advance.

    Hi,
    For sales order, use user exit :
    MV45AFZZ and FORM userexit_field_modification.
    For deliveries, use BADI :
    LE_SHP_DELIVERY_PROC (see with Tcode SE18) and method CHANGE_FIELD_ATTRIBUTES.
    Create implementation in ref to this badi with Tcode SE19.
    Regards,
    Lionel

Maybe you are looking for

  • Costing in case of ETO Scenario

    Hi Experts, We have ETO scenario. There is sales order with reference to project  and absed on that production for In House Produced materials ( FG, HALB) and procurement for  some HALB, Raw Material will happen.PS<  moduel alongwith SD and PP are in

  • Binary to XML format

    Hi all, To post a document to bank i have used digital signature using SSF functions. It is working fine. And my recipient received the data with digital signature. Now I have a problem, when i use SSF function my input data is converted into binary

  • LMS 3.0.1/ UT : AP1200 not discover on UT

    Hi, We don't see AP1200 on UT. We don't see the vlan where all AP1200 belong. sh ver:  Cisco IOS Software, C1200 Software (C1200-K9W7-M), Version 12.3(7)JA2, RELEASE SOFTWARE (fc1) System image file is "flash:/c1200-k9w7-mx.123-7.JA2/c1200-k9w7-mx.12

  • Adding few settings for OS deployment as part of image deployment

    Hi Team, We have windows 8.1 U image created and deploying that image to computers using config manager 2012 R2 (MDT integrated) We have few other stuff added to image when it is deployed on the machine as side load\part of customsettinsg.ini or unat

  • Highliting more than one word using JTextArea

    I want to highlight more than one word using JTextArea. For example. My car color is red. My friend's car color is black. I want to highlight "red" in first sentence and friend in second sentence using JTextArea (both the sentences are in JTextArea).