Adding a custom tab in Purchase Order with two fields - ME21N

Hello Experts,
My requirement is to add a custom tab with two fields in purchase order at header level.
The BADI ME_PROCESS_PO_CUST is alreday implemented previously as there was one custom tab added previously in header.
The structure  CI_EKKODB already have the custom fields for the enhancement done earlier.
Now to add my additional tab how should i proceed ....should i put my additional fields in the same structure and write my code in same BADI.....will there be any impact on already done enhanecement.
Please suggest in achieving this functionality.
Thanks,
Naveen

Hi,
Check this [wiki|http://wiki.sdn.sap.com/wiki/display/ABAP/DetailedexplanationaboutBADIandthewaystofindtheBADIwithanexample%28ME23n+transaction%29], it tells you how to do with an example for item data.
Regards,
Eduardo

Similar Messages

  • Duplicate Purchase Order with all fields.

    Hi,
    I need a method to Duplicate a Purchase Order with ALL the fields. I tryed with a SendKey("^D") method but the new instance not copy the IC data. Looking for a better method, I read about the option to Save as XML the selected purchase, but I don't know what is the procedure to load the "clone instance" stored in the XML into the SBO Form with a new DocEntry.
    Anyone knows the better path to do this?
    Thanks in advance.
    Oscar Sanchez Montaner

    Hi Oscar,
    The XML method is fine. You export the original PO to an XML file. You can then use XSLT or a .NET XMLDataDocument object (or similar method if you are using another development environment) to remove the values in the DocNum, DocEntry and any other nodes you don't want to clone (eg DocDate). You can then load this back in to SBO using the GetBusinessObjectFromXML method of the Company object. Personally, I like the XSLT method because it's easy to do and very easy to amend without recompiling your addon (eg if you create new UDFs then you can quickly amend the XLST file to include or exclude these fields).
    Kind Regards,
    Owen

  • Change list of items in purchase order with own fields

    Hi,
    we use exit MM06E005 with own customer screens (SAPMM06E/ 0101 and 0111).
    We can change/insert the fields on this screen and store the data in EKPO.
    All is OK.
    Now we want to use these fields in the Item overview (tablecontroll?).
    Has anyone an idea how to do this?
    thanks.
    Regards, Dieter

    Hi
    If it can do it, it can try to use the BADI ME_GUI_PO_CUST
    Max

  • Purchase Order with Invoice Plan

    Hi,
    I need to understand working with Invoicing plans for a Purchase Order. Especially the service PO for the rents and other related services.
    How the PO is linked to the Invoice Plan and how the process happens in SAP?
    Thanks in advance!

    Creating an Invoicing Plan  
    The following procedure describes how to create an invoicing plan with the pre-Enjoy ordering transactions (ME21, ME22, ME23).
    The procedure described is also applicable u2013 with certain restrictions u2013 to the Enjoy purchase order (ME21N, ME22N, ME23N).
    If you are using the Enjoy purchase order, you will find:
    ·         The Invoicing Plan button and the indicators for GR-based invoice verification (GR-Based IV), service-based invoice verification (Srv.-Based IV), evaluated receipt settlement (ERS), and invoice receipt (Inv. Receipt) among the item details on the Invoice tab page.
    ·         The account assignment among the item details on the Account Assignment tab page
    ·         The Goods Receipt and GR Non-Valuatedindicators among the item details on the Delivery tab page
    Prerequisites
    Vendor Master Record
    Before you can use the invoicing plan with automatic settlement, the Evaluated Receipt Settlement Delivery indicator must be set on the Purchasing Data screen in the vendor master record.
    (If you wish to enter invoicing dates manually, this is not necessary.)
    Purchase Order
    ●     We recommend using a framework order (that is a purchase order with a validity period and a reason for rejection). The invoicing plan can adopt the validity period specified in the PO header.
    ●     PO items for which you wish to use an invoicing plan must have account assignment irrespective of whether a material with a master record, a material described by a short text, or an external service is involved.
    ●     The GR/IR control facility must be set up in such a way that no goods receipt (or, in the case of services, no service entry) is expected - only an incoming invoice. If you wish to have automatic settlement, you must also set the Evaluated Receipt Settlement indicator.
    If you nevertheless wish to allow service entry sheets for the item (e.g. for information purposes only), you must set the GR Non-Val. indicator.
    Customizing
    Under Purchase Order à Invoicing Plan in Customizing for Purchasing, you can maintain data such as the desired invoicing plan types, date categories, and date descriptions.
    Procedure
           1.      Create a purchase order with account assignment (framework order).
    Click  to access the item overview (or the overview of service lines if you chose item category D for services).
           2.      Enter the desired material or service, the quantity, and the price.
           3.      Select the desired item and click  Account Assignments to access the account assignment screen. Enter the account assignment for this item.
           4.      Click  to access the item detail screen. Check that the GR/IR control indicators are set correctly on the item detail screen.
    ○     The GR and GR-Based Invoice Verification or Service-Based Invoice Verification indicators must not be set.
    ○     IR must be set.
    ○     You must set ERS if you wish to have Evaluated Receipt Settlement.
    ○     If you wish to have service entry sheets purely for information, for example, allow non-valuated goods receipt (i.e. select the GR Non-Val and GR indicators).
           5.      Choose Item ® Invoicing Plan. A window appears, in which the invoicing plan types predefined in Customizing are suggested. Choose the desired invoicing plan type and click  Continue.
    You can use the following invoicing plan types:
    ○     Periodic Invoicing Plan
    ■      You use the periodic invoicing plan if the total value of the PO item is to be invoiced in each period.
    ■      The system creates the invoicing dates automatically on the basis of the settings in Customizing.
    ■      The invoicing date and the amount to be invoiced are shown for each settlement period (e.g. month). In the case of the periodic invoicing plan, the amount represents the total value of the PO item.
    ■      You can change the suggested dates and block individual dates for automatic invoicing if necessary.
    ■      You can enter the start and end dates for the invoicing plan.
    ■      With the Dates from and Dates to fields, you can determine that an invoicing plan does not contain invoicing dates extending over the entire validity period of the purchase order but only for a certain period within that validity period. (E.g. within a validity period from 1.1. to 12.31, only dates within the period 1.1. to 06.30.)
    ■      With the Horizon field, you control how far into the future dates can be created. If you enter a date rule that adds six months to the current date here, invoicing dates will be created for just half a year in advance in each case.
    The system automatically creates new dates if you change the invoicing plan or when you invoke the transaction for Updating Periodic Invoicing Plans. See Generating Further Invoicing Plan Dates
    ■      The In Advance indicator allows you to specify whether the invoice is to be created with regard to a prior or subsequent period. (E.g. at the beginning of February, either in advance for the month of February or in arrears for the month of January).
    ■      In addition, fields with information on the existing invoicing plan are displayed (e.g. the calendar upon which the date determination process is based).
    ○     Partial Invoicing Plan
    ■      You use the partial invoicing plan if the total value of the PO item is to be invoiced in several partial amounts.
    ■      You get an empty date overview in which you can manually enter the desired dates.
    ■      If you work with a reference invoicing plan, the system automatically generates dates in accordance with the reference plan.
    You have the following options:
    ●      You create a reference invoicing plan in Customizing for the invoicing plan type.
    ●      You enter an existing invoicing plan as reference plan directly in the invoicing plan for the PO item.
    ■      You can flag a date in field B (Billing/Invoicing Rule) as follows:
    ●      As a down payment (percentage or value)
    ●      As an invoicing date (percentage or value)
    ●      As a final invoice
           6.      Click  to return to the item overview.
           7.      Click  to save the purchase order item with the invoicing plan.
    You can then start the automatic invoice creation process during invoice verification.
    For more information, refer to the section Settlement of Amounts Due Under Invoicing Plans.
    Once assigned to an item, the invoicing plan type (e.g. partial invoicing plan) cannot be changed. If you wish to assign a different invoicing plan type, you must delete the item and create a new one.
    Generating Further Invoicing Plan Dates  
    If you have assigned a periodic invoicing plan to a PO item but have not initially defined invoicing dates covering the entire validity period of the purchase order, you can generate further dates in due course.
    You have created a PO item with a periodic invoicing plan for a certain planned procurement. The purchase order is valid from 1.1. to 12.31. When creating the invoicing plan, you specified one invoicing date per month for the first half of the year. You have not yet planned any dates for the second half of the year because you do not wish information from the invoicing plan to be passed on to purchase order commitments at this stage, for example.
    By mid-June, it is clear that the PO is to proceed as envisaged, and you therefore wish to schedule invoicing dates for the remainder of its validity period.
    Procedure
    To schedule further invoicing dates, proceed as follows:
    Choose Purchase order ® Follow-on functions ® Period. invoicing plan
    Specify the purchase orders for which invoicing dates are to be generated in the invoicing plan and perform the function.
    A log can be created if desired.
    Result
    The system adds further dates on the basis of information such as the validity period or horizon from Customizing, the purchase order, and the invoicing plan.
    regards,
    indranil

  • What is the use of confirmation tab in Purchase order ?

    what is the use of confirmation tab in Purchase order?

    Hello Balaji
    In Purchasing, the term Confirmation is an umbrella term for various kinds of information provided by a vendor to a customer with regard to ordered goods.
    Possible types of confirmation include the following:
    Order acknowledgments
    Loading or transport confirmations
    Shipping notifications. (Note that shipping notifications may also be referred to by a number of other names, including "advice (note)", "advice of dispatch", "ship notice", and "advance(d) shipping notice" ("ASN").)
    A further form of confirmation frequently used in Purchasing is the Inbound Delivery, which is created on the basis of an incoming shipping notification. The shipping notification represents a vendor’s confirmation to a purchasing organization of a delivery date for a certain quantity of ordered materials (or the date of performance of ordered services).
    You can enter incoming vendor confirmations manually. Alternatively, you can receive them via EDI and have them processed automatically.
    When working with vendor confirmations, you have the following options:
    You can enter the order acknowledgment number if you simply wish to provide a basis for monitoring the receipt or non-receipt of acknowledgments.
    You should enter the confirmed quantities and delivery dates if you wish to provide more detailed information in support of the purchasing, inventory management, and materials planning/control functions within your enterprise.
    Regards

  • Extra tab in Purchase Order

    Hi ,
    Using BADI definition ME_GUI_PO_CUST, we created implementation ZPBS_FS_MM_PO for adding adiitional tab in Purchase Order Screen-- Tcode ME23.
    But, the extra tab is not being shown ...Iam not able to understand what the problem is...
    Iam pasting the code...Please guide me..
    method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE.
      DATA: ls_subscriber LIKE LINE OF re_subscribers.
    we want to add a customer subscreen on the item detail tab
      CHECK im_application = 'PO'.
      CHECK im_element     = 'HEADER'.
    each line in re_subscribers generates a subscreen. We add one subscreen in this example
      CLEAR re_subscribers[].
    the name is a unique identifier for the subscreen and defined in this class definition
      ls_subscriber-name = subscreen1.
    the dynpro number to use
      ls_subscriber-dynpro = '9000'.
    the program where the dynpro can be found
      ls_subscriber-program = 'ZPBS_FS_MM_MM01_SUBSCREEN'.
    each subscreen needs his own DDIC-Structure
      ls_subscriber-struct_name = 'ZMEPO_BADI_STRUCT'.
    a label can be defined
      ls_subscriber-label = text-001.
    the position within the tabstrib can be defined
      ls_subscriber-position = 10.
    the height of the screen can be defined here. Currently we suport two screen sizes:
    value <= 7 a sevel line subscreen
    value > 7  a 16 line subscreen
      ls_subscriber-height = 7.
      APPEND ls_subscriber TO re_subscribers.
    endmethod.
    Thanks,
    ---Shivaa....

    s, darek i created d screen....
    wat else could b the reason?

  • Sales Order - Using Item Category 'TAB' - Individual Purchase Order

    All,
    I am configuring for the first time utilizing Sales Document Item category "TAB" - Individual Purchase Order.  I have a few questions:
    Is there a best practice configuration guide specific for this process?  I have found the 'third party' document/best practice, but nothing so far  on "individual purchase order from sales order'. 
    Is there a way to default Purchase Order Type "UB" stock transfer from the Purchase Requisition NB?  I thought this could be done based on the schedule line "CB" configuration, changing the 'item category' to 7 stock transfer, then this would carry into the mapping for purchase requisition type NB/item category stock transfer to purchase order type UB/item category stock transfer.  However, when I set '7' on the schedule line CB, I then receive a hard error when creating my purchase req to set the supplying plant.  I have more than one supplying plant, so I'm not sure if setting the '7' is the right setting for this process.  From what I've been able to find for documentation, the item category of the schedule line should be set to '0' standard.
    When I perform the post Goods Issue 601 of Special Stock "E" - to the customer (once the stock has been received into the right plant), the system is not creating an Accounting/FI Document to relieve the inventory and charge cost of goods sold.  I have reviewed automatic account assignment entries and these appear correct for 601 E.  Are there special settings for special stock "E" that I need to consider. 
    If you cannot answer all of these questions, but can answer one of them, I am most interested in teh last question above. 
    Regards,
    Sandra Miner

    Hi Reazuddin,
    What I don't understand is why:
    if I don't create PO --> I can create Outobund Delivery in Individual Purchase Order but if I create PO (not MIGO) I cannot create OBD in IPO.  (Note: in both cases I agree PGI is not possible)
    The flowchart is: Sale Order (IPO) --> Purchase Requisition --> Purchase Order (PO) --> MIGO (inbound delivery) --> MIRO (Vendor invoice verification) --> Outbound delivery ( delivery [OBD] + picking + posting[PGI]) --> Sales Invoice
    As per your comments:
    System will not stop you to create delivery, though you customize delivery item cat: as Check min qtty "0" - error message. because system checks for PGI qtty, but not the delivery qtty.
    But then in the case I create Sale order (IPO) + PO (without MIGO) --> the system should not stop me executing Outbound Delivery. It should stop me only if I execute Posting goods issue. But actually in this case, the system is stopping me at outbound delivery.
    I agree with Posting Goods Issue behaviour. It is logical in the following cases:
    Only Sale order (IPO) created --> PGI is not possible
    Sale Order (IPO) created + PO created --> PGI is not possible
    Sale Order (IPO) created + PO created + MIGO executed (inbound) --> PGI is possible.
    Thank you very much for your feedback.
    Regards,
    Alberto Ramos.

  • Goods receipt for purchase order with account assignment 'K'

    Hello All,
    There are couple of purchase orders with acc.*** "K". On doing the GR for these PO's they have been done with mvt type 103 & mvt typ 105.
    I understand that material has been directly consumed to the respective cost center.
    How do track the internal movement for these materials??
    I need to view the stock for these materials at the cost center as in MMBE the stock is seen as ZERO.
    All these materials are with QM proc ACTIVE. So a goods receipt is done 105, then the inspection lot is cleared. However, in this case as the material is directly consumed, it is NOT displayed in QA32.
    Is the above procedure correct??? Is it better to receive stock against mvt type 101 & then do a 201 mvt ??
    Request your inputs.....
    Regards,
    Manoj Reddy

    Account assignment inventories are not maintained. To maintain a report for cost center receiving/issuing you need to make a customized report with help of ABAP.
    Other way is to pull report in MB51, with selection criteria COST CENTER and it will give you result of stocks available on cost center. For stocks received on cost center, you can pull report with cost center and movement 101.
    201 is used for goods issue to cost center from warehouse, the stock you receive from PO against 101 is directly charged to cost center, so no need to issue later to cost center.
    Edited by: Afshad Irani on May 17, 2010 2:17 PM

  • Validity start & end, in Purchase Order with limit

    Hi All,
    We are using  a model of SAP with one type of Purchase Order: we have created a new type of purchase order (ZFOA), that we use for all purchase orders.
    Now we want to use ZFOA also for Blanket Purchase Order, instead of the standard type proposed for this scope by SAP (FO).
    We have inserted Validity Start & Validiti End  as Optional Entry in Customizing.
    ( IMG - MM - Purchasing - Purchase Ordrer - Define Screen Layout at Document Level).
    We have inserted them as Optional Entries, and not as Required Entries, because they are Required only for Blanket Purchase Order. (and we use ZFOA for all ours types of Purchase Order)
    So i want to know if it's possible to connect the obligatory requirement of these two entries to:
    - ZFOA (type of Purchase Order)
    - B (Item category in Purchase Order)
    In this way:
    1) when i create a PO (ZFOA) without item category B --> Validity date & Validity End are not obligatory fields
    2) when i create a PO (ZFOA) with item category B ---> Validity date & Validity End are  obligatory !!
    Have you got any Solutions??
    Best regards
    Alba

    Thanks very much!
    Now i found in MM SAP Manual (SCM 520, Purchasing) a similar example, and it could seem possible:
    When creating a standard purchase order with the standard item category, the following field selection key is determined for the Material group field:
    • Field selection key ME21N (Create/Change Purchase Order transaction):
    The Material Group field is an optional field.
    • Field selection key AKTH(Create activity category):
    The Material Group field is an optional field.
    • Field selection key NBF (purchasing document type NB):
    The Material Group field is an optional field.
    • Field selection key PT0F (item category Standard):
    The Material Group field is a mandatory (required-entry) field.
    The combination of field selection keys ME21N, AKTH and NBF means that the field is an optional field. Because the Material Group field is defined as a mandatory field in the field selection key PT0F however, this means that the field requires an entry when a purchase order is being created.
    I have the same problem for Validity start field, but why if i do all of this things, the field remain not mandatory?
    Thanks in advance
    Best regards
    ALba
    Edited by: Alba Battolini on Apr 22, 2009 9:21 AM

  • Delivery Creation Date under Shipping Tab in Purchase Order

    Hi All,
    When my client creates a Purchase Order with 5 line items, for 3 itmes he can create Delivery ( with delivery date of 25/03/2010) however for line itme 40 and 50 it gives error while creating delivery ( 0 units available of that material)
    Stock exist in delivering plant as checked in MMBE.
    On checking the PO, the difference i could find between line items 10.20.30 (which can be delivered) and line item 40, 50 (which cant be delivered) is that under Shipping tab for item 10,20 and 30 Delivery Creation Date is Blank. However for item 40 and 50 Delivery creation date is maintained same as delivery date i.e. 25/3/2010.
    In VL10B we have already tried inputting Delivery creation date as 25/03/2010 and then executing after supplying the PO number but it still gave the same error messgae.
    Kindly guide as it is stopping Business. A speedy reply will be highly appreciated.
    Thanks in advance.
    BR,
    Anshul

    Re: Only 0 KG of material available
    Kindly check above mentioned thread.

  • Address no. in delivery address tab of purchase order

    I want to know where is delivery address maintained. I am creating a po with item category K.
    I want to change the delivery address. When I save po. it gives address no. in delivery address tab of purchase order.
    I want to know what is the tcode for maintaing address.
    Is this customisation or master data maintenance.

    Hi,
    I am working on CR in which I need to change the delivery address.
    The purchase order I am referrring is having account assignment category K, without material no. & storage location.
    Plants and storage locations have addresses in the system.
    With what respect we will maintain address in tcode MEAN.For example plant. ?????
    Because in MEAN I create address and save but how this address will pick up in PO.
    Edited by: KiranCG on Dec 8, 2011 7:41 AM

  • Purchase order with quantity range value

    Hi All,
    I want to have PO price to be taken from vendor info with quantity based values.
    For ex: The vendor has fixed a rate for 500 qty with X rate. and above 500 qty Y rate.
    My scenario is i want to raise the PO with this rate. How can i do this?
    Note: If i do first PO with 300 qty, then rate it is taking is X*300
    Now if i do second purchase order, with 300 qty, then the first 200 qty should go with X rate and remaining 100 should go with Y rate. ie, this purchase order will have combination of X & Y rate.
    Please give the solution for this.

    hi...
    U can perform this pricing by doing some modification in ur conditon type...
    In M/06 open ur condition type and under Scale tab...chooose scale type ..here assign scale type "D" i.e. Graduated-to interval sc
    And config the scale in purchase-info record..
    S Type    s quantity     amount            
         to            200               X
                         300               y
    then it will calculate : 200X+100y=Z
    try this out...
    Hope it works,,
    Thnks
    Edited by: ashish2210 on Jul 20, 2011 3:20 PM

  • Purchase Order with Sales Order Reference

    Hi Gurus,
    I have created a Purchase Order with reference to Sales Order.Now when I post Goods Receipt Mvt 101 system throws a message Update Control of Movement Type is incorrect.
    I have checked in customizing Transaction (OMJJ) cannot find settings related to this particular scenario.Can anyone suggest where I can update control for posting Goods Receipt for this purchase order.

    Hi, Check in OMJJ ,select Movement type>101
    Here click Update control / WM movement types on the left side , maintain the entries with the 101,
    Movement type indicator -B - Goods movement for purchase order

  • Allow to create a purchase order with purchase requisiton item deleted

    Dear all,
    I have a question about creation purchase order process.
    Firstly, I have a purchase requisition with 2 items, first of them is deleted.
    If I try to create a purchase order thru transaction ME57N with the previous purchase requisition, I can only create it with one item (the one wich is not deleted)
    However, if I try to create the purchase order thru transaction ME21N, with purchase requisition as reference, I can create the PO with item that was deleted in PR.
    I don't understand why system allows to create a purchase order with an item that previously was deleted in PR.
    Does anyone have a explanation about this issue?
    Many thanks in advance
    Best Regards.

    Hi,
    In the document overview of ME21N you get all the items of the purchase
    requisitions, no matter if they are deleted or not.
    When you convert the deleted item into a Purchase Order you get message
    06 050 stating that this item is deleted in the purchase requisition.
    This message can be defined as an error message in the customizing
    transaction OME0. This way, it will not be possible to order an item
    which is deleted in the referenced purchase requisition.
    BR
    Nadia Orlandi

  • Purchase order with Freight Value

    Dear All,
    My scenario is....
    I Purchase some material to my x vendor. when he send the material , he charge freight amount on it. now please suggest me how to create a purchase  order with freight value & I want to take freight effect on every material. vendor is not divide freight amount on every material. now what will i do. If i take this effect only one material than My material map get change. How to take this effect on every material.
    Regards
    Vimal

    Hi,
    When vendor send material , vendor send firght value invoicce, means at the time of PO you don't know it,so it can be consider as unplanned delivery cost in SAP and you can post this cost in MIRO ,on details tab in unplanned delivery field.
    In following path you can decide where this value should add in material cost or G/l account in following path
    In SPRO ,Maintain settings as shown  MM---> Logistic Invoice Verification -->Incoming Invoice --> Configure How unplanned delivery costs are posted
    Regards
    Kailas Ugale
    Edited by: kailasugale on Dec 14, 2011 10:21 PM

Maybe you are looking for