Free items in automatically created POs

Hello gurus,
we would like to create POs automatically using MRP. The problem is that some of the materials are always free goods.
So if I created the PO manually, i would tick the free item checkbox. Can this be done automatically?
Thanks
Alicia

Hi,
yes , it is possible to get the free goods indicator automatically,
ask your ABAPer to develop a program to get the indicator automatically wrt to the document type,
related check box field is " UMSON " in the table EKPO,
here is the code, which may be helpful to you,
DATA: WA_EKPO TYPE BEKPO.
*TABLES ekko.
Making Free Item Checkbox Mandatory for IMF Doc. Type
IF SY-TCODE EQ 'ME21N'.
IF I_CEKKO-BSART EQ 'IMF'.
READ TABLE IT_BEKPO INTO WA_EKPO WITH KEY UMSON = ' '
                                          EBELN = ' '.
IF SY-SUBRC EQ 0.
MESSAGE E033(ZMEG) WITH WA_EKPO-EBELP.
ENDIF.
ELSEIF I_CEKKO-BSART EQ 'IM'.
READ TABLE IT_BEKPO INTO WA_EKPO WITH KEY UMSON = 'X'
                                          EBELN = ' '.
IF SY-SUBRC EQ 0.
MESSAGE E034(ZMEG) WITH WA_EKPO-EBELP.
ENDIF.
ENDIF.
ENDIF.
rgds
Edited by: lakshmi reddy on Mar 2, 2010 12:22 PM

