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

Similar Messages

  • How can I view the USMT recovery key in SQL report

    Hello all,
    Can anyone help me to provide sql query for below link… What I am looking is Just to create a report with all computers that has computer association any type with the recovery key information.
    http://www.windows-noob.com/forums/index.php?/topic/1763-how-can-i-view-the-usmt-recovery-key/
    I have tried below but not working so looking for help…..
    SELECT     TOP (100) PERCENT dbo.v_StateMigration.SourceName, dbo.v_StateMigration.SiteCode, dbo.v_StateMigration.SMPServerName, 
                          dbo.v_StateMigration.SourceMACAddresses, dbo.v_StateMigration.RestoreMACAddresses, dbo.StateMigration.StateEncryptDecryptKey, 
                          dbo.StateMigration.StorePath, dbo.StateMigration.StoreSize
    FROM         dbo.StateMigration INNER JOIN
                          dbo.v_StateMigration ON dbo.StateMigration.SMPServerName = dbo.v_StateMigration.SMPServerName CROSS JOIN
                          dbo.v_UserStateMigration
    WHERE     (dbo.StateMigration.StorePath IS NOT NULL) AND (dbo.StateMigration.StoreSize IS NOT NULL)
    ORDER BY dbo.v_StateMigration.SourceName

    Try this.
    SELECT Distinct
    SM.SourceName,
    SM.SiteCode,
    SM.SMPServerName,
    SM.SourceMACAddresses,
    SM.RestoreMACAddresses,
    SMT.StateEncryptDecryptKey,
    SM.StorePath,
    SM.StoreSize
    FROM
    dbo.v_StateMigration SM
    JOIN dbo.v_UserStateMigration UM on SM.RestoreClientResourceID= UM.RestoreClientResourceID
    join dbo.StateMigration SMT on SM.SMPServerName = SMT.SMPServerName
    WHERE
    (SM.StorePath IS NOT NULL)
    AND (SM.StoreSize IS NOT NULL)
    ORDER BY
    SM.SourceName
    http://www.enhansoft.com/

  • How can i  change the column label text in a alv table display

    how can i change the column label text in a alv table display??
    A similar kinda of question was posted previuosly where the requirement was the label text was needed and following below code was given as solution :
    <i>*  declare column, settings, header object
    DATA: lr_column TYPE REF TO cl_salv_wd_column.
    DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    DATA: lr_column_header type ref to CL_SALV_WD_COLUMN_HEADER.
    get column by specifying column name.
    lr_column = lr_column_settings->get_column( 'COLUMN_NAME1' ).
    set Header Text as null
    lr_column_header = lr_column->get_header( ).
    lr_column_header->set_text( ' ' ).</i>
    My specific requirement is i have an input field on the screen and i want reflect that value as the column label for one of the column in the alv table. I have used he above code with slight modification in the MODIFYVIEW method of the view since it is a process after input. The component gets activated without any errors but while run time i get an error stating
    <i>"The following error text was processed in the system CDV : Access via 'NULL' object reference not possible."</i>
    i have checked in debugging and the error occured at the statement :
    <i>lr_column = lr_column_settings->get_column( 'CURRENT_YEAR' ).</i>Please can you provide me an alternative for my requirement or correct me if i have done it wrong.
    Thanks,
    Suri

    I found it myself how to do it. The error says that it is not able to find the reference object i.e  it is asking us to refer to the table. The following piece of code will solve this problem. Have to implement this in WDDOMODIFYVIEW method of the view. This thing works comrades enjoy...
      DATA : lr_cmp_usage TYPE REF TO if_wd_component_usage,
             lr_if_controller  TYPE REF TO iwci_salv_wd_table,
             lr_cmdl   TYPE REF TO cl_salv_wd_config_table,
             lr_col    TYPE REF TO cl_salv_wd_column.
      DATA : node_year  TYPE REF TO if_wd_context_node,
             elem_year  TYPE REF TO if_wd_context_element,
             stru_year  TYPE if_alv_layout=>element_importing,
             item_year  LIKE stru_year-i_current_year,
             lf_string    TYPE char(x),
      DATA: lr_column TYPE REF TO cl_salv_wd_column.
      DATA: lr_column_header TYPE REF TO cl_salv_wd_column_header.
      DATA: lr_column_settings TYPE REF TO if_salv_wd_column_settings.
    Get the entered value from the input field of the screen
    node_year  = wd_context->get_child_node( name = 'IMPORTING_NODE' ).
    elem_year  = node_year->get_element( ).
      elem_year->get_attribute(
       EXPORTING
        name = 'IMPORT_NODE-PARAMETER'
       IMPORTING
        value = L_IMPORT_PARAM ).
      WRITE L_IMPORT_PARAM TO lf_string.
    Get the reference of the table
      lr_cmp_usage  =  wd_this->wd_cpuse_alv( ).
      IF lr_cmp_usage->has_active_component( ) IS INITIAL.
        lr_cmp_usage->create_component( ).
      ENDIF.
      lr_if_controller  = wd_this->wd_cpifc_alv( ).
      lr_column_settings = lr_if_controller->get_model( ).
    get column by specifying column name.
      IF lr_column_settings IS BOUND.
        lr_column = lr_column_settings->get_column( 'COLUMN_NAME').
    set Header Text as null
        lr_column_header = lr_column->get_header( ).
        lr_column_header->set_text( lf_string ).
    endif.

  • Exporting photos for UHDTV or Native 4K TV, what are the best settings ? (File: Quality File: Color Space, Image Sizing and resolution)   Or in other words; How can I get the smallest files but keep good quality for display on new UHDTV

    Exporting photos for UHDTV or Native 4K TV, what are the best settings ? (File: Quality File: Color Space, Image Sizing and resolution)   Or in other words; How can I get the smallest files but keep good quality for display on new UHDTV

    You're welcome, and thank you for the reply.
    2) Yesterday I made the subclips with the In-Out Points and Command-U, the benefit is that I've seen the clip before naming it. Now I'm using markers, it's benefit is that I can write comment and (the later) clip name at once, the drawback is that I have to view to the next shot's beginning before knowing what the shot contains.
    But now I found out that I can reconnect my clips independently to the format I converted the master clip to. I reconnected the media to the original AVI file and it worked, too! The more I work with, the more I'm sold on it... - although it doesn't seem to be able to read and use the date information within the DV AVI.
    1) Ok, I tried something similar within FCE. Just worked, but the file size still remains. Which codec settings should I use? Is the export to DV in MOV with a quality of 75% acceptable for both file size and quality? Or would be encoding as H.264 with best quality an option for archiving, knowing that I have to convert it back to DV if I (maybe) wan't to use it for editing later? Or anything else?
    Thank's in advance again,
    André

  • How can I get the previous record's field value in a VO

    Hi I would like to know how can I get the previous record's field value in a VO
    For example : I have a VO porequisitionlinesvoimpl, and it contains 5 records (porequisitionlinesvoimpl.getRowCount() = 5). How can I search all records in the VO and get the field (attribute3) for all records?
    Many thanks anyone can help
    Lawrence

    Hi ,
    U can loop through the VO to get the value of attribute3,
    need to extend the controller ,use below code
    OAViewObject vo = (OAViewObject)oawebbean.getApplicationModule (VO1);
    OARow row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator Iter = vo.createRowSetIterator("Iter");
    if (fetchedRowCount > 0)
    Iter .setRangeStart(0);
    Iter .setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    row = (OARow)Iter .getRowAtRangeIndex(i);
    String value = (String)row.getAttribute("Atrribute3");
    Thanks
    Pratap

  • How can I adjust the brightness of my old Apple 24" LED Display?

    How can I adjust the brightness of my old Apple 24" LED Display?

    Jacob,
    Thank you for the quick response. I opened both the TIFF and the EPS in Illustrator. I used the Eyedropper tool to get the CMYK values of the color of the text part in the TIFF, then I went back to the EPS and selected the text and input the CMYK values in the color tab. I know it's not precise, but it's close enough. Could I have done this better?
    Yes, I have access to Photoshop but I haven't tried using it with vector files. I am really new to graphic design and I need all the help I can get. Thank you!

  • How can i update the ADRT table REMARK field

    How can i update the ADRT table REMARK field
    by using only function modules or BAPI's not by direct update's
    please help me
    i need it urgently

    Hi,
    you can try this code:
        SELECT SINGLE * FROM KNA1 WHERE KUNNR = wa_kunnr.
        IF sy-subrc = 0.
          CLEAR adrct.
          SELECT SINGLE * FROM adrct WHERE addrnumber = kna1-adrnr.
          IF sy-subrc = 0.
            adrct-remark = wa_remark.
            MODIFY adrct.
          ENDIF.
        ENDIF
    best regards,
    Thangesh

  • How can i get the external Sql result return data to abap?

    Dear All
             I have a problem to how to get the select  result data return abap.
    I used abap to run external SQL server. below is my code:
    ***in above ,abap has already connected external SQL.
    Sql = u2018select * from user01u2019
          CALL METHOD OF rec 'Open'
            EXPORTING #1 = sql
            #2 = con
            #3 = '1'.
          IF NOT sy-subrc = 0.
            MESSAGE e000 WITH 'run external sql error!'.
          ENDIF.
    ***now ,below code how can I get the select result to abap code?
    I know I can use native_sql  such as u2018OPEN CUR1 FOR SELECT * FROM user01 AND FETCH NEXT CUR1 INTO :WAu2019.
        Thanks for all
    Sun

    Thanks.
    it is okay now by myself.
    con_str = 'Provider=SQLOLEDB.1;Password=pwd;Persist Security Info=True;User ID=name;Initial Catalog=VTL_DEMO;Data Source=192.168.21.50'.
      CREATE OBJECT o_conn 'ADODB.Connection'.
      CREATE OBJECT o_rec 'ADODB.Recordset'.
      SET PROPERTY OF o_conn 'Provider' = provider.
      SET PROPERTY OF o_conn 'ConnectionString' = con_str.
      CALL METHOD OF o_conn 'Open'.
      sql_str = 'select *  from userh'.
      CALL METHOD OF o_conn 'Execute' = o_recordset
        EXPORTING
        #1 = sql_str.
       #2 = o_conn.
      GET PROPERTY OF o_recordset 'EOF' = rs_eof.
      REFRESH itab.
      WHILE rs_eof NE 1.
        CALL METHOD OF o_recordset 'fields' = o_field
          EXPORTING
          #1 = 0.
        GET PROPERTY OF o_field 'Value' = itab-name.
        CALL METHOD OF o_recordset 'fields' = o_field
          EXPORTING
          #1 = 1.
        GET PROPERTY OF o_field 'Value' =  itab-cid.
        APPEND itab.
        CALL METHOD OF o_recordset 'MoveNext'.
        GET PROPERTY OF o_recordset 'EOF' = rs_eof.
      ENDWHILE.

  • How can we collect the contract manufacturers (OEM) POS data in SAP

    We are looking for best practices using SAP to collect, store and analyse  point of sale information in the following scenarions.
    Any ideas.
    1.  Our company ---> Sells to Distributors ---> Who in turn sells it to contract manufacturers or OEMs --> Who then sell it to end customer/trade customers
    How can we get the POS data from trade customers who buy from the contract manufacturers. What is the best practice here for electronics industry?
    Thanks Muthu.

    I am not sure about your requirement, but yet.. Did you check UserSessionData object? It encompasses all the session variables.

  • How can i change the source code of current date in oracle reports

    Hi All,
    How can i change the source of the current date to the sysdate of the database in oracle reports. I have more than 300 reports. is there any way to change quickly with opening each reports. I am working on reports11g on windows enviornment.
    Thanks in advance.

    benz wrote:
    Hi All,
    How can i change the source of the current date to the sysdate of the database in oracle reports. I have more than 300 reports. is there any way to change quickly with opening each reports. I am working on reports11g on windows enviornment.
    Thanks in advance.You have to use Reports Trigger named BEFORE PARAMETER FORM and write the following sql
    select sysdate into :Parameter_name from dual;
    give your format mask at Parameter_name.
    Hope this will help you
    If someone's response is helpful or correct, please mark it accordingly.

  • To pass non key field data to workflow

    Hello,
    I want to pass data from webdynpro application to workflow. For this i used FM 'SWE_CREATE_EVENT' to trigger the workflow.
    I filled the container table with following values
    wa_cont-element = 'NAME2'
    wa_cont-value = 'James Anderson'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'STRAS'
    wa_cont-value = 'Hampshire'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'PSTLZ'
    wa_cont-value = '104010'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'ORT01'
    wa_cont-value = 'London'.
    APPEND wa_cont to it_cont.
    wa_cont-element = 'LAND1'
    wa_cont-value = 'United Kingdom'.
    APPEND wa_cont to it_cont.
    Also i created a custom business object 'ZHRADCHO'. In which i decleared
    KEY FIELDS as ->
    PERNR
    SUBTY
    ENDDA
    BEGDA
    METHODS ->
    send_data_to_wf
    I created Import/Export parameters for this method ->
    NAME2 (Import and Export parameter)
    STRAS (Import and Export parameter)
    PSTLZ (Import and Export parameter)
    ORT01 (Import and Export parameter)
    LAND1 (Import and Export parameter)
    EVENTS ->
    CHANGE
    In SWDD transaction -> basic data -> binding
    I did the following binding
    &_EVT_CREATOR&                             =>     &_WF_INITIATOR&
    &_EVT_OBJECT.PERSONNELNUMBER&        =>     &WA_ZHRAD.PERNR&
    &_EVT_OBJECT.SUBTYPE&        =>               &WA_ZHRAD.SUBTY&
    &_EVT_OBJECT.ENDDATE&        =>     &WA_ZHRAD.ENDDA&
    &_EVT_OBJECT.STARTDATE&        =>     &WA_ZHRAD.BEGDA&
    WA_ZHRAD is structure type of custom table ZHRAD in which i want the data. So in the workflow container i created the element of type ZHRAD. How do i get the rest of the fields which i declared in the method. I am able to get the data in the key fields which are binded as above. But if i bind the rest of the fields i get an error. How do i get the data in non-key field elements?
    Regards,
    Yayati Ekbote

    Hello Rick,
    I am passing the other values through container only. But my question is, in workflow side, in which parameters will i recieve the values?
    In the method of the BO i wrote in the automatically generated program.
    swc_get_element container  'C/o ' CO.
    swc_set_element container  'C/o ' CO.
    swc_get_element container  'StreetHouseNo '  STREETHOUSENO.
    swc_set_element container  'StreetHouseNo ' STREETHOUSENO.
    Like wise for all non-key parameters.
    So in SWDD transaction, which parameters should i bind to get the values in the fields of workflow container?
    Regards,
    Yayati Ekbote

  • How can I use the MS Windows Key in Linux

    Hello!
    I'm using KDE 4.3 and want to use the MS Windows Key to open the KDE start menu.
    I tried to add the Windows Key by pressing as a "KDE Application Launcher" hotkey, but the window key wasn't accepted as a hotkey.
    Is it possible to add this key as a hotkey?
    Thanks for help!
    Best regards,
    Flasher

    I have the following line in my .xinitrc:
    /usr/bin/xmodmap -e "keycode 133 = F30" &
    ...where keycode 133 is my win key. I assign it to F30 (it can be any number besides 1-12, I guess), and then it's just a matter of configuring escape key (in your case, it'll be kde start menu) to F30.

  • How can I protect the book in my Ibooks from being deleted?

    I allow my special needs child to use the Ipad for specific apps that promote learning, however, I am afraid he may delete the books I have purchased with my Ibook app. Is there a way to protect the content in my Ibook app from being deleted?

    Another thought: iCloud stores your previous iBook purchases as described here:
    http://support.apple.com/kb/PH2587
    So even if your iBooks happen to be deleted, there's no great harm done as you can always redownload them.

  • How can I disable the Caps Lock key

    I find it is too easy to accidentally activate Caps Lock. Is there a way to disable this key? I am using an Apple wireless keyboard and an iMac running Snow Leopard 10.6.6

    Hi Jim
    System Preferences - Keyboard - Keyboard (not the shortcuts) - Modifier Keys...
    set caps lock to 'no action' - you can do that for each keyboard listed in the drop-down above.

  • How can i change the colour of key words in long text fast ?

    Hi,
    I have long text (for example script) which should be displayed in TextArea (or something similar) with colored keywords.
    I tried with TextRange
    new TextRange (myTextArea, true, start_Index, stop_index)
    and with
    RichEditableText 
    var highlightFormat:TextLayoutFormat = new TextLayoutFormat();
    highlightFormat.color = 0xFF0000;
    for each (var currentKeyword:String in keyWords) {
    myRichEditableText.setFormatOfRange(highlightFormat, indexOfKeyword, indexOfKeyword + currentKeyword.length);
    Either ways are too slow, 30 sec....
    The indexes of words which should be colored are computed below a second but creating an object for every keyword is too expensive .
    Any Idea what should i do ?

    There are a couple of things you can do. Check out the PS Touch tutorial, "Replace colors," as one example.
    You can optionally use the other selection tools in lieu of the Magic Wand selection tool.
    Also, you can use the Paint Tool's effects options in conjunction with any of the selection tools. Many common effects and adjustments (like "Color Balance" in the PS Touch tutorial) are available by tapping the Mode option and choosing, "Effect," rather than, "Paint."

Maybe you are looking for

  • XI Error in Integration Directory adapter list is not display.

    Hi All, We are getting following error message while creating communication channels in Integration directory. More over we have attached error log file with this message. ERROR :- u2022     Connection to system REPOSITORY using application REPOSITOR

  • Current date in JSP in specific format....

    I want to view the current date on a JSP in the format YYYY-MM-DD I know how to get the current date <%= new Date()%> But how can I get the current date in the format specified above. Any help please??

  • Get a few of rows.

    Hi friends. I don't know how I can do this. I want to get the 10 first rows of a table, in the next call i want to get then next 10 rows ( 11 to 21 row ), .... Can you help me? Thank you.

  • Mapping styles issue

    Hi All My name is Caryn Drovie.  I am a technical writer and i have used Robohelp HTML in the past but new to 9.0 I am having some issues I cannot resolve that I will try to explain but I  think if someone can use a program like "Show my PC" and look

  • How to create scales for conditions for rebate agreements?

    Does anybody know any function modules or bapis to create scales for rebate agreement conditions.I want to create entries in konm table where scales for conditions get stored.Also pls tell me how to link contributory volume by programaticaly? Thanks