How to make long text disabled in me51n ?

hello friends,
my requirement is, for tcode ME51N the CMP Remarks long text field should be mandatory. please check the picture.
best regards,
santanu nayek

no sir not working
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Form MODIFY_SCREEN, Start                                                                                                                         A
*$*$-Start: (1)---------------------------------------------------------------------------------$*$*
ENHANCEMENT 2  ZPO_SHORTTEXT.    "active version
BREAK-POINT.
DATA: L_TEXTTYPE1 LIKE MMPUR_TEXTTYPES.
IF SY-TCODE EQ 'ME52N'.
   CLEAR L_TEXTTYPE1.
LOOP AT GT_CONTROL-TEXTTYPES INTO L_TEXTTYPE1 .
IF L_TEXTTYPE1-TDID = 'B05'.
L_TEXTTYPE1-DISPLAYMODE  = ''.
MODIFY GT_CONTROL-TEXTTYPES FROM L_TEXTTYPE1 TRANSPORTING DISPLAYMODE.
ENDIF.
   CLEAR L_TEXTTYPE1.
ENDLOOP.
ENDIF.
ENDENHANCEMENT.
*$*$-End:   (1)---------------------------------------------------------------------------------$*$*
   DATA: L_TDID LIKE TTXID-TDID,
         L_TEXTTYPE LIKE MMPUR_TEXTTYPES.
   READ TABLE GT_CONTROL WITH KEY OBJECT = G_TEXTOBJECT.
   CHECK SY-SUBRC EQ 0.
   L_TDID = GT_CONTROL-CURRENT_NODE(4).
   READ TABLE GT_CONTROL-TEXTTYPES INTO L_TEXTTYPE
                                   WITH KEY TDID = L_TDID.
   CHECK SY-SUBRC EQ 0.
   LOOP AT SCREEN.
     CASE SCREEN-GROUP1.
       WHEN 'DEL'.
         IF L_TEXTTYPE-TEXTFLAG    IS INITIAL OR
            L_TEXTTYPE-FIXIE       EQ '*'     OR
            L_TEXTTYPE-FIXIE       EQ 'N'     OR
            L_TEXTTYPE-DISPLAYMODE EQ 'X'.
           SCREEN-ACTIVE = '0'.
           MODIFY SCREEN.
         ENDIF.
       WHEN 'COP'.
         IF L_TEXTTYPE-TEXTFLAG    IS INITIAL OR
            L_TEXTTYPE-FIXIE       NE '*'     OR
            L_TEXTTYPE-DISPLAYMODE EQ 'X'.
           SCREEN-ACTIVE = '0'.
           MODIFY SCREEN.
         ENDIF.
       WHEN 'TC'.
         IF L_TEXTTYPE-DISPLAYMODE EQ 'X'.
           SCREEN-INPUT = '0'.
           MODIFY SCREEN.
         ENDIF.
     ENDCASE.
   ENDLOOP.
ENDFORM.                               " MODIFY_SCREEN

