Query field mandatory sq01

i have created aquery in sq01 and have the selection fields as sales order ie vbeln , plant ie werks , customer ie kunnr , sales organazation as vkorg.
now i want to make the sales org field mandatory in the selection screen in query.
tell me how to do this , thank you

Hi Ramesh,
You have to make your that selection screen field as obligatory like:
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
PARAMETERS PARM(5) OBLIGATORY.
SELECTION-SCREEN END OF BLOCK B1.
Hope it helps
Regrds
Mansi

Similar Messages

  • Add field in sq01, infoset query.

    i am trying to create a virtual field in sq01. i am creating a infoset query where i want to add two fields and need to displayed in the report. how can i do that without enhancing the infotype? i just need to add two fields and need to be displyed in third field. i want to add some logic of addition to those two fields and the result need to be stored and displayed.
    Message was edited by:
            shahid mohammed syed

    Hi ,
    I have got a query in AD-HOC query.
    After creating the Adhoc query using the join table functionality the resulting adhoc query does not results any out put.
    What I have done is :
    1.Created a user group through SQ03
    2.Attched user to My user group
    3.Created an infoset using join table functionality(SQ02).
    4.Saved and generated the infoset
    5.Added the user group to the infoset and than run the ADHOC query.
    The table I have used to join is all PA table (For test pupose)
    Though the purpose of the custom infoset is to join PA,OM and E rec infotypes, for testing purpose I have joined only PA infotypes.
    Result:The adhoc query does not gives any out put instead it says no data could be read.
    Could you please tell what else I need to do so that the custom infosets gives an out put.
    Will greatly appreciate your help.
    Thanks and best regards
    Rajeev

  • Need to Make end customer field mandatory in sales order form.

    I need to make end customer field mandatory when sales channel entered as some value...
    for this i have used when validate record on order form
    when i enter a value in sales channel as desired value the form is getting saved automatically and the field is getting mandatory
    but my requirement is to make field mandatory and then to save the order.
    let me know the sequence how it works if any one knows.

    Sanni,
    >
    when i enter a value in sales channel as desired value the form is <b>getting saved automatically</b> and (then) the <b>field is getting mandatory</b>
    but my requirement is to make field mandatory and then to save the order.
    >
    Which trigger are you using to do the "getting saved automatically'?
    Does this trigger fire before the trigger that is making the field mandatory?
    Regards,
    PS: Is this an Oracle EBS query? If yes, this is the wrong forum
    Edited by: Prabodh on Jun 14, 2012 4:48 PM

  • How to make Sales Office field mandatory in VA01 initial screen?

    Hi,
    How to make Sales Office field mandatory in VA01 initial screen? I mean in the first screen where we enter the document type and the sales area?
    Regards,
    Ajit

    Dear Deepak,
    Thanks for the clarification.
    But, as far, I have understood the query - it is very simple and that is..
    Whenever one creates a Sales Order (T.Code: VA01), Parameter: Sales Office needs to be mandatory (for all Sales Order, irrespective of Customer Account).
    Until-unless, user won't enter the parameter: Sales Office, System will not lead to next page (now, here we need to enter Customer/ material etc...).
    I have answered the query, in this regards, only.
    Best Regards,
    Amit.
    Note: Pls. correct me, if I am wrong. Thanks for everyones guidance.

  • Making input selection fields mandatory in Z-reports

    Hello Experts,
      We have a query on Z-reports:
    1)Suppose if we have some 8 to 10 selection parametrs in input screen of a Z-report & we have certain defined output fields,then we make certain fields as mandatory in input selection screen.
    2)If client's requirement is not to make any of the fields mandatory, then the logic to be built will be too cumbersome. This is because, user can give any inputs in any permutation & combination. This makes the logic for coding more complicated.
    In such cases, what should be the approach, like whether, we should insist client, that any of the fields should be made mandatory entry OR if not, how should we proceed with such  a requirement.
    NOTE: Logic becomes more complex, with the increasing number of input selection parameters(If none of the fields are mandatory).
    Kindly comment / suggest a way out for this.
    Regards
    Mahesh

    Hi Mahesh, In my view, explain the situation to client clearly, also talk to end user .. they'll be in better position to let you know about the information they need in most of the cases (and they don't harm even-if included in other reports as well), make these fields as mandatory.  Let the client know that the easier the report, better would be the benefits (may be 1 report can suffice for 5 reports) .. mostly this is what happens in the practical scenarios.

  • ABAP Query - SQ02 and SQ01 - custom selection criteria

    Hello
    I am on 46C. In my infoset I need to define three custom fields for selections. I am able to do that. Once I create my query these appear on the selection screen. So far so good.
    1. I need to use these custom selection fields as selection criteria for the tables in the join. How do I do that ?
    2. If I need to default some values for these selection criteria, I can do that in the definition. However I need the values to be greyed out to prevent the user from editing the values entered. How do I do that ?
    Thanks
    Hari

    1. I see that the standard variant assigned at the query level in SQ01. actually protects the selection field. There is no coding to make it only display. This answers part 2 of my question.
    2. I am positive that the additional SELECTION that was created is being used in the main join that retrieves data in the query (in addition to being used for other things). I am not sure why somebody would define it that way instead of just creating a regular selection field in SQ01. Could it be because there is custom coding present for additional fields and there is reference to the selection variables needed for the additional field ?
    How does one make this additional SELECTION also a criteria on the join ? I have attached the actual join Query generates - WRK, VKO and VTW are additional selection criteria.
    FYI - this is an existing query, that I need to enhance
    Thanks
    Hari
    SELECT MBEWBWKEY MBEWMATNR MBEWPEINH MBEWSTPRS MBEW~VERPR
           MBEWVPRSV MBEWZPLP1 MARAMATNR MARAMEINS MARA~MSTAE
           MARAMTART T001KBUKRS T001KBWKEY T001BUKRS T001~SPRAS
           T001WAERS MARCMATNR MARCMMSTA MARCPRCTR MARC~WERKS
           MVKEMATNR MVKEPRODH MVKEVKORG MVKEVMSTA MVKE~VTWEG
    INTO (MBEW-BWKEY , MBEW-MATNR , MBEW-PEINH , MBEW-STPRS , MBEW-VERPR
         , MBEW-VPRSV , MBEW-ZPLP1 , MARA-MATNR , MARA-MEINS , MARA-MSTAE
         , MARA-MTART , T001K-BUKRS , T001K-BWKEY , T001-BUKRS , T001-SPRAS
         , T001-WAERS , MARC-MATNR , MARC-MMSTA , MARC-PRCTR , MARC-WERKS
         , MVKE-MATNR , MVKE-PRODH , MVKE-VKORG , MVKE-VMSTA , MVKE-VTWEG )
    FROM ( MBEW
           INNER JOIN MARA
           ON MARAMATNR = MBEWMATNR
           INNER JOIN T001K
           ON T001KBWKEY = MBEWBWKEY
           INNER JOIN T001
           ON T001BUKRS = T001KBUKRS
           INNER JOIN MARC
           ON MARCMATNR = MBEWMATNR
           AND MARCWERKS = MBEWBWKEY
           INNER JOIN MVKE
           ON MVKEMATNR = MARAMATNR )
           WHERE MBEW~MATNR IN SP$00002
             AND MARA~MTART IN SP$00001
             AND MARC~WERKS IN WRK
             AND MVKE~VKORG IN VKO
             AND MVKE~VTWEG IN VTW
             AND MVKE~PRODH IN SP$00003.

  • Code order in sq02, Problem in the selection fields in sq01

    Hi all,
    I'm writing a query with sq01 and sq02.
    In sq02 I have some joined tables, and 2 extras fields named: "TIME" and "LEFT_ER".
    in this fields I wrote a code to calculate something from fields in the tables.
    The problem is:
    1. When I write the code in the coding section "Additional field/structure" for each field, If I want to use this fields in the selection fields (in sq01) the query can't find any record.
    But if I run this query without any selection in this fields, I get all the records, with my calculated fields.
    2. I tried to write this code in the coding section "Record processing", and it seems that I can use this fields in the selection fields (in sq01), and get all the records I wanted.
    But in the sq02 I get a Warning messages:
    "Access error in code for additional field *GET******
    *GET****** has sequence number 00
    Access to LEFT_ER with sequence number 00"
    In this case my field LEFT_ER has no code.
    And when I change the order of the sequence number, I didn't get the Warning message, but I could not use my fields in the selection fields (in sq01), like at the beginning.
    HELP ME PLEASE.
    Itzhak.
    Message was edited by: Itzhak Tanami

    Hi,
    i've an idea .
    pls define your help-fields :
    1) as sel-option : s_f1 for bseg-dmbtr
    and
    2) as calculate-field  : c_f1 for bseg-dmbtr
    so for event e.g. GET BSEG .
    you <b>1st</b> calculate your field .
    e.g.
    if bseg-shkzg = 'H'.
       c_f1 = Bseg-wrbtr * -1.
      else.
       c_f1 = Bseg-wrbtr.
    endif.
    and 2nd  your restriction from sel-screen:
    <b>check c_f1 in s_f1.</b>
    good luck
    Andreas

  • GRN Document Date / Posting Date Field Mandatory or Freeze

    Dear All,
    We have four Company Codes with single Chart of Accounts. we required to make GRN Document Date / Posting Date Field Mandatory or freeze on current date for only one Company Code. Can it be possible through Standard Configuration?
    Regards,
    Majid Khan

    what exactly we say Document Date & Posting Date
    Just type in google difference between document date and posting date  and execute.  You will find lot of threads discussed on this topic.  Please dont post any query without searching the forum or google.
    G. Lakshmipathi

  • Query output list - SQ01

    Hi Friends,
    When i execute a query by tcode SQ01 & save the result in local file (unconverted) as text format, then it gives many unescessay fields, like header text, description date cloumn headers etc.
    I want only the result (ASCII characters) that are seperated by space or either "tab" only.
    Can it be done through "Encoding" ? or do we need to change the query itself ?
    Please help.
    regards,
    Rohit

    Yeah it is clear visible that, the same combination might have available in different plants.
    So to avoid the duplicate entries, always select all the primary key fields available in all the tables in the output.
    If not atleast try restricting based on plant in the selection screen or any possible duplicate entreis.
    So add the key fields at Infoset level in SQ02

  • How to make extended field mandatory in Master Agreement

    Hello All,
    I am new to SAP CLM, and I have requirement where one extended field in master agreement needs to be made as mandatory field.
    I tried in extension definition but check box to make it required is disabled and I am unable to find other way to do it.
    Can some one help me and Please let me know how make extended fields mandatory in CLM.
    Regards,
    Prabhat

    Hi
    This could be achieved using Page Customization.Go to Setup-> User Interface-> Page Customization, open master agreement object (create new with UI ID:contracts.contract.ui.buyside.default if doesn't exist ) and add a new customization for extended field with Property set to Required.
    Regards
    Mudit Saini

  • Radio Button to make other field Mandatory

    I have two Radio Buttons that I want when clicked on (either one) to make a Number Field mandatory. I have viewed many websites on setting a mandatory field but the script I am using will not work. I have tried a couple ways of writing it but I seem to be missing something.
    I have used this script in the Show of: click & change
    Here is the script that I'm using right now.
    if  (this.rawValue==1)   
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    And this one:
    if (this.rawValue==2)
    AssemblyNu-1.mandatory ="error";
    else
    AssemblyNu-1.mandatory ="disabled";
    Thanks,
    HHud5757

    So, I put a quick form together to test your code.
    On the change event of the radio button list (not the radio button itself), I added:
    if (this.rawValue == 1) tfTest.mandatory = "error";
    else tfTest.mandatory = "disabled";
    In my case, the radio button with the value of 1 is the one I want to make the field mandatory. If you want either button to make it mandatory, then use:
    if (this.rawValue == 1 || this.rawValue == 2) tfTest.mandatory = "error";

  • How to make a field Mandatory in a Table view?

    How to make a field Mandatory in a Table view?
    The requirement is, the user should not be able to append a new Row, unless and untill he enteres the data in the column SOLD-TO. Now how do i acheive making this field madatory. Normally in Edit form view, we can go in customizing and flag Mandatory, for table view we don't have this option.
    Please can anyone of you guide me in this approach?
    Jagadish.G

    Hi Jagadish,
    have a look in this thread, part of the code you can use in eh_insert method or logic to write enable/disable insert button.
    Re: Assignment Block Mandatory
    regards
    Ismail
    Edited by: Ismail Shaik on Oct 21, 2009 11:36 AM

  • How to make a field mandatory in SAP Business one ?

    How to make a text field mandatory in SAP Business one?

    hi nishant,
    check this link
    Making fields mandatory
    To Set Mandatory Fields in Documents
    Jeyakanthan

  • How to make a field mandatory in billing

    How to make a field mandatory in billing document,if m right with the help of incomplition log but how.....
         plz reply the full configuration.

    Hi Mohan,
    We normally create a billing document with reference any other document say Order or delivery.
    so, all the necessary information in the invoice will be taken from preceeding doucments. Thats way in the order level we check for incompletion log. If any important data is missing in the order level then the succeding documents will not be created.
    Thats way in the billing documents all the necessary information will come automatically either from preceeding documents or from master data.
    Still you want to make any field mandatory, you can do these by modifieing Billing documents user exists,you can make which ever the fields are mandatory and to be checked before saving. so when you are going to save the invoice, it will check if these fields are maintained or not.
    Hope this is clear.
    Reward if helpful.
    Thanks,
    Praveen

  • System and Query field disable in Data Manager for Netweaver BI

    Dear All.
    i have installed Xcelsius Engage Server 2008, when i try to add connection for SAP Netweaver BI from the Data Manager the dialog appears correctly but in Defination TAB only the Name field is enable both System and Query field is disable.
    without that how can i configure the connection please let me know how to fix this issue.
    Kind regards,

    Hi,
    You give the name of the connection and then click on "Browse".  It will then prompt you to connect to the desired system.  Log in and then select the appropriate query you want to build a dashboard on.
    Hope this helps.
    Regards,
    RashmiG

Maybe you are looking for

  • HP envy D411a wireless Issues.

    Hello! im just having some issues with my hp ENVY D411a I'm using a Windows 7 OS. I can connect my printer and laptop on my wireless router (cisco) but when im about to establish a communication between those two devices i get no luck. here are the t

  • How do I get my movies from my iTunes library on my old laptop to my new mac pro?

    How do I get my movies from my itune library on my old laptop to my new mac pro?

  • I can not access my excel documents why?

    I have saved Excel documents on my Mac, however I can no longer open them why?  Word and Powerpoint are working fine.  What do I need to do?

  • Build a java application

    Halo, I am totally new to java..Iam basically an electronics student..havnt been to the computer science stream much..I am in need of some help in java..in fact the whole code itself..our project requires building a java application that can show a s

  • Why is my MacBook Pro 15in so hot?

    The fan in my computer is ALWAYS on and the heat is basically unbearable. This happens even if the only thing i am doing is browsing google chrome with a single tab open and no video contente or anything along those lines. This is what activity monit