Help on how to assign a field as mandatory in MIRO and name of user exit

Hi all,
the requirement is...
In MIRO,the Incoimg invoice should not be posted without an empty field of amount(WRBTR) in the Basic Data.Currently as per std,it's not a mandatory field and can be posted by not entering any amount in that.So, either we have to make it as a mandatory field or should restrict not to saving the data if posting of empty field.(Not giving any amount)***seems,it tells the user to give the amount as mandatory.
How to do this.....if its coming under the USER Exit object...pls post both how to get the std program and enhancement assignment(it asks while creating user exit in CMOD) also for user exit.
thanks & regards
sankar.

Hi,
Double click the screen number in the table maintainece generator for which you want to make the field mandatory. Goto element list tab, in that goto the special attributes tab, there you change the input column value of the field to required from the drop down list and save, activate. Now the field will be mandatory in the table maintainence screen.
OR
1) Make the field as a KEY field in the table, If Possible.
2) If the field can't be made as a part of the key field, then you have to create Event for the Table. Goto the table maintenance generator. Goto Environment->Modification->Event and add your logic in the required event.
Make change in the Screen will not help i think because whenever the Table maintenance is regenerated, the changes will be reverted back.
Reward points if found helpful...
Cheers,
Chandra Sekhar.

Similar Messages

  • How to add a field to the selection screen and when the user enters ...

    hi all,
    can any one plesase send the code of how to add a field to seletiion screen and when the user enters in the field , it should be store in the database table , the table is MKPF and the field is BKTXT.  Thanks.

    Hi Kripa,
       If u r using PNP ldb then the screen u will get is the screen for that ldb and if u want to add some more fields then u define using selection-screen..as follows
    SELECTION-SCREEN BEGIN OF BLOCK mysel WITH FRAME TITLE text-111.
    PARAMETERS: n_in_en  RADIOBUTTON GROUP g1,
                q_ev  RADIOBUTTON GROUP g1.
    SELECTION-SCREEN END OF BLOCK mysel.
    SELECTION-SCREEN BEGIN OF BLOCK mysel1 WITH FRAME TITLE text-222.
    PARAMETERS: r_date TYPE sy-datum DEFAULT sy-datum.
    SELECTION-SCREEN END OF BLOCK mysel1.
    SELECTION-SCREEN BEGIN OF BLOCK mysel2 WITH FRAME TITLE text-333.
    PARAMETERS:f_ver(3) TYPE c DEFAULT 1,
               c_no(10) TYPE c DEFAULT '9D0161',
               u_id(15) TYPE c,
               password(15) TYPE c,
               r_email(30) TYPE c DEFAULT PARAMETERS: s_not TYPE c AS CHECKBOX.
    PARAMETERS:t_run TYPE c  AS CHECKBOX.
    SELECTION-SCREEN END OF BLOCK mysel2.
    SELECTION-SCREEN BEGIN OF BLOCK mysel3 WITH FRAME TITLE text-444.
    SELECTION-SCREEN BEGIN OF BLOCK mysel4 WITH FRAME TITLE text-555.
    PARAMETERS: p_ser  RADIOBUTTON GROUP g2,
    a_ser  RADIOBUTTON GROUP g2.
    SELECTION-SCREEN END OF BLOCK mysel4.
    SELECTION-SCREEN BEGIN OF BLOCK mysel5 WITH FRAME TITLE text-666.
    PARAMETERS:p_path TYPE string.
    SELECTION-SCREEN END OF BLOCK mysel5.
    SELECTION-SCREEN END OF BLOCK mysel3.
    u will get this additional screen after the screen of ldb.
    I hope this will help u..
    Thanks & Regards
    Ashu Singh.

  • How to Assign a Field value to a Variable??

    Dear All,
    Kindly let me know, if <b>"HOW TO ASSIGN A FIELD VALUE TO A VARIABLE????"</b>
    Situation is, we have a Field (OBJK-TASER) in which 2 tables (SER01 & SER03) are stored. And we want to access names of the Tables which are there in the field(TASER) in  (OBJK) table  to a variable and then passing that variable to the sql query as a table name to get data accessed dynamicaly.

    try this
    select TASER from OBJK into table it_table.
    loop at it_table.
    select field1 field2 from (it_table-table) into table it_fields.
    endloop

  • Hi, plz help me how to assign my PO to output types

    plz help me how to assign my PO to output types through Nace t-code.what form routine?

    Murli,
    the settings in MN05 for PO.
    NACE is the Tcode used to link the Application type, Output Types and its processing Routines like ( Driver programs and attached Script forms or Smartforms).
    You should know the Application of a document first Like:
    for PO it is EF, for sales Doc's it is V1, for Delivery docs it is V2, for billing Doc's it is V3 etc.
    so first select the Application type (ex: EF) for PO and press OUtput types
    then a list will come in that you should know the related output type for PO.
    select any outtype and click on the processing Routines button on the left side
    it will display the Medium, Driver Program and the Script form or smartform related to that document..
    Reward points if it is helpful..
    Amit.

  • After installin Adoe phostoshop c6 and illustrator i open it then it no open because need the serial no.... i follo the steps to finde my serial no.and no real result to find it .. pleaaase help me how can i find e my seria no.. and howa y download the ph

    after installin Adoe phostoshop c6 and illustrator i open it then it no open because need the serial no.... i follo the steps to finde my serial no.and no real result to find it .. pleaaase help me how can i find e my seria no.. and howa y download the photoshop free ith no serial no and nolimit 30 days and no money? please get the link????

    Yasmine,
    Topic or subject titles should be clear, pertinent and concise so that individual users can tell at a glance if they can help or not.
    That field is not for attempting to fit your entire question in there.
    Please keep this in mind next time you post.  Thank you.

  • My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn'

    My Ipad wont retrieve my new emails and if I try to check passwords in Settings, the settings window only stays open open for a second or two and the automatically closes. Any help on how to fix. I tried the turn off and on trick and that didn't work either. Thanks for any help.

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • How to Assign Image field in crystal report through Image UDF

    Hi All,
    I want to capture the Image UDF in crystal report. How can i assign the field in report.
    Can any body help me.
    regards,
    Kiran Kumar

    Hi kiran Kumar,
    IPost a message to SAP Businessone Reporting & Printing Forum
    and also check this link
    Re: SAP Business One and Crystal Reports
    Image Type In Crystal Report
    Regards
    Jambulingam.P
    Edited by: Jambulingam P on Jun 19, 2009 8:22 AM

  • Help reqd for coding to assign the  field as mandatory.

    HI all,
    I got the user exit and also assigned the component as "EXIT_SAPLMRIM_002"..im now here to create a code under the include program of "ZM08U09"....for to make the amount field as mandatory(obligatory)..with some pop-up message...
    how to do that....
    Do u people have any experience on this...pls post ur comments on urgent basis.
    thanks & regards
    sankar.

    Hi Sriram.P
    thanks for ur prompt reply
    ...but actually,my problem is...i dont know the exact table for miro (invfp-wrbtr showing in the screen)....i've already prepared some coding but the table i've mentioned is not the correct one...
    Do u know the table for Incoming invoices records (MIRO)
    thanks & regards
    sankar.

  • Help. How do you TAB from HTML component to applet (and back) ?

    How can one tab between applets in a browser, and from an applet to an HTML component?
    For example, I have the following in my page in decending order:
    an HTML text field,
    an applet containing two components,
    and another HTML text field.
    When focus is on the first HTML text field pressing TAB should shift focus to the first component of the applet, the next TAB press shifts focus to the second component of the applet, and the next TAB press shifts focus to the other HTML text field. Then another TAB press cycles back to the first TEXT field.
    I can handle the tabbing within the applet using the FocusManager, but how can I get the applet to receive focus on a TAB from the browser, and once the applet has focus, how can I give focus back to the browser when a TAB occurs from my last applet sub-component?
    At the moment a user has to click on the applet before he can tab in it, and then click outside it to tab in the html again.
    Any help appreciated, as I cant find any reference to how to do this apart from other people asking the same but getting no replies.
    Thanks,
    Menno

    I see what you are saying. Either use javascript with LiveConnect or go all applets.
    What we are actually doing at the moment is trying to componentise using small applets passing data via InfoBus. So I guess we could use only applets as you suggest. Either with getAppletContext, or we could have a data item on the InfoBus which contains the name of the required in-focus applet, and all applets listen to see if it is their name, and if so request focus.
    I'm suprised applets are not tab-able between by default. I would have thought this was a common requirement.
    I'll look into LiveConnect as well, and let you know how we get on.
    Cheers,
    Menno

  • How to make PAN field as mandatory in vendor master

    Hi,
    In second screen of xk01one application toolbar named CIN details is there. In CIN details->withholding tax tab PAN filed is there. I want to make this field as mandatory. How can i do that. please please help me.

    Hi,
    SPRO -> Logistic - General -> Business Partner -> Vendor -> Control -> Define Account Groups and Field Selection (Vendor)
    In this Screen select your acount group(Vendor) and double click, sysyem will takes to a new screen
    and click select Field Status(like General,Compnay Code & Purcahsing data) and then click select groups(1 by 1) and double click and make the following fields mandatory and save.
    1.PAN No.
    2.Excise No. and Range (for applicable casses)
    3.Service tax No.(for applicable casses)
    4.TIN No(LST)
    5.CST No.
    Hope this will help yo.
    Regards,

  • How to make input field as mandatory field in sub screen

    Hi All,
           I need to display the input selection parameters in tab strip sub screen. The input screen is not giving an error while processing with blank values, but I made the input field as required in sub screen input filed settings. Can some one please help me how to make the input field as mandatory field in sub screen.
    Thanks in advance.
    Regards,
    Kannan

    Hi Kannan,
        Try this out.
    1. Goto screen painter
    2. Enter the program name and screen number ( screen # 1000 -  in case if its  a custom report prg)
    3. Double click on the field which u`ve got to make mandatory.You`ll get Screen painter attributes window.
    4. U`ll find three tabs here - Dict, Program, Display
    5. Go to Program tab, and change the first attribute - Input field`s input value as "Required".
    6. Save and activate it.
    7. Now execute ur program and this should make ur field as mandatory on the screen.
    This works with input fields, but I`m not sure about the input field in tab strip control.
    Hope this helps
    Regards,
    Farhana

  • Assigning the field as mandatory in ChaRM

    Hi,
    could u please tell me how can I assign one particular field as mandatory? Say, I want the CAB field to be mandatory. In standard scenario, you dont need to fill the CAB field. If I want that to become a mandatory field, what all the configuration I need to do?
    Please advice.
    Rajeev.

    Hi
    There are 2 ways
    with configuration
    you can goto partner determination and for the CAB make the mininmum field as "1" ......this make it mandatory
    the user will get a error message in the error button but they can proceed further.
    with coding
    If you want to have a pop up then you need to go for coding BADI for your transaction type ...and you will get a pop that unless CAB is entered users can't proceed
    Hope it clarifies.
    Regards
    Prakhar

  • How to make Requistioner field as mandatory in Plant order

    Hi,
    Can anyone say how can i make the Requistioner(AFNAM) field as mandatory in Plant order creation (iw31).
    Regards,
    thanigai

    You can check that in a USER EXIT.
    Try this User Exit.
    EXIT_SAPLCOIH_012
    ENHANCEMENT: IWO10012
    Regards,
    Vimal.
    Edited by: Vimal V on Jul 23, 2009 12:36 PM

  • How to set a field as mandatory when another field contains specific values

    Hi SAP Experts,
    Is it possible to set the Plant Specific Material Status field as mandatory when the DChain-spec. status field contains a specific set of values? Thanks.
    Regards,
    Kim Yong

    Hi Kim,
        I think you can achieve this using the validation tab in the field.Add a new rule for validation select the condition as test and in the value you have use formula according to your senario.Select the 'Stop execution'.This will make the field mandatory.
    I hope this helps...
    Naga

  • How to make the text fields as mandatory (in 'notes and attachment' tab)?

    Hi,
    We have defined some Fixed Values for texts under IMG>SRM>SRM Server>Cross Application Basic Settings>Text Schema>Define Fixed Values for Texts, for a certain transaction type of RFx responses for a text schema.
    Because of this, the bidder can choose one of these fixed values for texts. This is perfectly working fine.
    Now the question is, we want to make the texts fields as mandatory. i.e. The bidder should not be able to submit the responses if certain texts are blank.
    Is there be any BadI for this?
    GH

    You can use BBP_DOC_CHECK_Badi for this field validation using a filter value RFx/Bid (I ont remember exact word).
    Regards,
    Jagadish.

Maybe you are looking for