Similar Messages

  • How to make item text mandatory in me51n tcode .

    hello experts,
    i developed this code , but it is not working , please suggest me wat i did mistake in my code.....
    *data : it_lines1 type tline occurs 0 with header line .
    *data :tdname like stxh-tdname.
    *loop at im_t_eban1.
    if im_t_eban1-werks = '3000'.
       if sy-tcode = 'ME51N'.
         concatenate im_t_eban1-banfn im_t_eban1-bnfpo into tdname.
         call function 'READ_TEXT'
           exporting
             client   = sy-mandt
             id       = 'B01'
             language = 'E'
             name     = tdname
             object   = 'EBAN'
           tables
             lines    = it_lines1.
         loop at it_lines1 .
           if it_lines1-tdline is initial.
             if sy-subrc <> 0.
               ex_mes1-type = 'E'.
               ex_mes1-id   = 'ZMM_MSG'.
               ex_mes1-number = '063'.
               append ex_mes1.
               ex_messages[] = ex_mes1[].
               clear ex_mes1.
               free ex_mes1.
             endif.
           endif.
         endloop.
       endif.
    endif.
    *endloop.
    note: here no 63 is message no ,( please enter item text).

    Hi,
    Message e63(ZMM_MSG) .
    Try This .
    in place of
    *ex_mes1-type = 'E'.
    ex_mes1-id = 'ZMM_MSG'.
    ex_mes1-number = '063'.
    append ex_mes1.
    ex_messages] = ex_mes1[.
    clear ex_mes1.
    free ex_mes1.

  • Tcode FV50: How to find long text in FI Document line item Before Saving.

    Hi,
    How to find long text in FI Document line item.
    During Parking of the FI document through Tcode FV50 i m giving the some text in the long text not in the text field.
    I would like to validate the Long Text Before Saving in user exit "U300" under  the  "Sunstitution" .
    Please anybody can be help me out where exactly this long text is going to be stored or in which internal table or memory id.
    Please give me the answer as soon as possible .
    Note:- Read_Text function module is not useful. Because Read_text useful after saving document.

    Hi Amit,
    In application area FINANCIAL ACCOUNTING , go for node LINE ITEM. Here create a step & maintain the prerequisite as per your requirement & in the check you can mention the code or you can direct it to a custom program like ZFI_RGGBR000.
    Here while maintaining the check you will get structures BKPF & BSEG in which you will get the desired field you are looking for.
    Just try to explore in your system how the other validations are maintained.
    After you are done with all your code, you have to run the regeneration program RGUGBR00.
    Here utmost care should be taken while running regeneration program, you should select all the checkboxes in the selection screen except  GENERATE SETS, GEN SUBSTN ROUTNS IN ALL CLNTS  & TRACE PROG. GENERATE CALLS .
    Hope this make your doubt clear.
    Regards
    Abhii

  • How to edit long text of Services in P.O.?

    Hi Friends,
    How can I make "Long Text" of services editable while creating P.O.
    If any solution let me know.
    Regards
    Siva

    Dear,
    Enter t-code, ME22N.
    Enter your purchase order number, Here you can change text for service.
    If you want to change Long text of service which is available item detail level of purchase order.
    Enter t-code AC03, enter your service number and click on change button.
    Here you find the long text for services, change text of service which is coming in purchase order item detail level of purchase order.
    Regarda,
    Mahesh Wagh.

  • How to print long text in scripts

    plzzzzzzzzz answer this qestion
    how to print long text in scripts

    Hi Kranthi,
    You can create Text Id and include that in your script.
    For example:
    /E TEXT
    /: INCLUDE ZTEXT OBJECT TEXT ID ST
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • I cannot figure out how to make the text larger on an incoming email.  The finger method doesn't work and I cannot find any toolbar with which to do it.  I could find nothing in settings also.  Plese help and thank you.

    I cannot figure out how to make the text larger in a received email.  The finger method doesn't work and I can find no tool bar as I can for composing emails.  I can find nothing in settings.  Please help and thank you in advance.

    Hi there,
    Download a piece of software called TinkerTool - that might just solve your problem. I have used it myself to change the system fonts on my iMac. It is software and not an app.
    Good wishes,
    John.

  • How to create Long Text in Module Pool Program

    Hi all,
    I want to develop a new module pool program and I want to use Long text screen in this program and also want this text will store in table.I never develop such type of module pool before.This long text will like sales order long text.Please let me know the steps how I can develop such type of program and how I save long text huge data in table.
    Thanks & Regards
    Nirmal

    Hai ,
    here you have to use custom control, for this
    DATA: line(256) TYPE c,
          text_tab LIKE STANDARD TABLE OF line,
          field LIKE line.
    1)  Create custom control in your screen
    2)   CREATE OBJECT: container EXPORTING container_name = 'TEXTEDIT',   "--> (this is custom control name in screen)
                       editor    EXPORTING parent = container.
    3)  CALL METHOD editor->get_text_as_stream  "This method reads data from custom control , inserts into itab 'text_tab' 
             IMPORTING       
              text = text_tab.                                       "
          READ TABLE text_tab  INTO line INDEX 1. read the text into wa 'line'
    if you want more clarity , see  'ABAPDOCU' >ABAP USER DIALOGS>    COMPLEXSCREEN ELEMENTS-->  DEMO CUSTOM_CONTROL

  • How to read long text in Document line item

    Hi,
    How to read long text in FI Document line item.

    Use Read_text function module.
    you need to pass
    ID
    LANGUAGE
    NAME
    OBJECT   to the function moduel
    To find the Text id name language and object these are the following steps. Example: FB02
    1. goto FB02, Enter Document number
    2. from menuselect Goto>Header-->header Text..... New window will be displayed 
    3. select the Header Text. here you can see all the text. 
    4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper. 
    5. in the Next window you will find Text Name. Text ID, Language. etc...
    Regards,
    Lalit Mohan Gupta.

  • How to make a text "drawer" in iWeb

    Does anyone know how to make a text "drawer" in iWeb? What I mean is when you click on a hyperlink to read more text, but instead of opening up a new page, it makes the text appear below the link on the same page.

    Anything fancy with iWeb has to be done in the HTML Snippet or after publishing the page.
    Find the code for the drawer, apply it and show us the result.
    Perhaps not the drawer you had in mind but this is something near:
    http://www.wyodor.net/Ajax/
    Here's another one with drawer in the title:
    http://jqueryfordesigners.com/slide-out-and-drawer-effect/
    http://jqueryfordesigners.com/demo/plugin-slide-demo.html
    Found with : [text drawer|http://www.google.com/search?client=safari&rls=en&q=text+drawer&ie=UTF-8 &oe=UTF-8]

  • How to make the text in sub-division

    Hi,
    I am usign text  module in my adobe forms.
    Text in text module contains sub-divisions as a), b) and c). Each sub-division are in a separate line.
    While in pdf, all the sub-division combines and comes a single paragraph.
    What  would be the problem for this issue? Any Idea?
    May I know how to make the text in sub-division as in text  module?
    Thanks,
    Thiyagu
    Edited by: Thiyagu on Oct 26, 2009 7:08 PM

    Hello, experiment with Object - Field tab. Do you have your text field with "allow multiple lines" checked? I guess so. And what about the field format? Plain text or Rich text? Please try:)) Regards, Otto

  • How to make indented text in Muse

    How to: make indented text in Muse, like a list with bullits

    I read on another post that you can do ALT 0149 (WIN) and it will create a bullet in Muse.  I tried ALT+0149 and then ALT then 0149 and neither one created a bullet so I must not be understanding the key shortcuts to create the bullet.
    The above video is not captioned (I'm deaf) so I don't understand how he's creating the bullets.  Can someone explain what I'm doing wrong?
    PS - when videos are made, it would be nice if you brought some kind of graphic on saying (for example) "Press the [whatever] key" so deaf people can see what's happening.

  • How do make the text on a label Bold?

    Simple question: How do make the text on a label Bold?

    use html : label.setText("<html><body><b>TestText</b></body>/html>");
    regards,
    Tim

  • How to make changes in standard transaction ME51N.

    Hi,
       Can anyone tell me how to make changes in standard transaction ME51N.
       I want to call transaction AS01 by clicking on standard button create asset. Please do the needful.
    Regards.
    Aniruddha

    Hi anirudda
              As i understood from your question is that you want to add a new field 'CREATE ASSET' on me51n screen.
    If i am correct you can use 'MEREQ001' enhancement for this purpose and you can write you code in the exits available in this enhancement.
    Please check the documentation of this enhancement for more info.
    (Use Smod for this purpose)
    I hope it is helpful.
    Reward points
    Thanks,
    Prasanna

  • How to use long texts in explanation tool tip?

    Hi ,
         Can anyone tell me how to add long text in Explanation tool tip?
    I am able to use short OTR texts in explanation tool tip but not able to use long OTR texts.
    Thanks and regards,
    Vivek Shetty.

    For long text
    method1
    Create TEXT node- general attributes change text type to include text
    then you can input text name/text object/text id/language
    method2
    create PROGRAM LINE node - use FM READ_TEXT to read it to a internal table
    then use LOOP or TABLE node to display it
    For TEXT module(For foreign language)
    Tr-code:smartforms -- choose Text module(not choose form)--create a text module object
    then enter smartform Create TEXT node- general attributes change text type to text module
    input the text module name which created by above
    btw SO10 is just for Scriptform, in smartforms we use text module to replace SO10

  • Anyone know how to make vertical text in a table in keynote?

    anyone know how to make vertical text in a table in keynote?

    Just to add a bit more about this question. I have seen in other related questions that this feature (vertical text) is not available in (apparently) the whole iWork09. someone even said that it should be asked to the developers, so they include this feature in iWork10. I find this issue a bit sad. This feature has been present in msOffice since a while, and at least for me, this is quite important for my work. It is also apparently not possible to have different page orientation in the same document, meaning portrait and landscape, so one can have wide tables in a whole page, for example. If this is true, it is again sad, and I just cannot understand why such a basic feature is not available in an already 09 version. I am using only the trial version of iWork, but already in the first day I have discovered that I actually cannot do what I was used to. Again sadly I (and many others I guess) will have to stick to Office until the mac software is fully developed.

Maybe you are looking for

  • How to get the complete data from Webdynpro using a RFC

    hi guys, A form is created in the webdynpro, when that pdf form is called the user have to provide the key field ie the employee number in the form and then when he press the 'go' button a rfc is called and it gives all the details of the employee in

  • How Do You Use Your Blackberry--Email

    Hi, all, Being a Blackberry aficionado, I find all of the different things your Blackberry can do for you amazing.  One of the best features of all Blackberry devices is email.  With your email pushed directly to your device, you don't have to be nea

  • Error: java.lang.ClassCastException: java.util.Arrays$ArrayList

    Hi, How to solve this error? I get the error at this line of code in my program. java.util.ArrayList list= (java.util.ArrayList)obj; Please help how to solve this problem. Thanks, cmbl

  • HP Laserjet M1319f MFP scaner not scan continues pages.

    Hi. I am using HP Laserjet M1319f MFP ALl in one printer & scanner software. Previously installed in windows 7, scanner function works, it will scan multiple docs in one pdf or one file. But now i have windows 8.1 installed. I have install the Printe

  • Bean related

    Hi, I have 2 queries wrt to Bean usage in JSPDynPage. 1. I am trying a very simple example which goes as follows: Dynpage: public void doProcessBeforeOutput() throws PageException {       testbeanclass4 testBean4 = new testbeanclass4();       ((IPort