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

Similar Messages

  • How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice

    Hi,
    Kindly solve, How to put Sales employee (Splcode) Mandatory Field, when adding A/R invoice.
    Regards,
    Rajeev.

    Follow this step..
    1. In SQL Server, go to the SAP B1 Database you're using. 
    2. then on the Object Explorer , go to Database Folder, explode the SAP DB->Programmability->Stored Procedures->SBO_SP_TransactionNotification * the only Stored Procedure that is allowed to be edited. Just right click and modify
    3.  Try to paste this -> and click F5
    If
    @object_type ='13' and @transaction_type in ('A','U')
    Begin
    If EXISTS
    select DocEntry from ONIV
    Where DocEntry = @list_of_cols_val_tab_del
    and  SlpCode<>'-1'
    Begin
    set @error_message = 'Please select the Sales Employee'
    set @error = 1
    END
    END
    Regards
    Kennedy

  • Need Profit centre field as mandatory field in the sales order

    Dear All,
    Normally Profit center data maintained in the material master, same data will get coipied to the sales order while creating sales order in VA01 transaction.
    My requirement is if profit center data is not maintained/available in the sales order system should give the error message
    For this I need Profit center field as mandatory field in the sales order(VA01).
    Can you please give possibilities ASAP.
    Give the SHD0 maintenance step by step.
    Regards,
    Murali.

    Hi Murali
    I beleive that you are talking about the Profit centre field not maintined in sales order hence not picked in delivery and billing and there is an FI posting error  (GL account error) because of that
    Profit centre is maintained in MMR and the same flows thro the sales cycle and i am quite sure if maintained in MMR it will be picked automatically and no need to make it mandatory in sales order( as the purpose is already solved)
    But there is no standard option in SAP like (even if Account assignment category of the material is not maintained in MMR it can be given in VF02 and the document can be released for accounting) to give the Profit centre in the billing and release the same
    Profit centre field field is picked from masters and flows in the entire flow and that field is greyed out (like no option of inserting it inbetween)
    As told by others incompletion log in sales doc type will take care for future orders and for the already created orders the standard option is cancel billing, reverse delivery and open the sales order and give   Profit centre field and process it (if only a few orders are there)
    But if the already created orders are many then from the FI Area  you need to go for development ( we also faced this issue as profit center not maintained in MMRs and hence accounting got hit and there were tons of billing docs and our FI consultant made some development to open it and solve it) FI consultant should be able to do this for already created orders
    Instead of making Profit centre field as mandatory field in the sales order better make it a mandatory entry in MMR
    Regards
    Raja

  • How to make standard class as mandatory in eupiment master[class overview]

    Hi,
    In equipment master if I want to make standard class as mandatory field [Check standard class].
    If any any configuration is available please give me the path.
    Else Any user exist is available please suggest me.
    Reward points are available
    Thanks in advance.
    Hanamanta

    hi,
    Just follow the menu path given.
    Cross-Application Components > Classification System >
    Classes > Maintain Object Types and Class Types
    Assign required class type to table EQUI and remove the class types which are not required.
    This will definitely solve ur problem.
    with regards,

  • To maintain 'Functional Location Description' field as mandatory field

    Hi All,
    I am unable to maintain the "Functional Location Description" field as mandatory field (Screen Filed: IFLO-PLTXT).
    In IMG settings, I am unable to find this field to change it to "required" field. Could you pls. tell me the way to make this field as mandatory.
    Thanks in advance.
    JK

    hi try t.code oiaj there is a filed of description

  • How can we take the cursor to a different sub-screen from the BADI?

    Hi,
    We have to do some validation on Header, Operation and Relationship of any work order (IW31, IW32). We have checked that validations can be done at BADI WORKORDER_UPDATE in the method u2018AT_SAVEu2019.  But user wants us to take the Cursor back to the field and screen due to which the error is coming. How can we take the cursor to a different sub-screen from the BADI?
    Thanks in Advance,
    Pranav

    You 'ran out of room' because you tried to put your entire question into what is the 'Topic line' of the post.
    This is a fairly common error, as a scan of the topic list will show, and likely due to a design flaw in the layout of the composition page.
    Most posters who make this error do so on their first post, and are able to avoid a similar misstep on their second and subsequent questions.
    Regards,
    Barry

  • How to make Sales group and office field mandatory in VA01 first screen

    hi gurus,
    can anybody tell me how to make Sales group and sales office mandatory field on VA01 tcode first screen. i have requirement to make it compulsary on the first screen otherwise they wont be able to goto next screen.
    will reward points for sure
    thanks
    mandy

    Hi! Mandy,
    Try using t.code SHD0, choose your transaction variant here, further choose your screen variant.
    Next select your screen variant and in the Menu bar select Variant> change with processing>Make repairs in foreign namespaces only if they are urgent> Continue(Enter)>again 'enter'>Object can only be created in SAP package>continue(enter)> Exit and save >This variant contains other screens, adopt these as well?>enter>enter> scroll down to the entry required by you make the necessary changes(Output only, invisible or required) and save.
    The system will prompt to assign a package and request enter the necessary values.
    Provide your feedback.
    Regards,
    PATHIK

  • How to make default values in selection field?

    hi,
          i have selection field date , using data element 'QENTST' using following code in view INIT Method. i get the input selection field when i test application.
    DATA: LT_RANGE_TABLE TYPE REF TO DATA.
    CALL METHOD WD_THIS->M_HANDLER->CREATE_RANGE_TABLE
      EXPORTING
        I_TYPENAME                     =     'QENTST'
      RECEIVING
        RT_RANGE_TABLE           =     LT_RANGE_TABLE.
    CALL METHOD WD_THIS->M_HANDLER->ADD_SELECTION_FIELD
      EXPORTING
        I_ID                                     = 'QENTST'
        IT_RESULT                         = LT_RANGE_TABLE
        I_OBLIGATORY                 = ABAP_TRUE.
    What i need now , to make default value in this selection field( low = sy-datum and high = sy-datum + 10 ) . I have checked , i found one method called... SET_RANGE_TABLE_OF_SEL_FIELD. Bt i m not able to understand how to assign values to input table parameter in this method?
    Thanks In Advance.
    Saurin Shah

    Hi,
    Refer this Article by Thomas on how to make default values in Select Options:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd
    I hope it would solve your problem.

  • How to make a validation for a field?

    Is any possible to make input value
    validation for a field?
    E.g. Force the user enter ItemCode in a
    correct format with proper prefix XX-BB-.... .
    If SDK is a only solution, how to do it?
    Regards,
    Kenneth

    You can't realy do it with out sdk. You could always try to right a query that will clear the code when it isn't in the correct format. then if they press add it will give an error cause there is no item code. But you'll struggle to get this right and it won't be full proof.
    In sdk in your item event you'll test if the specific edit box lost focus and before the action, if that is true then check the value. If it is not correct then bubble the event and give an error. when you bubble the event it won't do the action they wanted to do.
    Hope this helps.

  • How to Make u0091Contactu0092 Profile a required field in BP Maintenance?

    We are using "status" tab in the Tcode: /nBP- BP Maintenance and trying to do following two things:
    1.     Make ‘Contact’ filed as REQUIRED fields in BP Master in under ‘Status’ tab, and
    2.     Restrict one or more communication method(s) as ‘Disallowed’ while others remain Allowed. Here is the scenario: BP chooses NOT TO BE CALLED on Phone but agrees to receive Letters and/or Emails.
    We believe this would require development, but wonder if there are other options, or if anyone has done something similar and would be willing to share?
    Thanks in advance,
    Purush Chitkara

    Hi,
    Sort Key can be made as mandatory through SPRO settings.
    SPRO > Financial Accounting New > Accounts receivable and accounts payable > vendor accounts > Master Data > Preparations for creating vendor master data > Define Account groups with screen layout > Double click on your account group > Double Click on company code data > Double clcik on account management  > Make the field sort key as required entry.
    Regards,
    Prabu

  • How to make Plant as an optional field in ME21N

    Dear Experts,
    Is it possible to make plant as an optional field while creating a PO(me21n)? If so then please suggest the T-code and procedure.
    Thanks and Regards,
    Manish

    Dear All,
    I completely agree to all of you that Plant is mandatory, but since I am procuring with reference to WBS element, plant is already picked up. I am trying to avoid the error of assigning 2 plants to same PO.
    Please advise,
    Thanks and Regards,
    Manish

  • How to make a column as Password field?

    Hi,
    I need to change the column as "Password" field.
    I.e. the data should be shown as "******" in DB Also.
    How to make this happen in Table column?
    Kindly guide / help me on this.
    Thanks,
    Orahar.

    Orahar wrote:
    Dear Kumaran,
    Thanks.
    Can you explain me about the view which I need to create to displays the column value as stars ("*****")?
    Thanks,
    Orahar.
    SQL> create table tbl_test (id number, name varchar2(10));
    Table created.
    SQL> insert into tbl_test values(111,'test');
    1 row created.
    SQL> select * from tbl_test;
            ID NAME
           111 test
    SQL> create or replace view vw_test as
      2  select '*****' id, name from tbl_test;
    View created.
    SQL> select * from vw_test;
    ID    NAME
    ***** test
    SQL> insert into tbl_test values(2,'test2');
    1 row created.
    SQL> select * from vw_test;
    ID    NAME
    ***** test
    ***** test2
    SQL>

  • IW31 how to set functional area as mandatory field?

    Hi,
    Can anyone guide me, is any way to set "functional area" as mandatory field (t-code iw31 Additional Data -> Functional area)? Thanks in advance.

    go to the config:
    SPRO:  PM & CS -> Maint. & Serv. Processing -> Maint. and Service Orders -> Define Field Selection  for Order Header Data (PM)
    ...Choose "Field Selection for order header data"
    ...toggle to change mode (use menu "field selection at the top left".  Then find your field (functional area CAUFVD-FUNC_AREA) and put the radio button to "required"
    This will make it mandatory for all order types.  If you want only specific order types, use the influencing fields to pick only certain order types.

  • Make material as a mandatory field for a particular document type in PR

    Hi,
        Currently we are in SAP 4.6c version. There is a business requirement for making material as a mandatory field for a particular document type of purchase requisition as they don't want the user to raise non material purchase requisition using that document type. The field for material is currently not available in the configuration for Define Screen Layout at Document Level for purchase requisition.
    So could you kindly let me know the possible options to prevent user from raising a non material purchase requisition using that document type. If not could you kindly suggest me the user exits available at the time of saving purchase requisition which i could use so that we can write a code to check if the material number is entered or not. If not entered prevent the user from saving the purchase requisitions.
    Also it would be helpful if you could let me know how the fields for enjoy transaction (like material,document type) can be made available for selection in the configuration for Defile Screen Layout at Document Level for purchase requisition.
    All you help in the solving the above problem is highly appreciated.
    Thanks & Regards
    Ram

    Hi,
    Check below method works out for you, if you do not want to proceed with any ABAP development.
    Have a custom field selection key with Material Description field as "Mandatory" and "Display" in Basic Data, Item selection group.
    Assign this to your PR document type which need material as mandatory. With this you are making user to enter material indirectly as mandatory & user will not have an option of entering text which avoids indirect / service procurement.
    "Material Group" option won't help as User can have default settings with some value and it updates even in display mode of field.
    Regards,
    Ram
    Edited by: Ramprashanna S on Jan 11, 2012 11:51 PM

  • How to validate incoming messages with mandatory field coming as null/empty

    Hi,
    I want to validate the incoming messages received by the file adpater.
    1. Need to check that all the mandatory fields(minoccurs=1) has values, else it should return fault. But what happening now is even though the mandatory fields are empty/null, file is being read by the file adapter and not getting faulted.
    2. I have tried using the Validate Activity/Assign Activity but this is a business fault and not sytem fault, hence no faults are auto generated.
    3. We are presently using the if/switch activity and putting the conditions manually in order to validate the mandatory fields and hence it is throwing the business faults explicitly.
    4. But if there is 200 fields mandatory out of 500 fields schema, then we need to hardocde manually all 200 fields. Please advise me if this is possible in any dynamic way.
    Thanks
    Edited by: 902781 on 15.mar.2012 07:33

    Dear vijay,
    This is my xsd::
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="0"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="0"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I tried the above xsd as well as
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns="http://www.example.org"
    targetNamespace="http://www.example.org"
    elementFormDefault="qualified">
    <xsd:element name="exampleElement">
    <xsd:annotation>
    <xsd:documentation>
    A sample element
    </xsd:documentation>
    </xsd:annotation>
    <xsd:complexType>
    <xsd:sequence>
    *<xsd:element name="element1" type="xsd:string" minOccurs="1"*
    nillable="false"/>
    *<xsd:element name="element2" type="xsd:int" minOccurs="1"*
    nillable="false"/>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    But instance is getting completed even though the mandatory string field(element 1) is empty/null like:
    <element1></element1>
    What I feel is, string will accept all the values whether it is int, date, long and in the same way it is accepting null character.
    Please let me know if you have any solutions to overcome this.
    Thanks again.

Maybe you are looking for

  • Mac mini 2010 very slow after update to Mavericks

    My mac mini 2010 (2.4 Ghz, 8GB ram) is running really very slow after updating to Mavericks. Clearly OneDrive is a pain... but had it running on ML as well, and though it is a memory and CPU hog, it never really slowed down the system. This is what E

  • Problem with Organizer

    I want to organize photo order in album, but when I create and select album I only have op tion to sort by date.  "Album Order" does not appear.  Am I do something wrong?

  • IPod Touch Widescreen TV

    Hey folks... Got myself the Apple iPod component cable today. I have it hooked up to my Sony HDTV - I have a question to see if anybody here might know.... I was under the impression that if I set the Widescreen option in the video settings of my iPo

  • Dolby Audio Decode Licensing Restriction

    I have used the same video camera Canon which shoots AVCHD for 2 years now and had Adobe CS 5 Production Premium for Windows, CS 5.5 for Mac and now Creative Cloud on both a Mac and Windows 7 64 bit computer. No problems inputting the same footage we

  • Launch to specific help page

    I'm sure this has been covered before, but I can't seem to find it when I browse or search. So I apologize for the redundancy... Is there a way to launch RoboHelp so that it opens to a specific topic? For example, you are on an e-mail page and you la