User exit to make the field 'Long text for UD' as mandatory

Hi Gurus,
My requiremen is that while doing UD, I need to make the field 'Long text for UD' as mandatory for the rejected materials
pls suggest.
Thanks
Ganesh

Hi,
U can use the badi ME_PROCESS_PO_CUST methid  PO PROCESS_ITEM. In this u have both doc type and line item data and using this u can through the error message to make the field compulsory.u can go to the 'Goto' in menu and in this go to 'Sample code' .Here u will find how to use this badi.

Similar Messages

  • User exit to sense the field value change ?

    Hi Guru,
    Our ABAPer created 4 customized fields in "Addition data A" and the requirement is once the value of these customized fields' are changed, copy (overwrite) the changed value to material description on the "sales" View
    Is there any user exit can sense the value change from the customized fields ?
    Thanks
    Eric
    Edited by: Eric Y on Aug 11, 2008 11:45 PM

    USEREXIT_CHECK_VBAP in program MV45AFZB is called when the field is changed.
    /Torben

  • User exit to overwrite the exchange field value in me31k

    Hi All,
    I am trying to find a user exit to overwrite the field EKKO-WKURS on me31k screen. I have tried a couple of exits in enhancement MM06E005 but non are getting called.Only exit  'EXIT_SAPMM06E_006' is called but it is not changing the value of wkurs.
    I had added the following code in exit 'EXIT_SAPMM06E_006'
    I_EKKO-WKURS = '0.8888'.
    but the screen value is not changed.Please let me know if any other enhancement exists to do this ? or whether my code itself is wrong.
    I have a 'ME_PROCESS_PO_CUST' which is activated for overwriting PO header exchange rate for me21n transaction only.Is that causing a problem ?
    Please help.
    Kind Regards,
    Shital

    Hi Shital!
    Have you been trying ME_PROCESS_OUT_CUST badi? It is for contract processing.
    I can't advice you a method, because i don't know at what moment u need to change currency value.
    May be INITIALIZE or OPEN methods will help you.

  • How to make Form Field names appear for User??

    Hi im creating a form template that will be sent to over 150 stores so I need this to work and be easier for my stores.
    Is is possible to make the field names visable for the user so they know what details are need in the fields?
    Please if anybody can help!!

    Sorry I forgot to mention I need it to visible on Text boxes, doesnt seem to be working

  • User Exit to make Payment Term field non editable in item level .

    Hi all,
    User wants to make the Payment Term field in sales order as non editable and  Payment terms is copied from Customer Master to Sales order.
    I use user exit MV45AFZZ (USEREXIT_FIELD_MODIFICATION) to make Payment Term field non editable in header level.
    I am not able to do it in item level. Pl help to to make Payment Term field non editable in item level.
    Thanks,
    sunil

    Hi,
    You can try implicit enhancement in the include MV45AF0T_TCTRL_U_ERF_AUFTRAG_I
    use below code.
    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-ZTERM'. " Check the field name
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    It better to control it via a custom authorization object.
    put a authorization create a custom authorization object so that you can restrict it for a certain users.
    AUTHORITY-CHECK OBJECT 'ZTERM'
             ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal

  • The long text for purchase order text  field in mm03

    Hi,
         Please provide me long text for purchase order field.in mm03 the view purchase order text having the long text for purchase order.this is enter when ever your creating the material.but we have table and field name for that and also how to handle this long text.please provide me urgently.
    Thanks & Regards,
    Radhakrishna.

    Hi,
    A sample code for ur requirement.
    TABLES : ekko,   "Purchasing Document Header
             ekpo,   "Purchasing Document Item
             thead.  "SAPscript: Text Header
    DATA: t_theads LIKE stxh  OCCURS 0 WITH HEADER LINE.
    DATA: t_tlines LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: v_ebeln_ebelp(15) TYPE c.
    TYPES: BEGIN OF t_download,
           ebeln LIKE ekko-ebeln,
           ebelp LIKE ekpo-ebelp,
           tdobject LIKE stxh-tdobject,
           tdid LIKE stxh-tdid,
           tdspras LIKE stxh-tdspras,
           count(4) TYPE c,
           tdformat LIKE tline-tdformat,
           tdline LIKE tline-tdline,
         END OF t_download.
    TYPES: BEGIN OF t_header,
          line1(20) TYPE c,
          line2(20) TYPE c,
          line3(20) TYPE c,
          line4(10) TYPE c,
          line5(10) TYPE c,
          line6(10) TYPE c,
          line7(10) TYPE c,
          line8(10) TYPE c,
          END OF t_header.
    DATA: g_filename TYPE string.
    DATA: gt_header TYPE STANDARD TABLE OF t_header.
    DATA: gs_header TYPE t_header.
    DATA: gt_download TYPE STANDARD TABLE OF t_download.
    DATA: gs_download TYPE t_download,
        gt_tlines   LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA: v_subrc TYPE subrc.
    DATA: v_nb_lines TYPE i.
    DATA: v_ok TYPE i.
    DATA: v_ko TYPE i.
    DATA: v_ow TYPE i.
    DATA:  p_fname TYPE string.
    DATA: g_append.
                              SELECTION SCREEN                          *
    SELECT-OPTIONS : s_ebeln  FOR ekko-ebeln.
    PARAMETERS:
       p_filedn(132) TYPE c OBLIGATORY,
       p_file(132) TYPE c OBLIGATORY.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_filedn.
      PERFORM file_f4_get CHANGING p_filedn.
    START-OF-SELECTION.
    *Select all the purchase order corresponding to select criteria
      CLEAR t_theads. REFRESH t_theads.
      SELECT *
      FROM ekko
      WHERE ebeln IN s_ebeln.
    *Select all the text for P.O. header
        SELECT * FROM stxh
              APPENDING TABLE t_theads
              WHERE tdobject = 'EKKO'
              AND tdname      = ekko-ebeln.
    *Select Item of each P.O.
        SELECT *
        FROM ekpo
        WHERE ebeln = ekko-ebeln.
          CONCATENATE ekpo-ebeln ekpo-ebelp
          INTO v_ebeln_ebelp.
    *Select the text for P.O. item.
          SELECT * FROM stxh
                APPENDING TABLE t_theads
                WHERE tdobject = 'EKPO'
                  AND tdname   = v_ebeln_ebelp.
        ENDSELECT.              "select ekpo
      ENDSELECT.             "select ekko
      DESCRIBE TABLE t_theads LINES v_nb_lines.
      LOOP AT t_theads.
    Read the text from pool
        CLEAR thead.
        REFRESH t_tlines.
        CALL FUNCTION 'READ_TEXT'                               "#EC *
             EXPORTING
                  id                      = t_theads-tdid
                  language                = t_theads-tdspras
                  name                    = t_theads-tdname
                  object                  = t_theads-tdobject
             IMPORTING
                  header                  = thead
             TABLES
                  lines                   = t_tlines
             EXCEPTIONS
                  id                      = 1
                  language                = 2
                  name                    = 3
                  not_found               = 4
                  object                  = 5
                  reference_check         = 6
                  wrong_access_to_archive = 7
                  OTHERS                  = 8.
        MOVE-CORRESPONDING thead TO gs_download.
        gs_download-ebeln = thead-tdname+0(10).
        IF thead-tdobject = 'EKPO'.
          gs_download-ebelp = thead-tdname+10(5).
        ENDIF.
        gs_download-count = 0.
        LOOP AT gt_tlines.
          gs_download-tdformat = gt_tlines-tdformat.
          gs_download-tdline = gt_tlines-tdline.
          gs_download-count = gs_download-count + 1.
          APPEND gs_download TO gt_download.
        ENDLOOP.
        CLEAR gs_download.
      ENDLOOP.
    END-OF-SELECTION.
    Hope this helps.
    please reward points if  useful.
    Regards
    rose

  • Make produciton order long text mandatory...

    Hi All..
    We want to make produciton order long text mandatory. Tried with SHD0 where we unable to find the proper field. please confirm is it possible with any ways???
    one more thing ... what ever the long text has been entered in the produciton order, how to pull the text to confirmation screen (CO11N).
    Please provide the inputs....
    Edited by: srinivas rapelly on Dec 19, 2008 12:26 PM

    Hi Srinivas,
    SAP has provided the Long Text Tab screen only for Information purpose. Hence it is not possible to make it mandatory.
    One thing can be tried out - Try to use some User Exit in Production Order creation and see that the order will not be saved untill the Long Text field is entered with some text.
    Similarly use one more User Exit in Production Order Confirmation and see that the data from the Production Order Long text screen is populated.
    Take the help of ABAPer.
    Hope this will help.
    Regards
    radhak mk

  • ALV Classic - How to extract the selection long text of TYPE LVC_T_FCAT?

    DATA: e_dyntab_tb  TYPE lvc_t_fcat,
              e_dyntab_wa TYPE lvc_s_fcat,
              t_line_reftab   TYPE REF   TO data.
    *Populate ALV fiels of TYPE LVC_T_FCAT
    MOVE: c_matnr      TO e_dyntab_wa-fieldname.
    MOVE: c_material   TO e_dyntab_wa-scrtext_l.
    APPEND e_dyntab_wa TO e_dyntab_tb.
    LOOP AT t_hwk_date ASSIGNING <fs_hwk_date>. "t_hwk_date is DYNAMIC
        CONCATENATE c_hwk <fs_hwk_date>-index           INTO  e_dyntab_wa-fieldname.
        CONCATENATE c_hwk <fs_hwk_date>-calender_wk INTO  e_dyntab_wa-scrtext_l.
        APPEND e_dyntab_wa TO e_dyntab_tb.
    ENDLOOP.
    *Create dynamic itab from dynamic ALV output
    CALL METHOD cl_alv_table_create=>create_dynamic_table
        EXPORTING
          it_fieldcatalog = e_dyntab_tb          "Pass alv_fcat here
        IMPORTING
          ep_table        = i_reftab.
    * Create Dynamic Work Area and assign to FS
    ASSIGN i_reftab->* TO <fs_final_itab>.      "Assigning the Final Table,
    CREATE DATA t_line_reftab LIKE LINE OF <fs_final_itab>.
      ASSIGN t_line_reftab->* TO <fs_line_reftab>.  "Create a Work Area
    QUESTION:
    e_dyntab_wa-fieldname   = this is the fieldname / column heading for the dynamic internal table
    e_dyntab_tb-scrtext_l     = this "should" be the 1st row(Column Heading Title) for the dynamic itab
                                        = this data will be used for MS Excel Functionality as always as the first row as
                                           column heading in the MS Excel
    Legend:
    How can I extract the entries of e_dyntab_tb-scrtext_l to an internal table containing the same structure of <fs_line_reftab>?

    Maybe I missed something, but you already have the long text for the columns in your FCAT structure.  The problem you will have is that you will NOT be able to place those fields in the table that you have created because the headings will always be text and the columns may or may not be text (i.e. placing a heading into a numeric).  You will be required to use a different structure.
    Since you are writing a custom export, you will need to do one of the following:
    Option A:
    1.  Retrieve the layout from the ALV as it will not necessarily be the same as when the original was created.  The user may have moved a column or hidden one.
    2.  Create a structure for the export file that has only text fields.  It should contain all of the columns from the FCAT.  This can be done by creating another dynamic table and using the original FCAT and current layout.
    3.  Insert the headings as the first row of the export file.
    4.  Loop thru the internal table, compare it with the layout, and only insert the requested records into the export file.
    5.  Export the file.
    or Option B:
    1.  Make sure the internal table has only text fields and insert the headings as the first record.
    2.  Insert all other records with fields converted to alphanumeric.
    3.  Use the standard export function.
    Hope this helps,
    Brian

  • 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

  • How to find user exit implemented in the program

    how to find user exit implemented in the program or standerd transaction

    try this program to get the list of all the user exits for a transaction...
    *& Report  Z_USER_EXIT                                                 *
    *REPORT  Z_USER_EXIT                             .
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP User Exits exists.
    *& Tables
      TABLES : tstc,     "SAP Transaction Codes
               tadir,    "Directory of Repository Objects
               modsapt,  "SAP Enhancements - Short Texts
               modact,   "Modifications
               trdir,    "System table TRDIR
               tfdir,    "Function Module
               enlfdir,  "Additional Attributes for Function Modules
               tstct.    "Transaction Code Texts
    *& Variables
      DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
      DATA : field1(30).
      DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
      SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
      SELECTION-SCREEN SKIP.
      PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
      SELECTION-SCREEN SKIP.
      SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
      START-OF-SELECTION.
    Validate Transaction Code
        SELECT SINGLE * FROM tstc
          WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
        IF sy-subrc EQ 0.
          SELECT SINGLE * FROM tadir
             WHERE pgmid    = 'R3TR'
               AND object   = 'PROG'
               AND obj_name = tstc-pgmna.
          MOVE : tadir-devclass TO v_devclass.
          IF sy-subrc NE 0.
            SELECT SINGLE * FROM trdir
               WHERE name = tstc-pgmna.
            IF trdir-subc EQ 'F'.
              SELECT SINGLE * FROM tfdir
                WHERE pname = tstc-pgmna.
              SELECT SINGLE * FROM enlfdir
                WHERE funcname = tfdir-funcname.
              SELECT SINGLE * FROM tadir
                WHERE pgmid    = 'R3TR'
                  AND object   = 'FUGR'
                  AND obj_name = enlfdir-area.
              MOVE : tadir-devclass TO v_devclass.
            ENDIF.
          ENDIF.
    Find SAP Modifactions
          SELECT * FROM tadir
            INTO TABLE jtab
            WHERE pgmid    = 'R3TR'
              AND object   = 'SMOD'
              AND devclass = v_devclass.
          SELECT SINGLE * FROM tstct
            WHERE sprsl EQ sy-langu
              AND tcode EQ p_tcode.
          FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
          WRITE:/(19) 'Transaction Code - ',
          20(20) p_tcode,
          45(50) tstct-ttext.
          SKIP.
          IF NOT jtab[] IS INITIAL.
            WRITE:/(95) sy-uline.
            FORMAT COLOR COL_HEADING INTENSIFIED ON.
            WRITE:/1 sy-vline,
            2 'Exit Name',
            21 sy-vline ,
            22 'Description',
            95 sy-vline.
            WRITE:/(95) sy-uline.
            LOOP AT jtab.
              SELECT SINGLE * FROM modsapt
              WHERE sprsl = sy-langu AND
              name = jtab-obj_name.
              FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
              WRITE:/1 sy-vline,
              2 jtab-obj_name HOTSPOT ON,
              21 sy-vline ,
              22 modsapt-modtext,
              95 sy-vline.
            ENDLOOP.
            WRITE:/(95) sy-uline.
            DESCRIBE TABLE jtab.
            SKIP.
            FORMAT COLOR COL_TOTAL INTENSIFIED ON.
            WRITE:/ 'No of Exits:' , sy-tfill.
          ELSE.
            FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
            WRITE:/(95) 'No User Exit exists'.
          ENDIF.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'Transaction Code Does Not Exist'.
        ENDIF.
    Take the user to SMOD for the Exit that was selected.
      AT LINE-SELECTION.
        GET CURSOR FIELD field1.
        CHECK field1(4) EQ 'JTAB'.
        SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
        CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.

  • To find a user exit which update the Invoice header data

    Hi,
    I need a user exit which will update the invoice header data. For eg I need to update the fields RBKP_V-ESRNR and RBKP_V-ESRRE in table RBKP_V. I was using this user exit EXIT_SAPLMRMP_010 (Program ZXM08U16).But this is not working fine as this has no exporting parameter nor tables of structure RBKP_V.
    I need for transaction MIRO.
    Kindly help ...
    Points will be rewarded
    Thanks in advance

    Hi jayasree,
    with the help of the below given program you can find out the requried user exit by giving the T code (MIRO).
    *& Report Z_USEREXIT_DISPLAY *
    Title : Display UserExits *
    Transport Request No : *
    Modification Log *
    ModNo Date Consultant Description of Change(s) *
    REPORT z_userexit_temp
    NO STANDARD PAGE HEADING
    LINE-SIZE 200
    MESSAGE-ID zz.
    T A B L E D E C L A R A T I O N S *
    TABLES: tftit,
    e071,
    e070.
    S T R U C T U R E D E C L A R A T I O N S *
    TYPES: BEGIN OF x_tstc,
    tcode TYPE tcode,
    pgmna TYPE program_id,
    END OF x_tstc.
    TYPES: BEGIN OF x_tadir,
    obj_name TYPE sobj_name,
    devclass TYPE devclass,
    END OF x_tadir.
    TYPES: BEGIN OF x_slog,
    obj_name TYPE sobj_name,
    END OF x_slog.
    TYPES: BEGIN OF x_final,
    name TYPE smodname,
    member TYPE modmember,
    include(15), "Include name
    END OF x_final.
    I N T E R N A L T A B L E D E C L A R A T I O N S *
    DATA: it_tstc TYPE STANDARD TABLE OF x_tstc WITH HEADER LINE.
    DATA: it_tadir TYPE STANDARD TABLE OF x_tadir WITH HEADER LINE.
    DATA: it_jtab TYPE STANDARD TABLE OF x_slog WITH HEADER LINE.
    DATA: it_final TYPE STANDARD TABLE OF x_final WITH HEADER LINE.
    V A R I A B L E S D E C L A R A T I O N S *
    U S E R I N P U T S S C R E E N *
    S E L E C T I O N S C R E E N *
    SELECTION-SCREEN: BEGIN OF BLOCK blk01 WITH FRAME TITLE text-t01.
    PARAMETERS: p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN END OF BLOCK blk01.
    S t a r t o f S e l e c t i o n *
    START-OF-SELECTION.
    PERFORM get_tcodes. "Get Tcodes
    PERFORM get_objects. "Get Objects
    E n d o f S e l e c t i o n *
    END-OF-SELECTION.
    PERFORM display_results. "Display Results
    *& Form get_tcodes
    Get Tcodes
    FORM get_tcodes.
    SELECT tcode
    pgmna
    INTO TABLE it_tstc
    FROM tstc
    WHERE tcode = p_tcode.
    IF sy-subrc = 0.
    SORT it_tstc BY tcode.
    ENDIF.
    ENDFORM. " get_tcodes
    *& Form get_objects
    Get Objects
    FORM get_objects.
    DATA: l_fname LIKE rs38l-name,
    l_group LIKE rs38l-area,
    l_include LIKE rs38l-include,
    l_namespace LIKE rs38l-namespace,
    l_str_area LIKE rs38l-str_area.
    DATA: v_include LIKE rodiobj-iobjnm.
    DATA: e_t_include TYPE STANDARD TABLE OF abapsource WITH HEADER LINE.
    DATA: l_line TYPE string,
    l_tabix LIKE sy-tabix.
    IF NOT it_tstc[] IS INITIAL.
    SELECT obj_name
    devclass
    INTO TABLE it_tadir
    FROM tadir FOR ALL ENTRIES IN it_tstc
    WHERE pgmid = 'R3TR' AND
    object = 'PROG' AND
    obj_name = it_tstc-pgmna.
    IF sy-subrc = 0.
    SORT it_tadir BY obj_name devclass.
    SELECT obj_name
    INTO TABLE it_jtab
    FROM tadir FOR ALL ENTRIES IN it_tadir
    WHERE pgmid = 'R3TR' AND
    object = 'SMOD' AND
    devclass = it_tadir-devclass.
    IF sy-subrc = 0.
    SORT it_jtab BY obj_name.
    ENDIF.
    ENDIF.
    ENDIF.
    *- Get UserExit names
    LOOP AT it_jtab.
    SELECT name
    member
    INTO (it_final-name, it_final-member)
    FROM modsap
    WHERE name = it_jtab-obj_name AND
    typ = 'E'.
    APPEND it_final.
    CLEAR it_final.
    ENDSELECT.
    ENDLOOP.
    *- Process it_final contents.
    LOOP AT it_final.
    l_tabix = sy-tabix.
    CLEAR: l_fname,
    l_group,
    l_include,
    l_namespace,
    l_str_area.
    l_fname = it_final-member.
    CALL FUNCTION 'FUNCTION_EXISTS'
    EXPORTING
    funcname = l_fname
    IMPORTING
    group = l_group
    include = l_include
    namespace = l_namespace
    str_area = l_str_area
    EXCEPTIONS
    function_not_exist = 1
    OTHERS = 2.
    IF sy-subrc = 0.
    IF NOT l_include IS INITIAL.
    *- Get Source code of include.
    CLEAR: v_include, e_t_include, e_t_include[].
    v_include = l_include.
    CALL FUNCTION 'MU_INCLUDE_GET'
    EXPORTING
    i_include = v_include
    TABLES
    e_t_include = e_t_include.
    IF sy-subrc = 0.
    LOOP AT e_t_include.
    IF e_t_include-line CS 'INCLUDE'.
    CLEAR l_line.
    l_line = e_t_include-line.
    CONDENSE l_line NO-GAPS.
    TRANSLATE l_line USING '. '.
    l_line = l_line+7(9).
    it_final-include = l_line.
    MODIFY it_final INDEX l_tabix TRANSPORTING include.
    ENDIF.
    ENDLOOP.
    ENDIF.
    ENDIF.
    ENDIF.
    ENDLOOP.
    ENDFORM. " get_objects
    *& Form display_results
    Display Results
    FORM display_results.
    FORMAT COLOR COL_HEADING.
    WRITE:/1(150) sy-uline.
    WRITE:/ sy-vline,
    2(23) 'Extension Name',
    24 sy-vline,
    25(39) 'Exit Name',
    64 sy-vline,
    65(74) 'Description',
    140 sy-vline,
    141(9) 'Include',
    150 sy-vline.
    WRITE:/1(150) sy-uline.
    FORMAT RESET.
    SORT it_final BY name member.
    LOOP AT it_final.
    CLEAR tftit.
    SELECT SINGLE stext
    INTO tftit-stext
    FROM tftit
    WHERE spras = 'EN' AND
    funcname = it_final-member.
    WRITE:/ sy-vline,
    it_final-name COLOR COL_KEY, 24 sy-vline,
    25 it_final-member, 64 sy-vline,
    65 tftit-stext, 140 sy-vline,
    141 it_final-include, 150 sy-vline.
    WRITE:/1(150) sy-uline.
    ENDLOOP.
    Regards
    Srinivas

  • Disabling fields(Make the field as non-editable)  in webdynpro ALV

    HI All,
    I have a requirement in the ABAP webdynpro where I have to disable(Make the field as non-editable) the field(or that ALV cell alone)  in the ALV after the user has inputed in that field.
    Is it possible, if yes, could you please give me some sample code , or links to which I can refer to.
    Thanks for your help.
    Regards,
    Subash M

    Hi,
    Use the following approach :
    1. Create an ALV and create an inputfield cell editor for the column that you want to make editable/disable.Refer this tutorial for creating an [Editable ALV|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3133474a-0801-0010-d692-81827814a5a1]
    2. Now under the same node create an attribute EDITABLE type boolean and bind this to the readonly property of the input field. Include the following code while creating Input field for binding.
    lr_input_field->set_read_only_fieldname( 'EDITABLE' ).
    3. Now implement the onDataCheck event or OnCellAction event and pass abap_true to this attibute to make the cell readonly/disable.Refer this tutorial for [Events in ALV|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/bd28494a-0801-0010-45a3-fc359d82d3e8]
    Hope this helps.
    Regards,
    Radhika.

  • Modifications in field LONG TEXT in transaction IW22

    Hello friends!
    I have the following problem:
    I need to allow modifications in field LONG TEXT in transaction IW22 until the notification is realeased, the thing is that this field gets inactive and it doesn't accept further modifications, can anybody help me??
    Thanks in advance,
    Frinee

    Peculiar - I was just looking at this (for a different problem). Look at OSS note #876698.
    Rob

  • MIGO User Exit/BADI to disable field

    Hi,
    I would like to disable a specific set of fields in MIGO (fields under the GOITEM structure). Is there a BADI (or user exit) I can use to implement this functionality ?
    Thanks.

    Hi,
    My understanding is this BADI is used for modifying the value of the field itself. My requirement is to disable the field (user should not be able to edit the value). Whenever I add the LOOP AT SCREEN statement on this BADI, the screen field GOITEM-CHARG is not processed.
    I am actually looking for a BADI/user exit where this screen field can be read.
    Thanks.

  • User Exit to make changes in sales order line item data.

    Hi All,
    I need to know about user exit by whcih I can make changes in sales order line item details --> Account assignment tab --> Sales order no and line item no.
    I want to make changes so as to bring the active maintenance contract no and line item no here instead of sales order no and line item no. So whenever ( Va02 or Va03) we go to sales order line item and se the account assignment tab I should see the contract no there.
    Just let me know the USER EXIT to do the above changes.
    Points will be awarded.
    Regards,
    Satish.

    Hi,
    Please have a look at the following user exits...
    1. user exit_ save_document
    2. user exit_save_document_prepare
    Regards
    sankar

