VT02N : Need to make a Field on Screen Required.

Hi All,
I have a situation where in i need to change the "Ship-to-party" field on the "Select Outbound Deliveries" screen to a required field.
This screen is the one that pops up when the Deliveries Button is clicked on the initial screen.
Is there any Exit or a Search Help that can be used for this.
Thanks in advance..!

Program to find user EXIT : ref for future
report y_user_exits 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.

Similar Messages

  • What are the steps needed to make the field in the DFF Additional Information for Agent only take numbers, commas & hyphens?

    Hello All,
    What are the steps needed to make the field in the DFF Additional Information for Agent only take numbers, commas & hyphens?
    Navigation
    Bob Sales manager<Ebiz form<service request tab<SR type<DFF<additional information for agents <cheque number
    The field Cheque number Character allowed (, -) in the DFF Additional Information for Agent should only take numbers
    Thanks & Regards
    Ayesha

    Thanks Sridar
    If we use Number we cannot separate the cheque numbers with , or -
    We need to enter numbers along with comma and '_' in cheque number field.
    Thanks & Regards
    Ayesha

  • How to Make a field User Entered - Required by javaScript

    Dear all,
    How can I make a field User Entered - Required on some conditions e.g. it is required in the following conditions.
    1)I have a group of radio buttons of Yes and No.I want if the user select yes then a particular text field should Required otherwise it should optional.
    2)In a particular row of a table if user fill the first column then other columns of that row should required otherwise it should optional.
    How can I do it?If any body can please help me.
    Thanks a bunch in advance
    Regards
    Rakesh

    I have the same problem. I need to change all fields to be not required. Adobe doesn't seem to recognize the change.
    var fieldCount = event.target.numFields;
    for ( var i = 0; i < fieldCount; i++)
    var fieldName = event.target.getNthFieldName(i);
    app.alert(fieldName);
    var field = event.target.getField(fieldName);
    if(field.type != "button")
    app.alert(field.required);
    field.required.rawValue = false;

  • Make a fields as a required field at runtime

    Hi Gurus,
    Hi have one requirement ,
    Make a fields as a required field at runtime, when i click the submit button
    By
    ram k

    check my post in [this thread|Setting fields mandatory based on other fields;
    you can issue a popup message or, what we did is issue a message in the message area and not allow the continuation of the submit event processing.

  • Need to make some fields mandatory in standard transaction XK01

    HI All,
    Is it possiable to make some fields in standard transaction like XK01 mandatory?
    or any work around ?
    thank in advance for your replies.
    Regads,
    Riyaz.

    Hi,
    From configuration(SPRO) u can easily make some fields mandatory in XK01. Otherwise create a transaction varition for XK01 using TC SHD0.
    Rewards points if helpful.
    Regards,
    Srinivas Ch

  • Need to make # of periods and frequency required for certain prod category

    We have a requirement to make the # of periods and frequency fields required for a certain product category. I know I need to use a field validation for this but my issue is that the product category and product name fields are non-editable. I tried putting the validation on the product ID field but it is not working properly. It still throws the error even when values are entered and regardless of the category. Here is the expression I am trying to use:
    IIf(FieldValue('<ProductCategory>')="XYZ", [<NumberOfPeriods>] is not NULL, FALSE)
    Any ideas?

    You can add the read-only token ($RO$) after any of the segments in the list. For example, the ($RO$) designator below sets Segment1 in structure code 1 to be read-only:
    Structure code1|Segment1($RO$)|Segment2...
    P.S: After I posted this message, I realized this was not what you are looking for. After all, this may help somebody.
    Edited by: dbhat1 on Dec 8, 2008 3:55 PM
    Edited by: dbhat1 on Dec 8, 2008 3:56 PM

  • Need to make Assignment field in Cash Journal mandatory

    Hi friends
    I have a requirement to make the assignment field as mandatory in the Cash Journal for a particular G/L. So accordingly, i changed the Field Status for that particular G/L as mandatory in the Field Status Group. But now when i am entering the transaction in FBCJ, it is not prompting me to enter the assignment field. Strangely, when i try the same thing with F-02 with the same G/L, it shows the Assignment field as mandatory.
    I checked the field name of the assignment field and it was ZUONR. However, in FBCJ, the name shows as ALLOC_NMBR. Please tell me where i am going wrong.
    Thxs in advance

    Hi
    On FBCJ screen, even though the field is set to mandatory in field status, "?" mark doesn't appear, but if the field is not filled, the system should issue an error message and the document doesn't get posted to FI. You can use screen variant to set the field mandatory on FBCJ screen.
    See note 546365.
    Regards, Kyoko

  • How to make amount field as mandatory in portal

    Hi experts,
          We are working on EHP5 , Ecc 6.0. I am working on claims and reimbursements module . We have already done the configurations and in the portal i need to make an amount field as mandatory . I have gone to content administration - Portal Content - Content provided by SAP- End user content - Employee self Service - I views- Benefits and payments - India- Claim Advance request . Here i have selected an iview then Right click on that we can see the properties. there i have made the field as mandatory . It is getting applicable. But when i close the particular screen and click on that iview the same screen comes across with the field not getting mandatory . Wat are the other steps which i need to make this field as mandatory and gets applicalble to all claim types. So please reply .
    . So please respond experts.
    Thank you
    Lokesh

    Hello Lokesh,
    For all specific claim types while configuring customized header fields in view V_T77WWW_CLHLDC
    & configuring customized multiple line fields in view V_T77WWW_CLMLDC there is an option in the form of checkbox to make those fields mandatory.
    The mandatory checkbox can be seen inside the box generic properties.
    I trust this clarifies.
    Regards,
    Pankaj

  • Want to Make the field as Mandatory in Forms

    Hi All
    I need to make the field "Task Number" of Project ->Events screen as mandatory.
    Please advice me how i can achive this custom.pll ?
    Regards
    Rajkumar

    Since we are using 11.5.9 , we cannot do the personalization.So i would like to do this thru custom.pll
    So i am going to try this code
    IF form_name = '<name of form>'
    THEN
    IF event_name = 'WHEN-NEW-FORM-INSTANCE'
    THEN
    app_item_property2.set_property(
    '<name of block>.<name of item>'
    , REQUIRED
    , PROPERTY_ON
    END IF;
    END IF;
    But i couldnt open the custom.pll from the client machine where forms installed thru 'apps user".
    It says "PDE - PLI018 Couldnot find library SCSFIN". So i copied the SCSFIN and FNDSQF files in client machine and opened the FNDSQF FIle successfully.
    After i tried to open the SCSFIN.pll, it is saying "PDE - PLI018 Couldnot find library FNDSQF"
    Please help me with this error.
    Regards
    Rajkumar

  • How to make some fields of a view non editable

    Hi experts,
    I need to make some fields like system user, system time and system date of a view non editable and after saving values for all other editable fields, the system should fill the values for the non editable fields as well.
    Kindly help in this regard.

    I am assuming that you created a maintenance view for your table. Under view fields there is a column called 'Maintenance Attribute for view field' (one character field with 'P' in the column. Set that column value to 'H' for the fields that you want to hide.
    You then have to go to SE54, give your maintenance view name, in the menu, 'Environment-->Events' create an event 01 with your own code to fill in those hidden fields. Look with key words 'Table Events' in this forum and you will get a lot of examples.

  • How to make a field manadatory to a folder in a form?

    Hi,
    I'm working on a custom form.
    I've 3 folders in that form, I need to make some fields to default values to a particular folder.
    How do I do this?
    Work around
    ========
    Made the field to default, how ever these fields are showing default values for all the 3 folders.
    I need to set the default values only to one particular folder.
    Any suggestions on this would appreciate.
    Thanks in advance.
    --Santhosh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    What do you mean by folders?
    Blocks?
    Tabs?
    Records?
    It's not a forms term.

  • Make one field mandatory in material master

    hello
    i have searched through the forums but not able to get the right answer.
    i need to make one field MARC-MMSTA mandatory. It lies in field selection group 51.
    There are other fields in this field selection group.
    Hence what happens is when we make the group mandatory all the fields become manadatory.
    Any thoughts please ?
    Thank you.
    Regards
    KK

    Hi,
    In t-code OMSR create the new selection group(Between 221 to 240) ie., select the field MARC-MMSTA assgin new selection group .Then goto OMS9 enter selection group make option as per your requirement.
    Let me know any issue.
    Regards,
    Vairavan.P

  • Can I make two differents selection screen in my program?

    Hi experts!!
    I don't know how to male this, the problem is that I need to make two differents selection screen in my program because I have two differents kinds of button,
    BUTTON1         BUTTON2          BUTTON3
    When I press button1 I received.
    BUTTON4         BUTTON5          BUTTON6
    Now If I press on button4, how can I pick up the event? the name or something associate to this button4?
    Thanks a lot and regards
    Rebeca

    Hi and thanks,
    I've tried with your code,  Velu Lakshmanan,  and I only received another screen with the buttons... I need to put this button in the same screen, now I've this, but I can't receive the event associate to the second's buttons,
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON  1(79) DTP USER-COMMAND DTP
    VISIBLE LENGTH 25.
    SELECTION-SCREEN PUSHBUTTON 28(79) EMP USER-COMMAND EMP
    VISIBLE LENGTH 25.
    SELECTION-SCREEN PUSHBUTTON 55(79) ABS USER-COMMAND ABS
    VISIBLE LENGTH 25.
    PARAMETERS: PROC_TYP TYPE I DEFAULT 1 NO-DISPLAY.
    SELECTION-SCREEN END OF LINE.
    * Informes de datos de tiempo.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 1(25)  TEXT-FED USER-COMMAND FED MODIF ID DT1.
    SELECTION-SCREEN PUSHBUTTON 28(25) TEXT-DCH USER-COMMAND DCH MODIF ID DT1.
    SELECTION-SCREEN PUSHBUTTON 55(25) TEXT-ACH USER-COMMAND ACH MODIF ID DT1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 1(25)  TEXT-FII USER-COMMAND FII MODIF ID DT1.
    SELECTION-SCREEN PUSHBUTTON 28(25) TEXT-PTB USER-COMMAND PTB MODIF ID DT1.
    SELECTION-SCREEN PUSHBUTTON 55(25) TEXT-PTS USER-COMMAND PTS MODIF ID DT1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 1(25)  TEXT-ACI USER-COMMAND ACI MODIF ID DT1.
    SELECTION-SCREEN PUSHBUTTON 28(25) TEXT-FIM USER-COMMAND FIM MODIF ID DT1.
    SELECTION-SCREEN PUSHBUTTON 55(25) TEXT-LDH USER-COMMAND LDH MODIF ID DT1.
    SELECTION-SCREEN END OF LINE.
    * Informes de empleados
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 1(25)  TEXT-LDP USER-COMMAND LDP MODIF ID EM1.
    SELECTION-SCREEN PUSHBUTTON 28(25) TEXT-PDF USER-COMMAND PDF MODIF ID EM1.
    SELECTION-SCREEN PUSHBUTTON 55(25) TEXT-LDT USER-COMMAND LDT MODIF ID EM1.
    SELECTION-SCREEN END OF LINE.
    * Informes de bajas
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 1(25)  TEXT-BAJ USER-COMMAND BAJ MODIF ID AB1.
    SELECTION-SCREEN PUSHBUTTON 28(25) TEXT-VMA USER-COMMAND VMA MODIF ID AB1.
    SELECTION-SCREEN PUSHBUTTON 55(25) TEXT-SDE USER-COMMAND SDE MODIF ID AB1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN PUSHBUTTON 1(25)  TEXT-LDB USER-COMMAND LDB MODIF ID AB1.
    SELECTION-SCREEN PUSHBUTTON 28(25) TEXT-LDA USER-COMMAND LDA MODIF ID AB1.
    SELECTION-SCREEN PUSHBUTTON 55(25) TEXT-DHT USER-COMMAND DHT MODIF ID AB1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B1.
    * Pintamos los botones que necesitemos mostrar según la opción seleccionada
    AT SELECTION-SCREEN.
      CASE SSCRFIELDS-UCOMM.
        WHEN 'DTP'. PROC_TYP = 1.
        WHEN 'EMP'. PROC_TYP = 2.
        WHEN 'ABS'. PROC_TYP = 3.
      ENDCASE.
    AT SELECTION-SCREEN OUTPUT.
      CASE PROC_TYP.
    * Cuando el botón que ha seleccionado es "Datos de tiempo"
        WHEN 1.
          CALL FUNCTION 'ICON_CREATE'
            EXPORTING
              NAME   = ICON_OKAY
              TEXT   = TEXT-DTP
              INFO   = TEXT-AUS
            IMPORTING
              RESULT = DTP.
          EMP = TEXT-EMP.
          ABS = TEXT-ABS.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'DT1'.
              SCREEN-INPUT = '1'. SCREEN-INVISIBLE = '0'. MODIFY SCREEN.
            ENDIF.
            IF SCREEN-GROUP1 EQ 'EM1'.
              SCREEN-INPUT = '0'. SCREEN-INVISIBLE = '1'. MODIFY SCREEN.
            ENDIF.
            IF SCREEN-GROUP1 EQ 'AB1'.
              SCREEN-INPUT = '0'. SCREEN-INVISIBLE = '1'. MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
        WHEN 2.
          CALL FUNCTION 'ICON_CREATE'
            EXPORTING
              NAME   = ICON_OKAY
              TEXT   = TEXT-EMP
              INFO   = TEXT-AUS
            IMPORTING
              RESULT = EMP.
          DTP = TEXT-DTP.
          ABS = TEXT-ABS.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'DT1'.
              SCREEN-INPUT = '0'. SCREEN-INVISIBLE = '1'. MODIFY SCREEN.
            ENDIF.
            IF SCREEN-GROUP1 EQ 'EM1'.
              SCREEN-INPUT = '1'. SCREEN-INVISIBLE = '0'. MODIFY SCREEN.
            ENDIF.
            IF SCREEN-GROUP1 EQ 'AB1'.
              SCREEN-INPUT = '0'. SCREEN-INVISIBLE = '1'. MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
        WHEN 3.
          CALL FUNCTION 'ICON_CREATE'
            EXPORTING
              NAME   = ICON_OKAY
              TEXT   = TEXT-ABS
              INFO   = TEXT-AUS
            IMPORTING
              RESULT = ABS.
          DTP = TEXT-DTP.
          EMP = TEXT-EMP.
          LOOP AT SCREEN.
            IF SCREEN-GROUP1 EQ 'DT1'.
              SCREEN-INPUT = '0'. SCREEN-INVISIBLE = '1'. MODIFY SCREEN.
            ENDIF.
            IF SCREEN-GROUP1 EQ 'EM1'.
              SCREEN-INPUT = '0'. SCREEN-INVISIBLE = '1'. MODIFY SCREEN.
            ENDIF.
            IF SCREEN-GROUP1 EQ 'AB1'.
              SCREEN-INPUT = '1'. SCREEN-INVISIBLE = '0'. MODIFY SCREEN.
            ENDIF.
          ENDLOOP.
      ENDCASE.
    Help please... I don't know how can I make this.....
    If I use screen...how can I put this screen in the correct place?
    Thanks a lot
    Regards,
    Rebeca

  • 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.

  • Is it possible to make department field mandatory in T.code KS01

    Hi all,
    I need to make Department field mandatroy in Transaction 'KS01' Create cost center
    Is it possible to make department field mandatory.
    Pls suggest me if any possibilities.
    Thanks & Regards
    Bhaskar

    Hi,
    To add to above, Just check this point:
    SAP does not support implementation of new fields exits from ECC 6.0. It will still support the existing field exits in the system
    Also check if you can create the field exits from program RSMODPRF..
    Regards
    Shiva

Maybe you are looking for

  • Control of Transfer Of  Requirement  creation Screen   T code OVZG

    Hi All, I am trying to create a new Requirement Class in T code OVZG but in the details screen i am not able to change some fields like,Special Stock,w/o val start,strategy seq,costing.........etc, All in display mode how to make it in change mode...

  • I can send but not receive email using Mail and Comcast

    My incoming mail [Mac Mail 3.6(936) ] slowed and now has stopped. I get error message "mail.comcast.net" on port 995 timed out. I can send. I can receive at Comcast.net. I have tried changing the port setting to 101 and no SSL and 587 (the comcast on

  • CS6 - Strange red box when trying to Save As

    Hi everyone, I've got an annoying problem that has just developed in CS6... When I try to 'Save As' I get the corner of a red box on screen next to the cursor and I do not know what it is. This happens when pressing CTRL SHIFT S. Then, rather than op

  • Cannot sqlplus sys as sysdba from remote server :ORA-12154

    Hi, I am trying to connect from linux VM app server to the database as sys as sysdba but it returns TNS error. I verified that listener is up, the REMOTE_LOGIN_PASSWORDFILE is exclusive and there is password file. [ORACLE@SERVER admin]$ sqlplus sys a

  • TS4268 Why won't my iMessage work? I always have to press "send as text" instead

    I just bought a new IPhone 4, and for a few days the iMessage did work but now all of a sudden it will not send no matter how good my service is, and then I have to press "send as text message" in order for it to send