Similar Messages

  • Alert box:No more free items available, please create new one

    Hi,
    We are running a SAP ERP Ecommerce, we get a strange alert box message "no more free items available, please create a new one". This alert window pops up only when you have created one order in a session and you are trying to create another order. Has anyone come across this issue?
    Steps to recreated this issue
    1. Create an order with any product - quantity is rounded to next possible value.
    2. Order created, close the order.
    3. Trying to create new order. (Product field is not a text box anymore)
    4. Try to transfer product from catalog by hitting shopping basket icon.
    5. Error message -> "No more free items available, please create new one".
    Thanks,
    -Tarun

    Hi,
    We are running a SAP ERP Ecommerce, we get a strange alert box message "no more free items available, please create a new one". This alert window pops up only when you have created one order in a session and you are trying to create another order. Has anyone come across this issue?
    Steps to recreated this issue
    1. Create an order with any product - quantity is rounded to next possible value.
    2. Order created, close the order.
    3. Trying to create new order. (Product field is not a text box anymore)
    4. Try to transfer product from catalog by hitting shopping basket icon.
    5. Error message -> "No more free items available, please create new one".
    Thanks,
    -Tarun

  • Automatically create POs from all approved requisitions

    I want to be able to automatically create purchase orders from all approved iProc requisitions (but wont have contract or blanket POs to use)
    I can get the suggested buyer added into the iProc shopping cart but want to know best route. Most people seem to have to hack the work flows so that the POs get created.
    I thought about using standard interface table to create the POs but believe that link to the requisitions wont be made (problem with reporting and encumberances)
    Would be interested in recommendations as to the best way to do this
    Thanks

    Do you buy the same items from those 9000 suppliers over and over?
    Do you want to automatically create PO or you want it to be submitted for approval as well?
    You may want to consider setting up the automatic sourcing. This way, the ASL and sourcing rules are automatically created when you create the first blanket.
    http://www.oracleug.com/user-guide/purchasing-overview/overview-automatic-sourcing
    Sandeep Gandhi

  • Create PO with the check box of free item selected automaticly

    Hi all,
    We would like to create PO's with a normal position and a second position which is free.
    Is there a possibility to have a special position type for free goods?
    We don't want to check this checkbox every time we create a PO...
    Thanks,
    Thomas

    hi,
    Indicator is not possible to get based on the position in the PO..
    You can get the indicator defaulted via maintaining the indicator in MMR and then considering the same material while maintaining the PO.
    Regards
    Priyanka.P

  • Subcontracting P.O with Free Items Ticked.

    Hi Gurus,
    I have a requirement wherein we want that P.O to be sent to the subcontractor should have the Free Items checked automatically in P.O.
    We would be creating P.R's through an MPS run, and convert it into P.O through RM06BB20
    Kindly note that we want only those P.R's which are created through MPS when converted to P.O should have Free Items (UMSOM) ticked, and not those P.R which are created manually.
    Please let us know how can we implement this in the system.
    We have already setup the special procurement in the material master.
    Can someone let us know the steps to be followed.
    Thanks
    Shailesh

    Hello Shailesh,
    We have similar scenario and achieved through ABAP development.
    What we did is
    "1. Created a new Purchase Group to exclude the MRP converted POs from Release Strategy.
    2. With a simple user exit, ABAPer developed a code with a check point as Purchase Group.
    3. During the auto PO creation, before saving the PO, the Free goods field will automatically unchecked due to the user exit."
    Give the requirement to ABAPer, he can find the exit and develop code without much efforts.
    Umakanth R

  • BADI to uncheck free item indicator (field UMSON) in PO through ME21N)

    Hi All,
    I have a requirement to remove the UMSON ( free item ") indicator while creating a PO using ME21N transaction based on the input from user. If material starts with 'P' and it is a standard order, then this field should be unchecked for that particular item. I am implementing the BADI ME_PROCESS_PO_CUST and method CHECK. However, I find that though the PO is held and not saved, the value of UMSON field is not changed.
    This is the code.
    DATA:   lt_mepoitem   TYPE purchase_order_items,
            ls_mepoitem   TYPE purchase_order_item,
            ls_mepoheader TYPE mepoheader,
            ls_head       TYPE REF TO if_purchase_order_mm,
            ls_item       TYPE mepoitem,
            ls_local      TYPE ttyp_fieldselection_mm,
            ls_inval      TYPE REF TO if_purchase_order_item_mm,
            l_error       TYPE c.
      INCLUDE mm_messages_mac. "useful macros for message handling
      ls_mepoheader = im_header->get_data( ).
      lt_mepoitem = im_header->get_items( ).
      IF ls_mepoheader-bsart = 'NB' .
        LOOP AT lt_mepoitem INTO ls_mepoitem.
          ls_item = ls_mepoitem-item->get_data( ).
          IF ls_item-matnr(1) = 'P' AND ls_item-umson IS NOT INITIAL .
            ls_item-umson = space.
            l_error = 'X'.
            CALL METHOD ls_mepoitem-item->set_data
              EXPORTING
                im_data = ls_item.
          ENDIF.
        ENDLOOP.
        IF l_error = 'X'.
          ch_failed = 'X'.
          mmpur_message_forced 'E' 'ME' '303' text-001 '' '' ''.
        ENDIF.
      ENDIF.
    Can anyone tell me what I am missing or where this can be implemented?
    Thanks
    S R

    hi,
    With Error it won' t allow you to save PO.
    What i would suggest is that
      either you give message that indicator need to checked or unchecked as per condition. and let user change is manually and 
      you check it in BADI and then save it .
      or  you change free item check as per your requirement in BADi and give a information message that this item is to be checked for  free goods or need to be unchecked .

  • Not able to add free item in PO

    dear all
    i am not able to add free items in already created import PO. when i add item and click on free item check box, system says "No delivery costs allowed without invoice receipt" and if i click on invoice receipt that item is no longer free item as the free item check box gets untick.
    pl help me to solve this.
    thanks & regards'
    manoj gupta

    Hi
    If there is no delivery cost condition like Freight at item level exists then
    Please check any delivery cost conditions given as Header condition.If it is given as Header condition and this cost will be distributed among the line items.When you adding the line item, the cost also distributed.For free items you can't assign any costs.
    Regards
    Ramakrishna

  • Free items handling in import case

    dear
    i want to know that how custom duty and fright costs takenh into account for material having net price in purchasec order zero i.e.entering as free items indiacator on .how this hanled in import cases .

    Hi
    You need to create the customs department as Vendor in SAP .
    If you  are  getting the material free of cost then SAP provides you to create PO with"Free Item" indicator or
    create PO with Invoice reciept as unticked in Invoice tab as we dont recieve Invoice from vendor.
    But we need to pay to customs as this is Imported item.
    When we use the  "Free Item" indicator  or Invoice reciept as unticked in Invoice tab  then the condition tab where we mention the conditions  disappears so we need to handle by FI module

  • Error: Automatic tick in free Item in purchase order on line for specific vendor

    Hello All,
    Sales order is created then running mrp through MD01,requisitions are created.while creating purchase order for a particular vendor it is automatically ticking on free item indicator and giving error as material is not maintained in the plant (XXX) Free trade. while PR is not created for plant(XXX).
    i have checked they are not doing any transaction in plant (xxx).
    Please do needful in above issue.

    Hi all ;
    Can you share screen-shoots for your sales document ?
    1-What is your sales document type ? Go to VOV8 find it and share.
    2-What is your item category for this sales order? Go to VOV7 find it and share us.
    3-What is your schedule line ? Go to VOV6 find it and share us.
    Regards.
    M.Ozgur Unal

  • Automatic  free items in PO

    Hi Guys,
      If PO qty is 100 then 10 qty is free, if PO qty is 200 then 20 qty is free items etc........
    The  requirement is if we create PO  100 qty, the above said free qyt(10 qty)should be picked automatically
    can any one help
    Regards:
    Tata Reddy Ravada

    Hi,
    Go to MBN1 transaction and select ur key combination and give the vendor, material and plant. Wether the material is inclusive or exclusive free. U should maintain the grant discount in kind in vendor purchasing data. And also u should maintain (2 Eligible for discount in kind only for purchasing) in the material master purchasing view. Hope this will help u.
    Regards,
    Venkatesh,
    MM consultant

  • Create a free item PO

    Hi, Gurus,
    I try to create a Free Item PO in account assignment category P,
    so I put net price as 0 and I checked free box. But the system
    always ask me to check the GR based IV box, also Inv receipt
    box. However, once Inv receipt box is checked, the net price
    should be greater than 0, that is the error msg I got. How to
    set these check box? and is there a config to set?
    I tried OME9, but seems not work.
    thanks

    Dear BIAO,
    The scenario is good but you need to do this you have to maintaine small setting for this.
    Go to OME9 and select your account assignment type click details and here maintain gr non valuated tick then your material non valuated so no need to any error will come doing MIRO
    and also here remove check mark of invoice reciept
    Hope this helps you
    Prem

  • Change of additional acct. assignment in automatically created line items

    Hello,
    How can we change the additional account assignment of automatically created line items in transaction MIRO. In my case the tax line item is created automatically in MIRO.
    I am able to change the account assignment of consumption line item. But not Tax line item.
    Best Regards,
    Tapan

    But FBZP is for APP not for Tax line item. Is it possible to change the additional account assignement (from cost center to internal order) in tax line item in MIRO.
    Best Regards,
    Tapan

  • Tax Cide Field as editable for Automatically created Line Item

    Hi
    How can we make the tax code editable for automatically created line item, when an FI Document is simulated.
    Thanks & Regards
    Sanil K Bhandari

    Hi
    I want to edit the line item which has been created by the system, when the document is in simulation mode. The entry has not been posted yet.
    Thanks & Regards
    Sanil K Bhandari

  • Line item Settlement and KOB5 for automatically created AUCs to PM orders

    Hello Experts,
    I am trying to set up line item settlement for automatically created AUCs. We would like to use line item settlement because we want to see the costs split up by either percentage or amount when settled to the AUC.  If I can't settle by percentage or amount to the AUC then i'd like to be able to temporarily block some of the costs from settling.  This is for billing not capitalization purposes since all costs will eventually settle to one final asset. The settlement is done using transaction KO88 or KO8G and automatic processing type.  I’ve configured a PM Order type as an investment order and set up the related investment profile and investment asset class.  Some of the things I've determined from my testing:
    Using transaction KOB5, costs can be split up by creating other distribution rules, but only to another object (i.e. another
    asset, order, cost center etc. by using the Preliminary) not to the automatically created AUC linked to the order
    The default settlement rule is account assignment category FXA, percentage rate 100%, settlement type AUC to the AUC
    and therefore cannot be updated/altered when using KOB5 or any other transaction.
    Once the costs are settled to another object other than the AUC, those costs cannot be settled to the final asset. Creating Preliminary
    settlement rules to a receiver IO and changing the period or fiscal year will not “block” costs from settling whether the processing type is automatic, by period, partial capitalization or full settlement.
    I’ve been testing this out in our development client and need verification that this is the way that transaction KOB5 works with line item settlement or did I do something incorrect . 
    Your feedback is greatly appreciated.  Thank you in advance.

    Hi Zaid,
    Thank you for your response.  Assets are not my area so I’m not sure if I missed a transaction or step in the process.   I tested this out by doing the following steps:
    Created AUC Asset class with line item checked
    Assigned PM Order type as non-investment with no investment profile and created order number
    Created a main asset number 
    Created an AUC sub asset number to step 3
    Created settlement rule to sub asset number on order
    Posted costs to order
    Settled from order to AUC with transaction KO88
    Created distribution rules for asset with transaction AIAB
    Settled from sub asset to main asset number with transaction AIBU
    When I settled from the sub to the main asset number in step 9, I found I lost the line item detail.  Is there another configuration setting I need to make to allow me to see the line item detail when I use AIBU?
    Thank you,

  • Automatically created line items will be deleted-Withholding tax

    Dear Experts,
    Please let me know the reason for generating message as Automatically created line items will be deleted while simulating.On second simulation onwards,TDS entries is deleting and the same is disappearing on posting.

    Hi,
    You might be getting this error while do clearing of vendor who is liable for withholding tax.
    You are getting this error because you have to do payment of Withholding tax.
    If this is not the scenario please revert with exactly when you are getting said error.
    Regards,
    Tejas

Maybe you are looking for

  • Check for null

    Hi, Iam checking a id which is long, for null value. Checked for isNull( head.getEmpId()) but it throws me a error "The method isNull(long) is undefined for the type." I also tried it with == and .equals. Not sure about the error. Could you please he

  • Left Shift Key fell off

    Hi guys, I don't know if this is such a weird issue but about two weeks or so ago, my left shift key fell off. I knew I couldn't snap it back on since one of the mini white clips on the upper side (back portion) of the key is missing. Right now, I ca

  • BDC For FB01

    Hi Friends, Anyone who had developed the BDC for FB01 T-code, please send me the source code . I am not able to create BDC for both header and line itemswise. Deepak.

  • In using BAPI_SALESORDER_SIMULATE?

    Hi guys, what are the parameters to be imported in using BAPI_SALESORDER_SIMULATE? thanks a lot!

  • No search results in Mail

    Hello, Avere since I updated to 1.5 I can not search anything in my mail program. Even if i type a known word that should be in there nothing comes up in the search area. Anyone have this problem and a solution?