Maybe you are looking for

  • How to disable iMessage for a single contact?

    Hello apple communites, I have a simple and hopefully simple to answer question.. I am curious as to how to disable iMessaging for a single contact.  My sister when she got her phone number originally had an iPhone, she has since gotten an android an

  • Error using Powershell inside a Workflow

    Hello, I have the following scenario: I want to change the Status of every Incident that is created to "Neu". This is a custom Status we created. So my first tought was to use the Authoring Tool with a Workflow. I created a Workflow wich will trigger

  • ALE IDOC - segment E1EDK14

    Hi Friends, I am creating IDoc from P.O. there is a segment E1EDKA1 AG , which has field PARTN. Some value is appearing in it but I am not able to find out,from where this value comes. Please give me some suggestions. Thanks & Regards, Brijesh Soni

  • VAT calculation in MIRO

    Dear All SAP Gurus, I used one freight condition in the PO.Conditions used are JMOP/JMX1,JEC1/JEX1,JSEP/JHX! and JVRD. In the miro freight charges and ED,ECS,SECESS and VAT are flowing correctly.In addition to these entry one more VAT entry is flowin

  • Tag Library Help

    Hello, I have just started to learn about Tag libraries and it's not been the most pleasant experience. Anyways, I did manage to figure out most of the basics of Tag Libraries, but am still unable to understand the use of script variables. I saw an e