FREE check box in PO should be selected by default for specific material

Hi All,
We have a check box  FREE in PO creation - ME21N in the item row  which is selected when ever we want the vendor to supply those items as free.
- I have a list ot items which are supplied freely by the vendor which I have to mention in the PO. My requirment is when ever the specific material is in the PO the FREE check box should be selected by default. Is it possible?
Please advice.
Thanks ,
Vengal Rao.

Hi Vengal Rao,
I don't think there's such flag in the material master. As far as I know any material can be supplied either free or chargeable - the buyer has to choose the applicable option it in each specific PO.
If however in your business case certain materials shall always be supplied as free, then you can use the BAdI that I mentioned above to analyse which material is being procured and set the FREE flag in the PO accordingly.
BR
Raf

Similar Messages

  • Free check box in PO

    Hi,
    While creating PO, when i am entering plant, then only free check box is gettiing checked automatically.
    How?
    Uts

    Hello Uts,
    If I understand well your question is "why free field is set automatically" !!!
    The 'Free Items' indicator in the overview is only used to facilitate the switching off of the Inv.Receipt flag and the GR-based IV flag. ( Note that the 'Free Items' indicator is not stored on the PO item table EKPO).                                                               
    The Inv.Receipt flag (and the GR-based IV flag) are the fields thatreally controls if an item is 'free' or not, so, you have to check if these fields are cehcked or not.                                                                               
    Hope this can help
    Regards,
    Mauro

  • Oracle ADF - Check box auto refresh on first select.

    Hi,
    I am using ADF application for development. in my project.
    when select Check box for all record selection then all
    Check box auto refresh on first select. and also records get refreshed
    Pls suggest a solution for the same.
    Thanks
    Vinod

    Vinod,
    You need to give more information about your use case and the jdev version you are using.
    You question is not clear to me. Do you want to set an attribute in all rows when you select a "select all" check box?
    What do you mean by "Check box auto refresh on first select"?
    Timo

  • By clicking on  a button all the check boxes i have should be checked

    Hi all,
    Im having a button 'SELECT ALL', by clicking on that all the check boxes i have in my view should be checked.
    Help me out with procedure and the sample code.
    Thanks & Regards,
    Suresh

    Hi Sureshkumar,
    1. Create a value attribute named <b>select</b> of type boolean.
    2. Bind the <b>checked property</b> of all the checkboxes to this attribute.
    3. Create an action called <b>click</b> and bind it to <b>OnAction</b> event of the button(whose click will check all the checkboxes) and write this code in that action.
    <b>wdContext.currentContextElement().setSelect(true);</b>
    Warm Regards,
    Murtuza

  • Check Box in Tree (tree multiple selection)

    I need to create a 2 level hierarchy tree, where the user is allowed to make multiple selection on leaf node. One way is to use TableTree (TreeByNestingTableColumn), but with this I am unable to get the same look and feel of a simple Tree view.
    My questions are:
    1. Is there a way to enable multiple selection on a simple Tree?
    2. If the answer to question 1 is no, then is there a way to add check boxes to the Tree elements (be it parent or leaf)?
    3. Is there anything that can be done to solve this issue without using TableTree?
    Thanks in advance.

    Hi,
    Please go through Multiselection in Tree control thread.
    The solution outline is like this:
    1. When you click on a leaf, you mark it as selected and you can also store it in the context.
    2. Click as many leaves as you like and the onAction will mark each of them as selected.
    3. There's no need to do a CTRL+click, only normal clicks.
    4. Once done you can find out all the marked leaves.
    Regards,
    Satyajit.

  • How to make a check box appear to the user when he does a specific action

    hi all
    i have created a check box and i want if the user does not do a specific action the check box appears ?

    so sorry i ment a frame with an error message
    remember my last program about randomization
    i want if the user did not enter the first name
    a message appear to warn
    and if he did not enter the second name
    a message appear to warn
    here i created a created a second frame to appear as
    awarning message
    and the action to allow the error frame to appear
    else
    c2.setVisible();
    but the compiler didnot recognized c2
    is that not legal to create two objects from
    container c2=getcontentpane();
    i want to understand this problem
    and making my code right
    and making my code right
    Code:
    import java.awt.*;
    import javax.swing.*;
    import java.io.*;
    import java.awt.event.*;
    class MyMatching extends JFrame
         final JTextField txt1=new JTextField("Name1",10);
         JLabel lbl3=new JLabel("Love");
         final JTextField txt2=new JTextField("Name2",10);
         JButton btn=new JButton("Result");
         JTextField txt3=new JTextField("%",5);
         JTextArea ta=new JTextArea(10,40);
         ImageIcon img=new ImageIcon("D:\\Mastering Java\\Java Projects\\Icons\\alert_lrg.gif ");
         JLabel lbl=new      JLabel(" Do You Love Computer Science?",img,JLabel.LEFT);
         JPanel pnl1=new JPanel();
         JPanel pnl2=new JPanel();
    JPanel pnl3=new JPanel();
         MyInner inner;
         MyMatching()
              setupGUI();
         private void setupGUI()
              setSize(500,300);
              setTitle("Love Matching v1");
              Container c=getContentPane();
         Container c2=getContentPane();
              c.setLayout(new BorderLayout());
              pnl3.setLayout(new BorderLayout());
              pnl1.setLayout(new FlowLayout());
    pnl1.add(txt1);
    pnl1.add(lbl3);
    pnl1.add(txt2);
    pnl1.add(btn);
    pnl1.add(txt3);
    pnl2.add(ta);
    c.add("North",pnl1);
    c.add("Center",pnl2);
    lbl.setIcon(img);
         pnl3.add("Center",lbl);
         c2.add(pnl3);
    setVisible(true);
    inner=new MyInner ();     
    btn.addActionListener( inner);
    // txt1.addActionListener( inner);
    // txt2.addActionListener( inner);
    class MyInner implements ActionListener
    public void actionPerformed(ActionEvent e)
    if(!txt1.getText().equals("Name1") && !txt2.getText().equals("Name2"))
         if (e.getActionCommand().equals("Result"))
    //First process
    int random= ((int)(50*Math.random()))+50;
    txt3.setText(random+"%");
    //second process
    String msg[ ]={"Love Can Touch Us One Time And Last For The Life Time\nYou Are A True Lovers.","Your Feelings Are Different \nYou Should Forget it."
    ,"Love Is A Passion\nYou Must Be More Romantic.","You Are An Angel\n But Your Lover Is A Liar."
    ,"You Must Think Deeply Before That Choice\nLove Is Not An Entertainment.","Do Not Lie To Your Hart\nYou Still Love Your First Lover."
    ,"You Cannot Love Again\nYour First Lover is So Lovely And Cannot Be Forotten."};
    ta.setText( msg[((int)( msg.length*Math.random()))] );
    /* breaking up the code
    double random = Math.random();
    int index = (int) (msg.length*random);
    String message = msg[index];
    ta.setText(message);*/
    ta.setForeground(Color.RED);
    else
    c2.setVisible();
         public static void main(String[]args)
              MyMatching mtch=new MyMatching();
    }

  • Inspection type 04 should not generate Insp.lot for specific Process orders

    Hi Guyes,
    I Want to skip the Inspection lots generation for specific process orders of a particular material during Goods Reciept and stock should be directly posting in to Un-restricted stock.
    In the material master assigned with Inspection type 04.
    Please advise me the possible options to map this scenario.
    regads,
    Rao

    In  QDR1
    stage 10-click on insp stage
    stage 10
    no. of insp : 5
    new insp stage : 20
    rej : 1
    new insp stage : 10
    stage 20 - tick on skip
    stage 20
    no. of skip : say "5"
    new insp stage : 10
    rej : 1
    new insp stage : 10
    Now use this DMR in Header of inspection plan of material of process order.
    what this will do is after 5 inspections it will skip the next 5 inspection lots.
    Make sure :
    You can maintain setting for "maximum skip duration in plant level.
    In QM view click on Skip & auto UD
    Create variant in QA16 & run through QA17
    Here in QA17 maintain the duration after which you want to take UD
    Also make sure that in selected set maintain stock posting proposal for unrestricted.

  • Selecting many records for each material...

    Hi all,
    I have an internal table that contains a list of materials. I want to loop over that list and retrieve a group of purchase reqs from EBAN for each material...appending each group of rews to my req table for each pass over the material list. Sample code;
    LOOP AT GT_MATERIALS INTO WA_MATERIALS.
    SELECT MENGE LFDAT
        INTO CORRESPONDING FIELDS OF TABLE GT_EBAN_FIELDS
        FROM EBAN
        WHERE MATNR EQ WA_MATERIALS-MATNR.      
        ???DO I DO AN APPEND OF SOME KIND HERE???
    ENDLOOP.
    Regards,
    Mat

    Hi Mathew,
    From performance point of view, the SELECT QUERY should not be under a loop. So you can do the following :
    <b>SORT GT_MATERIALS.
    IF not gt_materials is initial.</b>
    SELECT MENGE LFDAT
    INTO CORRESPONDING FIELDS OF TABLE GT_EBAN_FIELDS
    FROM EBAN
    <b>FOR ALL ENTRIES IN GT_MATERIALS</b>
    WHERE MATNR EQ GT_MATERIALS-MATNR.
    <b>ENDIF.</b>
    Also if the structure of table GT_EBAN_FIELDS has only two fields MENGE, LFDAT then please remove INTO CORRESPONDING FIELDS, instead use INTO TABLE GT_EBAN_FIELDS. This is becz INTO CORRESPONDING FIELDS would affect the performance.
    Best regards,
    Prashant

  • How is it possible outlook from filed selecting as default for each account if i have two mailbox in Outlook

    I have two mailbox accounts eg: A and B, if am sending new mail from mailbox B the from field showing A mailbox email address. How do i set this as automatically as B whenever i am sending from sending mailbox B and if am sending from A mailbox should be
    select as from field as A email address.
    Please provide an help. I am using office 2010 and OS Win7
    Thanks,
    Prabhu PB

    Hello Prabhu,
    Please read the following article
    Outlook 2010 does not honor the default sending account explaining possible actions.
    Pretty good explanation how to force Outlook to select account to send from can be found also
    here.
    Kind regards
    Eduard

  • Selecting max date for specific 'operation' code

    I have the following scenario: a history table that keeps track of the 'operation' and the date of the operation. For example, the operation field can have a code of U (for update), C (for closed), O (for re-opened), A (for approved), etc.
    The goal of this history table is to keep track of all of the modifications made. Hence, a particular record of interest can have more than one 'U' operation documented, C operation, etc.
    How can I choose the max date for each operation.
    I was diong the following in my PL/SQL:
    BEGIN
    SELECT operation_code, o_date, user INTO lv_operation_code, lv_date, lv_user FROM table1 WHERE unique_id = pv_id AND operation_code = U' AND o_date = (SELECT max(o_date) FROM table1 WHERE unique_code = pv_id);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    I then have another begin statement for the 'C' operation, etc.

    Hi,
    OraclePolzovatel wrote:
    ... I was diong the following in my PL/SQL:
    BEGIN
    SELECT operation_code, o_date, user INTO lv_operation_code, lv_date, lv_user FROM table1 WHERE unique_id = pv_id AND operation_code = U' AND o_date = (SELECT max(o_date) FROM table1 WHERE unique_code = pv_id);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN NULL;
    END;
    I then have another begin statement for the 'C' operation, etc.Are you sure that's what you're doing? There seem to be errors, such as unmatched quotes.
    Instead of doing a single SELECT with something like "operation_code = 'U'" in the WHERE-clause, you could write a cursor with "GROUP BY operation_code".

  • Where should we maintain valuation type for a material? URGENT

    For a particular material , how can we know whether a valuation type exists or not?
    Please tell me .

    IT IS MAINTAINED in Accounting view 1 of the material.
    Valvuation type is based on Valuation category.
    goto SPRO
    Material Management->Valuation and AccounT Assignment->Split Valuation
    Check there in Standard Valuation Category.
    Valuation type is stored in LIPS TABLE and also in table MBEW.
    Please reward if useful.

  • How to display the selection screen fields for selected checkboxes

    Hi all,
             I have 7 checkboxes, for each check box we have some seletion screen fields.if i select first check box,i want to display first slection screen fields only.
    and if we select more than one check box how to display the selection screen fields for selected check boxes,please help me this
    Thanks
    sriman.

    hi,
    Try this code
    report z_13317_sdn2.
    tables : mara, marc, dd03l.
    parameters : p_chk1 as checkbox user-command ABC,
                 p_chk2 as checkbox user-command PQR,
                 p_chk3 as checkbox user-command XYZ.
    select-options : s_matnr for mara-matnr modif id A,
                     s_ersda for mara-ersda modif id A,
                     s_werks for marc-werks modif id B,
                     s_lvorm for marc-lvorm modif id B,
                     s_tab for dd03l-tabname modif id C.
    data: v_chk1,
          v_chk2,
          v_chk3.
    at selection-screen output.
      loop at screen.
        if screen-group1 = 'A' or
           screen-group1 = 'B' or
           screen-group1 = 'C'.
            screen-input = 0.
           modify screen.
        endif.
      endloop.
      loop at screen.
        if v_chk1 = 'X'.
          if screen-group1 = 'A'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk2 = 'X'.
          if screen-group1 = 'B'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
        if v_chk3 = 'X'.
          if screen-group1 = 'C'.
            screen-input = 1.
            modify screen.
          endif.
        endif.
      endloop.
    at selection-screen.
      if sy-ucomm = 'ABC'.
        if v_chk1 = ' '.
          v_chk1 = 'X'.
        else.
          v_chk1 = ' '.
        endif.
      endif.
      if sy-ucomm = 'PQR'.
        if v_chk2 = ' '.
          v_chk2 = 'X'.
        else.
          v_chk2 = ' '.
        endif.
      endif.
      if sy-ucomm = 'XYZ'.
        if v_chk3 = ' '.
          v_chk3 = 'X'.
        else.
          v_chk3 = ' '.
        endif.
      endif.
    Regards,
    Sailaja.

  • ADF Tree with Boolean Check Box: How to find selected items

    Hi Experts,
    ADF: 11.1.1.5.0
    WLS: 10.3.6
    I am using an ADF Tree which contains elements at two levels (say Departments and Employees). My requirement is to give provision for user to select Departments and Employees using the check boxes. User should be able to select what ever Departments he/she likes and what ever employees he/she likes. There should not be a provision to select Employee with out selecting the corresponding Department (root node in the tree).
    I am facing the below issues while trying to implement this use case:
    1. Always, only the first master record will be expanded by default (I am using "Display Row" property value as "default" and "ExpandAllEnabled" as "true"). My need is to expand all the master records by default. So that user need not explicitly expand each master record node and then select the associated child records.
    2. Currently, I am using value change listener associated to af:selectBooleanCheckBox to identify the Departments and Employee records that have been selected. Since not all departments (masters) are expanded by default, if user selects the check box of department (master) and then expands the department node, automatically all the employees of that department are selected. But, this event is not triggering the value change listener for the employee records. Because of this, after a department node is selected and then expanded, all the child elements' check boxes are selected but the events are not generated. Hence, I am not able to capture the selection of employee records.
    To summarize,
    1. Please let me know how to expand all master nodes in af:Tree by default.
    2. Please let me know the best approach to identify the selected items (both master and detail items) in the af:Tree component using af:selectBooleanCheckBox.
    Thanks in advance,
    Rathnam

    Hi,
                Can you please elaborate the solution? I have a similar problem in
    https://forums.oracle.com/thread/2579664

  • Check Box Selection Questions

    Is it possible to make a selection with a check box, and then have it select a predetermined selection from a drop down menu?
    e.g. If I select "Los Angeles" from a series of office locations in my check boxes, can it automatically select an address from a drop down selection for that Los Angeles Office?
    Thanks for any help in advance
    Aaron

    Notice that this line
    request.getParameterValues("build1");
    is getting the value of the check box. The "checked" attribute is not the value, just the attribute.
    Oddly enough, I just wrote some code to do this today.
    First, add this little javascript method to your page.
    <SCRIPT language="JavaScript"> <!--  //Hide contents from older browsers
    function setHiddenTagFromCheckbox(checkbox, element) {
      if(checkbox.checked) {
        element.value="yes";  
      else {
        element.value="no";  
    // End hiding the contents -->
    </SCRIPT> 2) Add a hidden input field for each checkbox field.
    <input type="HIDDEN" name="prin2signhidden" value = "no">3) Add an onclick handler for the check box
    <input type=checkbox name="prin2sign" onclick="setHiddenTagFromCheckbox(document.formname.prin2sign, document.formname.prin2signhidden)">In your servlet check the value of prin2signhidden instead of the checkbox input.
    The forum is doing odd things to this source code. Any place you see a > you should actually have a "greater than" sign.

  • Can a check-box be used to select more than one value

    Hi, I have a form with a check-box that only allows one selection at a time. I have a requirement now to allow the user to select multiple selections. How can I accomplish this with a checkbox? Please help.

    Then i didn't get your actual form-design.
    Well there are 14 items displayed for each 14 denial reasonSo you have 14 items where each is for one denial reason, or 14 items where each has 4 denial reasons (14x14)?
    They are all 'grouped' as one check_box item in the blockWhat does that mean. For the 14 items there is one checkbox? And what is the meaning if you check it?, and what if you uncheck it?
    so I don't quite know how to be able to check 2 or more reason per recordAs far as i understand you, you would have to have 14 checkboxes, one for each reason, which can be individually checked/unchecked.

Maybe you are looking for

  • How can I import bookmark HTML records directly into pre-defined (but empty) Folders?

    Firefox is my default browser. I am in the process of replacing an old computer with a new one. I've converted into HTML files the Bookmark content of all of the Folders appearing within the Bookmarks section of Firefox on my old computer. I then upl

  • Hoy can I see online videos ?

    I need see a online video that works with Adobe Flash Player, but this program do not work for iPad, so, something lime this for iPad Air?

  • Bapi for final confirmation serviceorder

    I'm looking for a bapi which enables me to give a final confirmation to a serviceorder. in the current scenario people are using cats for hourdeclaration on serviceorders. most of the time it is not known after hours are entered if the job is finishe

  • User exit for the purpose of changing invoice quantity

    hi all,     In Tcode vf01, when i input the delivery number and press Enter, program will goto the next screen. There's a subscreen, which number is 104 in program SAPMV60A. These screen reflects the data of each item, and the fields of this subscree

  • Quotation comparison

    Hi gurus             when comparing the prices entered  in  quotation maitenance  in me49 is there any chance of comparing price taking taxes also ie excise duty,cess ,sh cess ,vat etc into consideration. please check this scenario thanks & regards r