Last date Purchase Order
Hi All,
I need to find Out last date purchase Order,
I have got PO Net price in colums and in Rows vendor and Document date.we have variable for Doc date to enter the date intervals ( expl 01.01.2005 to 01.02.2005). this report give the vendor with doc dates with in this month.But we to find out last documnet date of PO to that vendor.
Kind regards.
Harry
Edited by: harry power on Feb 7, 2008 3:48 PM
Hi Florian,
Thanks for your reply.
I want to get in the report ,last date order to the vendor ,
Could you more clear about condition and How to assign to date
Regards.
harry
Similar Messages
-
Printing last page (Purchase order Terms) in SMARTFORMS
Dear SAP Gurus,
Our Purchasing unit would like to print purchase order terms and conditions after the end of Purchase order. Initially I had two pages (First and Next). The following are the steps I followed to print last page with Purcahsing terms.
1. Create Command line at end of Main window in First and Next page and in command line output options select Go to page as Last page.
2. Under last page, I have a secondary window which prints a text. (this is a long text and cant be printed using secondary window. I need Main window to print the text as it would be continous)
The following are the problems I am facing.
1. By placing command line at end of Main window, data in secondary window after the Main window are not printing.
2. Purchase terms Text placed in the last page under Main window is not printing. Text placed in last page under secondary window is printing but instead of 8 pages of terms text only one page is printing.
How can I handle this.
Thanks in advance.
Thanks
ShanthiHi Shanti,
From what I've understood from you post, you may try putting the command in the secondary window (which comes after the MAIN Window) of the first page. In the command give Goto Page ->NEXT.
Hope this helps.
Thanks,
Ranjith -
ALE Configuration for Transactional Data (Purchase Order)
Dear Experts,
I want to configure ALE for Purchase Orders(Transactional Data).
For that:
I have done neccessary Condition Records at NACE with necessary Output Type Configuration. Configured Port and Partner Profile with Message Types: ORDERS and ORDECHG (as Outbound Parametrs) .Assigned those Message Types against defined Sender and the Receiver at Customer Distribution Model . Configured Port and Partner Profile at the Receiver System also.
Now I have 2 queries.
i) Is this much of ALE configuration is enough for Transactional Data for communication between 2 systems or I have to do something more?
ii) For Master Data we configure Change Pointer(we can see field assignments against Change Document Object at BD52 for Master Data Messaage Types) . Is it necessary to configure Change Pointer for Transactional Data or it will autometically handled by the system(field assignments cannot be seen against Change Document Objects at BD52 for Transactional Data Messaage Types)?
Regards
ArnabHi kumar,
what Alexander said is absolutely correct .
from your second question no master data distribution configuration is required for the transactional data distribution.
let us know once if you face any problems.
~linagnna -
PO date / Purchase order type
Hello,
When creating a standard order in SAP with VA01, we can fill in the fields "PO date" (the date when the customer send the PO) and "Purchase Order Type" (the source of the PO - by Email, by phone, by fax)...The report VA05 doesn't show those fields...Is it an other report showing these data that I can use ?
Many thanks.
Gabriela.Hi Gabriela
You can Check in VA05 , so kindly check the document type feild & PO date feild . If you cant see then check in VA05n
Regards
Srinath -
Inbund Delivery Date Purchase order delivery date
Where in customizing can I make it standard that the inbound delivery takes over the delivery date from the purchase order, and not the creation date?
what was the solution?
-
Last date to order calenders for UK delivery by 24 Dec?
Hi
I have seen that 11th Dec is last date by normal delivery to order calendars etc. Does anyone know if this is the same date if ordering for delivery to UK, rather than USA/Canada?
Regards
ShakeyPleasure.
My very first calendar arrived this morning. I ordered it on the 18th, received confirmation that it had been completed and despatched the next day (19th), and it arrived yesterday - so effectively 6 working days. Not bad at all.
Have to say - I absolutely love the calendar. Nicely boxed, too. -
Last Purchase order of a material
Hi All,
I have a requirement to retrieve the last/latest purchase order for a given material/plant combination. Currently I am using the following logic. Here is the pseudo code I am using.
Select EKPO records where MATNR = given material
WERKS = given material
BSTYP = 'F'
LOEKZ = space.
select EKKO records where EKKO-EBELN = EKPO-EBELN.( for all EKPO records of unique EBELN)
sort EKKO record by AEDAT DESCENDING.
read table EKKO index 1. "This is the record I need.
This logic seems to be not good. As I am reading all the purchase orders of the material for entire period which will cause more database hit and memory issue. Say if we have maintained the system for 5 years and I am reading EKPO table for a material there will be more purchase orders for this material.
Can you please suggest if there is a better logic to handle this?
Regards,
Srinivas.My approach will be to first speak with functional consultant to find what will be the most probable period in which you will find last PO for given material/plant.
For example you might get an answer that you will find last PO of given/material within last week (or last month) for most of the combination.
Once you get the period in which you will find the data, you can then construct logic as below
date : r_date type range of ekko-aedat .
fill range with last period (last week for example)
DO .
select field
from ekko inner join ekpo on ekko~ebeln = ekpo~ebeln
where ekko~BSTYP = 'F'
and ekko~LOEKZ = space.
and ekko~aedat in r_date
and ekpo~werk = given plant
and ekpo~matnr = given material
if sy-subrc = 0 .
* you got your record , sort and pick the right one
* break the loop.
else.
**Check for exceptions
* fill r_date with last to last period and so on...
endif.
ENDDO.
Now about the exceptions, there might be some NOT SO ACTIVE material/plant for which last PO was create 3 years back (for argument sake). Again here you have to ask you functional consultant if he/she really want to see that old record or NOT SO ACTIVE material. If his/her answer is yes then he/she have to live with long execution time. Otherwise logic will be not to look beyond the time limit given by you functional consultant. For example, if you do not find PO in last 1 year then stop looking.
Edited by: Pawan Kesari on Dec 11, 2009 10:35 PM
Edited by: Pawan Kesari on Dec 11, 2009 10:37 PM -
Purchase Order most recent date
Hi,
I have a report and want to retrieve a list of Purchase Order numbers related to several items. However, I don't want all the POs, but I only want the most recent PO for each item.
I am trying the following:
SELECT docnum FROM opor WHERE docdate = max(docdate)
but I am getting the following error:
Msg 147, Level 15, State 1, Procedure getPONoSpendAnalysis, Line 20
An aggregate may not appear in the WHERE clause unless it is in a subquery contained in a HAVING clause or a select list, and the column being aggregated is an outer reference.
Any ideas of how I can go about this?
Many thanks.None of these solved my issue unfortunately.
The following is my query:
select
t0.docnum as 'Issue No.'
, t0.docdate as 'Issue Date'
, t1.itemcode as 'FA Code'
, t1.dscription as 'FA Desc.'
, t3.expensesac as 'Expense A/c'
, t4.U_eHypCode2 as 'Hyperion Code'
, t5.docentry as 'PO No.'
from
oige t0 left outer join ige1 t1 on t0.docentry = t1.docentry
left outer join oitm t2 on t2.itemcode = t1.itemcode
left outer join oitb t3 on t3.itmsgrpcod = t2.itmsgrpcod
left outer join oact t4 on t4.acctcode = t3.expensesac
left outer join por1 t5 on t5.itemcode = t1.itemcode
where
(t2.assetitem = 'Y')
I want the column 'PO No.' to give me the last dated Purchase Order for the particular item code (t1.itemcode)
Any help please?
Thanks. -
Tables for sales & purchase order data relating to delivery
hi all,
i am writing a report to download all the delivery data after the delivery is created.i have to download the sales order data & purchase order data relating to this delivery also.
i am using likp & lips table for delivery.which tables i
should use to get the sales order data & PO data for the same delivery (likp-vbeln). i.e i need the sales & purchase order related tables which has link with delivery tables like likp & lips etc.
plz advice me. it is very urgent.
any idea is highly appreaciated.
Regards
pabitrain Addition to NM ,
in case of STO there is no Sales Order , Process will be like this
PO-->Delivery->PGI--->Billing then u have to
link
*getting the History data of the PO
select ebeln
ebelp
belnr
menge
from ekbe
into corresponding fields of table w_ekbe
where ebeln eq w_lips-vgbel
and ebelp eq w_lips-vgpos
and bewtp eq 'L'.
Regards
Prabhu -
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. -
Steps to create a purchase order in SAP r/3
Hi All,
I need to create a purchase order in SAP R/3,I am very new to SAP R/3 just started using material managements module in R/3.Could any one please help me to know what all steps i need to take for creating a PO.Do i require some pre-requisite data in R/3?
Waiting for your reply!
Thanking you.
Regards,
Namrata.Trigger
A purchase order needs to be created, and the vendor is known
Business Process Description Overview
A purchase order is a legal document issued by the buyer to the vendor to supply materials or service at the agreed price, terms and conditions. The Purchase Order forms the basis for all follow-on activities like Goods Receipt, Invoice Verification, etc. The Purchase Orders can be created directly by entering all the required data, copying already created purchase order, with reference to an RFQ/Contract or with reference to a PR.
Purchase Order creation is possible only if sufficient budget allocation is there for the Fund Centers. It is not possible to create Purchase Orders for a Vendor who is blocked for procurement or not maintained in source list for that item. Also it is not possible to create PO for Quantity more than the PR quantity.
All the price components which are to be paid to vendors and requires to be inventoried has to be included in PO.It is possible to add different vendors for delivery costs. The tax codes should be correctly maintained in PO for the purpose of Cenvat availment etc.
The payment term defaulted from Vendor Master or RFQ has to be verified and changed if required.
The incomplete Purchase Orders can be saved as HOLD document and later completed and saved thru Change PO menu
Input - Required Fields Field Value/Comments
Vendor Vendor number
Purchasing Organization 1000
Purchasing Group Purchasing Group code
Date Purchase order date
Account assignment category Where costs will be allocated
Delivery Date Anticipated Delivery Date
Plant For which plant we are buying the material
Output - Results Comments
Purchase order document Can be changed, displayed or printed which can then be mailed to vendor
Tips and Tricks
The Purchase Orders can be created directly by entering all data required for creating PO or by copying another PO or with reference to RFQ/Contract/PR.To create a purchase order by copying existing document (PO/RFQ/PR), you can either select the desired document in the document overview .and adopt it in the current purchase order in the right-hand area of the screen using the ADOPT button .In addition you can drag it onto the shopping basket symbol with the left-hand mouse button.
Click the Personal Settings button on the tool bar, this function is for default information for purchase order header data and also purchase order item data. This will reduce the amount of redundancy in the data entry, i.e. plant, company code.
One Purchase Order may be created for several purchase requisitions
Procedural Steps
1.1. Access transaction by:
Via Menus Logistics èMaterials ManagementèPurchasingèPurchase OrderèCreateèVendor/Supplying Plant Known.
Via Transaction Code ME21N
1.2. Double-click
On screen Create Purchase order
On screen select Domestic Purchase order in this screen . You can also select other document if you want to create other. Here drop down menu is available.
Click to enter the organization data.
Screen will change in the header; enter data as given in the table below:
Field Name R/O/C Description
Purchasing Org. R Enter the purchasing organization code.
Example: 1000
Purch. Group R Enter the purchasing Group which is procuring the material
Example: P01
Company Code R Enter the company code under which above purchasing
Organization is.
Example: 1000
After entering the organization data enter the vendor or material supplier in the field here drop down is available.click to see the drop down.
Field Name R/O/C Description
Search term O Text that describes the vendor in more detail.
Example: MICON
Vendor O Description of the vendor.
Example: 100008
Click .
System displays all possible entries available as per data entered
Restrict value range (1) 1 Entries found
To select required Vendor Click .
Click .
Vendor selected
Now go to ,here the system will pick up the data automatically from the vendor master but if you want to chane the data you can change the data. Here drop down menu is available.
Now go to to mainatin the text.
After maintaining the text if you want to see or change the vendor address click and do the amendments.
Now Go to and click to enter the Items and other data as per the table given below:
Field Name R/O/C Description
Account Assignement R Key that identifies specific settlement receiver types such as cost centers, internal orders, work orders, asset accounts, or project WBS elements.Example: K
drop down menu is available here.
Item Cateogry O How the procurement of a material is controlled.
Drop down menu is available here.Example: Standard
Material R Here you will enter the material to be purchased from the
Vendor.
Here also drop down menu is available. Use the following
to select the material. Example ZROH-DEMO
In the figure above enter the search cretira for the material for example ZROH-DEMO and click
. The follwing result will appear on the screen select the line item and click to select
the material.
Short Text R Enter here short description about the material,if the text is not
automatically picked up from the material master.
PO Quantity R Enter here quantity to be ordered.
Example 10
Order unit R Here we enter the order units of measurement.
Here also drop down menu is available.
Example : KG
Category of delivery date O Here you can enter deleviery date format.
Here also drop down menu is available.
Example : Day format
Delivery date R Enter the delivery date. You can use the calender provided by
the system.
Example : 28.02.2006
Net price R Enter the net price of the material here
Example : 1000 INR
Material group R Enter the material group to which that material belongs.Here
also drop down menu is available. This field is also automatic
picked up field.
Example : M10001
Plant R Enter the plant code for which you are purchasing the material
Here also drop down menu is available.
Example : 1100
Storage location O Here you will enter where the material is to be stored. Drop
Down menu is available here.
Example WH01
Click Enter and system will give you message
You will now see the screen
Field Name R/O/C Description
Cost Centre R The purchase is done for which purpose. Here also drop down
Menu is available.
Example: 11050 for CDU/VDU /SGU OP
G/L Account R G/L account from which payment will be done.
It will be automatically be picked up from the material group
You can change it also.
Unloading Point O Specifies the point at which the material is to be unloaded.
Recipient O Specifies the recipient for whom the material is destined.
Click to see and to change the Tax Code at item level.
Select to view the taxes applied on the line item.
click to go back to the previous screen .
On the main screen in the same tab if you want to change the taxe select the tax code from the drop down available
After selection again, Select to view the taxes applied on the line item.
If you want to add more conditions click tab and enter the conditions from the drop down
You can also maintain the text at item level by clicking tab.
After completeing this all click to check wether here is any error in the purchase order , If there will not
↓
any error then on the screen following line will appear.
If there will be some error the system will throw the message on the screen
select the line item and click to see the detail of the error.
close this window now and goto main screen to rectify the error.
After rectifying the error again click to check wether here is any error in the purchase order.
Now click to save the purchase order, after clicking the button the following message will appear -
Purchase order type in sales documents
Hi All,
I have come across with a peculiar requirement . Basically we want to have a source from where we have got the order as the order may be from different environments. Example: EDI Order, Web order, Manual Order.
So I have decided to use the field 'Purchase Order type' at the sales document header - Purchase order data.
We can define new purchase order types at (path) SPRO-SD-Sales-Sales document header-Define purchase order type
My question is how we can do this as automatic for each sales order. Is there any provision to assign the purchase order type to sales document type?
How can we address this issue?Hi,
try user exit USEREXIT_MOVE_FIELD_TO_VBAK in MV45AFZZ. Pl take the help of your Abapers for this.
But then we have this kind requirement where we use the same document type, but goto > header data > purchase order data and select the way in which the orders are coming.
Hope it helps. Pl reward if useful.
Thanks & Regards
Sadhu Kishore -
Purchase Order: Mass modifications
Hello:
I'm using transaction MEMASSPO to change "delivery date" in purchase orders but I can't. OSS note 443777 says it is possible to do that since:
"... Transaction MEMASSPO can only change fields which are contained in the standard system of program SAPMM06E on the following screens:
0101 header data purchase order
0111 order item data purchase order
0120 purchase order item overview
and which can there be changed in transaction ME22
and "delivery date" in in screen 0120.
Can anyone help me, please?
Thanks,
Abel GrandalHi Abel,
If there are multiple schedules for a PO item then you can not change delivery date from item overview screen.
Cheers,
Sanjeev -
AP Module - Purchase Order Level Detail
Guys, is it safe to say that there is limited information for a Purchase Order available via Financials - AP modules?
This is what i see:
Purchase Order Date
Purchase Order Item
Purchase Order Number
Where is some additional PO level detail? Is it available in the "Procurement and Spend" analytic module? Thanks for sharing your insight into this.
Thanks for your help.
Regards,Guys, any pointers on this is greatly appreciated.
Regards, -
Need to get the Last Changed date in Purchase Order.
Dear Experts,
I need to get a table which stores the last/ latest change for a Purchase Order.
For a Purcahse Order, last date Changes need to be captured , where there was some sort of activity associated with that order. That activity could be a goods receipt, an invoice payment or a change to the Purchase order.
Thanks in advance.Hi,
You can use EKPO-AEDAT.
Tables CDHDR and CDPOS contain what chnages you have made.
Thanks,
Ramakrishna
Message was edited by: Ramakrishna Prasad Ramisetti
Maybe you are looking for
-
I will try and give as much information as I possibly can. I recently had problems the other day when I was trying to burn a CD for a trip, however, it was taking way too long, and it became apparent when it was said it was going to take longer than
-
How can I sent photos as attachment rather than embedded in the email?
For work, I need to send photos to my editor via email. In Mail, the jpgs automatically become embedded in the body of the the email, but my editor would prefer to receive them as attachments. Is there any way to send photos as attachments in Mail, r
-
Where can i find auto complete on ipad
where on the ipad are autofill emails stored
-
Which JDK/JRE is the best for 8i?
After seeing so many people having problems with 8i I would like to ask what version of JDK/JRE works best?? Thanks Lynx null
-
I cannot get my downloaded itunes TV Shows to play on ATV. It keeps asking to authorize this computer, eventhough I can play movies and music from the library.