Issue in field edited by user

Hi All,
I have a z-tcode to display order-no, line item and priority (priority field can be edited by user). this transaction was associated with single order no only. I made some changes to make the program get associated with multiple order nos. 
the program is accepting multiple order nos., but the issue is - when the priority field is updated for particular line item for a particular order no, all the priorities associated with the line items is getting updated irrespective of the order no.
pls help...
Thanks & Regards,
SriLalitha.

Hi,
Why do you think the issue is from BDC? Did you post it manually in FB01 and see how it is behaving? Process the BDC session in foreground and see what values are being populated. It can be issue with customization also.
Thanks,
Vinod.

Similar Messages

  • Field editable in FB02 only by one user. BSEG-ZFBDT

    Hi:
    I have a question about editing a field and I hope you can help me. I need to make a field editable in FB02, but only for one document type and two users. The field is BSEG-ZFBDT, Baseline payment date.
    I have tried in ‘Document Change Rules’, make this field not editable. And I have tried to create a substitution ( Tx OBBH) and a validation (Tx. OB28)  in order to modify screen-input using the next code.
      LOOP AT SCREEN.
        IF screen-name = 'BSEG-ZFBDT'.
            screen-input = 1.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    Validation is active, but it does not work.
    Please, any idea?
    Thanks in advance for your time.
    Best regards.

    Hi MSL,
    Try using the Transaction Variant in SHD0 for your transaction.
    Use below links for your reference.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a070bfbb-d34a-2d10-b092-ecbe0b0d4a4c?QuickLink=index&…
    Transaction Variant - A Step by Step Guide for Creation - Code Gallery - SCN Wiki
    You can authorize for single users as per your requirement.
    Regards,
    AyyamPerumal

  • Field editable in FB02 for only one document type and user

    Hi:
    I have a question about editing a field and I hope you can help me. I need to make a field editable in FB02, but only for one document type and two users. The field is BSEG-ZFBDT, Baseline payment dte.
    I have tried in ‘Document Change Rules’, make this field editable when line item not cleared, but it works for all document types and users.
    Please, any idea?
    Thanks in advance for your time.
    Best regards.

    Hi,
    You have to write a ABAP code to achieve this.
    Validation is another Option where you can mention that value is allowed in the Baseline Date field only if the User and Document type value satisfies.
    BR
    Amitash

  • Disabling a field when editing a user

    Hi,
    I have a form in which I want to disbale a field if I am in editing mode. But I want it enabled when I create a user. Anyone know how to achieve this?
    thanks

    I think that when the user has not been created yet in IDM, the waveset.id does not exist. so you are in creation mode.
    but when you're editing a user, the user exists in IDM and thus has a wavest.id.
    really basic but works fine !

  • Can I set up a form so that there is text in the fields when the user opens the file?

    My client is interested in supplying schedules of activities in a PDF, and would like it so that a person can use what's in the document, or replace their own information in place of what's supplied.
    I've set up forms for filling in blanks, but I've not seen if some text can be left in the fields to start with. For example, leaving a "your name" text line in a field where the user clicks on that phrase and it disappears (like you see in a number of forms on web pages).
    Is this possible with Acrobat? If not, we'll probably have to go to a Word based solution, but I'd get better design if I do it in InDesign and add this functionality to a PDF.

    George,
    Thanks for keeping track of the discussion. I appreciate that you've taken the time to help me. My clients love the fact they can create these curriculum schedules with editable blocks that will allow the original info to return if the block is emptied. Now they'd like book titles italicized.
    I downloaded the Javascript reference PDF and found the "richValue" information, but I'm not grasping the concept of how to add it to my page. I'm not Javascript-literate, so I'm more inclined to add HTML tags or something like
    and to make something italic.
    Here is the example they gave:
    Example
    Turn all bold text into red underlined text.
    // Custom format event for a rich text field.
    var spans = event.richValue;
    for ( var i = 0; i < spans.length; i++ )
    if( spans[i].fontWeight >= 700 )
    spans[i].textColor = color.red;
    spans[i].fontWeight = 400; // change to default weight
    spans[i].underline = true;
    event.richValue = spans;
    I think I understand the 400 and 700 numbers as font weights, and that "underline" could be replaced with "italic". So I'm trying to figure out what I would need to write in order to make specific words italic in a block of text in the example you provided:
    // If field is blank, display this text
    if (!event.value) event.value = "Your name here";
    Can a span be ID'd by placing a sort of tag around the words? Like... (pardon my fake Javascript)
    // If field is blank, display this text
    if (words.are) 'i' then italics = true
    if (!event.richValue) event.richValue = "Your 'i'name'i' here";
    (You're probably laughing at my attempt here, but I hope my point is made :-) ).
    David

  • After Showing ERROR message make the field editable in subscreen.

    Hello Experts,
    I have a requirment where i have added a subscreen to the standard screen of ME31K for creating the contract. In my Subcreen i have my custom screen fields that i'm updating in EKKO table through include structure.
    Now if user forget to fill the details in my custom fields in the subscreen then i'm giving the error message prompting the user to fill the value in fields.
    But the problem is the screen is locked there itself i want to make the field editable so that user can enter some value in the fields. I can not use the stuatus or information message here because doing this i will get the item overview screen which should not come as i want to restrict the user to header details only and fill all the custom fields.
    Please provide me with your helpful responses.
    Thnaks,
    Naveen

    Hi Naveen,
    Sorry for the delay.
    The code which I gave for popup, i hope its being shown in an IF . . . ENDIF.
    So in that condition u can add the following :
    IF < ur condition >
       < Call message FMs >
        SET SCREEN SY-DYNNR.   "this would set screen to current screen which is 0201
        EXIT.
    ENDIF.
    Other than this if you like you can set some parameters in the PAI of this screen which redirect to current screen based on some conditions.
    So u can manually set OK-CODE and CALFCODE as SPACE, but i dont know how much this can impact the process.
    So please follow the above code.
    This is available in
    Main Program     SAPMM06E
    Source code of   MM06EF0F_FCODE_CALL
    IF OK-CODE EQ SPACE AND
       CALFCODE EQ SPACE.
      SET SCREEN SY-DYNNR.
      EXIT.
    ENDIF.
    Hope this helps.
    Regards,
    Ateet

  • Make "Company" Field editable

    Hello Experts,
    We are using E-Sourcing 5.1 with most of the out-of-the-box functionality. When creating an Auction, header section contains field "Company". This field appears as read only, and populates automatically based on the company defined in the user profile.
    I tried making this field editable by means of page customizing (UI ID: doc.auction.multi.universal.auctionevent.ui.buyside.default), but even when I declare field COMPANY as Editable = YES, the change is not reflected in the UI.
    Any ideas on how to make this field editable so end-users can select another company code besides the one specified in their profile? Your help is appreciated. Thanks!

    Hi Gilberto
    Unfortunately it is not possible to make the company field editable. Workaround could be to hide the standard COMPANY field in page customization and create a new extension definition lets say "Company" with data type: Object Refrence and choose 'Company' as the object reference type.
    Hope this would meet your requirement.
    Regards
    Mudit Saini

  • Want to add a prepopulated User defined field in create user form

    Hi,
    I have an entity adapter which will perform a pre-insert check on the user group of the user logged in to the oim.
    If the logged in user belongs to a group say "IT ADMIN", another validation check will be imposed on the create user action performed by him.
    If not from "IT ADMIN" group then create user action will be handled normally.
    Now the catch is, how would I determine the group name of the user logged in from the adapter code I have written?
    I decided to keep an User defined field "Created by" in the create user form which will be non-editable and auto-prepopulated with the group name of the logged in user. This way I will be able to map the variable field from the User definition drop down list while mapping the adapter variables.
    May you please guide me how I can achieve this?
    Would highly appreciate suggestion/inputs.

    Thanks for all your replies!
    However I am still in dark.
    I tried to retrieve the groupname using tcUSerOperationsIntf. But iit tries to retrieve the group name of the user getting created.
    Please note, the group name I want is not of the user yet to get created, but that of the user creating it i.e., the logged in user.
    My requirement is to have this created_by field in the create user form already prepopulated with the group name of the logged in user.
    So that I can put a check based on this field value in the netity adapter.
    If the group is IT ADMIN then proceed with the validation.
    Else no validation required.
    In short, I want to know,how can I auto-prepopulate a UDF in Create USer form?

  • Addition of fields in a user defined infotype

    hi everyone,
    well i had a doubt about adding new fields to a user defined infotype. the infotype was created long time back and is working fine in production. but now the user wants some more fields to be added into it. it already has data in it.. is it feasiable to add fields to it.? will it hamper the table? will there be any problem if i add the fields to a infotype which already has data?
    please give ur suggestion and procedure to solve this issue.
    se14 is the transaction to adjust tables. using this will affect the table?
    thanks alot

    Hi,
    you can add the fields. The system itself will take care of the readjusting the existing,But note that the maximum length of any infotype cann't exceed 1502 chars..

  • Making selective fields editable in adobe form [using web dynpro]

    Hi,
    I have displayed an adobe form using web dynpro application. But I have to make certain fields (not all fields) on this adobe form editable. I dont want to make this adobe form interactive because I dont have to save any data in database. The data entered in the editable fields will be saved as a pdf.
    What I did so far:
    1) The fields which I want as editable,  I have given there type as "User entered/ optional" & for rest of the fields I have given type as "Read only".
    2) In web dynpro, I have enabled the adobe
    3) This is not making the fields editable.
    4) If I write the following code in my webdynpro method WDDOMODIFYVIEW, then my data coming from adobe is not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    Any inputs regarding this??
    Thanks & Regards.

    Hi,
    Like I had mentioned using the following code in my webdynpro method WDDOMODIFYVIEW, my data coming from adobe form was not getting displayed even though the fields get selectively editable.
    *data: LR_INTERACTIVE_FORM type ref to CL_WD_INTERACTIVE_FORM,
    *LR_METHOD_HANDLER type ref to IF_WD_IACTIVE_FORM_METHOD_HNDL.
    *check first_time = abap_true.
    *LR_INTERACTIVE_FORM ?= VIEW->GET_ELEMENT('adobe').
    *LR_METHOD_HANDLER ?= LR_INTERACTIVE_FORM->_METHOD_HANDLER.
    *LR_METHOD_HANDLER->SET_LEGACY_EDITING_ENABLED( abap_true ).
    So I kept this code & I also kept the Interface type "ABAP Dictionary based".
    Additionally in Webdynpro, I used adobe form generated FM to get the adobe content & passed it to the "content" parameter of my adobe component in webdynpro.
    Thanks & Regards.

  • Designing a Field Editable Header for Merging with Exsisting PDF doc

    I'm trying to accomplish designing a Field Editable Header so I may merge (import) into an exsisting PDF file to create 1 file.
    I have already designed my header in Live Cyle with editable fields. The only issue is when I save it as a PDF file I can't merge this with an existing PDF file to make just 1 PDF document.
    I also tried importing the header as a stamp but the issue here is the fields no longer stay editable in my header.
    My Business:
    What im trying to accomplish is sending out Submittal Sheets (Information Documents) with a professional looking header. I want to make this a simple process were I can open up a PDF document and place in the header (has to be with editable fields) for several PDF documents.
    Attached is the header I designed and would like to merge with PDF documents to creat 1 file. Please Note; the header has to still stay editable.
    Thanks,
    Anyone that can help would be greatley appreciated, James Alto

    And That would require a PC, because LiveCycle Designer does not exist on a Mac and most likely never, ever will.
    Or would require The cost of Parallels about $80, Windows 7 upwards of $300 depending upon the version, and what ever Live Cycle designer Cost around $100.00
    Or buy a decent PC (not one of the 2-300 dollar jobs that all is good for is using IE) with windows 7 on it. Then get a Copy of Acrobat and Live cycle Designer.

  • Create a ALV report with fields editable and  entry to be saved in ztable

    Hello Experts,
    I have created the ALV report which has two of the fields editable. Now whenever user puts an entry in the ALV it has to be saved in the ZTABLE.
    The report is displayed with editable fields but i'm not sure what has to be written in the 'USER COMMAND' subroutine to save the entries in ztable.
    Please see my code belwo:-
      gd_repid = sy-repid.
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
                i_callback_user_command = 'ALV_USER_COMM'
               i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
               it_special_groups       = gd_tabgroup
               it_events               = gt_events
               is_print                = gd_prntparams
                 i_save                  = 'X'
               is_variant              = z_template
           TABLES
                t_outtab                = it_bg2
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    Thanks,
    Naveen
    Edited by: jaikrishna on Sep 4, 2010 8:13 AM

    Hi,
    I have worked on similar requirement. You can do that on sy-ucomm value only and you have to call a FM and a method. For that end user has to click on a button which you need to create in the application toolbar. Say that button function code is 'SAVE'. Write the following code in your user command :
    *&      Form  USER_COMMAND
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
            RS_SELFIELD TYPE SLIS_SELFIELD.
    *Code to reflect the changes done in the internal table
      DATA : REF_GRID TYPE REF TO CL_GUI_ALV_GRID.
      DATA: L_VALID TYPE C.
      IF REF_GRID IS INITIAL.
        CALL FUNCTION 'GET_GLOBALS_FROM_SLVC_FULLSCR'
          IMPORTING
            E_GRID = REF_GRID.
      ENDIF.
      IF NOT REF_GRID IS INITIAL.
        CALL METHOD REF_GRID->CHECK_CHANGED_DATA
          IMPORTING
            E_VALID = L_VALID.
      ENDIF.
      CASE SY-UCOMM.
        WHEN 'SAVE'.
    *Data will come with the edited values from ALV
    *Here you write your code to save entries into Z table
    ENDCASE.
    ENDFORM. "USER_COMMAND
    Thanks & Regards,
    Rock.

  • How to make a field editable again after displaying error msg (validation)

    Dear All,
    In dialog programming, I have written a validation on a text field that it should not be left blank by the user, but after displaying the message the field becomes gray (non-editable). How can I make it editable once again after displaying the error message.
    My code is as following:
    ***INCLUDE MZFBPS1_SAVE_DATAF01 .
    *&      Form  save_data
          text
    -->  p1        text
    <--  p2        text
    FORM save_data .
    ****************Check For Empty Fields Start
    if ZFBPS_GATE_IN-truck_code is INITIAL
    or ZFBPS_GATE_IN-truck_no is INITIAL
    or ZFBPS_GATE_IN-transporter_code is INITIAL.
    MESSAGE e020(zmatlist).
    endif.
    ****************Check For Empty Fields Start
    Regards,
    Alok.

    hi,
    u can do it in chanin end chain.
    For example if there are 10 fields in the screen and for 5 fields whenever the user enters wrong values u like to give some error message. You can declare that fields in the chain enchain so that only those fields will be input enabled and all other fields will disabled.
    CHAIN.
    FIELD chk_connobj.
    FIELD chk_inst.
    FIELD chk_devloc.
    FIELD ehaud-haus.
    FIELD eanl-anlage.
    MODULE modify_screenfields.
    ENDCHAIN.
    *& Module modify_screenfields INPUT
    * text
    MODULE modify_screenfields INPUT.
    CLEAR okcode.
    okcode = sy-ucomm.
    CASE okcode.
    WHEN 'ENTER' OR 'EXECUTE'.
    IF chk_connobj IS INITIAL AND chk_inst EQ c_x AND
    chk_devloc EQ c_x.      -----------> ur condition
    IF ehaud-haus IS INITIAL.
    SET CURSOR FIELD 'EHAUD-HAUS'.
    MESSAGE e000(zo_spa) WITH text-017. " message obj
    ELSE
    loop at screen.
    if screen-name = 'FIELD_NAME'.
    field-name-input = 1. -----------> chnges to non-edit mod
    modify screen.
    endloop.
    ENDIF.
    ENDIF.
    ENDMODULE.
    Rgds
    Anver
    if hlped pls mark points

  • How to disable Password field in Oracle User administration

    Hi ,
    How can I personalize the password field on the user - define form not updatable ? I have tried forms personalization on this field but it didnt work. Can anyone have an idea whether this field can be personalized at all
    Thank you in advance !

    See if this works out for you. I tested and it is ok
    Trigger Event - WHEN-NEW-ITEM-INSTANCE
    Trigger Object - USER.USER_PASSWORD
    Processing Mode - Both
    Action Type - Property
    Object Type - Item
    Target Object - USER.USER_PASSWORD
    Property Name - ENABLED (APPLICATIONS COVER)
    Value - FALSE
    Save and close/open both forms. In Enter or Query modes, when ever user navigate to Password field, it is disabled and not editable.
    Hope this works as you expected. Just play around :-)

  • ALV field editable

    Hi,
    Please help me,
    I need to make a ALV report, which is having one field editable.
    I want a code , when i will give input in editable field in ALV report , it should be save in my internal table.
    Please give me a sample program ,
    like take a internal table with two field. whose one field will editable.when user will give input in editable field it should save in internal table in same row like ALV list.
    Thanks,
    Abhishek

    The follow program demonstrates how to make individual fields of an ALV grid editable (NetPR greater than 10).
    Changes required from a basic ALV grid include adding a new field to ALV grid data table(it_ekko), Populating this
    field with style attribute and adding an entry to layout control table.
    *& Report  ZDEMO_ALVGRID_EDIT                                          *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic ALV grid, Enhanced to display specific fields as          *
    *& editable depending on field value                                   *
    REPORT  ZDEMO_ALVGRID_EDIT                 .
    TABLES:     ekko.
    TYPE-POOLS: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
      field_style  TYPE lvc_t_styl, "FOR DISABLE
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    DATA: fieldcatalog TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    DATA: it_fieldcat TYPE lvc_t_fcat,     "slis_t_fieldcat_alv WITH HEADER LINE,
          wa_fieldcat TYPE lvc_s_fcat,
          gd_tab_group TYPE slis_t_sp_group_alv,
          gd_layout    TYPE lvc_s_layo,     "slis_layout_alv,
          gd_repid     LIKE sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
      PERFORM data_retrieval.
      PERFORM set_specific_field_attributes.
      PERFORM build_fieldcatalog.
      PERFORM build_layout.
      PERFORM display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
          Build Fieldcatalog for ALV Report
    FORM build_fieldcatalog.
      wa_fieldcat-fieldname   = 'EBELN'.
      wa_fieldcat-scrtext_m   = 'Purchase Order'.
      wa_fieldcat-col_pos     = 0.
      wa_fieldcat-outputlen   = 10.
      wa_fieldcat-emphasize   = 'X'.
      wa_fieldcat-key         = 'X'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'EBELP'.
      wa_fieldcat-scrtext_m   = 'PO Item'.
      wa_fieldcat-col_pos     = 1.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'STATU'.
      wa_fieldcat-scrtext_m   = 'Status'.
      wa_fieldcat-col_pos     = 2.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'AEDAT'.
      wa_fieldcat-scrtext_m   = 'Item change date'.
      wa_fieldcat-col_pos     = 3.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MATNR'.
      wa_fieldcat-scrtext_m   = 'Material Number'.
      wa_fieldcat-col_pos     = 4.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MENGE'.
      wa_fieldcat-scrtext_m   = 'PO quantity'.
      wa_fieldcat-col_pos     = 5.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'MEINS'.
      wa_fieldcat-scrtext_m   = 'Order Unit'.
      wa_fieldcat-col_pos     = 6.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'NETPR'.
      wa_fieldcat-scrtext_m   = 'Net Price'.
      wa_fieldcat-edit        = 'X'. "sets whole column to be editable
      wa_fieldcat-col_pos     = 7.
      wa_fieldcat-outputlen   = 15.
      wa_fieldcat-datatype     = 'CURR'.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
      wa_fieldcat-fieldname   = 'PEINH'.
      wa_fieldcat-scrtext_m   = 'Price Unit'.
      wa_fieldcat-col_pos     = 8.
      APPEND wa_fieldcat TO it_fieldcat.
      CLEAR  wa_fieldcat.
    ENDFORM.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
          Build layout for ALV grid report
    FORM build_layout.
    Set layout field for field attributes(i.e. input/output)
      gd_layout-stylefname = 'FIELD_STYLE'.
      gd_layout-zebra             = 'X'.
    ENDFORM.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
          Display report using ALV grid
    FORM display_alv_report.
      gd_repid = sy-repid.
    call function 'REUSE_ALV_GRID_DISPLAY'
      CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
           EXPORTING
                i_callback_program      = gd_repid
               i_callback_user_command = 'USER_COMMAND'
                is_layout_lvc               = gd_layout
                it_fieldcat_lvc             = it_fieldcat
                i_save                  = 'X'
           TABLES
                t_outtab                = it_ekko
           EXCEPTIONS
                program_error           = 1
                OTHERS                  = 2.
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
       UP TO 10 ROWS
        FROM ekpo
        INTO  CORRESPONDING FIELDS OF TABLE it_ekko.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  set_specific_field_attributes
          populate FIELD_STYLE table with specific field attributes
    form set_specific_field_attributes .
      DATA ls_stylerow TYPE lvc_s_styl .
      DATA lt_styletab TYPE lvc_t_styl .
    Populate style variable (FIELD_STYLE) with style properties
    The NETPR field/column has been set to editable in the fieldcatalog...
    The following code sets it to be disabled(display only) if 'NETPR'
    is gt than 10.
      LOOP AT it_ekko INTO wa_ekko.
        IF wa_ekko-netpr GT 10.
          ls_stylerow-fieldname = 'NETPR' .
          ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.
                                                 "set field to disabled
          APPEND ls_stylerow  TO wa_ekko-field_style.
          MODIFY it_ekko FROM wa_ekko.
        ENDIF.
      ENDLOOP.
    endform.                    " set_specific_field_attributes
    hope this helps
    reward if useful
    Edited by: Richa Khosla on Mar 25, 2008 1:30 PM

Maybe you are looking for

  • [SOLVED] Some layout functions not working on Awesome 3.5

    Hi there, Anyone else have this problem with the new awesome release? Some functions just doesn't work here, like awful.tag.incmwfact, awful.tag.incnmaster and awful.mouse.client.resize, those are the ones I noticed, tested with the default rc.lua an

  • App not supported by your device's current configurat​ion

    Hi, If I try install some apps from Appworld (especially the converted android apps) I get a message that it is not supported by my device configuration. Is this a regional issue in that only people in specific countries can access the apps? Cheers

  • X-Apps certification

    Hi all, What are the pre requisites for getting x-apps certification for a business package? Regards Rohit

  • How to set a reason for locked account throught source code with the API

    Hi all, I need to set the lock reason of an user account. When we lock a user account at identity management, the system shows us a text edit and keep that lock reason on the account data tab. I need to simulate that, anybody could help me with this?

  • Missing volume sliders

    so i was working on a song, and when I opened the file up (a new one), the individual volume sliders for each track are not there anymore. to adjust the volume for anything I am forced to open the automation line. has anyone ever had this problem bef