"Latest GR Date" in PO
Can we automatically default "Delivery Date" in "Latest GR Date" field at Item level in Purchase Order?
Hi,
We use this feature very frequently especially, to make it not possible to receive with reference to a PO (instead of locking or marking for deletion) but let it be paid for those already received...
It is done manually. I looked at the configuration but couldn't find any possibility to address this. So, the guaranteed solution is user exit
Good luck
Similar Messages
-
To get supplier name based on latest approved date
hi
in PO SUPER USER -Purchase Order Summary ,when we enter the item number in Item,rev field a new form Purchase Order Lines opens
in this form there are many lines of PO numbers ,suppliers(vendors),approved date ,can we get the supplier name for which the approved date is most recent
kindly guide
thanking in advancehi
in my system i can see the latest approved date wise but i have to add an inline query on the most recent vendor based on approved date to an already existing query
meaning just the first row data(most recent supplier) should be captured in the query
when i do the following query , i am taking an eg of the item_no 1020101001
select msib.segment1,max(pha.approved_date) from
po_headers_all pha,
po_lines_all pla,
po_vendors pv,
mtl_system_items_b msib
where
pha.po_header_id = pla.po_header_id
and pla.item_id = msib.inventory_item_id
and pv.vendor_id=pha.vendor_id
and msib.segment1='1020101001'
--and pha.approved_date=max(pha.approved_date)
group by
--item_id.
msib.segment1
this is the output i get
segment1 MAX(PHA.APPROVED_DATE)
1020101001 1/9/2011 3:16:48 PMwhen i do the following query
select msib.segment1,max(pha.approved_date) ,pv.vendor_name from
po_headers_all pha,
po_lines_all pla,
po_vendors pv,
mtl_system_items_b msib
where
pha.po_header_id = pla.po_header_id
and pla.item_id = msib.inventory_item_id
and pv.vendor_id=pha.vendor_id
and msib.segment1='1020101001'
--and pha.approved_date=max(pha.approved_date)
group by
--item_id.
msib.segment1
,pv.vendor_name
segment1 MAX(PHA.APPROVED_DATE) VENDOR_NAME
1020101001 7/21/2008 9:09:20 AM TRIZAC ABU DHABI
1020101001 1/9/2011 3:16:48 PM SAUDI CEMENT COMPANY
1020101001 2/14/2010 4:03:46 PM UNION CEMENT NORCEM CO.
1020101001 5/19/2010 3:08:32 PM AS CIMENTO SANAYI VE TICARET A.S.i require the most recent vendor_name for a particular item ( i require the output as below)
segment1 MAX(PHA.APPROVED_DATE) VENDOR_NAME
1020101001 1/9/2011 3:16:48 PM SAUDI CEMENT COMPANY
kindly guide me
thanking in advance -
Hi
Can anyone explain how does the GR processing time affect the scheduling of the process order & the latest start date in the operation overview.Hi
GR processing time means number of workdays required after receiving the material in storage.
Check this link:GR Processing time
Regards,
Anupam Sharma -
Exchange rate coefficient on the basis of latest posting date in invoice.
Hi,
I have one query on posting date(picking of exchange rate coefficient from TCURR table) in invoice verification. Please help.
Conditions are--
vender and company code are not in same currencies(ex-USD and INR). exchange currencies are maintained perfectly on every month 1st ie co-efficients in TCURR table ie OB08
Query---
1.At the time of parking invoice suppose i enter the date 20th august and i have posted that invoice as parking. It is converting the local currency as per 8th month exchange rate.
2.And at the time of final posting the invoice supose i posted that date as 10th September. Business wanted that converting the local currency as per 9th month exchange rate But now local currency is converting on the basis of initial entry of posting date ie 8th month only.
Please advise and guide what configeration that i have to set for picking the exchange rate coefficient on the basis of latest posting date in invoice verification.
Thanks & Regards,
MadhuBabu.Hi
I dont think it is possible as once you enter posting date while in parking invoice screen, on that date exchange rate will be calculated and it wil not be different at time of posting invoice. Instead of parking, you have to directly post with current posting period.
Thanks -
In which table we get latest finish date of operation
Hello all,
I have one report for planned order in which i have to display the latest finish date of all the operation in that particular plnned order.
can you please tell me from which table i can get the latest finish date of the operation.
I have used the table KBED, but in table KBED i am not getting data for all the operation in planned order. I am geting only one or two operation in table KBED.
Is there is any other table or any other way by which i can find the latest finish date for the opeartion.
Please help.Hello Rudra,
I don't want dates of planned order.
In planned order we have number of operation.
I want latest finish date of these operation,
In table KBED we get the latest finish date but i am not able to get details of all the operation.
In table KBED i am getting detials of only two operations where as in planned order i have 7 operations.
Thanks -
Retrieving latest changed date UDATE for Vendor.
Hi All,
I have a requirement to retrieve latest changed date UDATE field from CDHDR table based on company code wise??.
As the vendor can be same for different company codes, I need to retrieve the company code wise latest changed date of vendor.
Hope am clear.
Currently am doing this
SELECT objectclas objectid tcode udate
FROM cdhdr INTO CORRESPONDING FIELDS OF TABLE it_cdhdr
FOR ALL ENTRIES IN it_lfa2
WHERE objectclas = 'KRED' AND
objectid = it_lfa2-objectid
AND change_ind = 'U'.
SORT it_cdhdr BY objectid udate DESCENDING.
Its giving me the latest changed date. But I need latest changed date -company code wise?
Any help is highly appreciated.
Thanks & regards
Himayat.Hi,
Use function module CHANGEDOCUMENT_READ to get the details of CDHDR as well as CDPOS data. Records of table CDPOS where TABNAME = 'LFB1' will have the details related to changes in company-specific data. Structure EDITPOS of above function module will give you detail information.
Regards
Vinod -
Restriction of Good Receipt on the basis of Latest GR Date...
How we can restrict the Goods Receipt against the Purcahse Order with reference to the Latest GR Date in reflecting in the Purcahse Order.
Latest GR date reflects in the Delivery tab of the Item details in the Purcahse Order.Hi,
To prevent goods from being accepted in the case of delayed delivery, youmust specify the latest possible goods receipt date for the item in the purchase order. This field is in the item detail data on the Delivery tab page. You also have to set
message 163, Last possible delivery date was... (work area M7), as a warning or error message in Customizing.
If you have set the message as an error message for delayed delivery, you can post the delivered goods to the GR blocked stock and then post a return delivery from the GR blocked stock.
Hope Help U !
Regards,
Pardeep malik -
Pickup the Latest Result Date (Query involves 3 tables)
Hello folks,
I have a relatively simple request. It involves 3 simple tables. I want to return the Student along with the Results based on the Latest Result Date and a Flag. Any help is appreciated.
Thanks
Assumptions
STUDENT_ID is unique in STUDENT_TB
EXAM_VISIT_ID is Unique in EXAM_RESULTS_TB.
Scripts for table creation and INSERT statements
create table student_tb (student_id varchar2(4));
create table exam_tb (student_id varchar2(4), exam_visit_id number, exam_date date);
create table exam_results (exam_visit_id number, result_date date, results number, result_flag varchar2(1));
insert into student_tb values('1001');
insert into student_tb values('1002');
Insert into EXAM_TB (STUDENT_ID,EXAM_DATE,EXAM_VISIT_ID) values ('1001',to_date('01-JAN-12','DD-MON-RR'),1);
Insert into EXAM_TB (STUDENT_ID,EXAM_DATE,EXAM_VISIT_ID) values ('1001',to_date('01-APR-12','DD-MON-RR'),2);
Insert into EXAM_TB (STUDENT_ID,EXAM_DATE,EXAM_VISIT_ID) values ('1001',to_date('01-JUL-12','DD-MON-RR'),3);
Insert into EXAM_TB (STUDENT_ID,EXAM_DATE,EXAM_VISIT_ID) values ('1001',to_date('01-SEP-12','DD-MON-RR'),4);
Insert into EXAM_RESULTS_TB (EXAM_VISIT_ID,RESULT_DATE,FLAG,RESULTS) values (1,to_date('01-FEB-12','DD-MON-RR'),'N',10);
Insert into EXAM_RESULTS_TB (EXAM_VISIT_ID,RESULT_DATE,FLAG,RESULTS) values (2,to_date('01-MAY-12','DD-MON-RR'),'Y',40);
Insert into EXAM_RESULTS_TB (EXAM_VISIT_ID,RESULT_DATE,FLAG,RESULTS) values (3,to_date('01-AUG-12','DD-MON-RR'),'Y',32);
Insert into EXAM_RESULTS_TB (EXAM_VISIT_ID,RESULT_DATE,FLAG,RESULTS) values (4,to_date('01-DEC-12','DD-MON-RR'),'N',20);I would like to pick up the Student along with the RESULT_DATE and RESULTS where the RESULT_DATE (EXAM_DATE is irrelevant for this exercise) is the most recent for that Student and the flag = 'Y'. EXAM_VISIT_ID is Unique. So, the record that needs to be returned from this Result set is
1001 3 01-AUG-12 32Hi,
That's an example of a Top-N Query , and here's one way to do it:
WITH got_r_num AS
SELECT e.student_id, e.exam_visit_id
, er.result_date, er.results
, RANK () OVER ( PARTITION BY e.student_id
ORDER BY er.result_date DESC
) AS r_num
FROM exam_tb e
JOIN exam_results_tb er ON er.exam_visit_id = e.exam_visit_id
WHERE er.flag = 'Y'
SELECT student_id, exam_visit_id
, result_date, results
FROM got_r_num
WHERE r_num = 1
;Thanks for posting the CREATE TABLE and INSERT statements. Please make sure they work before posting them. There is some confusion about the table (EXAM_RESULTS or EXAM_RESULTS_TB) and column (FLAG or RESULT_FLAG) names.
What results do you want if there is a tie for the most recent exam for a given student? (E.g., if we change the result_date on this row
Insert into EXAM_RESULTS_TB (EXAM_VISIT_ID,RESULT_DATE,FLAG,RESULTS) values (2,to_date('01-MAY-12','DD-MON-RR'),'Y',40);to be August 1, 2012, just like the row with exam_visit_id=3)?
Depending on your requirements, you may want to add tie-breaking columns to the end of the analytic ORDER BY clause, and/or use ROW_NUMBER instead of RANK. -
User exit for "Latest GR date"
Hi Experts,
Please can any one provide me user exit for "Latest GR date" field in PO item level to update the value with 180 days plus on the delevery date mentioned for PO item.
Thanks in advance.
Regards,
VijayPlease check this answered link:
Common USER EXIT for ME21N,ME22N
Edited by: Afshad Irani on Jun 18, 2010 11:08 AM -
We are trying to fill setup table for App 4 and afterwards when we extract the DS 2LIS_04_P_ARBPL we are getting figures clubbed together based on latest posting date
for ex: a given production order and type, if AFRU table shows below entries:
16.01.2012 1.5
17.01.2012 1.0
19.01.2012 0.2
then in setup table we have only one row (figures are grouped and shown against the latest posting date!!
19.01.2012 2.7
what is the solution?Hi,
Most of the times data won't fill in the base tables, because the reason is, at the time of data entrry by users, there are certain conditions , so until and un less all that conditions fullfill, then only all feilds will fill in the base tables. I faced the same problem for 2lis_04_p_matnr datasource, I'm not getting Batch, so I enhaced teh datasource. So better add ZZ feild to datasource and enhace the ds based on AFUM table (Based on the process order)
Thanks
Reddy -
Customers whose latest posting date is older than 2 years
How to find out the Latest posting date for a customer in the report from the list of Posting date available.
Sorting option may not be a right Option as i need to create a condition on the formula(Latest posting date(4) -Sy-datum(4) greater than 2 years)
Please suggest mePlease let me know for any inputs
-
Automatically po deletion after latest GRN date
HI expert
i would like to know after "Lates GR date" on the "Delivery" tab of the item details. after that date my PO should get deleted automatically or line item should get lock and for the same i can developed a Z report where i can come to know which all my po are near to "Lates GR date and can i ask workflow as in a mail will go to the endsuer.
Regard
NabilHi,
Yes you can use this latest GR date functionality to restrict GR posting after this date
For this you will have set message make message M7-163 as error in attribute of system messages
This date needs to be enterned manually by user while PO creation
If you want to default this date auto then you need use user exit or BADI
Refer to OSS note 856279
For workflow set up i dont have much know how
Thanks
Diwakar -
How to pull the Latest Time/Date of the update?
Hi BW gurus,
Hope everyone is fine.
I have a doubt to meet my user requirement.
I have a developed the infocubes and Infoset(combining only two master data infoprovider infoobjects) and created few reports on them.
Now the requirement is
"Client is asking for the latest date on which the data target is updated".
Say if we run the infopackage on a particular day say "Dec 1st 2006"
For example one cube is a full update, always by dropping the previously loaded data and one cube is updated with the delta update.
For all the reports , if we run the query, the report should give the information stating that the latest update was made on "UPDATED DATE=Dec 1st 2006".
how to achieve this?
Please somebody help me out.
Please tell me the step by step that I need to follow to achieve this.
Any kind of help is appreciated.
I am still in DEV.
Thanks in advance,
Regards
Sam MathewHello
This can be achieved
First add an infoobject to your Data targets for Update date
Second , include the update date infoobject in your infosource
Map the infoobject with the field sys-datum which is current system date
So whenever you execute an infopackage, the sys-datum field will pick up the current date at which it is executed.
This is what you want in BW as latest update date of data target
Regards
Ganesh N -
Since the latest up-date I can't see any movies. It always returns to the main menu. Is anyone else having this problem and how do I fix it? We have gone 3 days without the use of renting movies.
Welcome to the Apple Community.
First you should try logging out of your iTunes Store account (settings > iTunes Store > accounts) and then back in again.
If that doesn't help, try resetting the Apple TV (Settings > General > Reset > Reset all settings). You should also try restarting your router.
If both of the above don't help, you should try a restore (Settings > General > Reset > Restore). -
Latest backup date can't be found
Hello.
Since a few day, my Time Machine icon in the menubar won't give me the latest backup date ! I've the same problem in the system preferences. The system shows me only two dashes.
It was before I update to 10.5.3, and the update didn't do anything.
Thanks for your help.
J-B
PS : please excuse me for my bad English, I'm French.Open your home folder, then double-click "Library". From there, double click "Preferences".
In there, there should be a com.apple.timemachine.plist file.
Move that to your Desktop as well as the one located at MacHD>Library>Preferences>com.apple.timemachine.plist (make SURE you know which is which.)
Then restart.
Good luck! -
Latest GR date to be automated
Hi Experts,
Pls note, my client uses Latest GR date slot in the PO (delivery tab) for almost all POs. Now to speed up the process they want the slot to be in display mode and it should add ten days (example) to del. date & reflect a latest date. For ex: Del. date is 20-Jan, latest GR date to be 30-Jan.
If not for all cases at least they want it to be done for few of the materials OR few of the vendors.
Is this possible? Please help.
Thanks,
Rajoohi
unfortunatly no such functionality is available with std SAP where system will propose latest GR date as delivery date +10 days automaticaly
u have to do this manualy
May be check with ABAPer whether he can fill that field using any enhancements
Vishal...
Maybe you are looking for
-
Having trouble saving edited images back to organizer.
After I save images in Editor, they don't always "save". I get "IAC error failed message", and sometimes image doesn't save at all after numerous editing steps. Thanks in advance.
-
Pls help me with the issue(pls )
Hi Experts! Please help me with the issue. I need to transfer data from .net system to sap system for a customised tcode. The whole process Should be automated . I researched on this topic, and it seems ALE IDOC ,BAPI OR RFC can be used. But i really
-
why does it come white when i take a picture on my Iphone4s? it is not all of the pictures which becomes white, but some of them and it is not because i used flash. the phone is new as well , I bought it before 2 weeks ago. what can I do? please need
-
Folder structure in WebDynpro Java
Hi Friends, An application in STRUTS has a specified folder structure such that all jsp files should be placed in JSP folder,similarly in the case of WEB-INF folder there is a particular format or structure for the same which we follow. Similarly in
-
Wifi doesnt work unless turn off then on
In order to make my Wifi work again after using it for a bit and then ceasing to use it (e.g. loading a TV episode stream; using Wifi, and then watching the stream; no longer requiring Wifi) I always have to turn it off and then back on. If I do not