Purchase Order Closure
Hi All,
We have business scenario where a purchase order is fully delivered ( means GR is made in full for all line items). And Invoice LIV is also posted for all GRs. Than PO status should be set to close automatically.
Any addition or change should not be allowed to that PO.
Is there any standard configuration or any standard BADI / User exist available. I know deletion indicator or del. completed can be set manually.
Thanks
Sanjay
The below are the exits avl in ME21n/ME22n . You can use the suitable one depends on where u want to put the control . As suggested by kumar , you can pass the error msg for any changes in purchase order , using the exit M06E0004
Total list of exits
AMPL0001 User subscreen for additional data on AMPL
LMEDR001 Enhancements to print program
LMELA002 Adopt batch no. from shipping notification when posting a GR
LMELA010 Inbound shipping notification: Transfer item data from IDOC
LMEQR001 User exit for source determination
LMEXF001 Conditions in Purchasing Documents Without Invoice Receipt
LWSUS001 Customer-Specific Source Determination in Retail
M06B0001 Role determination for purchase requisition release
M06B0002 Changes to comm. structure for purchase requisition release
M06B0003 Number range and document number
M06B0004 Number range and document number
M06B0005 Changes to comm. structure for overall release of requisn.
M06E0004 Changes to communication structure for release purch. doc.
M06E0005 Role determination for release of purchasing documents
ME590001 Grouping of requsitions for PO split in ME59
MEETA001 Define schedule line type (backlog, immed. req., preview)
MEFLD004 Determine earliest delivery date f. check w. GR (only PO)
MELAB001 Gen. forecast delivery schedules: Transfer schedule implem.
MEQUERY1 Enhancement to Document Overview ME21N/ME51N
MEVME001 WE default quantity calc. and over/ underdelivery tolerance
MM06E001 User exits for EDI inbound and outbound purchasing documents
MM06E003 Number range and document number
MM06E004 Control import data screens in purchase order
MM06E005 Customer fields in purchasing document
MM06E007 Change document for requisitions upon conversion into PO
MM06E008 Monitoring of contr. target value in case of release orders
MM06E009 Relevant texts for "Texts exist" indicator
MM06E010 Field selection for vendor address
MM06E011 Activate PReq Block
MMAL0001 ALE source list distribution: Outbound processing
MMAL0002 ALE source list distribution: Inbound processing
MMAL0003 ALE purcasing info record distribution: Outbound processing
MMAL0004 ALE purchasing info record distribution: Inbound processing
MMDA0001 Default delivery addresses
MMFAB001 User exit for generation of release order
MRFLB001
Regards
Mani
Similar Messages
-
Short Closure and Permanent Closure of Purchase Orders
Dear Experts,
Our clientu2019s requirement is to close and block the processing of Purchase Orders for either partly received or no receipt at all.
The following objectives for the closure of Purchase Orders :-
1. The useru2019s should not be able to process the Service or Material Purchase Orders after short closure of the Purchase Orders.
2. The Budget commitments for the undelivered Services or Material should get released after short closure of the Purchase Order.
If a Purchase Order is raised for 100 nos. of a material/services @ Rs. 100 per unit, the total value of the Purchase Order will be Rs. 10000/- and GR has been prepared for say 10 nos, so the value of the GR will be Rs. 1000/-. The Purchase Order is now short closed for 90 nos. Then the following are the objectives to be achieved :-
1. The user should not be able to make a GR/SES for 90 nos.
2. Commitment Budget for 90 nos (Rs. 9000/- should get released from the Purchase Order.
We have tried the following :-
1. Ticking the Delivery Completion Indicator.
2. Putting the Last GR Date
3. Making the Message of Last GR from Warning to Error.
4. Locking the line item for further processing
But still the Delivery Completion Indicator, Last GR date and Unlock options are are editable to the user in ME22N and ME23N, where he can remove the tick and date and process the gr.
Please suggest a solution to achieve the above objective.
Thanks in advance.
AJHi Adwait,
Reducing the quantity to 90 nos. in the Purchase Order will help in release of my commitement budget. But the line item will still be open to the user for amendment and further processing. If the user amends the purchase order again, the line item can be processed by the user again.
I want that alongwith the release of the commitment budget the line item should also be permanantly locked for modification by the end user.
Please suggest further in continuance to the above.
Thanks in advance.
AJ -
Need to control Closure of Purchase Order on Creating GRPO or A/P Invoice
Hi All,
I have created a single Purchase Order with multiple Line Items. This Purchase Order is to be executed every Much. We do not wish to give the Vendor a new Purchase Order Every month and want to use the first Purchase Order for reference purposes.
Can I create a GRPO or a A/P Invoice for the Whole Purchase Order without closing the Purchase Order.
So when my service is completed I can Close the Purchase Order Manually.
My Purchase order is Item Type.
Please Assist.Hi,
Thanks For your reply , I do not wish to do that way reason is
I am giving a PO to the vendor for 10 QTY (this 10 QTY is for every month). so every month I will do a GRPO / A/P Invoice for 10 QTY. BUT to the Vendor i need to send a PO of only 10 QTY (and not a PO for 10 QTY per month)
e.g. 1 Jan 2012 create PO with doc number 1 for One Item with 10 QTY (I print it and send it to the Vendor)
on 31 Jan 2012 i create a A/P invoice against the PO (this will close my PO)
Again on 29 Feb 2012 i wish to create a new A/P Invoice using the Same PO Doc number as my reference (I DO NOT wish to close my PO of Doc number 1)
I dont want to create a new PO for Feb 2012. (Reason is i want as my references with my Vendor to flow on PO number 1 and if I create a new PO for month of FEB 2012 there is a possibility of the vendor being given one more PO which i dont want to happen)
I want all subsequent A/P invoices to use my First PO as my Based Doc. -
Mass Closure of Purchase Orders
I need to mass close Purchase Orders. I can do this using which T-Code?
as suggested goto massd transaction choose the object BUS2012 and choose the field for LOEKZ in components to be maintained. Also choose the relevant fields on the basis of which you wish to make the selections for PO in the component selction criteria. then specify values. This will only delete POs which either have no PO history at all or have been invoiced, if a PO has Goods issue done but not GR these will not be deleted and will be given as error.you can apply deletion indicator to multiple POs as per your selection and then save the changes. I would suggest that you test this with a single document so you get an idea of what you are doin.
reward if helpful -
Payment by letter of Credit against Purchase order
When we are purchasing from Foreign Vendors , we need to open a Letter
of credit (LC) .
Depending on the terms of Purchase order , Vendor will discount it /get
payment from Bank on submitting LC and other necessary documents.
Vendor's Bank, at appropriate Time will send the same to Customer's Bank
How to mapped this scenario in SAP-MM and FI .
Activities required to be updated against Purchase order :
(1) Payment Terms : 100 % against LC on delivery
(2) History should reflect LC opened - Date and Bank Name which
Vendor has suggested, our company's Bank Name
(3) LC discounted details
(4) LC payment due date to our company Bank - as Procurement needs
to inform to Finance for this.
Any help will be highly appreciated.
Thanks and Best Regards,When we are purchasing from Foreign Vendors , we need to open a Letter
of credit (LC) .
Depending on the terms of Purchase order , Vendor will discount it /get
payment from Bank on submitting LC and other necessary documents.
Vendor's Bank, at appropriate Time will send the same to Customer's Bank
How to mapped this scenario in SAP-MM and FI .
Activities required to be updated against Purchase order :
(1) Payment Terms : 100 % against LC on delivery
(2) History should reflect LC opened - Date and Bank Name which
Vendor has suggested, our company's Bank Name
(3) LC discounted details
(4) LC payment due date to our company Bank - as Procurement needs
to inform to Finance for this.
Any help will be highly appreciated.
Thanks and Best Regards, -
my client requirement is status of the po till payment i want to generate a sap query any body pls guide me purchase order ->down payment ->goods reciept-> invoice verification -> vendor payment
i want to generate this report vendor wise as well as the material and po
pls give me indetails tables and fields
advance thanks for kind replyhi,
Seelct EKBE u2013 EBELN, LIFNR
Where EKEB- BUKRS Eq (Company Code entered in the selection screen)
EKBE u2013 BEDAT Eq (Purchasing Document Date entered in the selection screen)
Select all EKBE u2013 EBELN in to EKBE
Invoice and GRN Document Number: -
Select EKEB-BELNR, BUDAT, DMBTR, WRBTR, WAERS
Where EKBE u2013 EBELN Eq EBELN Entered in the selection screen
EKBE u2013 GJAHR Eq GJAHR Entered in the selection screen
EKBE u2013 BUDAT Eq BUDAT Entered in the selection screen
EKBE u2013 VGABE Eq 1 (Goods Receipt) (in case of Invoice GRN)
EKBE u2013 VGABE Eq 2 (Invoice Receipt) (in case of Invoice MIRO)
Eenter all EKBE u2013 BELNR into BKPF and select BKPF- BELENR, WAERS
BKPF - BUKRS Eq BUKRS Entered in the selection screen
BKPF u2013 GJAHR Eq EKBE - GJAHR
BKPF u2013 BUDAT Eq EKBE - BUDAT
BKPF u2013 AWKEY Eq EKBE u2013 BELNR + GJAHR
Eenter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
BSEG u2013 BUDAT Eq EKBE - BUDAT
BSEG- BELNR Eq BKPF u2013 BELNR
For Payment Document Select BSEG u2013 AUGBL
Where BSEG- BELNR Eq BKPF u2013 BELNR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
BSEG u2013 BUDAT Eq EKBE - BUDAT
Eenter all BSEG u2013 AUGBL into BSEG and select BSEG u2013 BELENR, DMBTR ,
Where BSEG u2013 BELNR Eq BSEG - BSEG u2013 AUGBL
For Advance Payment Document Select BKPF u2013 BELNR, WAERS and KURSF
Where BKPF - BUKRS Eq BUKRS Entered in the selection screen
BKPF u2013 GJAHR Eq EKBE - GJAHR
BKPF u2013 BUDAT Eq EKBE - BUDAT
BKPF u2013 TCODE Eq FBA7 and FBA6
Enter all BKPF u2013 BELNR into BSEG and select BSEG u2013 BELENR, DMBTR ,
Where BSEG- BELNR Eq BKPF u2013 BELNR
BSEG - BUKRS Eq BKPF - BUKRS
BSEG u2013 GJAHR Eq BKPF - GJAHR
Reagrds,
Rama Mohan -
Purchase order and message details
Hi gurus,
We have a requirement of generating a report of how the purchase orders are being sent to vendor.
Is there any table or tables that stores information of a purchase order number and how the message (output type) has been processed to vendor like through what medium it has been sent to vendor.
Example Purchase order 3456 was sent to vendor through fax.
Purchase order 4563 was sent to vendor through paper.
Purchase order 7865 was sent to vendor through EDI.
The transmission medium by which it has been sent to vendor need to be captured by purchasing document.
So gurus, if anyone can advise me of table or relating tables that i can write a query or request abapers to write a custom report, that would be great.
Thanks in advance,
Kind regards,
Gopio.Hi,
All the CONDITION RECORD details like MESSAGE, DESPATCH TIME & LANGUAGE are available in NACH table
Goto SE16 for NACH and enter the DOCUMENT CONDITION and get te details
hope it is helpful
thanks,
santosh -
When Iam trying to take Purchase Order report,
Fields in PO Report are as follows:
Posting date, Purchase Order number,Vendor Name, Item Name, Qty, Unit Price, Total Price, & Status.
For eg:
PO Num 100 contains 5 Items, Out of which Goods Receipt PO has been raised for 3 Items. and Goods Receipt PO for remaining 2 items have not been raised.
In this case PO status is OPEN.
When iam generating PO Report, It shows Status for all the Items are OPEN. bcoz status for the PO is OPEN.
I want the report to show the status is Closed for the Items for which Goods Receipt PO has been raised. and similarly status must be OPEN for the items for which Goods Receipt PO has not raised. ( PO number is same ).
Your answers will be very helpfull.
Thankyou.Hi,
I have created a Column in Purchase Order Screen and i have given two options by name Open/Close.
I have Created new field by going into...................... Path: ToolsUserdefined FieldsManage User defined fieldsmarketing documentsrows.
And i have selected check box set valid values for fields and i have given Open and Close Options.
This is effecting in new Purchase Orders which iam creating from now. But it is not reflecting in Purchase docs which i have created earlier.
So Please let me know what to be done inorder to reflect this change in all Purchase Order Doc's.
Your Answers will be very much helpfull.
Thankyou. -
Open Purchase Order UPload Using the BAPI 's
i need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name Field Description Type Length</u>
<b>EBELN Purchasing Document Number CHAR 010 X
BUKRS Company Code CHAR 004 MN10 C
EKORG Purchasing Organization CHAR 004 MN00 C
EKGRP Purchasing group CHAR 003 X
BSART Order type (Purchasing) CHAR 004 X
LIFNR Account Number of Vendor or Creditor CHAR 010 X
BEDAT Purchase Order Date DATS 010 X
ZTERM Terms of payment key CHAR 004 X
WAERS Currency Key CUKY 005 X
INCO1 Incoterms (part 1) CHAR 003 X
INCO2 Incoterms (part 2) CHAR 028 X</b>
EBELP Item Number of Purchasing Document NUMC 005 X
EMATN Material number CHAR 018 X
WERKS Plant CHAR 004 X
LGORT Storage location CHAR 004 X
EPSTP Item category in purchasing document CHAR 001 X
KNTTP Account assignment category CHAR 001 X
EINDT Item delivery date DATS 010 X
MENGE "Purchase order quantity (direct input, transfer of POs)" CHAR 013 X
MEINS Order unit UNIT 003 X
NETPR "Net price: Document currency (direct input, transfer of" CHAR 011 X
PEINH "Price unit (direct input, transfer of POs)" CHAR 005 X
BPRME Order Price Unit (Purchasing) UNIT 003 X
BPUMZ Numerator: Conversion OPUn into OUn (direct input of POs CHAR 005 X
BPUMN Denominator: Conversion OPUn into OUn (direct input of P CHAR 005 X
SAKTO Cost element CHAR 010 X
KOSTL Cost Center CHAR 010 X
VBELN Sales and Distribution Document Number CHAR 010 X
VBELP Sales document item NUMC 006 X
WEMPF Goods recipient CHAR 012 X
WEBTH "Amount in local currency (direct input, transfer of POs)" CHAR 013 X
WEBTF "Amount in document currency (direct input, transfer of P" CHAR 013 X
WEREF Flag for treatment of GR/IR (direct input of POs) CHAR 001 X
SPINF Indicator: Update info record CHAR 001 X
WEPOS Goods Receipt Indicator CHAR 001 X
REPOS Invoice receipt indicator CHAR 001 Xi need to upload the open Purchase Order using the BAPI function BAPI_PO_CREATE1., below is the given fileds blod are for Header, header will Repeat for the line items,can any one help me out using the BAIP's for upload the PO, i need sample code for this ........
Thanks & Regards
Raghu
<u>Field Name Field Description Type Length</u>
<b>EBELN Purchasing Document Number CHAR 010 X
BUKRS Company Code CHAR 004 MN10 C
EKORG Purchasing Organization CHAR 004 MN00 C
EKGRP Purchasing group CHAR 003 X
BSART Order type (Purchasing) CHAR 004 X
LIFNR Account Number of Vendor or Creditor CHAR 010 X
BEDAT Purchase Order Date DATS 010 X
ZTERM Terms of payment key CHAR 004 X
WAERS Currency Key CUKY 005 X
INCO1 Incoterms (part 1) CHAR 003 X
INCO2 Incoterms (part 2) CHAR 028 X</b>
EBELP Item Number of Purchasing Document NUMC 005 X
EMATN Material number CHAR 018 X
WERKS Plant CHAR 004 X
LGORT Storage location CHAR 004 X
EPSTP Item category in purchasing document CHAR 001 X
KNTTP Account assignment category CHAR 001 X
EINDT Item delivery date DATS 010 X
MENGE "Purchase order quantity (direct input, transfer of POs)" CHAR 013 X
MEINS Order unit UNIT 003 X
NETPR "Net price: Document currency (direct input, transfer of" CHAR 011 X
PEINH "Price unit (direct input, transfer of POs)" CHAR 005 X
BPRME Order Price Unit (Purchasing) UNIT 003 X
BPUMZ Numerator: Conversion OPUn into OUn (direct input of POs CHAR 005 X
BPUMN Denominator: Conversion OPUn into OUn (direct input of P CHAR 005 X
SAKTO Cost element CHAR 010 X
KOSTL Cost Center CHAR 010 X
VBELN Sales and Distribution Document Number CHAR 010 X
VBELP Sales document item NUMC 006 X
WEMPF Goods recipient CHAR 012 X
WEBTH "Amount in local currency (direct input, transfer of POs)" CHAR 013 X
WEBTF "Amount in document currency (direct input, transfer of P" CHAR 013 X
WEREF Flag for treatment of GR/IR (direct input of POs) CHAR 001 X
SPINF Indicator: Update info record CHAR 001 X
WEPOS Goods Receipt Indicator CHAR 001 X
REPOS Invoice receipt indicator CHAR 001 X -
DEAR ALL,
WHETHER WE HAVE A STANDARD REPORT IN SAP TO GET QUANTITY AND VALUE DATA OF BACK DATED OPEN PURCHASE ORDER?
PURCHASE ORDER HAS BEEN PREPARED IN JANUARY, DOWN PAYMENT IS MADE IN THE MONTH OF MARCH, MATERIAL IS RECEIVED (GRN MADE) IN AUGUST
IN ABOVE CASE WHEN I GENERATE A OPEN PURCHASE ORDER REPORT AS ON 31.03.2008 IT IS NOT SHOWING ME THE QUANTITY & VALUE DETAILS OF OPEN PURCHASE ORDERS.
PLEASE LET ME KNOW THE WORK AROUND.
WAITING
AMITDear,
Enter ME2N, Select WE101 in selection parameter field.
Then enter other required detail and click on execute button.
So system give you list of open purchase order.
Then click on change layout button.
Transfer Still to be invoiced (qty) field Column Set to Display column set mode.
And click on continua button.
Duse to this field you can track for how many quantity good receipt is created of purchase order.
Regards,
Mahesh Wagh -
Purchase order to payment cycle report
Dear Sir/Madam
We want to have a report on the purchase order to payment cycle.
this includes the following points:
1. Purchase Requisition is raised in the system
2. PO is raised with various line items
3. Advance payment is done against the PO
4. GRN is made for goods delivered
5. Invoice is processed against each GRN
6. Retention is deducted to be paid in future
7. Liquidated damages (LD) is deducted which is treated as miscellaneous income in companys books
8. Payment is made to the vendor
We require the report in such a way which will give the details of each payment against each GRN line item. tracking of the same should be possible.
Do we have any standard report which will help in identifying the purchase order to payment cycle.
Thanks and Regards
Prashant P. ZingeHi,
It is always a requiremnet to have a report from PO, GR, IV to payment.
But unfortunately, SAP do not have such a report, we develop one locally, the difficult is at payment side.
Several invoices for one vendor has only one payment doc, how to display it need to discuss with end user. -
Hi Experts,
Due to some other reasons we tried clear GR/IR clearing a/c. i will explain clearly.
We have some purchase orders pertaining to 2006 year. we have not done MIGO and we did MIRO, So that we could not able to clear GR/IR A/C. SO, we have posted manual entry with fb50 same as MIGO posting then we cleared both documents with f-03 its done every thing was fine now But if we see purchase order report status showing OPEN
How to change the status please some one let me know.this is high priority issue.
Regards,
JCHi,
First make sure that you will not receive goods against your PO..Then go to me22n and delete the item in your PO.
This will resolve your issue.
Thanks,
Srinu -
Report for Planned vs Purchase Order(Qty and rate)
Hi
I have the following issue. My client is raising Purchasing requisition and Purchase Orders in Me51N and ME21n respectively. The Project Structure is used only to plan the quantities and rates whereas no PR is released from it. But the components are attached. Now if i make use of the code CN52N, i am getting the planned quantity and unit rate for the planned value whereas no Purchase requisition number or purchase order number is updated in it.
My requirement is that both planned quantity, rate along with Purchase order quantity and rate should be available in a report.
1. Is there any setting that we can make so that the details are updated in cn52N (or)
2. is there any other report with those details (or)
3. Should that be achived only through ABAP.
Please suggest.
RaghavThere are a few reports that you can use to display STO requisitions and orders, by supplying plant, material, or MD04 like was mentioned.
The only thing that you don't have in a report is the link to the production order. In SAP in a MTS situation there's no fixed link (pegging) between the requirement (STO) and the supply (prod Ord).
You can view the pegging dynamically, for example in MD04.
Edited by: Mario Adler on Oct 27, 2011 12:13 PM -
Open Qty and Received Qty for Open Purchase Order.
How to Fetch the open qty and received Qty of every Open purchase orders in EKPO table where ELIKZ = SPACE OR LOEKZ = SPACE. What are the table and field used? Kindly help me.
Hello Senthilramkumar,
Use ME2L/ME2N/ME2M with selection parameter WE101.
Hope this will help. -
Distinguishing Open and Closed Purchase Orders
We have a BI query which shows all Purchase Orders split by line item.
We would like to be able to determine which of those Purchase Order line items is closed within the core SRM system and which are still open.
Is anybody aware of an InfoObject that would allow us to do that?
Any help would be much appreciated.
Thanks,
Positive ParrotYou need to ask your functional team or business how they close Purchase Orders. Most companies I have been at never close the orders or line items.
At one company, I had an Open Order report requirement and it was messy. I had to identify which line items still had an open quantity and then load those line items only into a cube.
I wrote a ton of code to do this and had a few ODS objects to help out. This wasn't an easy task.
Hopefully for your sake, your company uses the 0COMPL_DEL (Delivery Completion) characteristic or 0FINAL_INV (Final Invoice Recieved indicator) characteristic and you can base your decision on the values in those fields.
I am assuming you are looking at the 2LIS_02_SCL extractor for Purchasing Schedule Lines....
Good luck,
Brian
Maybe you are looking for
-
Position() function in XPATH
Hello, does anyone know how to get the position() function to work in a XPATH Queries? What I tried until now is SQL> SELECT EXTRACTVALUE (COLUMN_VALUE, '/row/a/position()') p FROM TABLE (XMLSEQUENCE (XMLTYPE ('<row><a></a><a></a></row>'))) Error
-
Hi, I would like to add a second email field so that users are required to re-type their email address (to avoid mis-spelled addresses). Is there a way to do this with the spry elements (DW CS3) or other ? Not sure how to go about it. Thanks
-
Procedure or function in Invalid state
I got the following error Oracle/PLSQL: ORA-06575 Error : function CURRENCYBASE is in an invalid state i have recompile the function again SQL> ALTER FUNCTION CURRENCYBASE COMPILE; Warning: Function altered with compilation errors. Errors for FUNCTIO
-
Arabic Printing using Smartforms
Hi Gurus, I am trying to print arabic text using smartforms. I have set MS Word as the text editor. Arabic text is coming up correctly in the editor (Arabic font, Right-to-Left). I created a Arabic smartstyle using A_TRAD font (I also tried other ar
-
Dependency Information for Transport Requests in Change Request Management
If two CTS projects are not assigned to SOLMAN projects, it is possible to define a dependency successor/predecessor relation between two transport requests for the import order. For example I can state that I have to import TR 1 only after the TR 2.