Reg : purchase order (ME21)
hi friends..
how to create purchase order?
what are the mandatory fields to create purchase order ?
how can i input the mandatory fields?
what are all the tables i want to refer to create purchase order?
how i upload data using BDC ?
please help ...
Hi Selva,
For creation PO enter the following data in the ME21 screen:
1st Screen
Vendor
PO Type
PO Date
Purch Organization
Purchase group
2nd Screen
Material No
PO quantity
Order Unit
Inforecord Number
Material Group
Regards,
George
reward points to useful tips
Similar Messages
-
Stoping process of saving purchase order(ME21/ME21N) in the user exit.
Hi,
I am using user exit "EXIT_SAPMM06E_016" of purchase order. While creating PO and after user enters 1st line item or more items and presses save button, then this user exit will be called.
Now my requirement is I have to check "item delivery date" , if it is more than 300 days from creation date then I have to show popup for warning the user for the same and if user want to make the changes then this user exit should stops the process of saving the PO and returns and allows to change the PO.
Please help me in this.
how I can stop the saving process.
Thanks,
DeepakHi Deepak,
You can do it in IM_ITEM method
DATA: ls_mepoitem TYPE mepoitem.
ls_mepoitem = im_item->get_data( ).
if you check ls_mepoitem-quantity field it will give your required value....pls Go through the documentation below for the method
Documentation for the method
Processing of Item Data
Functionality
The PROCESS_ITEM method enables you to change the item data and check it
for correctness.
Parameters
The following parameters are available:
o IM_ITEM - Document item
The interface reference is of the category
IF_PURCHASE_ORDER_ITEM_MM. You can use all methods defined there.
Note
Please note the general hints on Error Handling.
If you wish to mark the document item as invalid, use the
INVALIDATE() method of the IF_PURCHASE_ORDER_ITEM_MM interface.
Regards
Byju -
Purchase order(me21) number range depending upon the plant
Hello All,
I have to generate differant number range for purchase order depending on the plant.
I have found one User exit MM06E003 but it has only ekko as importing structure.
In whiih exit , I cam get plant (ekpo-werks ) and import it to memory id , which will be further used in
MM06E003.
Regards
MohitHi Mohit,
You can try the Enhancement MM06E005. Both EKKO and EKPO structures are available in various function exits in the above Enhancement.
Also you can try using BADI ME_PROCESS_PO_CUST. This BADI is called whenever transactions ME21N/22N/23N are called.
Hope the above info will help.
Regards.
Abhisek Biswas. -
Reg: Purchase order no from accounting document no
hi,
I have to generate a report of vendor billing details,where i have to get the corresponding purchase order no for accounting document no.From bseg i am getting the ebeln field but i have fetched based on posting key bschl ='86' or '81'.for the corresponding document no.Without this can i get the ebeln from another table.
'Docu.Dt', 'Posting Dt', 'Bline Dt', 'Docu.No', ' Purchase Or.No'
from,
DinamolHi Sasi,
Using accounting document number you can fetch the PO details from MSEG table.
<b>Reward for helpful answers</b>
Satish -
Reg : Purchase order to requistion
Hi,
Suppose i am converting 3 requistions to Purchase order thro Autocreate ..Where i can see in the Purchase order , from what are the
requistions from which the Purchase order has been created .
( To make it simple : From Purchase order how can i see the corresponding requistions)Now to make it just a bit technical also.
Query for line_location_id in po_requisition_lines_all for your approved requisition & for whom you think PO is being created. This will be having Primary ID for PO_LINE_LOCATIONS_ALL which will give you the header ID of PO.
Hope this may help you.
Thanks
Sachin Ahuja -
Other Limit : In Purchase Order ME21.
Hi,
When we are creating purchase order of services,
There is tab: Other Limit, in which no limit check box by defaulted marked when creating the order.
We donu2019t want that tick is updated at time of the PO creation.
I appreciate as you can give some suggestion that in system how can this tick mark will not come as default at time PO creation.
Thanks in Advance
V HandePlease review the information in the following note:
185276 MM-SRV: Hiding no limits -
Reg.Purchase order against sale order( E )
Dear Experts
I configured PO against cost centre (K - Cost center and G/L A/c is created) and it is working.But I want to configure against sale order (E).what is the configuration required. Pls advise in details
Thanks
Rajakumar.KDear Raja,
Third-party order processing (for direct-to-customer delivery/drop shipment) is triggered when a sales order containing a third-party item is created.
When this occurs, the system automatically generates a purchase requisition item of the category u201Cthird-partyu201D for each delivery schedule line of the sales order item.
This requisition item is converted into a purchase order (PO) item. Depending on the confirmation control key, the quantities/dates in the sales order are confirmed when the PO is created or an order acknowledgment is maintained.
If you create a third-party item without referencing a requisition generated from a sales order, this is not third-party order processing in the foregoing sense: a matching-up of the data between the SD sales order and the purchase order cannot be carried out in such cases!
Sales Order
In the standard system, the sales order item for the third-party process has the item category TAS (this is found automatically if the item category group BANS has been set in the material master, or it can be changed manually). In the standard system, the schedule line category CS is found for the item category TAS. It is specified in Customizing for the schedule line category CS that a purchase requisition (type NB) with the item category '5' (third-party) and account assignment category 'X' is generated.
The number of the requisition that is generated can be displayed via the delivery schedule lines in procurement.
If a PO is generated from this requisition, it can be seen in the document flow for the SD sales order (Environment Document flow).
Purchase Requisition
The requisition is generated via the function module ME_REQUISITION_EXT. An important characteristic is that the field EBAN-ESTKZ (creation indicator) contains a 'V'. If a third-party requisition is created in dialog mode, this field does not contain the indicator u2018Vu2019 u2013 that is to say, this is not a third-party process in the sense defined. A source determination process is carried out at the time of creation. The purchase order units found during this process are adopted! The account assignment, containing the number, item, and schedule line of the sales order, cannot be changed in the requisition. The account assignment is the u2018pointeru2019 between the requisition and the SD order!! Since Release 4.6, the delivery address cannot be changed either. The address of the goods recipient (ship-to party) from the SD order is adopted as the delivery address (caution: this can be located both at header and item level in the SD order).
There is a requisition item for each delivery schedule line in the sales order!
Purchase Order
Purchase order items generated from the above requisitions contain EKPO-STATU = 'V'. The delivery address comes directly from the sales order (see LMEPOF3T MEPO_ITEM_FILL_ADDR) and cannot be changed. Neither can the account assignment be changed; here too it is the 'pointeru2019 between the PO and the sales order. In the standard system, the account assignment category is 'X', with KZVBR = ' '. Since the account assignment is located at item level, you must not convert several third-party requisitions into a single PO item, otherwise the update of the sales order is liable to fail!
An 'actual' goods receipt does not take place with regard to a third-party item. The 'WEPOS' indicator is not set for the item categories 'S', but can be set manually. The posting of a GR results merely in a value update here. The entry of a vendor invoice can be made dependent on the prior entry of a GR. In the third-party process, this only makes sense if you wish to prevent the customer from receiving an invoice before having received the goods. A goods receipt should be recorded when the vendor reports the outward delivery.
At the time of saving, the document flow and confirmations are updated in the SD order. If problems should arise on the SD side due to changes (e.g. the customer has been blocked), an error message is issued here first!
In the case of third-party items generated without reference to a 'third-party requisition', i.e. the item category u2018Su2019 is merely entered manually, there can be no update between SD order and purchase order. Here, for example, the delivery address is not read from the sales order u2013 it must be entered manually (mandatory field).
Sanjeev -
Reg purchase order line item numbering
Hi All ,
Is there any customization setting or possibility of cahanging the Purchase order line item number when the PO is created from the Purchase requisation , normally if the PO is created directly I am able to change the line item number as desired but if is created from a PR this is not allowed , please let me know any possibility of changing this .
Thanks and Regards,
Mallikharjun.Hi Mallikharjun,
You can modify the Line Item numbering at IMG>MM>Purchasing>Purchase Requisition>Define Document Types.
Here you can change the column ItmInt. which determines the line item number intervals.
Hope it helps.
Cheers
Keshav -
Reg purchase order history & Sales order history
Hi ALL,
In purchase order history we can see the document flow from purchase order to Invoice receipt.If i raised debit memo against purchase order this request also u can see in purtchase order history.But if u make payment to vendor against this it is not showing in purchase order history.What tratment i have to give to see.
For each debit memo initially request will be raised by purchase department, against debit memo request Accounts department will make payment.so i want to see the payment in purchasde order history.
Kindly advise me how to view the above thing.
THX
YSRHi,
You can try these FM to update info record.
ME_DB_UPDATE_INFORECORDS
ME_UPDATE_INFORECORD
ME_UPDATE_INFORECORD_COND
ME_UPDATE_INFORECORD_PD
Are you sure to update info record from changing PO net price?
Regards,
Ferry Lianto -
Reg.Purchase order against Sale order.
Dear Experts
I have configured newly in our Ides system for A/c assignment "K", and I want to configure against sale order " E ", what are the settings to be done. Plaase help.
Thanks
Rajakumar.KDear Experts
VA02 ->enter sale order -> press enter.. the following error occured
" Field VBAP NTGEW is not defined in incompletion procedure 20 "
" Field VBAP BRGEW is not defined in incompletion procedure 20 "
Error 2nd :
Subs.function purchase requisition from sales document not possible: Item 000002 is not completely configured.
how to solve this problem.
Thanks
Rajkumar.K
Edited by: Raja Kumar on Oct 3, 2008 9:21 AM -
Create Purchase Order (ME21)
Can anyone explain how to create PO (ME21).
hi Srinivas,
Generally, the mandatory fields are,for a standard PO(for stock) are:
header details
vendor
purchase organisation
Document type
Pur group
company code
item details
Material No
Plant
qty
price
If u r purchasing for consumption then in the item details;
Material Number or short text
Material group if u r using short text
account assignment category is madatory
item category if required.
Plant
qty
price
header details
vendor
purchase organisation
Document type
Pur group
company code
if useful
reward me with points -
Hi All,
RE: Error message in PO : System error (error in method PO_POST)
While processing PO (Means trying to delete an item from po ) and try to save, it is giving above error message.
What may be solution for this error.
Thanks
Best Regards
sivahi buddy
this po material might be already processed
i.e. migo already happened
check it
reward if helpful
regards
kunal -
Reg Purchase order history update.
Hello all,
Please solve this problem.
I am creating a Standard PO with help of info records(Net price comes from info records(me11 me12). When i change or modify the same po in ME22N, then the Changed net price should be replaced in info records(ME12). Please suggest me if there is any BAPI or BADI. If u have any sample codes, please send it.
<b><REMOVED BY MODERATOR></b>
Regards
B.Ravi
Message was edited by:
Alvaro Tejada GalindoHi,
You can try these FM to update info record.
ME_DB_UPDATE_INFORECORDS
ME_UPDATE_INFORECORD
ME_UPDATE_INFORECORD_COND
ME_UPDATE_INFORECORD_PD
Are you sure to update info record from changing PO net price?
Regards,
Ferry Lianto -
Reg Purchase order history update(ME120
Hi All,
I have a requirement like this..
Whenever end user creating or changeing PO(ME21N) then the net price for the changed material should be updated in Net price in Me12 transaction.
There are lot of FM to update the same in database tables. But i want to update in ME12 transaction. Please provide me if have good solution for this.
Also let me know how to catch the values in the screen into a field or internal table.
There is possiblity to do this update using BDC. But i am expecting a Function module.
Regadrs
RaviHi,
You can try these FM to update info record.
ME_DB_UPDATE_INFORECORDS
ME_UPDATE_INFORECORD
ME_UPDATE_INFORECORD_COND
ME_UPDATE_INFORECORD_PD
Are you sure to update info record from changing PO net price?
Regards,
Ferry Lianto -
Hi Experts,
My requirement is to get in to change mode of a PO's ,then
click on Messages Tab so that the Output type NEU gets triggered automatically for the list of PO's i have and then i save the PO.
I am trying to do a recording in ME22N .The recording seems to be working fine in Foreground and Background Mode.
When i try to Schedule it as a job in Background , it gives an
Error saying
'Unable to initialise ABAP Control Framework ...
Control Framework: Fatal error - GUI cannot be reached'.
Is there any BAPI which can solve my requirement.
I cannot use ME22 also as i dont have access to that TCODE.
Your help is very much appreciated.
Regards,
NickHi,
U cannot use ordinary transaction as it takes mre amount of time . for that use standard BAPI FM
BAPI_PO_CHANGE-- to change bapi PO and use method
purchaseorder.change to change PO.
BAPI_PO_CREATE
BAPI_PO_CREATE1
Depending upon u r req u use but it is better to use BAPI_PO_CREATE1 and dont forget to use
BAPI_Transaction_commit.
Reward if its usefull.
Regards
Durgaprasad.
Edited by: Durga Prasad on Apr 11, 2008 8:05 AM
Maybe you are looking for
-
Making a new website for another user
Hi all, How can I make a completely new website for someone else without publishing my own pages to a map? Do I just delete my pages from the published material or does my index page go beserk when I do that? Thanks for your input!
-
Canon ip4300: suddenly no duplex printing
I have a Powerbook G4 15in running 10.5.8 (the latest OS this non-Intel machine will run) and a desktop iMac 24in which I've recently upped to 10.6.4 from 10.5.x. The iMac is linked via a cable to a Canon ip4300 inkjet, and the Powerbook prints to th
-
Different results on a SQL sort depending on the tool?
Hi, i've a problem with sorting a column, getting different results depending on the tool. Environment: Oracle 8.1.6 on Solaris, Oracle Client on NT 4.0 (SP5) The Query: SELECT * FROM mytable ORDER BY mycolumn ASC This is the result of a query by SQL
-
Stuck Thread causing heap to grow steeply and resulting in crash
Hi, We have an ADF application deployed in weblogic 10.3.2. We have few PL/SQL's and SQL's which are complex and take around 5 minutes of time to complete at times. We also have the script running in database to kill long running queries so that it h
-
The issue started last night. My ATV says its syncing in iTunes but none of the updates and recent additions to iTunes are showing up on the ATV. All of my old music, movies, tv shows and photos are available but that's it. It also shows ATV is synci